/* ===== Brand tokens (from the Portilho's logo) ===== */
:root {
  --navy: #16386b;
  --navy-deep: #0f2a52;
  --blue: #2e6fb0;
  --blue-soft: #eaf2fb;
  --green: #3a8a1e;
  --green-light: #7bc043;
  --green-dark: #2f7d1f;
  --ink: #1f2a3a;
  --muted: #5b6b80;
  --bg: #ffffff;
  --bg-soft: #f5f9f4;
  --bg-blue: #f3f7fc;
  --line: #e5ecf3;
  --white: #ffffff;

  --grad-green: linear-gradient(135deg, var(--green-light), var(--green-dark));
  --grad-navy: linear-gradient(135deg, #1c477f, var(--navy-deep));

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(22, 56, 107, 0.12);
  --shadow-sm: 0 4px 16px rgba(22, 56, 107, 0.06);
  --container: 1160px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.14; font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

.grad-text {
  background: var(--grad-green);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad-green); color: #fff; box-shadow: 0 10px 24px rgba(58, 138, 30, .32); }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(58, 138, 30, .42); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: .92rem; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(22,56,107,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__img { height: 64px; width: auto; }
.brand__fallback { display: none; align-items: center; gap: 12px; }
.brand__logo { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 900; font-size: 1.55rem; color: var(--navy); letter-spacing: .3px; }
.brand__rule { display: flex; align-items: center; gap: 6px; width: 100%; margin: 2px 0 1px; }
.brand__rule i { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--navy)); }
.brand__rule i:last-child { background: linear-gradient(90deg, var(--navy), transparent); }
.brand__diamond { color: var(--blue); font-size: .45rem; }
.brand__caps { font-size: .6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.brand__script { font-family: "Great Vibes", cursive; font-size: 1.05rem; color: var(--green-dark); line-height: .9; margin-top: -1px; }
.brand__tag { font-size: .62rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-top: 3px; display: block; }
.brand__name--light { color: #fff; }
.brand__tag--light { color: var(--green-light); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: .96rem; color: var(--ink); transition: color .18s ease; }
.nav a:not(.btn):hover { color: var(--green-dark); }
.nav__cta { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(123,192,67,.16), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(46,111,176,.12), transparent 55%),
    var(--bg-soft);
  padding: 70px 0 120px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 600;
  letter-spacing: 1.2px; font-size: .74rem; text-transform: uppercase; margin-bottom: 18px;
  background: linear-gradient(135deg, #eef7e8, #e9f3fb); border: 1px solid #e0eef8;
  padding: 6px 14px; border-radius: 50px; }
.section__head .eyebrow--center { display: inline-flex; }
.eyebrow--center { text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 20px; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__badges { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__badges li { color: var(--muted); font-size: .92rem; }
.hero__badges strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); font-weight: 800; }

.hero__card { display: flex; justify-content: center; }
.quote-card {
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
  border: 1px solid var(--line); max-width: 360px; width: 100%; text-align: center;
  position: relative;
}
.quote-card::before {
  content: "✦"; position: absolute; top: -16px; right: 24px; font-size: 1.5rem; color: var(--green-light);
}
.quote-card h3 { color: var(--navy); margin-bottom: 8px; }
.quote-card p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.quote-card__note { margin-top: 16px; font-size: .8rem; color: var(--green-dark); font-weight: 500; }

.hero__sparkles .spark { position: absolute; color: var(--blue); opacity: .5; animation: twinkle 3s ease-in-out infinite; }
.spark--1 { top: 18%; left: 46%; font-size: 1.2rem; animation-delay: 0s; }
.spark--2 { top: 60%; left: 8%; font-size: .9rem; animation-delay: .8s; }
.spark--3 { top: 30%; right: 30%; font-size: 1rem; color: var(--green-light); animation-delay: 1.5s; }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.2); } }

