/* ═══════════════════════════════════════════════
   CAST-AL — Premium Carpintería
   Inspired by romanclavero.es aesthetic
   Dark, refined, artisanal luxury
═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --c-bg:        #0e0d0b;
  --c-surface:   #161410;
  --c-surface2:  #1e1b16;
  --c-gold:      #b8975a;
  --c-gold-lt:   #d4b07a;
  --c-cream:     #f5ede0;
  --c-cream-dim: #c9baa4;
  --c-white:     #ffffff;
  --c-text:      #e8ddd0;
  --c-muted:     #8a7d6e;
  --c-line:      rgba(184,151,90,.2);

  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Outfit', system-ui, sans-serif;

  --r-sm:   6px;
  --r-md:   12px;

  --ease:   cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(0,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* fix iOS horizontal scroll */
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-gold); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ── */
.section-label {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}

.section-label--light { color: var(--c-gold-lt); }

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-cream);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--c-gold);
}

.section-title--light { color: var(--c-white); }

.section-body {
  font-size: 1.05rem;
  color: var(--c-cream-dim);
  max-width: 540px;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .3s var(--ease);
  cursor: pointer;
}

.btn--light {
  background: var(--c-gold);
  color: var(--c-bg);
  border: 1px solid var(--c-gold);
}
.btn--light:hover { background: var(--c-gold-lt); border-color: var(--c-gold-lt); }

.btn--ghost {
  background: transparent;
  color: var(--c-cream);
  border: 1px solid rgba(245,237,224,.35);
}
.btn--ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }

.btn--dark {
  background: var(--c-surface2);
  color: var(--c-gold);
  border: 1px solid var(--c-gold);
}
.btn--dark:hover { background: var(--c-gold); color: var(--c-bg); }

.btn--outline {
  background: transparent;
  color: var(--c-gold);
  border: 1px solid var(--c-gold);
}
.btn--outline:hover { background: var(--c-gold); color: var(--c-bg); }

.btn--submit {
  width: 100%;
  justify-content: center;
  background: var(--c-gold);
  color: var(--c-bg);
  border: 1px solid var(--c-gold);
  padding: 1rem 2rem;
  font-size: .85rem;
}
.btn--submit:hover { background: var(--c-gold-lt); }

/* ── Reveal animations ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}


/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

.site-header.scrolled {
  background: rgba(14,13,11,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo img { width: 130px; filter: brightness(1.1); }

.header-nav { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
  transition: color .25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--c-gold); }
.nav-link:hover::after { width: 100%; }

.nav-link--gallery {
  color: var(--c-gold-lt);
}
.nav-link--gallery:hover { color: var(--c-gold); }
.nav-link--gallery::after { background: var(--c-gold); }

.nav-link--cta {
  padding: .6rem 1.5rem;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  border-radius: 2px;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--c-gold); color: var(--c-bg); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 4px;
  z-index: 10001;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-cream);
  transition: transform .35s var(--ease), opacity .2s, width .3s var(--ease);
  transform-origin: center;
}
/* X state */
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav-link--gold { color: var(--c-gold) !important; }

/* ── Side drawer ── */

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 82vw);
  height: 100dvh;
  background: var(--c-surface);
  border-left: 1px solid var(--c-line);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem 1.75rem 2.5rem;
}

/* Topbar: etiqueta + botón cerrar en la misma fila */
.mobile-menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu-label {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: none;
  color: var(--c-cream-dim);
  cursor: pointer;
  transition: color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-close:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* Nav links */
.mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-nav-link {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-cream);
  text-decoration: none;
  line-height: 1;
  padding: .65rem 0;
  border-bottom: 1px solid var(--c-line);
  display: block;
  transition: color .2s, padding-left .2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link:active { color: var(--c-gold); padding-left: .35rem; }

/* Footer: teléfono y email, uno por línea */
.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.mobile-menu-footer a {
  display: block;
  font-size: .73rem;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.mobile-menu-footer a:hover { color: var(--c-gold); }


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,13,11,.88) 0%,
    rgba(14,13,11,.55) 60%,
    rgba(14,13,11,.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 5vw 6rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  animation: fadeSlideUp .9s .3s var(--ease) both;
}

@keyframes fadeSlideUp {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: none; }
}

