/* ==========================================================================
   DG y SP Servicios — Paleta Extraída de las Piezas Gráficas Oficiales
   ========================================================================== */
:root {
  /* Neutros cálidos: un solo negro, sin desvíos azulados */
  --bg-dark: #0F1114;
  --bg-charcoal: #14161A;
  --bg-card: #1A1D22;
  --bg-elevated: #23272D;
  --bg-stone: #F2ECE1;
  --bg-stone-dark: #E6DCCB;

  /* Acento único: dorado champagne */
  --gold: #C9A469;
  --gold-bright: #E7CB94;
  --gold-deep: #8E6E3C;
  --gold-rgb: 201, 164, 105;
  --gold-bright-rgb: 231, 203, 148;

  /* Alias heredados: los antiguos acentos (marino/ámbar/naranja)
     se resuelven al mismo dorado para unificar la identidad. */
  --bg-navy: #15181D;
  --bg-navy-light: #1C2027;
  --orange-obra: var(--gold);
  --amber-tech: var(--gold-bright);

  --text-light: #F6F3EC;
  --text-muted: #B3B0A8;
  --text-dark: #191B1F;
  --text-dark-muted: #575249;

  --border-gold: rgba(var(--gold-rgb), 0.24);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::selection {
  background: rgba(var(--gold-rgb), 0.3);
  color: var(--text-light);
}

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

input::placeholder,
textarea::placeholder {
  color: rgba(246, 243, 236, 0.38);
}

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

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

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

.text-amber {
  color: var(--amber-tech);
}

.text-orange {
  color: var(--orange-obra);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 0.92rem 1.75rem;
  font-size: 0.96rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(180deg, #E3C792 0%, var(--gold) 100%);
  color: #14120D;
  box-shadow: 0 8px 22px rgba(var(--gold-rgb), 0.22);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--gold-rgb), 0.32);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-light);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}

/* ================= HEADER / NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-svg {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-bright);
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  padding: 1rem 4%;
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-subtle);
  gap: 0.75rem;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-link {
  padding: 0.5rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-phones {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.drawer-phones a {
  font-size: 0.85rem;
  color: var(--gold-bright);
  font-weight: 600;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding-top: 3.5rem;
  background: radial-gradient(ellipse at 75% 0%, rgba(var(--gold-rgb), 0.10), transparent 55%),
              linear-gradient(180deg, #0F1114 0%, #14171B 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.dot-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
}

.hero-slogan-serif {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.35rem;
  max-width: 58ch;
}

.hero-description strong {
  color: var(--text-light);
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.8rem;
}

.hero-pillars .sep {
  color: rgba(var(--gold-rgb), 0.45);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
  transition: border-color 0.2s ease;
}

.contact-chip:hover {
  border-color: var(--gold);
}

.chip-label {
  color: var(--text-muted);
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  background: linear-gradient(145deg, rgba(var(--gold-rgb), 0.35), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow-lg);
}

.hero-team-img {
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
}

.hero-script-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 17, 20, 0.86);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-family: var(--font-script);
  font-size: 1.45rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  transform: rotate(-3deg);
}

.emblem-float-btn {
  position: absolute;
  bottom: -1.6rem;
  left: -1.4rem;
  width: 124px;
  height: 124px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.65));
  transition: transform 0.25s ease;
}

.emblem-float-btn:hover {
  transform: scale(1.06) rotate(2deg);
}

.emblem-float-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Barra de garantías */
.trust-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-family: var(--font-display);
}

.trust-item small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ================= SECTIONS GENERAL ================= */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.2rem;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

/* ================= 6 SERVICES GRID ================= */
.services-section {
  background: var(--bg-charcoal);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.service-icon-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(var(--gold-bright-rgb), 0.16), rgba(var(--gold-rgb), 0.04));
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}

.service-card h2,
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 0.65rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0 0 1rem;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #CFCAC0;
  flex: 1;
}

.service-bullets li::before {
  content: "◆ ";
  color: var(--gold);
  font-size: 0.65rem;
}

