:root {
  --ink: #082d35;
  --muted: #5f706d;
  --green: #087a55;
  --deep: #073040;
  --gold: #f2b544;
  --line: #d8e5df;
  --soft: #f2f8f5;
  --shadow: 0 18px 46px rgba(4, 47, 42, 0.12);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif; color: var(--ink); background: var(--soft); }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.market-ticker { background: #071d26; color: #fff; overflow: hidden; white-space: nowrap; font-size: 13px; }
#market-ticker-track { display: inline-block; padding: 9px 0; animation: ticker 34s linear infinite; }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px min(5vw, 56px); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--green), var(--deep)); }
.brand small { display: block; color: var(--muted); font-size: 11px; }
nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 800; }
.hero { min-height: 580px; display: flex; align-items: center; padding: 72px min(5vw, 70px); color: #fff; background: linear-gradient(115deg, rgba(7,48,64,.95), rgba(8,122,85,.82)), radial-gradient(circle at 82% 20%, rgba(242,181,68,.38), transparent 30%); }
.hero-copy { max-width: 760px; animation: rise .5s ease both; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-weight: 900; font-size: 12px; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin: 12px 0; }
h2 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 24px; }
.hero p { max-width: 680px; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 8px; font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(4,47,42,.16); }
.button.primary { background: var(--green); color: #fff; border-color: var(--green); }
.button.secondary { background: #fff; color: var(--deep); }
.section { padding: 58px min(5vw, 70px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 28px; align-items: center; }
.section p { color: var(--muted); line-height: 1.7; }
.about-metrics { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
.about-metrics strong { color: var(--green); font-size: 28px; }
.contact-band { margin: 0 min(5vw, 70px) 56px; padding: 36px; border-radius: 8px; color: #fff; background: linear-gradient(120deg, var(--deep), var(--green)); }
.contact-band p { color: rgba(255,255,255,.82); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card, .card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: var(--shadow); font-weight: 900; transition: transform .18s ease, border-color .18s ease; }
.service-card { display: grid; gap: 10px; min-height: 150px; align-content: start; }
.service-card strong { color: var(--deep); font-size: 18px; }
.service-card span { color: var(--muted); font-size: 14px; line-height: 1.55; font-weight: 650; }
.service-card:hover, .card:hover { transform: translateY(-3px); border-color: var(--green); }
.calculator-shell { font-weight: 400; }
.calculator-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.calc-tab { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: #fff; color: var(--deep); font-weight: 900; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.calc-tab:hover { transform: translateY(-2px); }
.calc-tab.active { background: var(--deep); color: #fff; border-color: var(--deep); }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr); gap: 22px; align-items: start; }
.calculator-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calculator-form .button { align-self: end; }
.calculator-result { min-height: 230px; border-radius: 8px; padding: 24px; color: #fff; background: linear-gradient(140deg, var(--deep), var(--green)); box-shadow: var(--shadow); }
.calculator-result h3 { margin: 8px 0 14px; font-size: 34px; }
.calculator-result .eyebrow { color: var(--gold); }
.result-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.2); }
label { display: grid; gap: 7px; font-weight: 850; font-size: 13px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font: inherit; background: #fff; }
textarea { min-height: 90px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form-message { min-height: 22px; color: var(--green); font-weight: 900; }
.form-message.error { color: #b42318; }
.float-whatsapp { position: fixed; right: 18px; bottom: 18px; background: #17a95c; color: #fff; padding: 13px 16px; border-radius: 999px; font-weight: 900; box-shadow: var(--shadow); }
.registration-popup { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(5, 24, 30, .58); }
.registration-popup-box { position: relative; width: min(520px, 100%); padding: 28px; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px rgba(4,47,42,.28); border: 1px solid var(--line); animation: rise .28s ease both; }
.registration-popup-box h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.registration-popup-box p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.registration-popup-box .icon-close { position: absolute; right: 14px; top: 14px; border: 0; background: #eef7f2; border-radius: 8px; width: 38px; height: 38px; font-size: 24px; cursor: pointer; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 860px) { nav { gap: 10px; font-size: 13px; } .service-grid, .form-grid, .checkbox-grid, .split, .calculator-layout, .calculator-form { grid-template-columns: 1fr; } .hero { min-height: 500px; } .contact-band { margin-inline: 16px; } }
