:root {
  --ink: #070d26;
  --navy: #0b1437;
  --navy-2: #131f52;
  --royal: #27399a;
  --gold: #e8b04b;
  --gold-hover: #f4c56e;
  --whatsapp: #25d366;
  --whatsapp-hover: #4be184;
  --whatsapp-ink: #06331a;
  --cream: #f7f3ea;
  --paper: #fff;
  --line: #e2dccd;
  --text: #141a38;
  --muted: #565c78;
  --on-dark: #d8dcec;
  --error: #b3261e;
  --display: "Playfair Display", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  padding-bottom: 64px;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 90px; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--royal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--gold); color: var(--navy); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--royal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px;
  border: 1.5px solid transparent; border-radius: 4px;
  font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-wa { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--royal); color: var(--royal); background: #fff; }
.btn-outline:hover { background: #eef0fa; }
.btn[disabled] { opacity: .65; cursor: progress; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-stuck {
  background: rgba(7, 13, 38, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand img { width: 78px; transition: width .3s var(--ease); }
.main-nav { display: none; gap: 34px; font-weight: 600; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 10px 0; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.lang a, .lang span { display: inline-block; padding: 12px 5px; }
.lang span { color: var(--gold); }
.lang a { text-decoration: none; }
.lang a:hover { text-decoration: underline; }
.header-call { display: none; min-height: 46px; padding: 8px 20px; font-size: 15px; }

.hero { position: relative; min-height: 100svh; display: flex; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; animation: settle 2s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 13, 38, .72) 0%, rgba(7, 13, 38, .35) 26%, rgba(7, 13, 38, .55) 58%, rgba(7, 13, 38, .96) 100%);
}
.hero-inner { align-self: flex-end; width: 100%; padding-block: 128px 28px; }
.hero h1 { font-size: clamp(50px, 8.6vw, 112px); line-height: 1; letter-spacing: -.015em; max-width: 11.5em; }
.hero-lead { font-size: clamp(18px, 1.5vw, 21px); color: #eef0f8; margin-top: 22px; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 240px; }
.trust {
  list-style: none; margin: 40px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
  font-size: 14px; font-weight: 600;
}
.trust li { display: flex; align-items: center; gap: 9px; }
.trust svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }

.services { padding-block: 84px; }
.intro { display: grid; gap: 22px; margin-bottom: 44px; }
.intro p { color: var(--muted); font-size: 18px; max-width: 34em; }
.intro .btn { margin-top: 22px; }
.bento { display: grid; gap: 12px; }
.tile {
  position: relative; display: flex; align-items: flex-end;
  min-height: 300px; overflow: hidden; border-radius: 6px;
  color: #fff; text-decoration: none; background: var(--navy); isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 13, 38, 0) 34%, rgba(7, 13, 38, .9) 100%);
}
.tile:hover img { transform: scale(1.05); }
.tile-body { display: block; padding: 24px; width: 100%; }
.tile h3 { font-size: clamp(25px, 2.4vw, 33px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile h3 svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.tile:hover h3 svg { transform: translateX(5px); }
.tile-body > span { display: block; margin-top: 6px; color: #e6e9f4; font-size: 15.5px; line-height: 1.5; max-width: 30em; }
.tile-more { background: var(--gold); color: var(--ink); min-height: 220px; }
.tile-more::after { display: none; }
.tile-more .tile-body > span { color: var(--ink); }
.tile-more h3 svg { stroke: var(--ink); }
.photo-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.process { background: var(--navy); color: #fff; padding-block: 84px; }
.process .wrap { display: grid; gap: 44px; }
.process-lead { color: var(--on-dark); margin-top: 18px; max-width: 26em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 44px 84px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -6px;
  font: italic 500 44px/1 var(--display); color: var(--gold);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 25px; top: 52px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--gold), rgba(232, 176, 75, .15));
}
.steps h3 { font-size: clamp(27px, 3vw, 38px); }
.steps p { color: var(--on-dark); margin-top: 8px; max-width: 32em; }

.area { position: relative; color: #fff; padding-block: 104px; overflow: hidden; isolation: isolate; background: var(--ink); }
.area > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 40%; }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 13, 38, .94), rgba(7, 13, 38, .68)); }
.area .wrap { display: grid; gap: 34px; }
.area-note { margin-top: 16px; color: #eef0f8; max-width: 30em; }
.counties { display: grid; gap: 4px; }
.counties span { font: italic 500 clamp(52px, 7.4vw, 104px)/1.08 var(--display); white-space: nowrap; }
.counties span + span { color: var(--gold); }

.estimate { padding-block: 84px; }
.estimate-shell {
  display: grid; overflow: hidden; border-radius: 8px; background: var(--paper);
  box-shadow: 0 30px 70px -30px rgba(11, 20, 55, .4);
}
.estimate-side { position: relative; color: #fff; padding: 34px 24px; isolation: isolate; background: var(--navy); }
.estimate-side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.estimate-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 55, .86), rgba(11, 20, 55, .95)); }
.estimate-side h2 { font-size: clamp(36px, 4.2vw, 54px); }
.estimate-side > p { color: #eef0f8; margin-top: 14px; }
.direct { list-style: none; padding: 0; margin: 28px 0 0; }
.direct li { padding: 8px 0 4px; border-top: 1px solid rgba(255, 255, 255, .22); overflow-wrap: anywhere; }
.direct strong { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.direct a { display: inline-block; padding-block: 11px; font-weight: 600; text-decoration: none; }
.direct a:hover { text-decoration: underline; }

.form-panel { padding: 30px 22px; }
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px;
  font: 500 16px/1.4 var(--body); color: var(--text); background: #fbfaf6;
  border: 1.5px solid #bdb8a8; border-radius: 4px; transition: border-color .2s, background-color .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8d897b; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--royal); }
.field textarea { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 15px; font-weight: 600; margin-top: 5px; }
.botcheck { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-actions .btn { flex: 1 1 220px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-status a { color: inherit; font-weight: 800; }
.form-thanks h3 { font-size: 40px; }
.form-thanks p { margin-top: 8px; }
.notice a { color: var(--royal); font-weight: 700; }

.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 52px 36px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 26px; }
.site-footer img { width: 120px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 600; color: #fff; }
.footer-links a { display: inline-block; padding-block: 11px; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; font-size: 14px; }

.mobile-bar {
  position: fixed; inset: auto 0 0; z-index: 50;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 62px; font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--ink); color: #fff;
}
.mobile-bar svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.mobile-bar .wa { background: var(--whatsapp); color: var(--whatsapp-ink); }
.mobile-bar .est { background: var(--gold); color: var(--ink); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (min-width: 620px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile { grid-column: span 3; }
  .tile-paint, .tile-more { grid-column: span 6; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

@media (min-width: 768px) {
  :root { --gutter: 36px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .header-call { display: inline-flex; }
  .brand img { width: 100px; }
  .site-header.is-stuck .brand img { width: 76px; }
  .site-header .wrap { min-height: 92px; }
  section[id] { scroll-margin-top: 100px; }
  .hero-inner { padding-block: 150px 78px; }
  .hero-actions .btn { flex: 0 1 auto; }
  .services, .process, .estimate { padding-block: 120px; }
  .area { padding-block: 150px; }
  .area .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .form-panel { padding: 44px; }
  .estimate-side { padding: 44px; }
}

@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 13, 38, .86) 0%, rgba(7, 13, 38, .5) 46%, rgba(7, 13, 38, .05) 72%),
      linear-gradient(180deg, rgba(7, 13, 38, .55) 0%, rgba(7, 13, 38, 0) 24%, rgba(7, 13, 38, 0) 66%, rgba(7, 13, 38, .85) 100%);
  }
  .hero-photo img { object-position: 50% 50%; }
  .intro { grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 60px; }
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; gap: 14px; }
  .tile { min-height: 0; }
  .tile-kitchen { grid-column: span 7; grid-row: span 2; }
  .tile-bath { grid-column: span 5; grid-row: span 2; }
  .tile-paint, .tile-floors, .tile-drywall { grid-column: span 4; }
  .tile-repairs { grid-column: span 8; }
  .tile-more { grid-column: span 4; }
  .tile-body { padding: 30px; }
  .process .wrap { grid-template-columns: .85fr 1.15fr; gap: 90px; }
  .process-head { position: sticky; top: 130px; align-self: start; }
  .steps li { padding: 0 0 64px 110px; }
  .steps li::before { font-size: 58px; }
  .steps li:not(:last-child)::after { left: 34px; top: 70px; }
  .estimate-shell { grid-template-columns: .82fr 1.18fr; }
  .estimate-side { padding: 60px 52px; }
  .form-panel { padding: 60px 56px; }
  .site-footer .wrap { grid-template-columns: auto 1fr; align-items: center; column-gap: 50px; }
  .footer-links { justify-content: flex-end; }
  .footer-legal { grid-column: 1 / -1; }
}

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

.estimate { padding-block: 44px 0; }
.services { padding-top: 64px; }
@media (max-width: 767px) {
  .direct { display: none; }
  .estimate-side { padding: 26px 22px; }
}
@media (min-width: 768px) {
  .estimate { padding-block: 72px 0; }
  .services { padding-top: 96px; }
}
