/* ============================================================
   Acabados Gypsum K y D — stylesheet
   Mobile-first. Brand: red + black + white.
   ============================================================ */

:root {
  --gold: #b07f22;
  --gold-dark: #8f6619;
  --gold-bright: #d6a64a;
  --ink: #16161a;
  --ink-soft: #2a2a30;
  --gray: #5c5c63;
  --line: #e3e3e6;
  --gypsum: #eeeef0;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1da851;

  --maxw: 1120px;
  --pad: 20px;
  --radius: 4px;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.05; font-weight: 400; }

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.center { text-align: center; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-bright); }

.lead { color: var(--gray); font-size: 18px; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 38px; width: auto; }
.brand b {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.brand span { color: var(--gold); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--ink); margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-menu {
  position: fixed;
  inset: 66px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 8px var(--pad) 22px;
  gap: 2px;
  transform: translateY(-130%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 18px 30px -22px rgba(0,0,0,.4);
}
.nav-menu.open { transform: translateY(0); }
.nav-menu a {
  padding: 14px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-menu a.active { color: var(--gold); }
.nav-menu .btn { margin-top: 14px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink) url("../assets/hero-poster.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,12,.66) 0%, rgba(10,10,12,.74) 100%);
}
.hero::after { /* seam line motif: like a drywall joint */
  content: "";
  position: absolute;
  right: -60px; top: -40px; bottom: -40px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform: rotate(8deg);
  opacity: .5;
}
.hero .wrap { padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(40px, 12vw, 92px);
  letter-spacing: .005em;
  margin: 10px 0 18px;
}
.hero h1 .accent { color: var(--gold-bright); }
.hero p { color: #d4d4d8; font-size: 18px; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Chips (who we serve / provinces) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  font-size: 14px; font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gypsum);
  color: var(--ink-soft);
}
.chip--dark { background: var(--ink-soft); border-color: #3a3a42; color: #fff; }

/* ---------- Section headings ---------- */
.sec-head { margin-bottom: 30px; }
.sec-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 8vw, 46px);
  letter-spacing: .01em;
}

/* ---------- Services grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: #fff;
  position: relative;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card .num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .08em;
}
.card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: .01em;
  margin: 6px 0 10px;
}
.card p { color: var(--gray); font-size: 15.5px; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #e7e7ea 0 14px, #f1f1f3 14px 28px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: #a3a3aa; font-size: 14px; font-weight: 600;
  text-align: center; padding: 16px;
}

/* ---------- Service area band ---------- */
.band { background: var(--gypsum); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
}
.cta h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 7vw, 42px); margin-bottom: 12px; }
.cta p { color: #3d2f0c; max-width: 50ch; margin: 0 auto 24px; }
.cta .btn--wa { box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ic {
  flex: none; width: 46px; height: 46px; border-radius: 999px;
  display: grid; place-items: center; background: var(--gypsum); color: var(--gold);
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--gray); font-size: 16px; word-break: break-word; }
.contact-card a:hover { color: var(--gold); }

/* Quote form */
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; margin-top: 26px; }
.quote h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; margin-bottom: 6px; }
.quote p.note { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.quote .btn--wa { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c8c8ce; padding: 44px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 26px; }
.site-footer .brand img { height: 42px; }
.site-footer .brand b { color: #fff; }
.footer-col h4 { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: 15px; letter-spacing: .08em; margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; color: #b3b3ba; font-size: 15px; margin-bottom: 8px; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2c2c33; margin-top: 30px; padding-top: 20px; font-size: 13px; color: #85858d; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 13px 17px; border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.45);
  transition: transform .14s ease, background .15s ease;
}
.wa-float:hover { background: var(--wa-dark); }
.wa-float:active { transform: scale(.97); }
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float .label { display: none; }

/* ============================================================
   Tablet / desktop
   ============================================================ */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .section { padding: 80px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .split { grid-template-columns: 1.05fr .95fr; gap: 44px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .hero .wrap { padding-top: 96px; padding-bottom: 96px; }
  .hero p { font-size: 20px; }
  .wa-float .label { display: inline; }
}

@media (min-width: 920px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; transform: none; flex-direction: row; align-items: center;
    padding: 0; border: 0; box-shadow: none; gap: 6px; background: none;
  }
  .nav-menu a { border: 0; padding: 8px 14px; }
  .nav-menu a:not(.btn):hover { color: var(--gold); }
  .nav-menu .btn { margin-top: 0; margin-left: 8px; padding: 11px 18px; font-size: 15px; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .hero-video { display: none; }
  .btn, .card, .wa-float { transition: none; }
}
