:root {
  color-scheme: light;
  --navy: #071018;
  --ink: #142631;
  --gold: #efc780;
  --ochre: #805919;
  --paper: #f8f7f2;
  --muted: #4e5b60;
  --edge: #dedfd7;
  --motion: cubic-bezier(.2, .7, .2, 1);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
input, select, button { font: inherit; }
:focus-visible { outline: 3px solid #147795; outline-offset: 4px; }
[id] { scroll-margin-top: 1.25rem; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 10; padding: .75rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(100% - 5rem, 77.5rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

.top { border-bottom: 1px solid #17263116; }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.top-inner { min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; flex-shrink: 0; }
.brand img { border-radius: 50%; background: #fffcf4; padding: 3px; width: 46px; height: 46px; box-shadow: 0 0 0 1px #ac7e2c23; }
.brand span { display: grid; gap: .22rem; }
.brand strong { font-size: .99rem; letter-spacing: .09em; line-height: 1; font-weight: 740; }
.brand small { font-size: .69rem; letter-spacing: .19em; font-weight: 680; color: var(--ochre); }
.top nav { display: flex; gap: clamp(1.25rem, 3.3vw, 3.1rem); }
.top nav a { color: #34464e; padding-block: .65rem; font-size: .94rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.top nav a:hover { color: var(--ochre); }
.footer a:hover { color: var(--gold); }
.footer .brand small { color: var(--gold); }

.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; min-height: 3rem; padding: .75rem 1.25rem; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.25; cursor: pointer; transition: transform .25s var(--motion), background-color .25s, box-shadow .25s; }
.button-outline { border-color: #14263138; color: var(--ink); font-size: .9rem; }
.button-outline:hover { background: #f1ead8; border-color: #c3a672; }
.button-gold { background: linear-gradient(112deg, #ffe4ac, #eabb64); color: #221a0f; min-height: 3.55rem; padding-inline: 1.65rem; box-shadow: 0 9px 28px #e8ad5229; }
.button-gold::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 32%, #fff6db99 49%, transparent 65%); transform: translateX(-110%); transition: transform .65s var(--motion); }
.button-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 35px #e8ad5252; }
.button-gold:hover::after { transform: translateX(110%); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(38rem, calc(100svh - 5.25rem), 52rem); padding-block: clamp(2.75rem, 4vw, 4.25rem); background: var(--navy); color: #fffaf1; overflow: hidden; }
.hero-copy { animation: settle-in .65s var(--motion); }
.hero :focus-visible { outline-color: #ffe0a5; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--ochre); font-size: .88rem; font-weight: 700; letter-spacing: .095em; line-height: 1.5; }
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; flex-shrink: 0; background: currentColor; }
.hero .eyebrow, .quote .eyebrow { color: var(--gold); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.05vw, 6.1rem); margin-block: 1.1rem 1.2rem; text-wrap: initial; white-space: nowrap; }
h1 em { color: #f8d69a; font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.45vw, 4.4rem); margin-top: .72rem; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.23; letter-spacing: -.018em; font-weight: 700; }
.lead { max-width: 30rem; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.21rem); line-height: 1.6; }
.hero .lead { color: #eee9e2; max-width: 25rem; }
.offer { display: flex; gap: clamp(1.1rem, 2vw, 1.9rem); border-block: 1px solid #f8d69a52; padding-block: .85rem .95rem; margin-block: 1.65rem 0; width: max-content; max-width: 100%; }
.offer > div { display: flex; flex-direction: column; gap: .12rem; }
.offer > div + div { border-left: 1px solid #f8d69a52; padding-left: clamp(1.1rem, 2vw, 1.9rem); }
.offer dt { color: #eee9e2; font-size: .9rem; font-weight: 620; }
.offer dd { color: #fffaf1; font-family: Georgia, "Times New Roman", serif; font-feature-settings: "lnum"; font-size: clamp(2.65rem, 4.65vw, 4rem); line-height: 1; letter-spacing: -.06em; margin: 0; }
.offer dd span { font-size: .64em; letter-spacing: -.045em; }
.hero-actions { margin-top: 1.5rem; }
.offer-note { margin-top: .78rem; color: #eee9e2; font-size: .82rem; line-height: 1.45; }
.process-photo { position: relative; border-radius: 12px; overflow: hidden; background: #192736; }
.hero-photo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #071018f5, #071018d9 29%, #07101869 53%, #07101800 83%), linear-gradient(0deg, #07101862, transparent 35%); }
.hero-photo figcaption { z-index: 1; left: auto; right: 6rem; }
.hero-photo img, .process-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--motion); }
.hero-photo img { object-position: 78% 57%; animation: photo-in 1.2s var(--motion); }
.process-photo:hover img { transform: scale(1.035); }
@keyframes settle-in { from { transform: translateY(8px); } to { transform: translateY(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-in { from { opacity: .55; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
figcaption { position: absolute; bottom: .9rem; left: .9rem; color: #fffdf7; background: #101925b8; backdrop-filter: blur(8px); border-radius: 999px; padding: .37rem .72rem; font-size: .78rem; line-height: 1.25; }

.solutions { padding-top: clamp(2.9rem, 6vw, 5.2rem); border-top: 1px solid #17263116; }
.section-heading { max-width: 47rem; margin-bottom: clamp(1.75rem, 4.5vw, 3.2rem); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.solutions-grid article { background: #fffefa; border: 1px solid var(--edge); border-radius: 12px; padding: clamp(1.35rem, 3.1vw, 2.6rem); transition: border-color .28s, background-color .28s, box-shadow .28s; }
.solutions-grid article:hover { border-color: #c6ac7d; background-color: #fff9eb; box-shadow: 0 14px 26px #5e4a2210; }
.solutions-grid svg { width: 2rem; height: 2rem; display: block; color: var(--ochre); margin-bottom: 1.2rem; }
.solutions-grid p, .steps p, .faq-list p { color: var(--muted); line-height: 1.62; margin-top: .42rem; }

.process { background: #efece2; }
.process-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.process-photo { min-height: 25rem; align-self: stretch; }
.process-photo img { object-position: 40% center; }
.steps { margin-top: 1.75rem; list-style: none; }
.steps li { padding: 1.05rem 0 1.05rem 1.3rem; border-top: 1px solid #cdd1c4; position: relative; }
.steps li::before { content: ""; position: absolute; width: .45rem; height: .45rem; top: 1.52rem; left: 0; border-radius: 50%; background: var(--ochre); }
.steps p { margin-top: .3rem; }

.faq { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.faq-list { display: grid; gap: .65rem; }
.faq-list details { background: #fffefa; border: 1px solid var(--edge); border-radius: 16px; padding: 1.02rem 1.25rem; transition: border-color .25s; }
.faq-list details:hover, .faq-list details[open] { border-color: #d5ae6c; }
.faq-list summary { cursor: pointer; font-size: 1.04rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: linear-gradient(var(--ochre), var(--ochre)) center / .65rem 1px no-repeat, linear-gradient(var(--ochre), var(--ochre)) center / 1px .65rem no-repeat, #f5efdf; flex-shrink: 0; }
.faq-list details[open] summary::after { background-size: .65rem 1px, 0 0, auto; }
.faq-list details[open] p { animation: rise-in .28s var(--motion) both; }

.quote { color: white; background: radial-gradient(ellipse at 12% 105%, #263c45, transparent 65%), radial-gradient(ellipse at 100% 0, #65543b66, transparent 57%), var(--navy); }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.quote .lead { margin-top: 1.15rem; color: #e6e4e0; }
.phone { display: inline-block; color: #ffdc9e; text-decoration-thickness: 1px; text-underline-offset: .3rem; margin-top: 1.2rem; font-weight: 700; }
form { background: #fffefa; color: var(--ink); border-radius: 24px; padding: clamp(1.25rem, 3.5vw, 2.6rem); }
.field { display: grid; gap: .42rem; min-width: 0; }
.field label { font-size: .9rem; font-weight: 700; }
.field input, .field select { color: var(--ink); border: 1px solid #c3c9c5; border-radius: 10px; padding: .69rem .8rem; background: #f9faf7; width: 100%; min-height: 3.15rem; }
.field select { appearance: none; padding-right: 2rem; }
.field:has(select) { position: relative; }
.field:has(select)::after { content: ""; position: absolute; right: .9rem; bottom: 1.39rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); width: .5rem; height: .5rem; pointer-events: none; transform: rotate(45deg); }
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1rem; }
form .button { width: 100%; margin-top: 1.25rem; }
.form-note { margin-top: .75rem; text-align: center; font-size: .88rem; color: var(--muted); }
.footer { background: var(--navy); color: #d3dadd; border-top: 1px solid #ffffff26; padding-block: 1.55rem; }
.footer-inner > a:last-child { color: var(--gold); font-weight: 650; text-underline-offset: .25rem; }
.footer-inner { padding-right: 3rem; }

.whatsapp-float {
  position: fixed;
  z-index: 5;
  right: max(1.55rem, env(safe-area-inset-right));
  bottom: max(1.55rem, env(safe-area-inset-bottom));
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  animation: float-in .65s .35s var(--motion) both;
}
.whatsapp-icon { display: grid; place-items: center; position: relative; width: 100%; height: 100%; border-radius: inherit; background: radial-gradient(circle at 27% 15%, #189d5d, #00824b 48%, #05653e 93%); border: 1px solid #d5ffe880; box-shadow: 0 9px 26px #06332163, inset 0 1px 10px #d8ffeb30; transition: transform .35s var(--motion), box-shadow .35s; }
.whatsapp-float::before, .whatsapp-float::after { content: ""; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #45d893; animation: whatsapp-pulse 4s 1.4s var(--motion) infinite both; }
.whatsapp-float::after { animation-delay: 1.65s; }
.whatsapp-label { pointer-events: none; white-space: nowrap; position: absolute; top: 50%; right: calc(100% + .72rem); transform: translate(.45rem, -50%); opacity: 0; background: #102820; color: #fff; padding: .65rem .92rem; border-radius: 999px; font-size: .9rem; font-weight: 650; box-shadow: 0 5px 20px #0003; transition: opacity .25s, transform .25s var(--motion); }
.whatsapp-float:is(:hover, :focus-visible) .whatsapp-label { opacity: 1; transform: translate(0, -50%); }
.whatsapp-float:is(:hover, :focus-visible) .whatsapp-icon { transform: translateY(-3px) scale(1.07); box-shadow: 0 10px 35px #0b925b70; }
@keyframes float-in { from { opacity: 0; transform: translateY(12px) scale(.85); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes whatsapp-pulse { 0% { opacity: .75; transform: scale(1); } 35%, 100% { opacity: 0; transform: scale(1.48); } }
.will-reveal { opacity: 0; transform: translateY(20px); }
.will-reveal:focus-within { opacity: 1; transform: none; }
.is-visible { animation: rise-in .7s var(--motion) both; }
.solutions-grid article:nth-child(2).is-visible { animation-delay: 90ms; }
.solutions-grid article:nth-child(3).is-visible { animation-delay: 180ms; }

@media (max-width: 960px) {
  .wrap { width: min(100% - 3rem, 77.5rem); }
  .top nav { gap: 1.1rem; }
  .hero-photo::after { background: linear-gradient(90deg, #071018f5, #071018d9 36%, #07101869 62%, #07101820), linear-gradient(0deg, #07101862, transparent 35%); }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 2.25rem); }
  .top nav, .top .button-outline { display: none; }
  .top-inner { min-height: 4.25rem; }
  .brand { gap: .55rem; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: .93rem; }
  .brand small { font-size: .65rem; }
  .hero { align-items: end; min-height: clamp(35rem, calc(100svh - 4.25rem), 46rem); padding-block: clamp(4rem, 12svh, 7rem) 3.6rem; }
  .hero .eyebrow { font-size: .8rem; }
  h1 { font-size: clamp(2.82rem, 10.7vw, 5.1rem); margin-block: .8rem .95rem; }
  .offer { margin-top: 1.22rem; }
  .hero-actions { margin-top: 1.15rem; }
  .process-photo { min-height: 0; aspect-ratio: 1.55; }
  .hero-photo img { object-position: 88% center; }
  .hero-photo::after { background: linear-gradient(0deg, #071018fc 0%, #071018eb 30%, #071018b8 76%, #0710182b 100%); }
  .solutions-grid, .process-inner, .faq, .quote-inner { grid-template-columns: 1fr; }
  .process-inner > div { grid-row: 1; }
  .footer-inner { flex-wrap: wrap; gap: 1rem; }
  .footer-inner > span { order: 1; flex-basis: 100%; }
  .whatsapp-float { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); width: 3.55rem; height: 3.55rem; }
  .whatsapp-icon svg { width: 27px; height: 27px; }
}

@media (max-width: 420px) {
  .fields-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}
