:root {
  --ink: #10252b;
  --muted: #60747a;
  --teal: #08798a;
  --teal-dark: #075461;
  --aqua: #20becb;
  --mist: #edf8f8;
  --blue: #155be8;
  --orange: #ff8a35;
  --white: #fff;
  --border: #dbe7e8;
  --shadow: 0 24px 64px rgba(13, 65, 73, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--mist); }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(219,231,232,.8); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; width: 205px; }
.brand img { display: block; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 650; }
.main-nav > a:not(.button):hover { color: var(--teal); }
.menu-toggle { display: none; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 8px 12px; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; color: #fff; background: var(--teal); font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(8,121,138,.22); transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-2px); background: var(--teal-dark); }
.button-secondary { background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.button-danger { background: #a52b35; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .92rem; }

.hero { position: relative; overflow: hidden; padding: 98px 0 72px; background: linear-gradient(140deg, #f7ffff 0%, #e7f7f8 52%, #fff 100%); }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; border: 90px solid rgba(32,190,203,.12); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; max-width: 820px; }
.hero h1 span { color: var(--teal); }
.hero-copy > p { font-size: 1.18rem; max-width: 630px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .92rem; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--teal); }
.water-card { position: relative; min-height: 440px; padding: 46px; border-radius: 40px; background: linear-gradient(155deg, #073941, #088da0); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.water-card::after { content: ""; position: absolute; left: -18%; right: -18%; bottom: -90px; height: 220px; background: #21bdca; border-radius: 50% 48% 0 0; transform: rotate(-7deg); opacity: .9; }
.water-card .drop { width: 100px; height: 136px; margin: 28px auto; border-radius: 60% 40% 60% 40%; background: linear-gradient(160deg, #52e3e7, #1595f5); transform: rotate(45deg); box-shadow: inset -12px -12px 0 rgba(255,255,255,.14); }
.water-card strong { display: block; font-size: 2rem; line-height: 1.1; }
.water-card p { color: rgba(255,255,255,.74); }
.water-card > * { position: relative; z-index: 1; }
.mini-stat { position: absolute; right: 26px; bottom: 46px; z-index: 2; padding: 14px 18px; border-radius: 16px; color: var(--ink); background: #fff; font-weight: 800; box-shadow: 0 10px 28px rgba(0,0,0,.15); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-head p { max-width: 520px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(16,37,43,.06); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 16px; color: #fff; background: var(--teal); font-size: 1.4rem; font-weight: 900; }
.card-price { margin-top: 26px; color: var(--ink); font-size: 1.2rem; font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: 20px; background: #fff; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 900; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px; border-radius: 30px; color: #fff; background: linear-gradient(120deg, var(--teal-dark), var(--teal)); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.74); }
.cta-band .button { background: #fff; color: var(--teal-dark); flex: 0 0 auto; }

.page-hero { padding: 64px 0 42px; background: var(--mist); }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2.4rem, 5vw, 4rem); }
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.panel { padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 16px 46px rgba(16,37,43,.07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbdadd; border-radius: 12px; color: var(--ink); background: #fff; outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,121,138,.1); }
.field textarea { min-height: 100px; resize: vertical; }
.field-help { color: var(--muted); font-size: .8rem; }
.form-error { margin: 0 0 22px; padding: 14px 16px; border-radius: 12px; color: #842029; background: #f8d7da; }
.summary-card { position: sticky; top: 106px; padding: 28px; border-radius: var(--radius); color: #fff; background: var(--teal-dark); }
.summary-card p { color: rgba(255,255,255,.72); }
.price-preview { margin: 14px 0; font-size: 2.2rem; font-weight: 900; }
.summary-list { padding: 0; list-style: none; }
.summary-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.success-mark { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 2.2rem; }
.center-panel { max-width: 680px; margin: 0 auto; text-align: center; }
.order-code { display: inline-block; margin: 12px 0 22px; padding: 12px 20px; border-radius: 10px; background: var(--mist); font-size: 1.3rem; font-weight: 900; letter-spacing: .04em; }
.track-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 34px 0; }
.track-step { position: relative; padding-top: 36px; color: var(--muted); font-size: .78rem; font-weight: 750; text-align: center; }
.track-step::before { content: ""; position: absolute; z-index: 2; top: 6px; left: calc(50% - 10px); width: 20px; height: 20px; border: 4px solid #fff; border-radius: 50%; background: #c8d5d7; box-shadow: 0 0 0 2px #c8d5d7; }
.track-step::after { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 4px; background: #c8d5d7; }
.track-step:first-child::after { display: none; }
.track-step.done::before, .track-step.done::after { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.status-pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: var(--teal-dark); background: #d8f3f4; font-size: .78rem; font-weight: 850; }
.status-cancelled { color: #8b2430; background: #ffe0e3; }
.flash { margin-top: 18px; padding: 13px 16px; border-radius: 12px; }
.flash-success { color: #0f5132; background: #d1e7dd; }
.flash-error { color: #842029; background: #f8d7da; }

.admin-bar { color: #fff; background: #10252b; }
.admin-bar .container { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-bar a { color: #fff; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.metric { padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.metric span { display: block; color: var(--muted); font-size: .85rem; }
.metric strong { display: block; margin-top: 6px; font-size: 2rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
th { color: var(--muted); background: #f6fafb; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-list { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 650; }
.login-shell { min-height: 70vh; display: grid; place-items: center; }
.login-card { width: min(440px, 100%); }

.site-footer { padding: 64px 0 24px; color: #fff; background: #10252b; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid p { max-width: 360px; color: #91a6aa; }
.footer-grid a { display: block; margin: 8px 0; color: #d8e4e6; }
.brand-footer { filter: brightness(0) invert(1); opacity: .95; }
.footer-bottom { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #91a6aa; font-size: .85rem; }
.whatsapp { position: fixed; z-index: 40; right: 22px; bottom: 22px; padding: 12px 18px; border-radius: 999px; color: #fff; background: #16a567; font-weight: 850; box-shadow: 0 12px 28px rgba(0,0,0,.2); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.is-open { display: flex; }
  .hero-grid, .form-shell, .detail-grid { grid-template-columns: 1fr; }
  .water-card { min-height: 350px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .summary-card { position: static; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding: 62px 0; }
  .brand { width: 170px; }
  .hero { padding-top: 64px; }
  .hero-grid { gap: 38px; }
  .water-card { padding: 30px; min-height: 320px; }
  .section-head, .cta-band { align-items: stretch; flex-direction: column; }
  .cta-band { padding: 32px 26px; }
  .steps, .form-grid, .admin-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .panel { padding: 24px 20px; }
  .track-progress { grid-template-columns: 1fr; margin-left: 10px; }
  .track-step { padding: 4px 0 20px 42px; text-align: left; }
  .track-step::before { left: 5px; top: 3px; }
  .track-step::after { left: 13px; top: -18px; width: 4px; height: 27px; }
  .detail-list { grid-template-columns: 1fr; gap: 3px; }
}