.service-cta {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.service-cta:hover {
  transform: translateX(4px);
}

/* ================= SHOWCASE: COCINAS Y BAÑOS ================= */
.showcase-section {
  background: var(--bg-dark);
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.showcase-copy {
  max-width: 660px;
}

.lead-text {
  color: var(--text-muted);
  font-size: 1.03rem;
  margin: 0.75rem 0;
}

.script-accent {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-bright);
}

.flyer-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.flyer-pill-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
}

.flyer-pill-btn img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.interior-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: #0E1013;
}

.interior-card--wide {
  grid-column: span 3;
  aspect-ratio: 16 / 7;
}

.interior-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.interior-card:hover img {
  transform: scale(1.04);
}

.interior-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 13, 16, 0.94) 70%);
}

.hand-tag {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.7rem;
  line-height: 1;
  color: #14120D;
  background: var(--gold-bright);
  padding: 0.15rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
}

.tag-gold {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #14120D;
  background: var(--gold-bright);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
}

.interior-overlay h3 {
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
  font-size: 1.22rem;
}

.interior-overlay p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================= OBRAS: ANTES/DESPUÉS Y AVANCES ================= */
.works-section {
  background: var(--bg-charcoal);
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(180deg, #E3C792, var(--gold));
  color: #14120D;
  border-color: transparent;
}

.project-panel[hidden] {
  display: none;
}

.navy-banner {
  background: linear-gradient(155deg, #171A20 0%, #101215 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(var(--gold-rgb), 0.16);
}

.construction-banner {
  background: linear-gradient(155deg, #1A1D22 0%, #101215 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(var(--gold-rgb), 0.14);
}

.navy-banner-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.navy-banner-head h2,
.navy-banner-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 900;
  margin: 0.2rem 0 0.35rem;
}

.navy-banner-head p {
  margin: 0;
  color: var(--text-muted);
}

.hand-tag-white {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--amber-tech);
}

.construction-kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--orange-obra);
}

