:root {
  --plaster: #f6f2ec;
  --surface: #ffffff;
  --sand: #e6ddd0;
  --ink: #1d2226;
  --muted: #4f575d;
  --slate: #24323d;
  --slate-2: #2f4250;
  --accent: #a3471f;
  --accent-dark: #86391a;
  --insulation: #e9c46a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 34, 38, 0.08);
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--plaster);
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--accent); }

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--slate);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 236, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.brand-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sand);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(233, 196, 106, 0.18), transparent 45%),
    linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero .eyebrow { color: var(--insulation); }

.lead {
  font-size: 1.2rem;
  color: #dfe5e9;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 2.5rem;
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-head); font-size: 1.35rem; }
.hero-facts span { font-size: 0.9rem; color: #c9d2d8; }

/* CSS wall cross-section */
.wall {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.5fr;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
}

.wall-layer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.wall-layer span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(29, 34, 38, 0.78);
  color: #fff;
}

.wall-brick {
  background-color: #a65a3a;
  background-image: conic-gradient(from 90deg at 3px 3px, transparent 90deg, rgba(240, 230, 215, 0.85) 0);
  background-size: 60px 30px;
}

.wall-insulation {
  background-color: var(--insulation);
  background-image:
    repeating-linear-gradient(45deg, rgba(166, 120, 30, 0.35) 0 4px, transparent 4px 14px),
    repeating-linear-gradient(-45deg, rgba(166, 120, 30, 0.35) 0 4px, transparent 4px 14px);
}

.wall-plaster {
  background: linear-gradient(180deg, #fbf8f3 0%, #ece4d8 100%);
  box-shadow: inset 6px 0 10px rgba(0, 0, 0, 0.08);
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.card-icon-plaster {
  background:
    linear-gradient(180deg, transparent 55%, var(--accent) 55% 70%, transparent 70%),
    linear-gradient(135deg, #f2ebe0 0%, #d9cdbb 100%);
  box-shadow: inset 0 0 0 1px var(--sand);
}

.card-icon-insulation {
  background-color: var(--insulation);
  background-image: repeating-linear-gradient(45deg, rgba(120, 85, 20, 0.35) 0 4px, transparent 4px 12px);
}

.card-code {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
  font-size: 0.88rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-text p { color: var(--muted); }

.text-link { font-weight: 600; }
.text-link:hover { color: var(--accent-dark); }

.facts {
  margin: 0;
  background: var(--plaster);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 0.5rem 1.75rem;
}

.facts div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
}
.facts div:last-child { border-bottom: 0; }

.facts dt {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.contact-address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
  background: var(--sand);
}

.map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--slate);
  color: #dfe5e9;
  padding: 3.5rem 0 2rem;
  font-size: 0.98rem;
}

.site-footer .brand-name { color: #fff; margin-bottom: 0.5rem; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; }

.site-footer :focus-visible { outline-color: var(--insulation); }

.footer-legal {
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: #c9d2d8;
}
.footer-legal p { margin-bottom: 0.5rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .wall { height: 220px; transform: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--plaster);
    border-bottom: 1px solid var(--sand);
    box-shadow: 0 12px 20px rgba(29, 34, 38, 0.08);
    display: none;
  }
  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--sand);
  }

  .cards { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .card { padding: 1.5rem; }
  .map iframe { height: 320px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.15rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 1rem 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