.hero-pre {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: .95;
  color: var(--c-cream);
  margin-bottom: 2rem;
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--c-gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--c-cream-dim);
  margin-bottom: 3rem;
  max-width: 420px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  z-index: 1;
}
.hero-scroll-hint span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(.8); }
  50%       { opacity: 1;  transform: scaleY(1); }
}


/* ══════════════════════════════════════════════
   BAND
══════════════════════════════════════════════ */
.band {
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 3rem 5vw;
}
.band-item {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-align: center;
  padding: 1rem 2rem;
}
.band-item strong {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--c-gold);
  line-height: 1;
}
.band-item span {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.band-divider {
  width: 1px;
  height: 60px;
  background: var(--c-line);
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════
   ABOUT INTRO (SPLIT)
══════════════════════════════════════════════ */
.about-intro {
  padding: 8rem 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.container-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.split-text {
  display: flex;
  flex-direction: column;
}

.split-img {
  position: relative;
}
.split-img img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 2px;
}
.img-accent {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border-top: 2px solid var(--c-gold);
  border-left: 2px solid var(--c-gold);
  z-index: -1;
}


/* ══════════════════════════════════════════════
   HERITAGE CARDS (replaces timeline)
══════════════════════════════════════════════ */
.heritage-section {
  background: var(--c-surface);
  padding: 8rem 5vw;
  border-top: 1px solid var(--c-line);
}

.heritage-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}

.heritage-intro {
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: .25rem;
}

.heritage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  max-width: 1300px;
  margin: 0 auto;
  background: var(--c-line);
  border: 1.5px solid var(--c-line);
  border-radius: 3px;
  overflow: hidden;
}

.heritage-card {
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  transition: background .3s;
}
.heritage-card:hover { background: var(--c-surface2); }

.heritage-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.heritage-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) sepia(15%);
  transition: transform .5s var(--ease), filter .4s;
}
.heritage-card:hover .heritage-card-img img {
  transform: scale(1.05);
  filter: grayscale(0%) sepia(0%);
}

.heritage-card-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.heritage-year {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--c-gold);
  line-height: 1;
  display: block;
  margin-bottom: .25rem;
}

.heritage-card-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-cream);
  line-height: 1.2;
}

.heritage-card-body p {
  font-size: .88rem;
  color: var(--c-muted);
  line-height: 1.7;
}
.heritage-card-body strong { color: var(--c-cream-dim); font-weight: 400; }

/* "Hoy" card — no image, gold-tinted background */
.heritage-card--present {
  background: var(--c-surface2);
  border-left: 1.5px solid var(--c-gold);
}
.heritage-card--present:hover { background: rgba(184,151,90,.08); }

.heritage-card-body--full {
  justify-content: center;
  height: 100%;
  gap: 1rem;
}
.heritage-card-body--full .btn {
  margin-top: .5rem;
  align-self: flex-start;
}


/* ══════════════════════════════════════════════
   SERVICES / TABS
══════════════════════════════════════════════ */
.services-section {
  padding: 8rem 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.services-sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-top: -.5rem;
  letter-spacing: .04em;
}

.services-tabs { margin-bottom: 4rem; }

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 1rem 2rem;
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .25s;
}
.tab-btn:hover { color: var(--c-cream); }
.tab-btn.active {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.tab-panel.active { display: grid; }

.tab-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

.tab-text h3 {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--c-cream);
  margin-bottom: 1.25rem;
}
.tab-text p {
  color: var(--c-cream-dim);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.gallery-cta {
  text-align: center;
  padding: 3rem;
  border: 1px solid var(--c-line);
  border-radius: 2px;
}
.gallery-cta p {
  color: var(--c-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}


/* ══════════════════════════════════════════════
   PROJECTS GRID
══════════════════════════════════════════════ */
.projects-section {
  background: var(--c-surface);
  padding: 8rem 5vw;
  border-top: 1px solid var(--c-line);
}

.projects-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.projects-sub {
  color: var(--c-muted);
  font-size: .95rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--c-surface2);
}

.project-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.project-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.project-card:hover .project-card-bg { transform: scale(1.06); }

.project-card-info {
  padding: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.project-card-info h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-cream);
  margin-bottom: .5rem;
}
.project-card-info p {
  font-size: .85rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* CTA card */
.project-card--cta {
  background: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-cta-inner {
  padding: 2rem;
  text-align: center;
}
.project-cta-inner h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-bg);
  margin-bottom: 1.5rem;
}


