/* =========================================================
   Master Prime Painting — styles.css
   Navy #0F1E3D · Gold #C8A04E · Warm white #F7F4EF
   ========================================================= */

:root {
  /* Brand (official — per Manual de Identidad de Marca.docx) */
  --navy:        #0B1B3D;
  --navy-900:    #070F22;
  --navy-700:    #18294E;
  --navy-600:    #24407056;
  --gold:        #D4AF37; /* Oro Premium */
  --gold-soft:   #E6CD78;
  --gold-deep:   #846220; /* darker gold — AA-safe for text on light */
  --cream:       #F7F4EF;
  --cream-200:   #EFEAE1;

  /* Neutrals */
  --ink:         #16203A;  /* body text on light */
  --ink-soft:    #4C5468;  /* secondary text */
  --white:       #FFFFFF;
  --border:      #E3DCCF;
  --border-navy: rgba(255,255,255,.14);

  /* Semantic */
  --error:       #C2412F;
  --success:     #2F8F5B;

  /* Type */
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Shadows (soft, premium) */
  --shadow-sm: 0 1px 2px rgba(15,30,61,.06), 0 4px 12px rgba(15,30,61,.05);
  --shadow-md: 0 6px 18px rgba(15,30,61,.08), 0 18px 40px rgba(15,30,61,.07);
  --shadow-lg: 0 20px 60px rgba(15,30,61,.16);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1); /* expo-out — crafted entrances */
  --dur:  .22s;

  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--navy); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.text-gold { color: var(--gold); }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  line-height: 1; cursor: pointer; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 13px 22px; border-radius: 999px; min-height: 46px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--gold); --btn-fg: var(--navy-900); box-shadow: 0 6px 18px rgba(212,175,55,.35); position: relative; overflow: hidden; }
.btn--primary:hover { --btn-bg: var(--gold-soft); box-shadow: 0 10px 26px rgba(212,175,55,.45); }
/* light sweep across the CTA on hover */
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 75%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: left .65s var(--ease-out); pointer-events: none;
}
.btn--primary:hover::after { left: 140%; }
.btn--primary > * { position: relative; z-index: 1; }

.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { background: var(--cream-200); }

.btn--lg { padding: 16px 28px; font-size: 16.5px; min-height: 54px; }
.btn--sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn--block { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: linear-gradient(180deg, var(--cream-200), var(--cream)); }
.section--navy { background: var(--navy); color: #fff; }

.section__head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--light .section__title { color: #fff; }
.section__title { font-size: clamp(30px, 4.4vw, 48px); }
.section__lede { margin: 16px 0 0; font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-soft); }
.section--navy .section__lede { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.22); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand__emblem { height: 44px; width: auto; display: block; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: .035em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.brand__painting { font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: .44em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; padding-left: .04em; }

.nav { display: flex; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 14px; font-weight: 500; font-size: 15.5px; color: var(--ink);
  border-radius: 8px; white-space: nowrap; transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy); white-space: nowrap; transition: color var(--dur) var(--ease); }
.header__phone:hover { color: var(--gold-deep); }
.header__phone svg { color: var(--gold-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 24px; background: var(--cream); border-bottom: 1px solid var(--border); }
.mobile-nav__link { padding: 13px 8px; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav__phone { margin-top: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; color: #fff; padding: clamp(96px, 16vh, 168px) 0 clamp(72px, 10vw, 120px); overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("hero-desktop.jpg?v=2") center/cover no-repeat, var(--navy);
  transform: scale(1.02);
  animation: kenburns 26s var(--ease) infinite alternate;
}
/* Desktop: a solid navy panel on the left guarantees the copy always sits on clean
   navy (independent of the photo), then fades to reveal the painters on the right */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #0B1B3D 0%, #0B1B3D 46%, rgba(11,27,61,.72) 58%, rgba(11,27,61,.25) 75%, rgba(11,27,61,0) 90%);
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; transform: scale(1.02); } }

/* Mobile / portrait: swap to the vertical hero with a top-weighted scrim */
@media (max-width: 820px) {
  .hero__bg { background-image: url("hero-mobile.jpg?v=2"); background-position: center top; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(11,27,61,.9) 0%, rgba(11,27,61,.78) 45%, rgba(11,27,61,.55) 70%, rgba(11,27,61,.78) 100%);
  }
}