.timeline-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stage-card {
  margin: 0;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stage-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.stage-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.stage-card figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.stage-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.stage-badge--navy {
  background: var(--bg-elevated);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stage-badge--gold {
  background: var(--gold-bright);
  color: #14120D;
}

.stage-badge--orange {
  background: rgba(15, 17, 20, 0.86);
  color: var(--gold-bright);
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  backdrop-filter: blur(6px);
}

.extra-work-row {
  margin-top: 1.25rem;
}

.extra-work-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-work {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.55rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.mini-work:hover {
  border-color: var(--gold);
}

.mini-work img {
  width: 78px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.mini-work span {
  font-size: 0.86rem;
  font-weight: 600;
}

.panorama-card {
  margin: 1.25rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.panorama-card img {
  width: 100%;
  max-height: 270px;
  object-fit: cover;
}

.panorama-card figcaption {
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================= SECCIÓN IDENTIDAD MARFIL PIEDRA ================= */
.stone-identity-section {
  background: linear-gradient(180deg, var(--bg-stone) 0%, var(--bg-stone-dark) 100%);
  color: var(--text-dark);
}

.identity-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.emblem-zoom-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

.emblem-zoom-card img {
  width: min(390px, 100%);
  filter: drop-shadow(0 20px 35px rgba(32, 26, 17, 0.22));
  transition: transform 0.3s ease;
}

.emblem-zoom-card:hover img {
  transform: scale(1.03);
}

.zoom-hint {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  border-bottom: 1px dashed var(--text-dark-muted);
}

.section-kicker-dark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #7C5C2A;
  margin-bottom: 0.5rem;
}

.section-title-dark {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.identity-lead {
  font-size: 1.03rem;
  color: var(--text-dark-muted);
  margin: 0 0 1.5rem;
}

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

.id-val-box {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(142, 110, 60, 0.22);
  border-radius: 12px;
  padding: 1.1rem;
}

.id-val-box strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.id-val-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dark-muted);
}

.identity-team-thumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #17191D;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.identity-team-thumb:hover {
  transform: translateY(-2px);
}

.identity-team-thumb img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
}

.identity-team-thumb strong {
  display: block;
  font-size: 0.94rem;
  color: var(--gold-bright);
}

.identity-team-thumb span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================= CONTACTO Y COTIZADOR ================= */
.contact-section {
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-subtitle {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.direct-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.direct-contact-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.dc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dc-icon--wa,
.dc-icon--phone,
.dc-icon--ig {
  background: rgba(var(--gold-rgb), 0.10);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  color: var(--gold-bright);
}

.direct-contact-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.direct-contact-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.dc-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  color-scheme: dark;
}

.quote-form-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.form-hint {
  margin: 0 0 1.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #C9C4BA;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #101215;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.14);
}

/* ================= FOOTER ================= */
.site-footer {
  background: #0C0E10;
  border-top: 1px solid var(--border-gold);
  padding-top: 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.footer-logo-text span {
  font-family: var(--font-serif);
  color: var(--gold-bright);
}

.footer-logo-text small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 36ch;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links h2,
.footer-contact h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-bright);
  margin: 0 0 0.5rem;
}

.footer-links a,
.footer-contact p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.1rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ================= WHATSAPP FLOAT ================= */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #06210F;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 10, 13, 0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-content {
  max-width: 960px;
  max-height: 88vh;
  text-align: center;
}

.lightbox-content img {
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
}

.lightbox-content p {
  margin: 0.8rem 0 0;
  color: var(--gold-bright);
  font-weight: 600;
}

/* ================= REVEAL ANIMATION ================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================= NAV ACTIVO ================= */
.main-nav a.active {
  color: var(--gold-bright);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 1px;
  background: var(--gold);
}

/* ================= ENCABEZADO DE PÁGINA ================= */
.page-contacto .wa-float {
  display: none;
}

.page-hero {
  position: relative;
  padding: 4.5rem 0 3.75rem;
  background: radial-gradient(ellipse at 20% 0%, rgba(var(--gold-rgb), 0.10), transparent 55%),
              linear-gradient(180deg, #0F1114 0%, #14171B 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.breadcrumb [aria-current="page"] {
  color: var(--gold-bright);
}

.breadcrumb-sep {
  color: rgba(246, 243, 236, 0.25);
}

.breadcrumb--dark {
  color: var(--text-dark-muted);
}

.breadcrumb--dark [aria-current="page"] {
  color: #7C5C2A;
}

.breadcrumb--dark .breadcrumb-sep {
  color: rgba(25, 27, 31, 0.25);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.9rem;
  max-width: 24ch;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 62ch;
  margin: 0;
}

/* ================= HOME: ACCESOS ================= */
.gateway-section {
  background: var(--bg-charcoal);
}

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

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 220px;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gateway-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.gateway-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.gateway-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

.gateway-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 44ch;
}

.gateway-link {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--gold-bright);
}

/* ================= CTA FINAL ================= */
.cta-band {
  background: var(--bg-dark);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem;
  background: linear-gradient(155deg, #171A20 0%, #101215 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(var(--gold-rgb), 0.16);
}

.cta-panel .section-title {
  margin-bottom: 0.5rem;
}

.cta-panel .section-subtitle {
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ================= DETALLES MULTIPÁGINA ================= */
.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.showcase-toolbar .script-accent {
  font-size: 1.6rem;
}

.contact-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.service-card:target {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.45), 0 20px 44px rgba(0, 0, 0, 0.45);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-grid,
  .identity-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .emblem-float-btn {
    left: 1rem;
    bottom: -1.5rem;
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 720px) {
  .header-actions .btn-gold {
    display: none;
  }
  .services-grid,
  .interior-grid,
  .timeline-3col,
  .extra-work-photos,
  .identity-values-grid,
  .form-row,
  .footer-grid,
  .trust-grid,
  .gateway-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3.5rem 0;
  }
  .page-hero {
    padding: 3rem 0 2.5rem;
  }
  .page-title {
    max-width: none;
  }
  .cta-panel {
    padding: 1.75rem;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn {
    flex: 1 1 100%;
  }
  .interior-card {
    aspect-ratio: 1 / 1;
  }
  .interior-card--wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wa-tooltip {
    display: none;
  }
  .wa-float {
    padding: 0.85rem;
  }
}