.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ===== Trust strip ===== */
.trust { background: var(--navy); color: #fff; }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 20px 24px; }
.trust__inner span { font-size: .95rem; font-weight: 500; opacity: .95; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.bg-soft { background: var(--bg-soft); }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}

/* ===== Services ===== */
.services { background: var(--bg-soft); }
.service { text-align: left; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__icon {
  width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 20px; color: var(--green-dark);
  background: linear-gradient(135deg, #eef7e8, #e6f2fb); border: 1px solid #e0eef8;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--grad-green); color: #fff; border-color: transparent; }
.service h3 { color: var(--navy); margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .96rem; }

/* ===== Why ===== */
.why__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.why__content { display: flex; flex-direction: column; align-items: center; }
.why__lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 4px 0 8px; }
.why__lead strong { color: var(--green-dark); }
.why .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; text-align: left; width: 100%; }
.why__media {
  position: relative; min-height: 380px; border-radius: 22px;
  background: var(--grad-navy);
  overflow: hidden;
  display: grid; place-items: center;
}
.why__art { width: 72%; max-width: 320px; position: relative; z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.28)); }
.why__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 30% 20%, rgba(123,192,67,.35), transparent 60%);
}
.why__badge {
  position: absolute; bottom: 22px; left: 22px; z-index: 2;
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-align: left;
}
.why__badge-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--green-dark); }
.why__badge span:last-child { font-size: .78rem; color: var(--muted); }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin: 26px 0 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-green); color: #fff; font-weight: 700; font-size: .9rem;
}
.feature-list li div { color: var(--muted); font-size: .97rem; }
.feature-list strong { color: var(--navy); }

/* ===== Steps ===== */
.steps { background: var(--bg-blue); }
.step { text-align: center; padding: 20px; }
.step__num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green-light); color: var(--green-dark);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ===== Service Area ===== */
.area { background: var(--bg-soft); }
.area__map {
  background: var(--grad-navy); color: #fff; border-radius: 22px; padding: 40px;
  text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.area__map::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 250px at 80% 0%, rgba(123,192,67,.30), transparent 60%);
}
.area__map h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; position: relative; }
.area__map p { opacity: .9; position: relative; }
.area__pin { position: relative; display: grid; place-items: center; margin-bottom: 4px; }
.area__pin svg { width: 42px; height: 42px; }
.area__cities {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px;
}
.area__cities li {
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 500;
  padding: 9px 18px; border-radius: 50px; font-size: .92rem; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.area__cities li:hover { transform: translateY(-3px); background: var(--grad-green); color: #fff; border-color: transparent; }

/* ===== Reviews ===== */
.review { display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: #f5b301; font-size: 1.1rem; letter-spacing: 2px; }
.review p { color: var(--ink); font-style: italic; font-size: 1rem; }
.review footer { color: var(--muted); font-weight: 600; font-style: normal; }

/* ===== CTA banner ===== */
.cta-banner { background: var(--grad-green); color: #fff; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 54px 24px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; }
.cta-banner p { opacity: .95; margin-top: 6px; }

/* ===== Contact ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: start; }
.contact__info p { color: var(--muted); margin-bottom: 24px; }
.contact__list { display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 500; }
.contact__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef7e8, #e6f2fb); border: 1px solid #e0eef8; color: var(--green-dark); }
.contact__ic svg { width: 20px; height: 20px; }
.contact__list a { word-break: break-word; }
.contact__list a:hover { color: var(--green-dark); }

.contact__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfdff; transition: border .16s ease, box-shadow .16s ease; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(123,192,67,.18);
}
.form__status { font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form__status.ok { color: var(--green-dark); }
.form__status.err { color: #c0392b; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: #cfe0f2; padding: 60px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer__brand .brand__name { font-size: 1.6rem; }
.footer__brand p { margin-top: 14px; font-size: .92rem; opacity: .8; max-width: 300px; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; color: #cfe0f2; font-size: .92rem; margin-bottom: 10px; opacity: .85; transition: opacity .16s ease, color .16s; }
.footer__col a:not(.btn):hover { opacity: 1; color: var(--green-light); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  font-size: .84rem; opacity: .75;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__inner, .why__inner, .contact__inner { grid-template-columns: 1fr; }
  .why__media { min-height: 260px; order: -1; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__card { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 20px 24px; gap: 6px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 8px; border-radius: 8px; }
  .nav a:not(.btn):hover { background: var(--bg-soft); }
  .nav__cta { text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .grid--3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}