.hero__content { max-width: 560px; }
.hero__title { font-size: clamp(40px, 7vw, 76px); color: #fff; line-height: 1.04; letter-spacing: -.02em; }
.hero__tagline { margin: 18px 0 0; font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(18px, 2.4vw, 23px); color: var(--gold-soft); letter-spacing: .005em; }
.hero__lede { margin: 16px 0 0; font-size: clamp(17px, 2.3vw, 21px); color: rgba(255,255,255,.86); max-width: 600px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 24px 30px; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.hero__badges li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.92); }
.hero__badges svg { color: var(--gold); flex-shrink: 0; }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--navy-900); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: clamp(40px, 5vw, 60px) 24px; }
.stat { text-align: center; padding: 6px 4px; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5vw, 52px); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.7); }

/* =========================================================
   CARDS / SERVICES
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card:hover::after { transform: scaleX(1); }
.card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--cream); color: var(--navy); border: 1px solid var(--border); margin-bottom: 18px; }
.card:hover .card__icon { background: var(--navy); color: var(--gold); border-color: var(--navy); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.card__title { font-size: 21px; margin-bottom: 8px; }
.card__text { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 16px; }
.card__list { display: flex; flex-direction: column; gap: 7px; padding-top: 16px; border-top: 1px solid var(--border); }
.card__list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink); }
.card__list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); }

/* =========================================================
   ABOUT / SOBRE NOSOTROS
   ========================================================= */
.about-us { background: var(--white); }
.about-us__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-us__title { margin-top: 14px; }
.about-us__body { margin-top: 22px; }
.about-us__body p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.72; margin: 0 0 16px; }
.about-us__body p:last-child { margin-bottom: 0; }
.about-us__points { display: grid; gap: 13px; margin-top: 28px; }
.about-us__points li { display: flex; align-items: flex-start; gap: 13px; font-weight: 600; color: var(--navy); font-size: 16px; }
.about-us__check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,175,55,.15); color: var(--gold-deep); margin-top: 1px; }
.about-us__media { position: relative; }
.about-us__media img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-us__media::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 62%; height: 72%; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; }