/* ══════════════════════════════════════════════
   QUOTE BAND
══════════════════════════════════════════════ */
.quote-band {
  padding: 8rem 5vw;
  text-align: center;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.quote-inner blockquote {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-cream);
  margin-bottom: 2rem;
}
.quote-inner blockquote em {
  color: var(--c-gold);
}
.quote-inner > p {
  color: var(--c-muted);
  font-size: 1rem;
  letter-spacing: .08em;
}


/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-section {
  background: var(--c-surface2);
  padding: 8rem 5vw;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info .section-title { color: var(--c-cream); }

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item { display: flex; flex-direction: column; gap: .35rem; }
.detail-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.detail-value {
  font-size: 1rem;
  color: var(--c-cream-dim);
  transition: color .2s;
}
.detail-value:hover { color: var(--c-gold); }

.contact-social { display: flex; gap: 1.5rem; }
.social-link {
  font-size: .85rem;
  color: var(--c-cream-dim);
  text-decoration: underline;
  text-decoration-color: var(--c-line);
  transition: color .2s;
}
.social-link:hover { color: var(--c-gold); }

/* Form */
.contact-form-wrap {
  background: var(--c-surface);
  padding: 3rem;
  border-radius: 2px;
  border: 1px solid var(--c-line);
}

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.form-group input,
.form-group textarea {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: .85rem 1rem;
  color: var(--c-cream);
  font-family: var(--ff-sans);
  font-size: .95rem;
  font-weight: 300;
  transition: border-color .25s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--c-gold); }
.form-group textarea { min-height: 140px; resize: vertical; }

.form-success, .form-error {
  display: none;
  padding: 1rem;
  border-radius: 2px;
  font-size: .9rem;
  text-align: center;
}
.form-success { background: rgba(184,151,90,.1); color: var(--c-gold); border: 1px solid var(--c-gold); }
.form-error   { background: rgba(180,50,50,.1); color: #e07a7a; border: 1px solid #c05050; }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5vw 4rem;
  align-items: start;
}

.footer-brand img { margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: .85rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-nav a {
  font-size: .8rem;
  color: var(--c-muted);
  letter-spacing: .06em;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--c-gold); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-contact a {
  font-size: .85rem;
  color: var(--c-muted);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--c-gold); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: .75rem;
}
.footer-social a {
  color: var(--c-muted);
  transition: color .25s;
}
.footer-social a:hover { color: var(--c-gold); }

.footer-bottom {
  border-top: 1px solid var(--c-line);
  text-align: center;
  padding: 1.5rem 5vw;
}
.footer-bottom p {
  font-size: .72rem;
  color: var(--c-muted);
  letter-spacing: .08em;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container-split,
  .tab-panel.active,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .split-img img { height: 400px; }
  .tab-img-wrap img { height: 320px; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .heritage-cards { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .burger { display: flex; }

  .hero-title { font-size: clamp(3.2rem, 12vw, 5rem); }

  .band-divider { display: none; }
  .band-inner { gap: 1.5rem; }

  .heritage-cards { grid-template-columns: 1fr; }
  .heritage-card--present { border-left: none; border-top: 1.5px solid var(--c-gold); }

  .projects-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .contact-form-wrap { padding: 2rem 1.5rem; }

  .heritage-section { padding: 5rem 5vw; }
  .services-section, .projects-section, .about-intro { padding: 5rem 5vw; }
  .contact-section { padding: 5rem 5vw; }
  .quote-band { padding: 5rem 5vw; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .hero-cta-row { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .tabs-nav { gap: 0; }
  .tab-btn { padding: .75rem 1rem; font-size: .72rem; }
}
