:root {
  color-scheme: light;
  --ink: #172f26;
  --muted: #455b52;
  --green: #214f3f;
  --forest: #133c2e;
  --lime: #dfefa6;
  --cream: #f7f8f2;
  --surface: #eef3e9;
  --line: #d9e2d7;
  --white: #fff;
  --gutter: clamp(16px, 2.1vw, 36px);
  --radius: 24px;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 24px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.048em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 4.5vw, 5rem); line-height: .99; }
h2 { font-size: clamp(2.2rem, 4vw, 4.25rem); line-height: 1.06; }
h3 { font-size: clamp(1.18rem, 1.85vw, 1.65rem); line-height: 1.18; }

.wrap {
  width: min(1512px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section { padding-block: clamp(60px, 7vw, 112px); }
.centered { text-align: center; }

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-whatsapp { stroke: none; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 10px;
  left: var(--gutter);
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--white);
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.logo { width: 116px; height: auto; }
.header-nav { display: flex; gap: clamp(20px, 3vw, 46px); }
.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 5px;
}
.header-nav a:hover { text-decoration: underline; }
.location {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  color: var(--green);
  font-size: .89rem;
  font-weight: 600;
  white-space: nowrap;
}
.location .icon { width: 17px; height: 17px; }

.hero {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(480px, 38vw, 610px);
}
.hero-copy {
  align-self: center;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(34px, 4.05vw, 68px);
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--lime); font-style: normal; }
.lead, .section-lead {
  max-width: 49ch;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.37vw, 1.24rem);
  line-height: 1.55;
}
.hero .lead {
  max-width: 38ch;
  margin-top: clamp(17px, 2.1vw, 26px);
  color: #e3eee6;
}
.hero-button { margin-top: clamp(22px, 2.35vw, 32px); }
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  margin-top: clamp(21px, 2.45vw, 36px);
  padding: 19px 0 0;
  border-top: 1px solid #ffffff3d;
  list-style: none;
  color: #d7e8dd;
  font-size: .84rem;
  line-height: 1.35;
}
.hero-notes li { display: flex; align-items: center; gap: 7px; }
.hero-notes .icon { width: 19px; height: 19px; color: var(--lime); }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 47%;
}

