/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; scroll-padding-top: 72px; }
body { min-height: 100dvh; line-height: 1.55; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }

/* -------- tokens -------- */
:root {
  --green: #2d5f4f;
  --green-dark: #234a3e;
  --green-soft: #4a8f7f;
  --green-tint: #eaf1ee;
  --gold: #f5c669;
  --gold-dark: #d9a944;
  --paper: #fafaf7;
  --white: #ffffff;
  --ink: #131513;
  --ink-soft: #5b6360;
  --line: #e4e4de;
  --wa: #25d366;
  --wa-dark: #1eb857;
  --max: 1080px;
  --max-narrow: 720px;
  --pad: clamp(20px, 4vw, 32px);
  --gap: clamp(56px, 7vw, 96px);
  --gap-lg: clamp(72px, 9vw, 128px);
  --radius: 10px;
  --shadow: 0 8px 24px -12px rgba(19, 21, 19, 0.18);
  --shadow-lg: 0 20px 50px -20px rgba(19, 21, 19, 0.35);
  --gradient-brand: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
}

/* focus visible global */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.fab:focus-visible {
  outline-offset: 4px;
}

/* -------- layout -------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap--narrow { max-width: var(--max-narrow); }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
h3 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2.15rem, 6vw, 3.75rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p  { font-size: 1rem; }
.lead { font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--green); margin-bottom: 0.85rem;
}
.ink { color: var(--green); }

/* -------- buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  transition: transform 0.06s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--big { padding: 16px 22px; font-size: 1rem; min-height: 52px; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: var(--shadow); }
.btn--wa:hover { background: var(--wa-dark); }

.btn--tel { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--tel:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.75); }

.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-dark); }

.btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.btn--gold:hover { background: var(--gold-dark); }

.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* -------- header -------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(19, 21, 19, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 12px;
}
.top__brand { display: flex; align-items: center; padding: 4px 0; }
.top__brand img { height: 52px; width: auto; max-width: 160px; object-fit: contain; }
@media (min-width: 640px) { .top__brand img { height: 60px; max-width: 200px; } }
.top__cta { display: flex; align-items: center; gap: 8px; }
.top .btn { min-height: 44px; }
.top .btn--tel { padding: 10px 14px; }
.top .btn--wa { padding: 10px 16px; }

/* -------- hero -------- */
.hero {
  background: var(--gradient-brand);
  color: #fff;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 104px);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 25%, rgba(74,143,127,0.4) 0%, transparent 55%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; }
.hero .ink { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,0.92); margin-top: 22px; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  margin-top: 24px; font-size: 0.9rem; color: rgba(255,255,255,0.85);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.hero__meta::before {
  content: "";
  display: block; width: 32px; height: 2px; background: var(--gold);
  align-self: center; margin-right: 4px;
}
.hero__img {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__img img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 5/6;
  object-position: center 30%;
}
@media (max-width: 899px) { .hero__img img { aspect-ratio: 4/3; } }

/* -------- generic section -------- */
section:not(.hero):not(.cta-final):not(.top) { padding-top: var(--gap); padding-bottom: var(--gap); }
.services { background: var(--paper); padding-top: var(--gap-lg) !important; padding-bottom: var(--gap-lg) !important; }
.steps { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews { background: var(--paper); padding-top: var(--gap-lg) !important; padding-bottom: var(--gap-lg) !important; }
.about { background: var(--white); border-top: 1px solid var(--line); }
.faq { background: var(--green-tint); border-top: 1px solid var(--line); }

.services h2, .steps h2, .reviews h2, .about h2, .faq h2 { margin-bottom: 8px; }

/* -------- services -------- */
.services__grid {
  display: grid; gap: 22px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--green-soft); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--green); color: var(--gold); border-radius: 10px; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.services__more {
  margin-top: 32px; font-size: 0.95rem; color: var(--ink-soft); text-align: center;
  max-width: 60ch; margin-left: auto; margin-right: auto;
}

/* -------- steps -------- */
.steps__list { display: grid; gap: 32px; margin-top: 44px; }
@media (min-width: 800px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  border-top: 2px solid var(--green-tint); padding-top: 24px;
}
@media (min-width: 800px) {
  .steps__list li { grid-template-columns: 1fr; gap: 14px; }
}
.steps__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.75rem;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
}
.steps__list p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; line-height: 1.6; }
.steps__cta { margin-top: 48px; }

/* -------- reviews -------- */
.reviews__grid {
  display: grid; gap: 22px; margin-top: 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--white);
  border-radius: 12px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}
.review__stars {
  display: flex; gap: 2px; margin-bottom: 14px; color: var(--gold); font-size: 1.05rem; letter-spacing: 2px;
}
.review blockquote { font-size: 0.98rem; color: var(--ink); font-style: normal; line-height: 1.6; }
.review figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }

/* -------- about -------- */
.about__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 800px) { .about__grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.about p { color: var(--ink-soft); margin-top: 16px; max-width: 55ch; }
.about img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* -------- faq -------- */
.faq details {
  border-top: 1px solid var(--line); padding: 20px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 300; font-size: 1.6rem; color: var(--green); line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--green-dark); }
.faq details p { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.faq h2 { margin-bottom: 28px; }

/* -------- cta final -------- */
.cta-final {
  background: var(--gradient-brand);
  color: #fff;
  padding-top: var(--gap);
  padding-bottom: calc(var(--gap) + env(safe-area-inset-bottom, 0px));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(74,143,127,0.35) 0%, transparent 55%);
  pointer-events: none;
}
.cta-final__inner { position: relative; }
.cta-final h2 { color: #fff; max-width: 22ch; margin: 0 auto; }
.cta-final p { color: rgba(255,255,255,0.9); margin-top: 14px; max-width: 44ch; margin-left: auto; margin-right: auto; }
.cta-final__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* -------- footer -------- */
.foot {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 56px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.foot__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot__logo { height: 96px; width: auto; max-width: 260px; object-fit: contain; margin-bottom: 8px; }
.foot__addr { font-size: 0.9rem; margin-top: 12px; font-style: normal; line-height: 1.55; }
.foot__label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.foot__grid a {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  min-height: 44px;
}
.foot__grid a:hover { color: #fff; text-decoration: underline; }
.foot__grid p { margin: 4px 0; font-size: 0.92rem; }
.foot__copy {
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  padding-bottom: 80px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
@media (min-width: 700px) { .foot__copy { padding-bottom: 22px; } }

/* -------- floating WhatsApp -------- */
.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 16px));
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -6px rgba(37, 211, 102, 0.55), 0 4px 8px -2px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}
.fab:hover { background: var(--wa-dark); transform: translateY(-2px); }
@media (min-width: 900px) { .fab { right: max(24px, env(safe-area-inset-right, 24px)); bottom: max(24px, env(safe-area-inset-bottom, 24px)); } }

/* -------- utilities -------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .fab:hover { transform: none; }
}
