:root {
  --navy: #102a38;
  --navy-deep: #091d27;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --orange: #f26b3a;
  --orange-dark: #d95326;
  --ink: #18303a;
  --muted: #617079;
  --line: rgba(16, 42, 56, .14);
  --white: #fff;
  --shadow: 0 24px 70px rgba(9, 29, 39, .13);
  --radius: 4px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange);
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 24px;
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}
h1 { color: var(--white); font-size: clamp(3.25rem, 7vw, 6.8rem); }
h2 { color: var(--navy); font-size: clamp(2.6rem, 5vw, 5rem); }
h1 em, h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
p { color: var(--muted); }

.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--orange-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker-light { color: #ff9a75; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 22px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.button-light { color: var(--navy); background: var(--white); }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.button-whatsapp { color: #0a5734; border-color: #8fd5b1; background: #effbf4; }
.button-small { min-height: 44px; padding: 10px 17px; font-size: .88rem; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(9,29,39,.96); box-shadow: 0 8px 34px rgba(0,0,0,.14); }
.header-inner { display: flex; min-height: 82px; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.1rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand > span:last-child > span { color: var(--orange); }
.brand-mark { position: relative; display: inline-block; width: 32px; height: 32px; border-radius: 50%; border: 2px solid currentColor; }
.brand-mark::before { content: ""; position: absolute; width: 16px; height: 5px; left: 6px; top: 8px; border-radius: 10px; background: var(--orange); transform: rotate(-22deg); }
.brand-mark span { position: absolute; width: 5px; height: 12px; left: 13px; top: 13px; border-radius: 0 0 3px 3px; background: currentColor; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; font-size: .87rem; font-weight: 700; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--orange); transition: width .2s ease; }
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; width: 46px; height: 42px; border: 0; color: inherit; background: transparent; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: 790px; height: min(940px, 100svh); overflow: hidden; background: var(--navy-deep); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url("assets/hero-pintor-palma.webp") center right / cover no-repeat; transform: scale(1.01); }
.hero-overlay { background: linear-gradient(90deg, rgba(4,22,31,.98) 0%, rgba(7,30,41,.9) 35%, rgba(10,35,46,.35) 67%, rgba(10,35,46,.08) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(transparent, rgba(4,22,31,.28)); }
.hero-inner { position: relative; z-index: 2; display: flex; height: 100%; align-items: center; padding-top: 85px; }
.hero-copy { width: min(730px, 70%); }
.eyebrow { color: #ffad8f; }
.eyebrow span { width: 30px; height: 2px; background: var(--orange); }
.hero-lead { max-width: 650px; margin-bottom: 32px; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 23px; margin: 30px 0 0; padding: 0; color: rgba(255,255,255,.82); list-style: none; font-size: .88rem; font-weight: 650; }
.hero-points span { margin-right: 6px; color: #ff9c78; }
.hero-note { position: absolute; right: 0; bottom: 44px; display: grid; width: 310px; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; border-top: 1px solid rgba(255,255,255,.45); padding-top: 18px; color: var(--white); text-decoration: none; }
.note-number { color: #ff9c78; font-size: .72rem; font-weight: 800; }
.hero-note strong, .hero-note span span { display: block; }
.hero-note > span:nth-child(2) { color: rgba(255,255,255,.62); font-size: .8rem; }
.hero-note strong { color: var(--white); font-size: .95rem; }
.note-arrow { font-size: 1.5rem; }

.proof-strip { position: relative; z-index: 4; color: var(--white); background: var(--navy); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 29px 24px; border-left: 1px solid rgba(255,255,255,.13); }
.proof-grid div:last-child { border-right: 1px solid rgba(255,255,255,.13); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: .9rem; }
.proof-grid span { color: rgba(255,255,255,.6); font-size: .76rem; }

.services { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin-bottom: 7px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(16,42,56,.13); border: 1px solid rgba(16,42,56,.13); }
.service-card { position: relative; min-height: 365px; padding: 32px 28px; background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-7px); box-shadow: var(--shadow); }
.service-card-featured { color: var(--white); background: var(--orange); }
.service-index { position: absolute; right: 25px; top: 22px; color: rgba(16,42,56,.35); font-size: .7rem; font-weight: 800; }
.service-card-featured .service-index { color: rgba(255,255,255,.6); }
.service-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 28px 0 50px; border-radius: 50%; color: var(--orange); background: #fff1ea; font-size: 1.35rem; }
.service-card-featured .service-icon { color: var(--white); background: rgba(255,255,255,.17); }
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { min-height: 100px; font-size: .91rem; }
.service-card-featured p { color: rgba(255,255,255,.78); }
.service-card a { display: inline-flex; gap: 10px; align-items: center; font-size: .8rem; font-weight: 800; text-decoration: none; }

.method { color: var(--white); background: var(--navy-deep); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.method h2 { color: var(--white); }
.method-intro p { max-width: 420px; color: rgba(255,255,255,.62); }
.text-link { display: inline-flex; gap: 12px; margin-top: 20px; color: #ff9c78; font-weight: 800; text-decoration: none; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.15); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.steps > li > span { color: #ff9c78; font-size: .74rem; font-weight: 800; }
.steps h3 { margin: 0 0 7px; font-size: 1.18rem; }
.steps p { margin: 0; color: rgba(255,255,255,.58); font-size: .9rem; }

.estimate { background: var(--paper); }
.estimate-shell { display: grid; grid-template-columns: .64fr 1.36fr; gap: 72px; align-items: start; }
.estimate-copy { position: sticky; top: 125px; }
.estimate-copy h2 { font-size: clamp(2.8rem, 4.8vw, 4.6rem); }
.estimate-copy > p { max-width: 420px; }
.estimate-contact { margin-top: 42px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.estimate-contact span, .estimate-contact strong { display: block; }
.estimate-contact span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.estimate-contact strong { margin-top: 5px; color: var(--navy); }
.quote-form { padding: clamp(24px, 4vw, 46px); background: var(--cream); box-shadow: 18px 18px 0 #e6ded0; }
.calculator-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.calculator-heading-contact { margin-top: 42px; padding-top: 35px; border-top: 1px solid var(--line); }
.calculator-step { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--white); background: var(--navy); font-size: .73rem; font-weight: 850; }
.calculator-heading strong, .calculator-heading span { display: block; }
.calculator-heading strong { color: var(--navy); }
.calculator-heading div span { color: var(--muted); font-size: .78rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.quote-form label { display: block; margin-bottom: 17px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.field-help { display: block; margin: 2px 0 7px; color: var(--muted); font-size: .7rem; font-weight: 500; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d4cdc1;
  border-radius: 3px;
  outline: none;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input, .quote-form select { height: 54px; padding: 0 14px; }
.quote-form textarea { min-height: 100px; padding: 14px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,107,58,.14); }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 54px; }
.input-suffix > span { position: absolute; right: 16px; bottom: 15px; color: var(--muted); font-size: .86rem; }
.estimate-result { display: grid; grid-template-columns: 1fr auto; gap: 12px 25px; align-items: center; margin: 13px 0 0; padding: 25px; border-left: 5px solid var(--orange); color: var(--white); background: var(--navy); }
.estimate-result > div span, .estimate-result > div strong, .estimate-result > div small { display: block; }
.estimate-label { color: rgba(255,255,255,.63); font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.estimate-result > div strong { margin: 5px 0 2px; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1; letter-spacing: -.04em; }
.estimate-result small { color: rgba(255,255,255,.64); font-size: .7rem; }
.review-badge { justify-self: end; border: 1px solid rgba(255,255,255,.24); border-radius: 30px; padding: 7px 11px; color: #ffc4ae; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.estimate-result > p { grid-column: 1 / -1; margin: 5px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.64); font-size: .76rem; }
.estimate-result.is-manual > div strong { font-size: 1.5rem; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; margin-top: 7px; color: var(--muted) !important; font-weight: 500 !important; }
.consent input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; }
.consent a { color: var(--navy); }
.form-actions { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; margin-top: 20px; }
.form-note { margin: 15px 0 0; color: var(--muted); font-size: .71rem; line-height: 1.5; }
.form-status { min-height: 0; margin: 8px 0 0; color: var(--orange-dark); font-size: .78rem; font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.areas { padding-top: 0; }
.areas-grid { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 500px; }
.area-card { position: relative; padding: 65px; color: var(--white); background: var(--orange); overflow: hidden; }
.area-card::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 300px; height: 300px; border: 60px solid rgba(255,255,255,.08); border-radius: 50%; }
.area-card h2 { color: var(--white); }
.area-card p { position: relative; z-index: 1; max-width: 340px; color: rgba(255,255,255,.75); }
.area-pin { display: block; margin-bottom: 45px; font-size: 2rem; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; color: var(--white); background: var(--navy); }
.area-list span { display: grid; min-height: 92px; place-items: center; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .85rem; font-weight: 700; }

.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: 100px; }
.faq-heading p { max-width: 320px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--orange); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; padding: 0 44px 23px 0; font-size: .9rem; }

.closing-cta { padding: 105px 0; text-align: center; color: var(--white); background: var(--orange); }
.closing-cta h2 { color: var(--white); }
.closing-cta p { max-width: 600px; margin: 0 auto 30px; color: rgba(255,255,255,.78); }
.closing-cta .button { margin: 5px; }
.site-footer { padding: 65px 0 45px; color: var(--white); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .7fr .8fr; gap: 40px; }
.brand-footer { margin-bottom: 15px; }
.site-footer p { color: rgba(255,255,255,.5); font-size: .82rem; }
.site-footer strong { display: block; margin-bottom: 14px; color: rgba(255,255,255,.55); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a:not(.brand) { display: block; margin: 7px 0; color: rgba(255,255,255,.82); font-size: .83rem; text-decoration: none; }
.footer-end { display: flex; flex-direction: column; align-items: flex-end; color: rgba(255,255,255,.45); font-size: .75rem; }
.mobile-bar { display: none; }

.legal-page { min-height: 100vh; background: var(--cream); }
.legal-header { padding: 22px 0; color: var(--white); background: var(--navy-deep); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header > .container > a:last-child { color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 700; text-decoration: none; }
.legal-content { width: min(calc(100% - 30px), 820px); margin: 0 auto; padding: 80px 0 100px; }
.legal-content h1 { color: var(--navy); font-size: clamp(2.7rem, 7vw, 4.8rem); }
.legal-content h2 { margin: 42px 0 14px; font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.2; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .94rem; }
.legal-notice { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--white); }
.legal-notice strong { color: var(--navy); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .main-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero-copy { width: 82%; }
  .hero-note { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.13); }
  .proof-grid div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.13); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { gap: 55px; }
  .estimate-shell { grid-template-columns: 1fr; gap: 40px; }
  .estimate-copy { position: static; }
  .estimate-copy h2 { max-width: 640px; }
  .areas-grid { grid-template-columns: .85fr 1.15fr; }
  .area-card { padding: 45px; }
  .faq-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-end { align-items: flex-start; }
}

@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 68px 0; }
  .site-header { background: rgba(9,29,39,.96); }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: fixed; inset: 66px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 30px; background: var(--navy-deep); box-shadow: 0 25px 40px rgba(0,0,0,.2); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
  .hero { min-height: 730px; height: 100svh; }
  .hero-media { background-position: 66% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,22,31,.98), rgba(4,22,31,.77)); }
  .hero-inner { align-items: flex-end; padding: 100px 0 64px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 8px 16px; margin-top: 20px; font-size: .75rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { padding: 18px 16px; border-top: 1px solid rgba(255,255,255,.13); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 28px; }
  .service-card p { min-height: auto; }
  .method-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps li { grid-template-columns: 45px 1fr; gap: 12px; }
  .quote-form { padding: 24px 18px; box-shadow: 8px 8px 0 #e6ded0; }
  .form-row, .form-actions { grid-template-columns: 1fr; gap: 0; }
  .estimate-result { grid-template-columns: 1fr; padding: 21px 18px; }
  .review-badge { justify-self: start; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { padding: 45px 27px; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .area-list span { min-height: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-bar { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; height: 62px; box-shadow: 0 -8px 30px rgba(0,0,0,.14); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--white); background: var(--navy); font-size: .85rem; font-weight: 800; text-decoration: none; }
  .mobile-bar a:last-child { background: #178c55; }
}

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