/* Eulogia3PL — static site stylesheet */
:root {
  --accent: #6e56cf;        /* violet */
  --accent-soft: #ede9fe;
  --green: #30a46c;
  --blue: #0090ff;
  --gray-1: #fcfcfd;
  --gray-2: #f4f4f6;
  --gray-6: #d9d9e0;
  --text: #1c2024;
  --text-muted: #62636c;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--text-muted); font-size: .9rem; }
hr { border: none; border-top: 1px solid var(--gray-6); margin: 1.5rem 0; }

h1 { font-size: 2.2rem; line-height: 1.25; margin-bottom: .75rem; }
h2 { font-size: 1.7rem; line-height: 1.3; margin-bottom: .5rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
section { padding: 2.5rem 0; }

.pre-title { color: var(--blue); font-weight: 700; margin-bottom: .5rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); margin: 1rem 0 1.5rem; }
.lead.narrow { max-width: 700px; margin-left: auto; margin-right: auto; }
.section-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.green { color: var(--green); }
.blue { color: var(--blue); }
.highlight { color: var(--accent); }

.btn {
  display: inline-block;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-soft { background: var(--accent-soft); color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-6);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .6rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-size: 1.35rem; font-weight: 700; font-style: italic; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { color: var(--text); font-weight: 600; padding: .3rem .6rem; border-radius: 8px; }
.site-nav a:hover { background: var(--gray-2); text-decoration: none; }
.site-nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* ---------- hero slider ---------- */
.hero-slider { position: relative; height: 420px; overflow: hidden; padding: 0; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; }
.slide-caption {
  color: #fff;
  padding: 0 8vw;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  max-width: 600px;
}
.slide-caption h2 { font-size: 2.2rem; }
.slide-caption p { font-size: 1.2rem; margin: .5rem 0 1rem; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}
.slider-dots button.active { background: #fff; }

/* ---------- page banner ---------- */
.page-banner { position: relative; padding: 0; background-size: cover; background-position: center; }
.banner-overlay { background: rgba(0, 0, 0, .45); padding: 5rem 0; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #f0f0f3; max-width: 640px; margin-bottom: 1.2rem; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.service-card {
  border: 1px solid var(--gray-6);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-start;
}
.service-icon { font-size: 2.2rem; }
.service-card .btn { margin-top: auto; }

.check-list { list-style: none; }
.check-list li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .5rem; }
.check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- info grids ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.info-col {
  border: 1px solid var(--gray-6);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.pic-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  text-align: left;
  margin: 2rem 0;
}
.pic-row .pic-image { flex: 0 0 45%; }
.pic-row .pic-image img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pic-row:not(.image-left) { flex-direction: row-reverse; }

/* ---------- hero flex / info pic ---------- */
.hero-flex-inner { display: flex; gap: 3rem; align-items: center; }
.hero-text { flex: 1; max-width: 600px; }
.hero-image { flex: 0 0 clamp(280px, 38vw, 460px); }
.hero-image img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.info-pic .hero-flex-inner { flex-direction: row-reverse; }
.info-pic.image-left .hero-flex-inner { flex-direction: row; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.price-card {
  border: 1px solid var(--gray-6);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.price-card h3 { text-transform: capitalize; color: var(--accent); }
.table-note { font-size: .85rem; color: var(--text-muted); margin-bottom: .6rem; }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card td { padding: .5rem 0; border-bottom: 1px solid var(--gray-2); font-size: .95rem; }
.price-card td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

/* ---------- values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; }
.value-card { border: 1px solid var(--gray-6); border-radius: var(--radius); padding: 1.4rem; }
.value-icon { font-size: 1.8rem; margin-bottom: .5rem; }

/* ---------- expert section ---------- */
.expert-section { background: var(--gray-2); }
.expert-section h2 { text-align: center; }
.expert-section .section-sub { text-align: center; }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

/* ---------- contact options ---------- */
.contact-options { background: var(--gray-1); text-align: center; }
.option-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 1rem; }
.option-card {
  background: #fff;
  border: 1px solid var(--gray-6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  font-weight: 600;
  min-width: 170px;
}
.option-card:hover { background: var(--gray-2); text-decoration: none; }
.option-icon { font-size: 1.8rem; }

/* ---------- quotes ---------- */
.quotes .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.quote-card {
  border-left: 4px solid var(--accent);
  background: var(--gray-1);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem;
  font-size: .98rem;
}
.quote-card footer { margin-top: .8rem; color: var(--text-muted); font-size: .9rem; }

/* ---------- legal pages ---------- */
.legal-page { padding-top: 3rem; }
.legal-box {
  border: 1px solid var(--gray-6);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin: 1rem 0;
}
.legal-box h2 { font-size: 1.1rem; }
.legal-box ul { padding-left: 1.4rem; margin: .5rem 0; }
address { font-style: normal; }

/* ---------- page body ---------- */
.page-body h2 { margin-top: 1.5rem; }
.page-body p { margin-bottom: 1rem; }

/* ---------- footer ---------- */
.site-footer { margin-top: 2rem; }
.partners { text-align: center; padding: 1.5rem 0; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; padding: 1.2rem; }
.partner-card {
  border: 1px solid var(--gray-6);
  border-radius: var(--radius);
  width: 160px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner-card img { width: 120px; height: 45px; object-fit: contain; }
.footer-main { background: var(--gray-2); padding: 3rem 20px 1.5rem; }
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 { margin-bottom: .8rem; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: .4rem; }
.footer-col p { color: var(--text-muted); font-size: .95rem; margin-bottom: .6rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer-social a { display: inline-block; margin-right: 1rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-bottom a { color: var(--text-muted); margin-left: 1rem; }
.footer-bottom p:first-child { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-6);
    flex-direction: column;
    padding: 1rem 20px;
    gap: .6rem;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }

  .card-grid.two,
  .info-grid,
  .price-grid,
  .value-grid,
  .two-col,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-flex-inner,
  .info-pic .hero-flex-inner,
  .info-pic.image-left .hero-flex-inner,
  .pic-row,
  .pic-row:not(.image-left) { flex-direction: column; }
  .hero-image { flex: none; width: 100%; }
  .pic-row .pic-image { flex: none; width: 100%; }

  .hero-slider { height: 340px; }
  .slide-caption h2 { font-size: 1.6rem; }
  h1 { font-size: 1.8rem; }
}