.button {
  display: inline-flex;
  min-height: 56px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-size: clamp(.9rem, 1.14vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button .icon-whatsapp { width: 24px; height: 24px; }
.button-arrow {
  width: 18px;
  height: 18px;
  margin-left: 5px;
  transition: transform .2s ease;
}
.hero-button, .button-light { background: var(--lime); color: var(--forest); }
.button-outline { border-color: #9eafa4; background: transparent; color: var(--forest); }
:focus-visible { outline: 3px solid #226197; outline-offset: 4px; }
.hero :focus-visible, .contact-panel :focus-visible { outline-color: var(--white); }

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.65vw, 24px);
  padding: 0;
  margin-block: clamp(24px, 3.1vw, 42px) 26px;
  list-style: none;
}
.step-card {
  position: relative;
  padding: clamp(23px, 3vw, 45px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, background-color .2s ease;
}
.icon-tile {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: clamp(21px, 3vw, 41px);
  border-radius: 14px;
  background: var(--surface);
  color: var(--green);
}
.icon-tile .icon { width: 25px; height: 25px; }
.step-number {
  position: absolute;
  top: clamp(26px, 3.2vw, 47px);
  right: clamp(23px, 3vw, 45px);
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-card p {
  max-width: 34ch;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(28px, 7vw, 124px);
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.39;
  object-fit: cover;
  border-radius: var(--radius);
  background: #dce8dc;
}
.about-copy .section-lead { margin-top: 17px; }
.checks {
  display: grid;
  gap: 12px;
  padding: 0;
  margin-block: 23px 27px;
  list-style: none;
}
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #d6e6d9;
  stroke-width: 2.4;
}

.contact-section { padding-bottom: 0; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
}
.contact-copy { padding: clamp(37px, 5.4vw, 85px); padding-right: 0; }
.contact-copy .section-lead { margin-top: 17px; color: #deede4; }
.contact-copy .button { margin-top: 24px; }
.phone-scene {
  display: grid;
  position: relative;
  min-height: 344px;
  height: 100%;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background: radial-gradient(ellipse at center, #27614a, transparent 70%);
}
.phone-scene::before, .phone-scene::after {
  position: absolute;
  z-index: -1;
  width: min(78%, 330px);
  aspect-ratio: 1;
  border: 1px solid #e3f7e83d;
  border-radius: 50%;
  content: "";
}
.phone-scene::after { width: min(96%, 408px); border-color: #e3f7e824; }
.phone {
  width: 236px;
  padding: 7px;
  border: 1px solid #809d8b;
  border-radius: 29px;
  background: #10251c;
  box-shadow: 10px 19px 44px #061e17a6;
  transform: rotate(7deg);
}
.phone-screen {
  overflow: hidden;
  border-radius: 22px;
  background: #ecf3e9;
  color: var(--ink);
}
.phone-camera { width: 52px; height: 8px; margin: 8px auto 1px; border-radius: 9px; background: #112a20; }
.phone-contact {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid #cadacc;
  font-size: .8rem;
}
.phone-avatar {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #d4e6d8;
  color: var(--green);
}
.phone-avatar .icon { width: 17px; height: 17px; }
.messages { display: grid; justify-items: start; gap: 9px; padding: 16px 12px 22px; }
.message {
  max-width: 88%;
  padding: 8px 9px;
  border-radius: 9px;
  background: var(--white);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.35;
}
.message-sent { justify-self: end; border-bottom-right-radius: 3px; background: #d8ead6; }
.message-reply { border-bottom-left-radius: 3px; }
.message-file { display: flex; align-items: center; gap: 6px; }
.message-file .icon { width: 16px; height: 16px; }
.phone-label { position: absolute; right: 16px; bottom: 13px; color: #dbeae1; font-size: .73rem; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr);
  gap: clamp(30px, 7vw, 124px);
}
.faq h2 { max-width: 12ch; }
.faq-items { min-width: 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 12px;
  padding: 13px 2px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--green); transition: transform .2s ease; }
details[open] summary .icon { transform: rotate(45deg); }
details p { max-width: 66ch; padding: 0 25px 19px 2px; color: var(--muted); line-height: 1.6; }

.footer { padding-block: 33px 42px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: .54fr 1.35fr 1fr; align-items: start; gap: 23px; }
.footer-grid .logo { width: 108px; }
.footer-grid p { color: var(--muted); font-size: .88rem; line-height: 1.58; }
.footer-grid strong { color: var(--ink); }
.footer-grid a { text-underline-offset: 3px; }

.whatsapp-float {
  position: fixed;
  z-index: 5;
  right: calc(var(--gutter) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 5px 17px #122c2640;
  transition: background-color .2s ease, transform .2s ease;
}
.whatsapp-float .icon { width: 30px; height: 30px; }

@media (hover: hover) {
  .button:hover, .whatsapp-float:hover { background: var(--forest); transform: translateY(-2px); }
  .button:hover .button-arrow { transform: translateX(3px); }
  .hero-button:hover, .button-light:hover { background: #f0f8d3; color: var(--forest); }
  .button-outline:hover { background: #e6efe4; }
  .step-card:hover { background: #fbfdf8; border-color: #a4bbab; }
  summary:hover { color: var(--green); }
}

@media (max-width: 1000px) {
  .hero-copy { padding: clamp(22px, 3.6vw, 40px); }
  h1 { font-size: clamp(2.2rem, 4.7vw, 3rem); }
  .hero-notes { gap: 9px 14px; }
}

@media (max-width: 740px) {
  :root { --radius: 18px; }
  .section { padding-block: 54px; }
  .header-inner { min-height: 68px; grid-template-columns: 1fr 1fr; }
  .header-nav { display: none; }
  .logo { width: 98px; }
  .hero-grid, .about-grid, .contact-panel, .faq-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: clamp(21px, 5.5vw, 39px); }
  .hero-visual { aspect-ratio: 1.54; }
  .hero-visual img { object-position: center 39%; }
  h1 { font-size: clamp(2.3rem, 9.6vw, 4.3rem); }
  h2 { font-size: clamp(2.06rem, 7vw, 3rem); }
  .hero-notes { padding-top: 15px; margin-top: 21px; }
  .step-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step-card { padding: 19px 33px 19px 76px; }
  .step-card .icon-tile { position: absolute; top: 18px; left: 16px; width: 43px; height: 43px; margin: 0; }
  .step-card .icon-tile .icon { width: 22px; height: 22px; }
  .step-card p { margin-top: 5px; }
  .step-number { top: 19px; right: 12px; font-size: .73rem; }
  .about-grid { gap: 24px; }
  .about-photo { order: 2; }
  .contact-section { padding-bottom: 0; }
  .contact-copy { padding: 29px clamp(19px, 5vw, 34px) 0; }
  .phone-scene { min-height: 292px; }
  .phone { transform: rotate(6deg) scale(.85); }
  .faq-grid { gap: 23px; }
  .faq h2 { max-width: none; }
  .footer { padding-block: 25px 82px; }
  .footer-grid { gap: 15px; }
  .whatsapp-float { width: 51px; height: 51px; }
}

@media (max-width: 480px) {
  .button { width: 100%; padding-inline: 10px; gap: 7px; }
  .hero .button-arrow { margin-left: 0; width: 15px; height: 15px; }
  .hero .lead { margin-top: 14px; }
  .hero-button { margin-top: 19px; }
}
@media (max-width: 365px) {
  :root { --gutter: 12px; }
  h1 { font-size: clamp(2rem, 9.35vw, 2.2rem); }
  .hero .button-arrow { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > * { animation: enter .48s cubic-bezier(.2,.65,.3,1) both; }
  .hero-copy .lead { animation-delay: 65ms; }
  .hero-copy .hero-button { animation-delay: 105ms; }
  .hero-copy .hero-notes { animation-delay: 150ms; }
  .hero-visual img { animation: settle .85s cubic-bezier(.2,.65,.3,1) both; }
  .is-revealed { animation: enter .52s cubic-bezier(.2,.65,.3,1) both; }
  .step-card:nth-child(2) { animation-delay: 55ms; }
  .step-card:nth-child(3) { animation-delay: 110ms; }
  .phone-scene.is-revealed .message { animation: enter .33s ease-out both; }
  .phone-scene.is-revealed .message:nth-child(1) { animation-delay: 190ms; }
  .phone-scene.is-revealed .message:nth-child(2) { animation-delay: 330ms; }
  .phone-scene.is-revealed .message:nth-child(3) { animation-delay: 470ms; }
  .whatsapp-float:not([hidden]) { animation: enter .24s ease-out both; }
  details[open] p { animation: enter .2s ease-out both; }

  @keyframes enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes settle {
    from { transform: scale(1.045); }
    to { transform: scale(1); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .button:hover, .button:hover .button-arrow, .whatsapp-float:hover { transform: none; }
}