@media (max-width: 920px) {
  .about-us__inner { grid-template-columns: 1fr; }
  .about-us__media { order: -1; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .about-us__media::before { display: none; }
}

/* =========================================================
   WHY (split)
   ========================================================= */
.why { padding: clamp(64px, 9vw, 112px) 0; background: var(--white); }
.why__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: cover; object-position: center; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why__badge {
  position: absolute; right: -14px; bottom: 28px; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 2px; max-width: 190px;
}
.why__badge-num { font-family: var(--font-display); font-size: 30px; color: var(--gold); line-height: 1; }
.why__badge-text { font-size: 13px; color: rgba(255,255,255,.78); }

.why__lede { font-size: 18px; color: var(--ink-soft); margin: 18px 0 28px; }
.features { display: flex; flex-direction: column; gap: 22px; }
.feature { display: flex; gap: 16px; }
.feature__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); border: 1px solid var(--border); }
.feature h3 { font-size: 18px; margin-bottom: 3px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; grid-auto-flow: row dense; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
/* Unified brand color-grade so a curated set reads as one commissioned shoot */
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.97) contrast(1.01); transition: transform .6s var(--ease); }
.gallery__item::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(160deg, rgba(11,27,61,.02) 0%, rgba(11,27,61,.12) 100%); mix-blend-mode: multiply; transition: opacity var(--dur) var(--ease); }
.gallery__item:hover::before { opacity: .55; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 18px 16px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(180deg, transparent, rgba(11,27,61,.85));
  transform: translateY(8px); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption { transform: translateY(0); opacity: 1; }
.gallery__note { margin: 30px 0 0; text-align: center; font-size: 14.5px; font-style: italic; color: var(--ink-soft); }

/* =========================================================
   PROCESS / STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--font-display); font-size: 40px; color: var(--gold); line-height: 1; opacity: .9; }
.step__title { font-size: 19px; margin: 14px 0 6px; }
.step__text { margin: 0; color: var(--ink-soft); font-size: 15px; }
.step::after { content: ""; position: absolute; top: 46px; right: -14px; width: 28px; height: 2px; background: var(--border); }
.step:last-child::after { display: none; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: rgba(255,255,255,.05); border: 1px solid var(--border-navy); border-radius: var(--radius); padding: 28px 26px; }
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.92); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; }
.review__name { font-weight: 600; color: #fff; }
.review__meta { font-size: 13.5px; color: rgba(255,255,255,.62); }

/* =========================================================
   CONTACT / FORM
   ========================================================= */
.contact { background: linear-gradient(180deg, var(--cream), var(--cream-200)); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact__lede { font-size: 18px; color: var(--ink-soft); margin: 16px 0 32px; }
.contact__points { display: flex; flex-direction: column; gap: 20px; }
.contact__points li { display: flex; gap: 15px; align-items: flex-start; }
.contact__pt-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--navy); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact__points strong { display: block; font-size: 14px; color: var(--ink); }
.contact__points a, .contact__points span { color: var(--ink-soft); font-size: 16px; }
.contact__points a { font-weight: 600; color: var(--navy); }
.contact__points a:hover { color: var(--gold-deep); }

.contact__form-wrap { position: relative; }
.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form__title { font-size: 24px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--error); }
.field__optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 13px 15px; min-height: 50px; background: var(--cream); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316203A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
.field input::placeholder, .field textarea::placeholder { color: #9aa0ad; }
.field.has-error input, .field.has-error select { border-color: var(--error); background: #fdf3f1; }
.field__error { margin: 7px 0 0; min-height: 0; font-size: 13.5px; color: var(--error); }
.field.has-error .field__error { min-height: 18px; }

.form__note { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__error-banner { margin: 0 0 16px; padding: 12px 15px; background: #fdf3f1; border: 1px solid var(--error); color: var(--error); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.45; }

.btn__spinner { width: 18px; height: 18px; border: 2.5px solid rgba(15,23,48,.3); border-top-color: var(--navy-900); border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.btn.is-loading .btn__label { opacity: .6; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__success { text-align: center; padding: 22px 6px 6px; color: var(--success); }
.form__success svg { color: var(--success); margin-bottom: 8px; }
.form__success h3 { color: var(--navy); font-size: 24px; margin-bottom: 8px; }
.form__success p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 88px) 0; }
.cta-band__inner { text-align: center; max-width: 680px; margin-inline: auto; }
.cta-band__title { color: #fff; font-size: clamp(28px, 4.4vw, 44px); }
.cta-band__text { margin: 14px 0 28px; color: rgba(255,255,255,.78); font-size: 18px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-900); color: rgba(255,255,255,.8); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: clamp(48px, 6vw, 72px) 24px 40px; }
.brand--footer { color: #fff; }
.brand--footer .brand__emblem { width: 56px; height: 56px; padding: 10px; box-sizing: border-box; object-fit: contain; background: var(--cream); border-radius: 50%; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__painting { color: var(--gold-soft); }
.footer__slogan { margin: 16px 0 4px; font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--gold-soft); font-size: 15px; }
.footer__tag { margin: 6px 0 0; font-size: 15px; color: rgba(255,255,255,.62); max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer__social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.footer__col h3 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer__col a, .footer__col span { font-size: 15px; color: rgba(255,255,255,.72); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__small { font-size: 13px; color: rgba(255,255,255,.5); margin: 4px 0 0; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 24px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.reveal[data-reveal-delay="3"] { transition-delay: .24s; }
.reveal[data-reveal-delay="4"] { transition-delay: .32s; }
.reveal[data-reveal-delay="5"] { transition-delay: .40s; }

/* Headline reveal — text rises line-by-line from behind a mask */
.reveal-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.reveal-title .line > span { display: block; transform: translateY(112%); transition: transform .9s var(--ease-out); will-change: transform; }
.reveal-title.is-visible .line:nth-child(1) > span { transform: none; transition-delay: .06s; }
.reveal-title.is-visible .line:nth-child(2) > span { transform: none; transition-delay: .2s; }

/* Image reveal — directional clip-wipe with a subtle inward drift */
img.reveal-clip { clip-path: inset(0 100% 0 0); transform: scale(1.1); transition: clip-path 1s var(--ease-out), transform 1.3s var(--ease-out); will-change: clip-path, transform; }
img.reveal-clip.is-visible { clip-path: inset(0 0 0 0); transform: none; }

/* Stat — gold rule draws in under each number */
.stat::after { content: ""; display: block; width: 0; height: 2px; margin: 14px auto 0; background: var(--gold); transition: width .6s var(--ease-out) .35s; }
.stat.is-visible::after { width: 38px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-title .line > span { transform: none !important; transition: none !important; }
  img.reveal-clip { clip-path: none !important; transform: none !important; }
  .stat::after { width: 38px !important; transition: none !important; }
  .btn:hover, .card:hover, .gallery__item:hover img { transform: none !important; }
  .btn--primary::after { display: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .header__phone { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header.is-open .mobile-nav { display: flex; }
  .header__cta { display: none; }

  .why__inner { grid-template-columns: 1fr; }
  .why__media { max-width: 460px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bar-inner { justify-content: center; text-align: center; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .why__badge { right: 8px; }
}
