/* Variables del Sistema de Diseño - Santero Premium */
:root {
  --font-title: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Roboto', sans-serif;

  /* Colores Claros (Estilo Piedra / Mármol Cálido) */
  --bg-primary: #fbfbf9; /* Blanco piedra suave y limpio */
  --bg-secondary: #ffffff; /* Blanco puro para secciones y tarjetas */
  --bg-accent: #f5f5f2; /* Gris cálido suave para detalles y fondos secundarios */
  --bg-card: #ffffff; /* Tarjetas blancas */
  
  --text-main: #1c1917; /* Carbón cálido oscuro para legibilidad superior */
  --text-muted: #78716c; /* Gris piedra medio para textos secundarios */
  --text-dark: #0c0a09;

  /* Colores para Secciones Oscuras (Header, Footer, Nosotros) */
  --bg-dark-primary: #0a0a0a;
  --bg-dark-secondary: #141414;
  --bg-dark-card: rgba(26, 26, 26, 0.65);
  --text-dark-main: #faf9f6;
  --text-dark-muted: #a8a29e;

  /* Gradientes y Colores Metálicos de Oro / Latón Champagne (Premium Brass) */
  --gold-metallic: linear-gradient(135deg, #8c6f37 0%, #b89551 35%, #d9b870 50%, #b89551 65%, #8c6f37 100%);
  --gold-button: linear-gradient(90deg, #8c6f37 0%, #b89551 50%, #8c6f37 100%);
  --gold-glow: 0 0 20px rgba(184, 149, 81, 0.25);
  --gold-solid: #b89551; /* Dorado latón mate y elegante */
  --gold-bright: #d9b870; /* Dorado brillante suave para hover */
  --gold-dark: #7a5e29;

  /* Bordes y Sombreados */
  --border-gold-rgba: rgba(184, 149, 81, 0.12);
  --border-gold-solid: 1px solid rgba(184, 149, 81, 0.18);
  --border-gold-hover: 1px solid rgba(184, 149, 81, 0.55);
  --shadow-light: 0 10px 30px -10px rgba(28, 25, 23, 0.05), 0 1px 3px rgba(28, 25, 23, 0.02);
  --shadow-gold: 0 12px 30px -12px rgba(184, 149, 81, 0.18);
  --shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  /* Bordes Redondeados (Border Radius) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Estilos Básicos */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-main);
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Textura sutil de metal cepillado e industrial en tono claro */
.brushed-metal-bg {
  background: 
    linear-gradient(rgba(245, 243, 239, 0.96), rgba(245, 243, 239, 0.96)),
    repeating-linear-gradient(45deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(212, 175, 55, 0.012) 2px, rgba(212, 175, 55, 0.012) 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(212, 175, 55, 0.012) 2px, rgba(212, 175, 55, 0.012) 4px),
    linear-gradient(90deg, #ffffff, #f5f3ef);
}

/* ==========================================
   Componentes Reutilizables
   ========================================== */

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tagline {
  font-family: var(--font-title);
  color: var(--gold-solid);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title-line {
  width: 60px;
  height: 4px;
  background: var(--gold-metallic);
  margin: 15px auto 0;
  border-radius: 2px;
}

.gold-icon {
  color: var(--gold-solid);
}

/* ==========================================
   Botón de WhatsApp Flotante
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128c7e;
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--bg-secondary);
  color: var(--text-main);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  border: var(--border-gold-solid);
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================
   Header / Navegación
   ========================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold-rgba);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background: rgba(8, 8, 8, 0.9);
  padding: 8px 0;
  border-bottom: 1px solid rgba(184, 149, 81, 0.25);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(184, 149, 81, 0.15));
  transition: var(--transition-normal);
}

.logo-link:hover .logo-icon {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 12px rgba(217, 184, 112, 0.5));
}

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

.brand-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}

.desktop-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--transition-fast);
}

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

.desktop-nav a.active {
  color: var(--gold-solid) !important;
  font-weight: 700;
}

.nav-cta-btn {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  background: var(--gold-button);
  color: var(--text-dark) !important;
  font-weight: 700 !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: var(--gold-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 48px;
}

.phone-link-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--gold-solid);
  font-size: 1.05rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.phone-link-header:hover {
  color: var(--gold-bright);
  transform: scale(1.02);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark-main);
  position: absolute;
  left: 0;
  transition: var(--transition-normal);
  border-radius: var(--radius-full);
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 9px; }
.hamburger-menu span:nth-child(3) { top: 18px; }

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--gold-solid);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--gold-solid);
}

/* ==========================================
   Mobile Nav Menu Overlay
   ========================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 95;
  transition: var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: var(--border-gold-solid);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav {
  text-align: center;
  padding: 40px;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.mobile-nav-link {
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark-main);
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--gold-bright);
}

.mobile-cta-link {
  display: inline-block;
  background: var(--gold-button);
  color: var(--text-dark) !important;
  font-size: 1.2rem;
  padding: 12px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.mobile-menu-info {
  margin-top: 28px;
  color: var(--text-dark-muted);
  font-size: 1rem;
}

.mobile-menu-info p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mobile-menu-info a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero_split_bg.jpg') no-repeat center center/cover;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.hero-blueprint-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15; /* Incrementado al 15% para que sea visible en fondos claros manteniendo la sutileza */
  overflow: hidden;
}

.hero-blueprint-bg svg {
  width: 100%;
  height: 100%;
  color: var(--gold-solid); /* Garantiza que currentColor herede el dorado */
  stroke: var(--gold-solid);
  fill: none;
  stroke-width: 1.2px;
}

.hero-content {
  max-width: 850px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-logo-box {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-big-logo {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.35));
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 12px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  text-indent: 12px; /* Center correct for letter spacing */
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-cta-button {
  position: relative;
  display: inline-block;
  background: var(--gold-button);
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 44px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.hero-cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  30%, 100% { left: 150%; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.hero-scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--gold-solid);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
  0% { top: 8px; opacity: 1; }
  50% { top: 28px; opacity: 0; }
  100% { top: 8px; opacity: 1; }
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
  background: radial-gradient(circle at center, rgba(184, 149, 81, 0.03) 0%, transparent 70%), var(--bg-secondary);
  border-top: 1px solid rgba(184, 149, 81, 0.08);
  border-bottom: 1px solid rgba(184, 149, 81, 0.08);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: var(--border-gold-solid);
  border-radius: var(--radius-md);
  padding: 0;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-metallic);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-6px);
  border: var(--border-gold-hover);
  box-shadow: var(--shadow-light), 0 16px 36px -12px rgba(184, 149, 81, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-accent);
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image {
  transform: scale(1.05);
}

.service-icon-badge {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: var(--border-gold-solid);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08);
  transition: var(--transition-normal);
  z-index: 2;
}

.service-icon-badge svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon-badge {
  border-color: var(--gold-solid);
  box-shadow: 0 4px 15px rgba(184, 149, 81, 0.3);
  transform: translateY(-2px) rotate(3deg);
}

.service-card-content {
  padding: 36px 24px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.service-card:hover .service-card-title {
  color: var(--gold-solid);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-section {
  background-color: var(--bg-primary);
  /* Textured pattern in light tone - Stone feel */
  background-image: 
    linear-gradient(rgba(251, 251, 249, 0.98), rgba(251, 251, 249, 0.98)),
    repeating-linear-gradient(45deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(184, 149, 81, 0.008) 2px, rgba(184, 149, 81, 0.008) 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(184, 149, 81, 0.008) 2px, rgba(184, 149, 81, 0.008) 4px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.gallery-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-gold-solid);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-light);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border: var(--border-gold-hover);
  box-shadow: var(--shadow-light), 0 12px 28px -10px rgba(184, 149, 81, 0.15);
}

.gallery-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-bottom: var(--border-gold-solid);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-card:hover .gallery-image {
  transform: scale(1.04);
}

/* Efecto Antes/Después (Desvanecimiento) */
.before-after-wrapper {
  position: relative;
}

.before-after-wrapper .img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.before-after-card:hover .img-after {
  opacity: 1;
  transform: scale(1.04);
}

.hover-tip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 10, 9, 0.9);
  border: 1px solid var(--gold-solid);
  color: var(--gold-solid);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  z-index: 10;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.before-after-card:hover .hover-tip {
  opacity: 0;
  transform: translateY(5px);
}

.badge-ba {
  z-index: 10;
}

.gallery-placeholder {
  position: relative;
  height: 240px;
  background: 
    radial-gradient(circle at center, rgba(184, 149, 81, 0.08) 0%, transparent 70%),
    linear-gradient(var(--bg-secondary), var(--bg-accent));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  border-bottom: var(--border-gold-solid);
}

.gallery-placeholder::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg, rgba(184, 149, 81, 0.015) 0px, rgba(184, 149, 81, 0.015) 20px, transparent 20px, transparent 40px);
  pointer-events: none;
}

.placeholder-icon {
  font-size: 2.5rem;
  color: var(--gold-solid);
  filter: drop-shadow(0 2px 8px rgba(184, 149, 81, 0.25));
  transition: var(--transition-normal);
}

.gallery-card:hover .placeholder-icon {
  transform: scale(1.1);
  color: var(--gold-solid);
}

.placeholder-text {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.placeholder-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(12, 10, 9, 0.9);
  border: var(--border-gold-solid);
  color: var(--gold-solid);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-item-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.gallery-card:hover .gallery-item-title {
  color: var(--gold-solid);
}

.gallery-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   Work Zone Section
   ========================================== */
.zone-section {
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(184, 149, 81, 0.08);
  border-bottom: 1px solid rgba(184, 149, 81, 0.08);
}

.zone-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.text-left {
  text-align: left;
}

.zone-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.zone-highlight-box {
  display: flex;
  gap: 20px;
  background: var(--bg-secondary);
  border: var(--border-gold-solid);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  box-shadow: var(--shadow-light);
}

.zone-map-icon {
  font-size: 2rem;
  color: var(--gold-solid);
  margin-top: 4px;
}

.zone-highlight-box h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.zone-highlight-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.zone-cities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.zone-cities-list li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Radar/Pulse Visual */
.radial-map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  background: radial-gradient(circle, rgba(184, 149, 81, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-pulse-circle {
  position: absolute;
  border: 1px solid var(--gold-solid);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: radar-pulse 4s linear infinite;
  pointer-events: none;
}

.map-pulse-circle.delay-1 {
  animation-delay: 1.3s;
}

.map-pulse-circle.delay-2 {
  animation-delay: 2.6s;
}

@keyframes radar-pulse {
  0% { transform: scale(0.1); opacity: 0; }
  10% { opacity: 0.5; }
  85% { opacity: 0.05; }
  100% { transform: scale(1.0); opacity: 0; }
}

.map-center-pin {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-center-pin i {
  font-size: 2.8rem;
  color: var(--gold-solid);
  filter: drop-shadow(0 0 10px rgba(184, 149, 81, 0.5));
  animation: pin-bounce 2s ease-in-out infinite;
}

@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pin-label {
  font-family: var(--font-title);
  background: var(--bg-secondary);
  border: var(--border-gold-solid);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-light);
}

.map-radius-text {
  position: absolute;
  bottom: 0px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radius-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-solid);
  line-height: 1;
}

.radius-unit {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================
   Why Choose Us Section (Sección de Contraste Oscuro)
   ========================================== */
.why-us-section {
  background-color: var(--bg-dark-primary);
  background-image: 
    linear-gradient(rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.96)),
    repeating-linear-gradient(45deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
  color: var(--text-dark-main);
  border-top: 1px solid rgba(184, 149, 81, 0.2);
  border-bottom: 1px solid rgba(184, 149, 81, 0.2);
}

.why-us-section .section-title {
  color: var(--text-dark-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--gold-solid);
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition-normal);
  filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.2));
}

.feature-item:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--gold-bright);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.feature-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark-main);
  text-transform: uppercase;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(184, 149, 81, 0.08);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: stretch;
}

/* Info Panel Card */
.contact-info-panel {
  background: var(--bg-card);
  border: var(--border-gold-solid);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-light);
}

.contact-info-panel h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.detail-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border: var(--border-gold-solid);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.15rem;
  color: var(--gold-solid);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.detail-item:hover .detail-icon {
  background: var(--gold-solid);
  color: var(--text-dark);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

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

.detail-text span {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.detail-text strong {
  font-size: 1.1rem;
  color: var(--text-main);
  font-family: var(--font-title);
}

.panel-cta-block {
  border-top: 1px dashed rgba(184, 149, 81, 0.2);
  padding-top: 30px;
}

.panel-cta-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.whatsapp-btn-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-title);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition-normal);
}

.whatsapp-btn-large:hover {
  transform: translateY(-2px);
  background-color: #128c7e;
  box-shadow: 0 8px 20px rgba(18, 140, 126, 0.45);
}

/* Contact Form Panel */
.contact-form-panel {
  background: var(--bg-card);
  border: var(--border-gold-solid);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-light);
}

.styled-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  width: 100%;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  background-color: var(--bg-primary);
  border: 1px solid rgba(184, 149, 81, 0.15);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-solid);
  box-shadow: 0 0 0 3px rgba(184, 149, 81, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b89551'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-group select option {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

.submit-button {
  background: var(--gold-button);
  color: var(--text-dark);
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-normal);
  margin-top: 10px;
}

.submit-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: var(--gold-glow);
}

.submit-button:active {
  transform: translateY(0);
}

/* ==========================================
   Footer
   ========================================== */
.main-footer {
  background-color: var(--bg-dark-primary);
  border-top: 1px solid rgba(184, 149, 81, 0.22);
  position: relative;
  color: var(--text-dark-main);
}

.footer-top {
  padding: 80px 0 60px;
}

.main-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 50px;
}

.footer-column h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--text-dark-main);
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-solid);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.logo-icon-footer {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.2));
}

.footer-brand-title {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  display: block;
}

.footer-slogan {
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.footer-desc {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.footer-zone-desc {
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-bottom {
  background-color: #0b0b0b;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #666;
  font-size: 0.85rem;
}

/* ==========================================
   Responsive Adaptations (Media Queries)
   ========================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.6rem;
    letter-spacing: 8px;
    text-indent: 8px;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .zone-wrapper {
    gap: 40px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  .hamburger-menu {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .header-actions .nav-cta-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  .zone-wrapper {
    grid-template-columns: 1fr;
  }
  
  .zone-info {
    order: 1;
  }
  
  .zone-visual {
    order: 2;
    margin-top: 20px;
  }
  
  .main-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-column h4 {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 48px 16px !important;
  }
  
  .brand-title {
    font-size: 1.25rem !important;
  }
  
  .brand-subtitle {
    display: none !important;
  }
  
  .logo-icon {
    width: 34px !important;
    height: 34px !important;
  }
  
  .phone-link-header {
    font-size: 0.9rem !important;
  }
  
  .header-actions {
    gap: 10px !important;
  }
  
  /* Hero Section Mobile Optimize */
  .hero-section {
    padding: 100px 16px 60px !important;
    min-height: auto !important;
  }
  
  .hero-text-card {
    padding: 28px 20px !important;
    border-radius: var(--radius-md) !important;
  }
  
  .hero-card-title {
    font-size: 2.2rem !important;
    letter-spacing: 4px !important;
    text-indent: 4px !important;
  }
  
  .hero-card-subtitle {
    font-size: 0.88rem !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .hero-card-description {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }
  
  .hero-card-trust-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
    margin-bottom: 24px !important;
    padding-left: 0 !important;
    width: 100% !important;
    text-align: left !important;
  }
  
  .hero-card-trust-list li {
    font-size: 0.78rem !important;
    justify-content: flex-start !important;
    line-height: 1.3 !important;
  }
  
  .hero-card-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  
  .hero-card-btn {
    width: 100% !important;
    min-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.82rem !important;
  }

  /* Section Headers */
  .section-title {
    font-size: 1.75rem !important;
  }
  
  .section-header {
    margin-bottom: 30px !important;
  }
  
  .section-tagline {
    font-size: 0.8rem !important;
    letter-spacing: 2px !important;
  }
  
  /* Horizontal Scroll Carousel (Swiper style) */
  .services-grid, .gallery-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 8px 16px 20px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .services-grid::-webkit-scrollbar, .gallery-grid::-webkit-scrollbar {
    display: none !important;
  }
  
  .services-grid, .gallery-grid {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
  
  .service-card, .gallery-card {
    flex: 0 0 82% !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
  }
  
  /* Why Choose Us (2 columns) */
  .features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  .feature-item {
    padding: 8px !important;
    text-align: center !important;
  }
  
  .feature-icon {
    font-size: 2rem !important;
    margin-bottom: 10px !important;
  }
  
  .feature-item h4 {
    font-size: 0.9rem !important;
    margin-bottom: 6px !important;
  }
  
  .feature-item p {
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
  }
  
  /* Work Zone */
  .zone-cities-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .zone-cities-list li {
    font-size: 0.85rem !important;
  }
  
  .zone-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .zone-highlight-box {
    padding: 16px !important;
    gap: 12px !important;
  }
  
  .zone-map-icon {
    font-size: 1.6rem !important;
  }
  
  .zone-highlight-box h4 {
    font-size: 1.05rem !important;
  }
  
  .zone-highlight-box p {
    font-size: 0.85rem !important;
  }
  
  
  .price-range-display {
    font-size: 2.2rem !important;
    margin: 12px 0 20px !important;
    justify-content: center !important;
  }
  
  .results-details {
    padding: 16px 0 !important;
    margin-bottom: 20px !important;
  }
  
  .results-features {
    gap: 8px !important;
  }
  
  .results-features li {
    font-size: 0.78rem !important;
  }
  
  /* Contact form and panel */
  .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .contact-info-panel, .contact-form-panel {
    padding: 24px 16px !important;
  }
  
  .contact-info-panel h3 {
    font-size: 1.5rem !important;
  }
  
  .panel-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 24px !important;
  }
  
  .contact-detail-items {
    gap: 16px !important;
  }
  
  .detail-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  
  .detail-text strong {
    font-size: 0.95rem !important;
  }
  
  .form-row.split {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .styled-form {
    gap: 16px !important;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================
   Modales y Alertas de Estado (AJAX Form)
   ========================================== */
.custom-status-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out forwards;
}

.custom-status-alert {
  background: var(--bg-secondary);
  border: var(--border-gold-solid);
  border-radius: 8px;
  padding: 40px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-dark), var(--shadow-gold);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.custom-status-alert.success {
  border-color: #25d366;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.15);
}

.custom-status-alert.error {
  border-color: #ff3333;
  box-shadow: 0 10px 40px rgba(255, 51, 51, 0.15);
}

.custom-status-alert-overlay.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

.custom-status-alert-overlay.fade-out .custom-status-alert {
  animation: scaleOut 0.3s ease-out forwards;
}

.alert-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1;
}

.success-icon {
  color: #25d366;
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.3));
}

.error-icon {
  color: #ff3333;
  filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.3));
}

.alert-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.custom-status-alert.success .alert-title {
  color: #25d366;
}

.custom-status-alert.error .alert-title {
  color: #ff3333;
}

.alert-message {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.alert-close-btn {
  background: var(--gold-button);
  color: var(--text-dark);
  border: none;
  padding: 12px 36px;
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-normal);
}

.alert-close-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: var(--gold-glow);
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes scaleOut {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0.9); opacity: 0; }
}

/* ==========================================
   Animaciones al Hacer Scroll (Fade In + Slide Up)
   ========================================== */
.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Estilos Adicionales - Rediseño Split Hero
   ========================================== */
.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-text-side {
  text-align: left;
}

.hero-tagline {
  font-family: var(--font-title);
  color: var(--gold-solid);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: 6px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  padding-left: 0;
}

.hero-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.hero-actions-container {
  display: flex;
  gap: 20px;
}

.hero-actions-container .hero-cta-button.primary {
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.hero-actions-container .hero-cta-button.secondary {
  background: none;
  border: 2px solid var(--gold-solid);
  color: var(--text-main);
  padding: 16px 36px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  font-family: var(--font-title);
  transition: var(--transition-normal);
  display: inline-block;
}

.hero-actions-container .hero-cta-button.secondary:hover {
  background: var(--gold-solid);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Derecha: Imagen Destacada del Hero */
.hero-image-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper-decor {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 0.85;
}

.frame-border-back {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold-solid);
  border-radius: 6px;
  z-index: 1;
}

.hero-featured-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  z-index: 2;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--bg-dark-primary);
  border: var(--border-gold-solid);
  border-radius: 6px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  box-shadow: var(--shadow-dark);
  color: #fff;
  text-align: left;
}

.hero-floating-badge i {
  font-size: 1.5rem;
  color: var(--gold-solid);
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark-main);
  font-family: var(--font-title);
  text-transform: uppercase;
}

.hero-floating-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dark-muted);
}

/* ==========================================
   Sección: Preguntas Frecuentes (FAQ)
   ========================================== */
.faq-section {
  background-color: var(--bg-secondary);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.faq-item {
  border: 1px solid rgba(184, 149, 81, 0.12);
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}

.faq-question span {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.faq-icon {
  font-size: 0.95rem;
  color: var(--gold-solid);
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  border-top: 1px solid transparent;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  padding-bottom: 22px;
}

/* FAQ Active State */
.faq-item.active {
  border-color: var(--gold-solid);
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-light), 0 10px 20px -10px rgba(184, 149, 81, 0.1);
}

.faq-item.active .faq-question span {
  color: var(--gold-solid);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  border-color: rgba(184, 149, 81, 0.12);
}


/* ==========================================
   Estilos de Tarjeta de Texto Centrada (Hero Card)
   ========================================== */
.hero-text-card {
  background: rgba(12, 10, 9, 0.65); /* Capa oscura semitransparente ultra-elegante */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 149, 81, 0.22);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-dark), 0 10px 40px -10px rgba(184, 149, 81, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 12px;
}

.hero-small-logo {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 2px 8px rgba(184, 149, 81, 0.25));
}

.hero-card-title {
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 8px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
  text-indent: 8px;
}

.hero-card-subtitle {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark-main);
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-card-description {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 620px;
  font-weight: 400;
}

.hero-card-trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
  padding-left: 0;
  list-style: none;
}

.hero-card-trust-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-dark-main);
  font-size: 0.92rem;
}

.hero-card-trust-list li .gold-icon {
  color: var(--gold-solid);
  font-size: 0.92rem;
}

.hero-card-actions {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

/* Estilo de los botones */
.hero-card-btn {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  transition: var(--transition-normal);
  text-decoration: none;
  box-sizing: border-box;
}

.hero-card-btn.btn-solid {
  background: var(--gold-solid);
  color: var(--text-dark) !important;
  box-shadow: var(--shadow-gold);
  border: 1px solid transparent;
}

.hero-card-btn.btn-solid:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.hero-card-btn.btn-outline {
  background: transparent;
  color: var(--gold-solid) !important;
  border: 1px solid var(--gold-solid);
}

.hero-card-btn.btn-outline:hover {
  background: rgba(184, 149, 81, 0.08);
  border-color: var(--gold-bright);
  color: var(--gold-bright) !important;
  transform: translateY(-2px);
}

/* ==========================================
   Form Validation Styles (Zod UX)
   ========================================== */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d9534f !important;
  box-shadow: 0 0 8px rgba(217, 83, 79, 0.25) !important;
}

.error-message {
  display: block;
  color: #d9534f;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 5px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.25s ease-out, 
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-message.visible {
  max-height: 50px;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Form Validation - Privacy Checkbox UX
   ========================================== */
.privacy-checkbox-group {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px !important;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-bottom: 5px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  width: 100%;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-solid);
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.9rem !important;
  color: var(--text-main);
  text-transform: none !important;
  font-weight: 500 !important;
  letter-spacing: 0px !important;
  line-height: 1.4;
  user-select: none;
}

.checkbox-text a {
  color: var(--gold-solid);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition-fast);
}

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

.privacy-checkbox-group .error-message {
  width: 100%;
}

/* ==========================================
   Privacy Policy Page Styles
   ========================================== */
.privacy-policy-main {
  background-color: var(--bg-primary);
  padding: 120px 24px 80px; /* Offset para evitar solapar el header sticky */
  min-height: 70vh;
  display: flex;
  justify-content: center;
}

.policy-container {
  max-width: 800px;
  width: 100%;
  background: var(--bg-card);
  border: var(--border-gold-solid);
  border-radius: 8px;
  padding: 44px;
  box-shadow: var(--shadow-light);
}

.policy-container h1 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.policy-container .last-update {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
}

.policy-container section {
  margin-bottom: 30px;
}

.policy-container h2 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 8px;
}

.policy-container p, .policy-container ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-container ul {
  padding-left: 20px;
  list-style-type: square;
}

.policy-container li {
  margin-bottom: 8px;
}

.policy-container a {
  color: var(--gold-solid);
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .privacy-policy-main {
    padding: 100px 16px 60px;
  }
  .policy-container {
    padding: 24px;
  }
  .policy-container h1 {
    font-size: 2rem;
  }
}


/* ==========================================
   Formulario por pasos (presupuesto)
   ========================================== */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wizard fieldset {
  border: 0;
  min-width: 0;
}

/* Sin JavaScript se ven todos los pasos; con JS, solo el activo */
.wizard.is-ready .wizard-step {
  display: none;
}

.wizard.is-ready .wizard-step.is-active {
  display: flex;
  animation: wizardIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wizard:not(.is-ready) .wizard-nav,
.wizard:not(.is-ready) .wizard-progress[hidden] {
  display: none;
}

.wizard-progress {
  display: none;
}

@keyframes wizardIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.wizard-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-accent);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.wizard-progress-bar span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--gold-button);
  border-radius: inherit;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-progress-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.wizard-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0;
  line-height: 1.2;
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

.wizard-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.group-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.optional {
  text-transform: none;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* Tarjetas de servicio para tocar */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 104px;
  padding: 16px 10px;
  background: var(--bg-primary);
  border: 1.5px solid rgba(184, 149, 81, 0.18);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-tile--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 60px;
}

.service-tile input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-tile i {
  font-size: 1.6rem;
  color: var(--gold-solid);
}

.service-tile span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.service-tile:hover {
  border-color: var(--gold-solid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.service-tile.is-selected {
  border-color: var(--gold-solid);
  background: rgba(184, 149, 81, 0.1);
}

.service-tile:has(input:focus-visible),
.chip:has(input:focus-visible) {
  outline: 3px solid rgba(184, 149, 81, 0.5);
  outline-offset: 2px;
}

/* Chips de plazo */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.form-group .chip {
  text-transform: none;
  letter-spacing: 0;
}

.chip span {
  display: inline-block;
  padding: 10px 16px;
  border: 1.5px solid rgba(184, 149, 81, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-primary);
  transition: all 0.2s ease;
}

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

.chip.is-selected span {
  background: var(--gold-solid);
  border-color: var(--gold-solid);
  color: #fff;
}

/* Navegación entre pasos */
.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.wizard-nav .submit-button {
  margin-top: 0;
  flex: 1;
  max-width: 320px;
  padding: 14px 22px;
}

.wizard-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 12px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wizard-back:hover {
  color: var(--gold-dark);
}

/* Pantalla final */
.wizard-done {
  text-align: center;
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: wizardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-done[hidden] {
  display: none;
}

.wizard-done:focus {
  outline: none;
}

.wizard-done-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-button);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  box-shadow: var(--shadow-gold);
}

.wizard-done h3 {
  font-size: 1.6rem;
}

.wizard-done p {
  color: var(--text-muted);
  max-width: 420px;
}

.wizard-done .wizard-sub {
  margin-top: 6px;
}

/* Botón "Pedir presupuesto" en tarjetas de servicio */
.service-quote-btn {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 16px 0 0;
  color: var(--gold-dark);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-quote-btn i {
  transition: transform 0.2s ease;
}

.service-quote-btn:hover i {
  transform: translateX(4px);
}

/* Enlace al área privada: casi invisible */
.footer-admin {
  margin: 0;
}

.footer-admin-link {
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  opacity: 0.22;
  transition: opacity 0.2s ease;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .service-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-tile {
    min-height: 92px;
  }

  .wizard-title {
    font-size: 1.35rem;
  }

  .wizard-nav .submit-button {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wizard.is-ready .wizard-step.is-active,
  .wizard-done {
    animation: none;
  }
}

/* ==========================================
   Pulido visual: cabecera, portada y desplazamiento
   ========================================== */

/* Con Lenis el desplazamiento suave lo hace el script */
html.has-lenis {
  scroll-behavior: auto;
}

::selection {
  background: rgba(184, 149, 81, 0.28);
}

/* --- Cabecera: transparente sobre la portada, negra al bajar --- */
.main-header {
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.72) 0%, rgba(5, 5, 6, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-repeat: no-repeat;
  border-bottom: 0;
  box-shadow: none;
  transition: background-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.main-header.scrolled {
  background: rgba(9, 9, 10, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 0;
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.7);
}

.main-header .header-container {
  transition: padding 0.35s ease;
}

.main-header.scrolled .header-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Línea dorada fina bajo la cabecera al bajar */
.main-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 184, 112, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.main-header.scrolled::after {
  opacity: 1;
}

/* Barra de progreso de lectura */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #8c6f37, #d9b870 60%, #f0d9a0);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

/* Menú: subrayado dorado animado */
.desktop-nav a {
  position: relative;
  color: rgba(250, 249, 246, 0.82);
  padding: 6px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav a.active {
  color: var(--gold-bright) !important;
  font-weight: 600;
}

.nav-cta-btn {
  background: linear-gradient(135deg, #c9a663 0%, #b89551 45%, #9a7a3e 100%) !important;
  color: #121212 !important;
  border: 1px solid rgba(240, 217, 160, 0.35) !important;
  box-shadow: 0 8px 22px -10px rgba(184, 149, 81, 0.55) !important;
}

/* --- Portada --- */
.hero-section {
  background: #0b0b0c;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.hero-bg-media {
  position: absolute;
  inset: -6% 0 -6% 0;
  background: url('img/hero_split_bg.jpg') no-repeat center center / cover;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06);
  animation: heroZoom 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 0;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: translate3d(0, 0, 0) scale(1.14); opacity: 0.6; }
  to { transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06); opacity: 1; }
}

/* Oscurecido neutro (sin tono marrón) y más oscuro arriba y abajo */
.hero-bg-overlay {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(8, 8, 9, 0.12) 0%, rgba(8, 8, 9, 0.5) 78%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.55) 0%, rgba(8, 8, 9, 0.18) 30%, rgba(8, 8, 9, 0.26) 65%, rgba(8, 8, 9, 0.85) 100%);
}

.hero-container {
  z-index: 3;
}

.hero-text-card {
  background: linear-gradient(160deg, rgba(20, 20, 22, 0.74) 0%, rgba(10, 10, 11, 0.80) 100%);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(217, 184, 112, 0.24);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  will-change: transform, opacity;
}

/* Filete dorado arriba de la tarjeta */
.hero-text-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 38%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #d9b870, transparent);
  border-radius: 2px;
}

.hero-text-card {
  position: relative;
}

.hero-card-title {
  background: linear-gradient(135deg, #a8833f 0%, #d9b870 38%, #f3e2b3 50%, #d9b870 62%, #a8833f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-card-subtitle {
  color: #f5f1e8;
  letter-spacing: 3px;
}

.hero-card-description {
  color: rgba(245, 241, 232, 0.72);
}

.hero-card-trust-list li {
  color: rgba(245, 241, 232, 0.92);
}

.hero-card-btn.btn-solid {
  background: linear-gradient(135deg, #d4b16c 0%, #b89551 50%, #9a7a3e 100%);
  color: #111 !important;
  border: 1px solid rgba(240, 217, 160, 0.4);
}

.hero-card-btn.btn-solid:hover {
  background: linear-gradient(135deg, #e2c27e 0%, #c9a663 50%, #a8833f 100%);
}

.hero-card-btn.btn-outline {
  color: #e8d3a0 !important;
  border-color: rgba(217, 184, 112, 0.55);
  background: rgba(255, 255, 255, 0.02);
}

.hero-scroll-indicator {
  z-index: 3;
}

/* Animaciones de aparición algo más suaves y elegantes */
.reveal-section {
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item {
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* La portada aparece sin esperar */
.hero-section.reveal-section {
  opacity: 1;
  transform: none;
}

.hero-section .reveal-item {
  transition-duration: 1.1s;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh !important;
    padding: 96px 16px 56px !important;
  }

  .hero-bg-media {
    inset: 0;
    background-position: 30% center;
  }

  .hero-card-trust-list {
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center !important;
  }

  .hero-card-trust-list li {
    justify-content: center !important;
    font-size: 0.85rem !important;
  }

  .main-header {
    background: linear-gradient(180deg, rgba(5, 5, 6, 0.85) 0%, rgba(5, 5, 6, 0.25) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-media {
    animation: none;
    transform: none;
  }

  .reveal-section,
  .reveal-item {
    transition: none;
  }
}

/* Botón Contacto dentro del menú (página de privacidad) */
.desktop-nav a.nav-cta-btn {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
}

.desktop-nav a.nav-cta-btn::after {
  display: none;
}

/* ==========================================
   Rediseño 2026-11: portada clara, garantías, proceso, mosaico, CTA y barra móvil
   ========================================== */

/* --- Portada --- */
.hero-v2 {
  justify-content: flex-start;
  max-width: 1240px;
}

/* Más oscuro a la izquierda, donde va el texto */
.hero-bg-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.86) 0%, rgba(8, 8, 9, 0.62) 38%, rgba(8, 8, 9, 0.18) 72%, rgba(8, 8, 9, 0.10) 100%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.55) 0%, rgba(8, 8, 9, 0) 28%, rgba(8, 8, 9, 0) 70%, rgba(8, 8, 9, 0.7) 100%);
}

.hero-content {
  max-width: 640px;
  color: #f5f1e8;
  will-change: transform, opacity;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(217, 184, 112, 0.35);
  border-radius: var(--radius-full);
  background: rgba(10, 10, 11, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #e8d3a0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9b870;
  box-shadow: 0 0 0 0 rgba(217, 184, 112, 0.6);
  animation: heroPulse 2.4s infinite;
}

@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 184, 112, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(217, 184, 112, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 184, 112, 0); }
}

.hero-heading {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 22px 0 20px;
  text-wrap: balance;
}

.hero-heading em {
  font-style: normal;
  background: linear-gradient(135deg, #c9a663 0%, #f0d9a0 50%, #c9a663 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: rgba(245, 241, 232, 0.82);
  max-width: 560px;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.hero-btn--gold {
  background: linear-gradient(135deg, #d4b16c 0%, #b89551 50%, #9a7a3e 100%);
  color: #111 !important;
  box-shadow: 0 14px 30px -12px rgba(184, 149, 81, 0.65);
}

.hero-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(184, 149, 81, 0.8);
}

.hero-btn--gold i {
  transition: transform 0.25s ease;
}

.hero-btn--gold:hover i {
  transform: translateX(4px);
}

.hero-btn--ghost {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-btn--ghost:hover {
  border-color: #d9b870;
  background: rgba(217, 184, 112, 0.12);
  transform: translateY(-2px);
}

.hero-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.88);
}

.hero-checks i {
  color: #d9b870;
  font-size: 0.8rem;
}

.hero-section .hero-scroll-indicator {
  bottom: 120px;
}

/* --- Franja de garantías (sube sobre la portada) --- */
.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -78px;
  padding: 0 24px;
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid rgba(184, 149, 81, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(28, 25, 23, 0.35);
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(184, 149, 81, 0.14);
}

.trust-item i {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(184, 149, 81, 0.1);
  color: var(--gold-dark);
  font-size: 1.15rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.25;
}

.trust-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Cómo trabajamos --- */
.process-section {
  background: var(--bg-secondary);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}

/* Línea que une los pasos */
.process-steps::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(184, 149, 81, 0.45) 0 6px, transparent 6px 12px);
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.process-icon {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(184, 149, 81, 0.3);
  box-shadow: 0 14px 30px -18px rgba(184, 149, 81, 0.6);
  color: var(--gold-solid);
  font-size: 1.7rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.process-step:hover .process-icon {
  transform: translateY(-4px);
  background: var(--gold-solid);
  color: #fff;
}

.process-num {
  position: absolute;
  top: -6px;
  left: calc(50% + 26px);
  z-index: 2;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  background: #121212;
  border-radius: var(--radius-full);
  padding: 3px 9px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* --- Galería en mosaico --- */
.section-intro {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  background: #1a1a1a;
  text-align: left;
  font: inherit;
}

.mosaic-item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item--wide {
  grid-column: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%);
  transition: opacity 0.4s ease;
}

.mosaic-item:hover img,
.mosaic-item:focus-visible img {
  transform: scale(1.06);
}

.mosaic-item:focus-visible {
  outline: 3px solid var(--gold-solid);
  outline-offset: 3px;
}

.mosaic-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.mosaic-item--big .mosaic-cap {
  font-size: 1.45rem;
  left: 26px;
  bottom: 24px;
}

.mosaic-cap small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8d3a0;
  margin-bottom: 4px;
}

/* --- Visor de fotos --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(6, 6, 7, 0.94);
  animation: lbIn 0.25s ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox figcaption {
  margin-top: 16px;
  text-align: center;
  color: rgba(245, 241, 232, 0.8);
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.lightbox figcaption strong {
  display: block;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(217, 184, 112, 0.2);
  border-color: #d9b870;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* --- Llamada a la acción --- */
.cta-band {
  position: relative;
  padding: 72px 24px;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(184, 149, 81, 0.22), transparent 55%),
    linear-gradient(135deg, #121213 0%, #0a0a0b 100%);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(217, 184, 112, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 184, 112, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(245, 241, 232, 0.72);
  font-size: 1.05rem;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Barra fija de contacto en móvil --- */
.mobile-action-bar {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid rgba(184, 149, 81, 0.14);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .mosaic-item--wide {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .hero-section {
    align-items: flex-end !important;
    padding: 110px 20px 120px !important;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(8, 8, 9, 0.6) 0%, rgba(8, 8, 9, 0.35) 35%, rgba(8, 8, 9, 0.82) 72%, rgba(8, 8, 9, 0.94) 100%);
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    padding: 7px 12px;
  }

  .hero-heading {
    margin: 18px 0 14px;
  }

  .hero-lead {
    margin-bottom: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    margin-bottom: 22px;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-checks {
    flex-direction: column;
    gap: 8px;
  }

  .hero-section .hero-scroll-indicator {
    display: none;
  }

  .trust-strip {
    margin-top: -56px;
    padding: 0 14px;
  }

  .trust-item {
    padding: 16px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-item i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .trust-item strong {
    font-size: 0.88rem;
  }

  .trust-item span {
    font-size: 0.76rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    text-align: left;
    align-items: start;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(184, 149, 81, 0.16);
    border-radius: var(--radius-md);
  }

  .process-icon {
    grid-row: span 2;
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
    margin: 0;
  }

  .process-num {
    left: 56px;
    top: 10px;
  }

  .process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }

  .process-step p {
    margin: 0;
    max-width: none;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
    gap: 10px;
  }

  .mosaic-item--big,
  .mosaic-item--wide {
    grid-column: span 2;
  }

  .mosaic-item--big {
    grid-row: span 1;
  }

  .mosaic-item--big .mosaic-cap {
    font-size: 1.15rem;
    left: 16px;
    bottom: 14px;
  }

  .mosaic-cap {
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 0.9rem;
  }

  .lightbox {
    padding: 70px 10px 20px;
    flex-wrap: wrap;
  }

  .lightbox figure {
    order: -1;
    width: 100%;
  }

  .lightbox-nav {
    width: 52px;
    height: 52px;
  }

  .cta-band {
    padding: 56px 20px;
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  /* En móvil, el formulario primero */
  .contact-form-panel {
    order: -1;
  }

  .contact-wrapper {
    display: flex !important;
    flex-direction: column;
  }

  /* Barra fija abajo con las tres acciones */
  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 11, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(217, 184, 112, 0.2);
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-action-bar.is-visible {
    transform: none;
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-action-bar a .fa-whatsapp {
    color: #25d366;
    font-size: 1.1rem;
  }

  .mobile-action-bar .mab-primary {
    background: linear-gradient(135deg, #d4b16c 0%, #b89551 50%, #9a7a3e 100%);
    color: #111;
    border-color: transparent;
  }

  /* El botón flotante de WhatsApp sobra con la barra */
  body:has(.mobile-action-bar) .whatsapp-float {
    display: none !important;
  }

  body:has(.mobile-action-bar) {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dot {
    animation: none;
  }

  .mosaic-item img {
    transition: none;
  }
}

/* Ajustes de la portada nueva */
.hero-content {
  text-align: left;
}

.hero-section .hero-scroll-indicator {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

/* ==========================================
   Portada v3 (según diseño aprobado): cabecera clara, foto luminosa, botones redondeados
   ========================================== */
:root {
  --hero-gold: #e8b64c;
  --hero-gold-2: #f2c75e;
  --hero-gold-dark: #c99a35;
  --font-hero: 'Montserrat', 'Outfit', sans-serif;
}

.ico {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* --- Cabecera --- */
.main-header .header-container {
  max-width: 1600px;
  padding: 18px 40px;
  gap: 24px;
}

.main-header.scrolled .header-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.main-header {
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.55) 0%, rgba(6, 10, 18, 0) 100%);
}

.main-header .header-logo {
  gap: 16px;
}

.main-header .logo-icon {
  width: 60px;
  height: 60px;
}

.main-header.scrolled .logo-icon {
  width: 46px;
  height: 46px;
}

.main-header .brand-title {
  font-family: var(--font-hero);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  line-height: 1;
}

.main-header .brand-subtitle {
  font-family: var(--font-hero);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3.2px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 6px;
}

.main-header.scrolled .brand-title {
  font-size: 1.7rem;
}

.desktop-nav ul {
  gap: 34px;
}

.desktop-nav a {
  font-family: var(--font-hero);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #ffffff;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.desktop-nav a.active {
  color: var(--hero-gold) !important;
  font-weight: 600;
}

.desktop-nav a::after {
  height: 3px;
  bottom: -4px;
  border-radius: 2px;
  background: var(--hero-gold);
}

.nav-caret {
  font-size: 0.62rem;
  opacity: 0.85;
  transition: transform 0.25s ease;
}

/* Desplegables */
.desktop-nav .has-sub {
  position: relative;
}

.desktop-nav .has-sub > a::after {
  right: 18px;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 230px;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 10px;
  list-style: none;
  background: rgba(14, 14, 16, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(232, 182, 76, 0.22);
  border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

/* Puente invisible para que el menú no se cierre al bajar el ratón */
.nav-sub::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.has-sub:hover > .nav-sub,
.has-sub:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.has-sub:hover .nav-caret,
.has-sub:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-sub a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.nav-sub a::after {
  display: none;
}

.nav-sub a:hover,
.nav-sub a:focus-visible {
  background: rgba(232, 182, 76, 0.12);
  color: var(--hero-gold);
}

/* Botón Contacto, separador y teléfono */
.header-actions {
  gap: 22px;
}

.main-header .nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-hero);
  font-size: 1.02rem;
  font-weight: 700 !important;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hero-gold-2) 0%, var(--hero-gold) 100%) !important;
  color: #1a1408 !important;
  border: 0 !important;
  box-shadow: 0 10px 24px -10px rgba(232, 182, 76, 0.7) !important;
}

.main-header .nav-cta-btn i {
  font-size: 1.15rem;
}

.header-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.45);
}

.main-header .phone-link-header {
  font-family: var(--font-hero);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  gap: 12px;
}

.main-header .phone-link-header i {
  font-size: 1.6rem;
  color: #ffffff;
}

.main-header .phone-link-header:hover,
.main-header .phone-link-header:hover i {
  color: var(--hero-gold);
}

/* --- Portada --- */
.hero-bg-media {
  background-image: url('img/portada.jpg');
  background-image: image-set(url('img/portada.webp') type('image/webp'), url('img/portada.jpg') type('image/jpeg'));
  background-position: center center;
}

/* Oscurece solo la zona del texto: la foto queda luminosa a la derecha */
.hero-bg-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.78) 0%, rgba(8, 12, 22, 0.6) 28%, rgba(8, 12, 22, 0.25) 48%, rgba(8, 12, 22, 0) 62%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.45) 0%, rgba(8, 12, 22, 0) 22%, rgba(8, 12, 22, 0) 78%, rgba(8, 12, 22, 0.35) 100%);
}

.hero-section {
  padding: 150px 40px 170px;
}

.hero-v2 {
  max-width: 1600px;
  padding: 0 52px;
}

.hero-content {
  max-width: 760px;
}

.hero-eyebrow {
  gap: 10px;
  padding: 10px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 12, 22, 0.35);
  font-family: var(--font-hero);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #ffffff;
}

.hero-eyebrow .ico {
  fill: currentColor;
  stroke: none;
  font-size: 1.15rem;
}

.hero-eyebrow strong {
  font-weight: 700;
}

.hero-heading {
  font-family: var(--font-hero);
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.5px;
  margin: 26px 0 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero-heading em {
  display: inline;
  background: linear-gradient(180deg, var(--hero-gold-2) 0%, var(--hero-gold) 55%, var(--hero-gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.3));
}

.hero-lead {
  font-family: var(--font-hero);
  font-size: clamp(1.05rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.38;
  color: #ffffff;
  max-width: 720px;
  margin-bottom: 36px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-cta-row {
  gap: 22px;
  margin-bottom: 34px;
}

.hero-btn {
  font-family: var(--font-hero);
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 20px 40px;
  gap: 14px;
}

.hero-btn--gold {
  background: linear-gradient(180deg, var(--hero-gold-2) 0%, var(--hero-gold) 100%);
  color: #1a1408 !important;
  box-shadow: 0 16px 34px -14px rgba(232, 182, 76, 0.75);
}

.hero-btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(8, 12, 22, 0.25);
  color: #ffffff !important;
}

.hero-btn--ghost:hover {
  border-color: var(--hero-gold);
  background: rgba(232, 182, 76, 0.12);
}

.hero-btn--ghost i {
  font-size: 1.2rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 14px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 22px;
  font-family: var(--font-hero);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
}

.hero-features li:first-child {
  padding-left: 0;
}

.hero-features li + li {
  border-left: 1.5px solid rgba(255, 255, 255, 0.5);
}

.hero-features .ico {
  font-size: 2.1rem;
  color: var(--hero-gold);
  stroke-width: 1.6;
}

/* --- Franja de garantías --- */
.trust-strip {
  margin-top: -96px;
}

.trust-strip-inner {
  max-width: 1420px;
  border-radius: 18px;
  border: 0;
  box-shadow: 0 30px 70px -30px rgba(8, 12, 22, 0.45);
  padding: 8px 0;
}

.trust-item {
  justify-content: center;
  gap: 18px;
  padding: 24px 22px;
}

.trust-item + .trust-item {
  border-left: 0;
  position: relative;
}

.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1.5px;
  background: rgba(28, 25, 23, 0.14);
}

.trust-item .ico {
  font-size: 2.9rem;
  color: var(--hero-gold-dark);
  stroke-width: 1.5;
}

.trust-item strong {
  font-family: var(--font-hero);
  font-size: 1.12rem;
  font-weight: 700;
  color: #14110c;
}

.trust-item span {
  font-family: var(--font-hero);
  font-size: 1rem;
  font-weight: 500;
  color: #4b4640;
}

/* --- Tamaños intermedios --- */
@media (max-width: 1440px) {
  .desktop-nav ul {
    gap: 24px;
  }

  .desktop-nav a {
    font-size: 0.95rem;
  }

  .main-header .brand-title {
    font-size: 1.85rem;
  }

  .main-header .logo-icon {
    width: 52px;
    height: 52px;
  }

  .main-header .nav-cta-btn {
    padding: 12px 22px;
  }

  .main-header .phone-link-header {
    font-size: 1.08rem;
  }

  .hero-btn {
    font-size: 1.15rem;
    padding: 18px 34px;
  }
}

@media (max-width: 1280px) {
  .main-header .header-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-divider {
    display: none;
  }
}

@media (max-width: 1200px) {
  .main-header .phone-link-header span {
    display: inline;
  }
}

@media (max-width: 1024px) {
  .trust-item {
    justify-content: flex-start;
  }

  .trust-item:nth-child(3)::before {
    display: none;
  }
}

/* --- Móvil --- */
@media (max-width: 768px) {
  .main-header .header-container {
    padding: 12px 16px;
  }

  .main-header .logo-icon {
    width: 40px;
    height: 40px;
  }

  .main-header .brand-title {
    font-size: 1.45rem;
  }

  .main-header .brand-subtitle {
    display: none;
  }

  .main-header .phone-link-header {
    font-size: 0.98rem;
    gap: 8px;
  }

  .main-header .phone-link-header i {
    font-size: 1.3rem;
    color: #25d366;
  }

  .hero-section {
    padding: 104px 18px 120px !important;
  }

  .hero-v2 {
    padding: 0;
  }

  /* En vertical se enseña la casa (mitad izquierda de la foto) */
  .hero-bg-media {
    background-position: 24% center;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.55) 0%, rgba(8, 12, 22, 0.25) 30%, rgba(8, 12, 22, 0.72) 62%, rgba(8, 12, 22, 0.9) 100%);
  }

  .hero-eyebrow {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .hero-heading {
    font-size: clamp(2.5rem, 11.5vw, 3.2rem);
    letter-spacing: -1px;
    margin: 18px 0 14px;
  }

  .hero-lead {
    font-size: 1.05rem;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-btn {
    font-size: 1.08rem;
    padding: 17px 26px;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-features li {
    padding: 0;
    font-size: 0.95rem;
  }

  .hero-features li + li {
    border-left: 0;
  }

  .hero-features br {
    display: none;
  }

  .hero-features .ico {
    font-size: 1.6rem;
  }

  .trust-strip {
    margin-top: -60px;
  }

  .trust-item {
    gap: 8px;
    padding: 16px 14px;
  }

  .trust-item + .trust-item::before {
    display: none;
  }

  .trust-item .ico {
    font-size: 2.1rem;
  }

  .trust-item strong {
    font-size: 0.95rem;
  }

  .trust-item span {
    font-size: 0.82rem;
  }
}

/* Ajustes portada v3 */
.hero-section {
  padding: 122px 40px 136px;
}

.hero-heading {
  margin: 22px 0 18px;
}

.hero-lead {
  margin-bottom: 30px;
}

.hero-cta-row {
  margin-bottom: 28px;
}

.main-header .brand-subtitle {
  white-space: nowrap;
}

@media (max-width: 1440px) {
  .main-header .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 2.2px;
  }
}

@media (max-width: 1200px) {
  .main-header .nav-cta-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .main-header .phone-link-header span {
    display: none;
  }

  .main-header .phone-link-header {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
  }

  .header-actions {
    gap: 12px;
  }
}

/* ==========================================
   Servicios v3 (según diseño): fondo claro decorado, título bicolor y tarjetas con icono
   ========================================== */
.services-section {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(135deg, rgba(232, 182, 76, 0.16) 0%, rgba(232, 182, 76, 0.06) 9%, transparent 9.2%),
    linear-gradient(135deg, transparent 13%, rgba(232, 182, 76, 0.07) 13.2%, transparent 19%),
    linear-gradient(315deg, rgba(232, 182, 76, 0.14) 0%, rgba(232, 182, 76, 0.05) 8%, transparent 8.2%),
    linear-gradient(315deg, transparent 12%, rgba(232, 182, 76, 0.06) 12.2%, transparent 18%),
    #fdfcf9;
}

/* Al subir la franja de garantías, el título no debe quedar pegado */
.trust-strip + .services-section {
  padding-top: 110px;
}

.services-section .section-container {
  position: relative;
  z-index: 1;
}

.svc-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.svc-house {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 330px;
  color: rgba(232, 182, 76, 0.28);
}

.svc-leaves {
  position: absolute;
  width: 180px;
  filter: blur(3px);
  opacity: 0.55;
}

.svc-leaves--l {
  left: -150px;
  bottom: -40px;
  transform: rotate(-18deg);
}

.svc-leaves--r {
  right: -150px;
  top: 38%;
  transform: scaleX(-1) rotate(-12deg);
}

/* Título */
.svc-tagline {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-hero);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #b7891f;
}

.svc-tagline::before,
.svc-tagline::after {
  content: '';
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c99a35);
}

.svc-tagline::after {
  background: linear-gradient(90deg, #c99a35, transparent);
}

.svc-title {
  font-family: var(--font-hero);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: #1c1b2b;
  margin: 10px 0 10px;
}

.svc-title span {
  background: linear-gradient(180deg, #d9a93f 0%, #b8862a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.svc-sub {
  font-family: var(--font-hero);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: #3d3a45;
  margin-bottom: 14px;
}

.svc-header .section-title-line {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c99a35, #e8b64c);
}

/* Tarjetas */
.services-grid {
  gap: 30px 36px;
}

.service-card {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 40px -22px rgba(28, 25, 23, 0.35), 0 2px 6px rgba(28, 25, 23, 0.05);
  overflow: visible;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  border: 0;
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -24px rgba(28, 25, 23, 0.45), 0 2px 6px rgba(28, 25, 23, 0.05);
}

.service-image-wrapper {
  height: 210px;
  border-radius: 18px 18px 0 0;
  overflow: visible;
}

.service-card-image {
  border-radius: 18px 18px 0 0;
}

.service-card:hover .service-card-image {
  transform: none;
  filter: brightness(1.05) saturate(1.05);
}

.service-icon-badge {
  width: 68px;
  height: 68px;
  right: 30px;
  bottom: -26px;
  border-radius: 16px;
  border: 0;
  background: #ffffff;
  color: #d4a23d;
  box-shadow: 0 10px 24px -10px rgba(28, 25, 23, 0.35);
}

.service-icon-badge .ico {
  width: 38px;
  height: 38px;
  stroke-width: 1.6;
}

.service-card:hover .service-icon-badge {
  border: 0;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(212, 162, 61, 0.55);
}

.service-card-content {
  padding: 30px 32px 30px;
}

.service-card-title {
  font-family: var(--font-hero);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1c1b2b;
  margin-bottom: 10px;
}

.service-card:hover .service-card-title {
  color: #1c1b2b;
}

.service-card-desc {
  font-family: var(--font-hero);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: #45424d;
}

.service-quote-btn {
  font-family: var(--font-hero);
  font-size: 1.05rem;
  font-weight: 700;
  color: #b7891f;
  gap: 12px;
  padding-top: 18px;
}

.service-quote-btn {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(201, 154, 53, 0.55);
}

.service-quote-btn i {
  text-decoration: none;
  color: #c99a35;
}

@media (max-width: 1024px) {
  .svc-leaves {
    display: none;
  }
}

@media (max-width: 768px) {
  .trust-strip + .services-section {
    padding-top: 80px;
  }

  .svc-tagline {
    font-size: 0.78rem;
    gap: 10px;
  }

  .svc-tagline::before,
  .svc-tagline::after {
    width: 36px;
  }

  .svc-title {
    letter-spacing: -1px;
  }

  .svc-house {
    width: 180px;
    right: -50px;
    top: -10px;
  }

  .service-card-content {
    padding: 28px 22px 24px;
  }

  .service-card-title {
    font-size: 1.25rem;
  }
}

.main-header .logo-icon,
.main-header .logo-text {
  flex: none;
}

/* Móvil y tabletas: portada sin efectos que fuercen repintados al desplazar */
@media (max-width: 1024px), (hover: none) {
  .hero-bg-media {
    inset: 0;
    transform: none !important;
    animation: heroFadeIn 0.8s ease both;
    will-change: auto;
  }

  .hero-content {
    will-change: auto;
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-eyebrow,
  .hero-btn--ghost {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-eyebrow {
    background: rgba(8, 12, 22, 0.55);
  }

  .hero-btn--ghost {
    background: rgba(8, 12, 22, 0.35);
  }

  .main-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 12, 13, 0.97);
  }

  .mobile-action-bar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 12, 13, 0.98);
  }

  .hero-heading,
  .hero-lead {
    text-shadow: none;
  }

  .hero-heading em {
    filter: none;
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================
   Trabajos: ficha al pinchar y páginas de detalle
   ========================================== */
a.mosaic-item { display: block; }
.lightbox { overflow-y: auto; }
.lightbox img { max-height: 54vh; }
.lightbox figcaption span { display: block; }
.lb-cat, .work-eyebrow { display: block; font-family: var(--font-hero); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.lb-cat { color: var(--hero-gold); margin-bottom: 4px; }
.lb-note { display: block; margin-top: 6px; font-size: 0.8rem; font-style: normal; opacity: 0.7; }
.lb-note[hidden] { display: none; }
.lb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.lb-actions .hero-btn { font-size: 1rem; padding: 14px 26px; border-style: solid; border-color: transparent; cursor: pointer; }
.lb-actions .hero-btn--ghost { border-color: rgba(255, 255, 255, 0.8); }

.work-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.work-hero { position: relative; display: flex; align-items: flex-end; min-height: 72vh; min-height: 72svh; padding: 150px 0 64px; color: #fff; overflow: hidden; isolation: isolate; background: #0b0b0c; }
.work-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.work-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 12, 22, 0.35) 0%, rgba(8, 12, 22, 0.3) 35%, rgba(8, 12, 22, 0.9) 100%); }
.work-hero .work-wrap { width: 100%; }
.work-crumbs { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.work-crumbs a:hover { color: var(--hero-gold); }
.work-hero h1 { font-family: var(--font-hero); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -1px; color: #fff; margin-bottom: 16px; text-wrap: balance; }
.work-hero p { font-family: var(--font-hero); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.5; max-width: 680px; margin-bottom: 28px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.work-page .hero-btn { font-size: 1.05rem; padding: 16px 30px; }
.work-note { position: absolute; right: 16px; bottom: 14px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.75rem; }
.work-section { padding: 84px 0; background: #fff; }
.work-section--alt { background: #fdfaf2; }
.work-section h2 { font-family: var(--font-hero); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.5px; color: #1c1b2b; margin: 6px 0 22px; }
.work-eyebrow { color: #93690f; }
.work-two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.work-two--center { align-items: center; grid-template-columns: 1fr 1fr; }
.work-text p { font-size: 1.08rem; line-height: 1.75; color: #45424d; margin-bottom: 16px; }
.work-box { padding: 32px; border-radius: 18px; background: #16161a; color: #f5f1e8; }
.work-box h3 { font-family: var(--font-hero); color: #fff; margin-bottom: 16px; }
.work-box ul, .work-layers, .work-steps, .work-think { list-style: none; padding: 0; }
.work-box li { display: flex; gap: 12px; padding: 9px 0; }
.work-box li i { color: var(--hero-gold); margin-top: 5px; }
.work-small { margin-top: 16px; font-size: 0.88rem; opacity: 0.75; }
.work-diagram { width: 100%; max-width: 460px; margin: 0 auto; display: block; filter: drop-shadow(0 24px 30px rgba(28, 25, 23, 0.18)); }
.work-layers { counter-reset: l; display: flex; flex-direction: column-reverse; gap: 12px; }
.work-layers li { counter-increment: l; display: flex; align-items: center; gap: 14px; font-family: var(--font-hero); font-weight: 600; color: #1c1b2b; }
.work-layers li::before { content: counter(l); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #141414; color: var(--hero-gold); font-size: 0.9rem; }
.work-layers li span { width: 26px; height: 14px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12); }
.work-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-steps li, .work-think li { padding: 26px 22px; border-radius: 16px; border: 1px solid rgba(201, 154, 53, 0.25); background: #fff; }
.work-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hero-gold); color: #1a1408; margin-bottom: 14px; }
.work-steps h3 { font-family: var(--font-hero); font-size: 1.1rem; margin-bottom: 6px; }
.work-steps p { color: #45424d; font-size: 0.95rem; }
.work-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.work-photos figure { position: relative; aspect-ratio: 4 / 5; max-height: 520px; overflow: hidden; border-radius: 16px; }
.work-photos img, .work-related img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-think { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-think li { font-family: var(--font-hero); font-weight: 600; background: #fdfaf2; }
.work-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-related a { position: relative; height: 260px; border-radius: 16px; overflow: hidden; background: #141414; }
.work-related a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8)); }
.work-related a > span { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: #fff; font-family: var(--font-hero); font-weight: 700; }
.work-related small { display: block; color: var(--hero-gold); }
.work-page a:focus-visible, .lb-actions :focus-visible { outline: 3px solid var(--hero-gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .work-two, .work-two--center { grid-template-columns: 1fr; gap: 36px; }
  .work-steps { grid-template-columns: 1fr 1fr; }
  .work-think, .work-related { grid-template-columns: 1fr; }
  .work-related a { height: 200px; }
}
@media (max-width: 768px) {
  .work-section { padding: 56px 0; }
  .work-hero { padding: 120px 0 52px; }
  .work-steps { grid-template-columns: 1fr; }
  .mobile-action-bar--always { transform: none; }
  .lightbox { align-content: flex-start; padding-bottom: 32px; }
  .lightbox img { max-height: 36vh; }
}

/* ==========================================
   Obras recientes (fotos subidas desde el área personal) y antes/después
   ========================================== */
.obras { margin-bottom: 56px; }
.obras[hidden] { display: none; }
.obras-title { font-family: var(--font-hero); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; text-align: center; color: #1c1b2b; margin-bottom: 18px; }
.obras-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.obras-filter, .obras-more { min-height: 44px; padding: 9px 20px; border-radius: 99px; border: 1.5px solid rgba(147, 105, 15, 0.4); background: #fff; color: #1c1b2b; font: 600 0.95rem var(--font-hero); cursor: pointer; }
.obras-filter[aria-pressed='true'] { background: #1c1b2b; border-color: #1c1b2b; color: #fff; }
.obras-more { display: block; margin: 24px auto 0; }
.obras-more[hidden] { display: none; }
.obras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.obra { border-radius: 16px; overflow: hidden; background: #16161a; box-shadow: 0 18px 40px -24px rgba(28, 25, 23, 0.5); }
.obra-img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #222; }
.obra-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.obra-img:hover img { transform: scale(1.04); }
.obra-cap { display: block; width: 100%; padding: 14px 18px; border: 0; background: none; text-align: left; color: #fff; font: 700 1rem var(--font-hero); cursor: pointer; }
.obra-cap small { display: block; color: var(--hero-gold); font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
.ba { --ba: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #222; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--ba); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-line::after { content: '\2194'; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1c1b2b; font-size: 1.4rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.ba-label { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 99px; background: rgba(0, 0, 0, 0.65); color: #fff; font: 600 0.8rem var(--font-hero); pointer-events: none; }
.ba-label--l { left: 12px; }
.ba-label--r { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid var(--hero-gold); outline-offset: -3px; }
.obra-dialog { position: fixed; inset: 0; margin: auto; width: min(1100px, 100vw); max-width: 100vw; max-height: 100vh; padding: 64px 16px 24px; border: 0; background: transparent; color: #fff; overflow-y: auto; }
.obra-dialog::backdrop { background: rgba(6, 6, 7, 0.94); }
.obra-dialog > img { display: block; max-width: 100%; max-height: 66vh; margin: 0 auto; border-radius: 14px; }
.obra-dialog .ba { max-width: min(100%, 88vh); margin: 0 auto; border-radius: 14px; }
.obra-dialog-cap { text-align: center; margin-top: 18px; }
.obra-dialog-cap strong { display: block; font: 700 1.2rem var(--font-hero); margin-bottom: 14px; }
.obra-dialog-cap .hero-btn { font-size: 1rem; padding: 14px 28px; }
.work-obras { background: #fff; }
.work-obras .obras { padding: 84px 0 0; margin: 0; }
.work-obras h2 { font-family: var(--font-hero); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; color: #1c1b2b; margin: 6px 0 22px; }
@media (max-width: 768px) {
  .obras-grid { grid-template-columns: 1fr; }
  .obras-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
  .obras-filter { flex: none; }
  .work-obras .obras { padding-top: 56px; }
}

/* Recreaciones 3D por capas */
.work-two--render { grid-template-columns: 1.5fr 0.8fr; align-items: center; gap: 48px; }
.work-section h2 { line-height: 1.15; }
.work-render { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(28, 25, 23, 0.55); aspect-ratio: 5 / 4; background: #efe8da; }
.work-render img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-render b { position: absolute; width: 34px; height: 34px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(20, 20, 20, 0.92); border: 2px solid #fff; color: var(--hero-gold); font: 700 0.95rem var(--font-hero); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) { .work-two--render { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 768px) { .work-render b { width: 26px; height: 26px; font-size: 0.8rem; } }

/* ==========================================
   Formulario corto (ventana y páginas de servicio)
   ========================================== */
.service-card[data-service] { cursor: pointer; }
.pedido-dialog { position: fixed; inset: 0; margin: auto; width: min(560px, calc(100vw - 24px)); max-width: none; height: fit-content; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.6); }
.pedido-dialog[open] { animation: pedidoIn 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.pedido-dialog::backdrop { background: rgba(8, 10, 16, 0.78); }
@keyframes pedidoIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.pedido-box { position: relative; padding: 30px 30px 24px; background: #fff; border-top: 5px solid var(--hero-gold); color: #1c1b2b; }
.pedido-box > small { display: block; font: 700 0.78rem var(--font-hero); letter-spacing: 1.5px; text-transform: uppercase; color: #93690f; }
.pedido-box h2 { font-family: var(--font-hero); font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin: 4px 48px 18px 0; color: #1c1b2b; }
.pedido-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f3efe6; color: #1c1b2b; font-size: 1.05rem; cursor: pointer; }
.pedido { display: grid; gap: 14px; }
.pedido-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pedido-field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.pedido-field label { font-size: 0.9rem; font-weight: 600; }
.pedido-field small { font-weight: 400; color: #6b6570; }
.pedido-field input:not([type='checkbox']), .pedido-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #d9d2c3; border-radius: 10px; background: #fff; color: #1c1b2b; font: 400 16px var(--font-body); }
.pedido-field textarea { resize: vertical; min-height: 84px; }
.pedido-field input:focus, .pedido-field textarea:focus { outline: 3px solid rgba(232, 182, 76, 0.45); border-color: #b7891f; }
.pedido-field [aria-invalid='true'] { border-color: #b3261e !important; }
.pedido-err, .pedido-fail { color: #b3261e; font-size: 0.85rem; }
.pedido-err:empty { display: none; }
.pedido-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.pedido-check input { width: 22px; height: 22px; flex: none; accent-color: #b7891f; }
.pedido-check a, .pedido-more { text-decoration: underline; color: #7a5710; }
.pedido .pedido-send { width: 100%; border: 0; cursor: pointer; font-size: 1.08rem; padding: 16px; }
.pedido-send:disabled { opacity: 0.7; cursor: wait; }
.pedido-box .pedido-note { margin: 0; text-align: center; font: 400 0.85rem/1.4 var(--font-body); color: #6b6570; max-width: none; }
.pedido-more { display: block; margin-top: 14px; text-align: center; font-size: 0.92rem; }
.pedido-done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0; text-align: center; outline: none; }
.pedido-box .pedido-done p { color: #45424d; margin: 0; font-size: 1rem; }
.svc-hero { align-items: center; padding: 130px 0 70px; }
.svc-hero::after { background: linear-gradient(90deg, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.62) 55%, rgba(8, 12, 22, 0.45) 100%); }
.svc-hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 56px; align-items: center; }
.svc-form { border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); scroll-margin-top: 90px; }
.svc-form h2 { margin-right: 0; }
.svc-when, .svc-steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.svc-when li { padding: 16px 20px; border-left: 4px solid var(--hero-gold); border-radius: 0 12px 12px 0; background: #fdfaf2; font-weight: 600; }
.svc-steps { counter-reset: s; gap: 18px; }
.svc-steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 38px; color: #45424d; }
.svc-steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #141414; color: var(--hero-gold); font: 700 1rem var(--font-hero); }
.svc-steps strong { display: block; color: #1c1b2b; font-family: var(--font-hero); }
.svc-page .cta-band button { border: 0; cursor: pointer; }
@media (max-width: 980px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 30px; } .svc-hero { padding-top: 110px; } }
@media (max-width: 560px) { .pedido-row { grid-template-columns: 1fr; } .pedido-box { padding: 24px 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .pedido-dialog[open] { animation: none; } }
@media (max-width: 768px) { .svc-hero .work-actions { display: none; } .svc-hero p { margin-bottom: 0; } }

/* Menú móvil con los servicios desplegados */
.mobile-nav-overlay { height: 100vh; height: 100dvh; display: block; overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 92px 20px 32px; }
.mobile-nav ul { gap: 18px; margin-bottom: 16px; }
.mobile-nav-link { font-size: 1.25rem; }
.mobile-nav ul.mobile-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 360px; margin: 12px auto 4px; }
.mobile-sub-link { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid rgba(232, 182, 76, 0.35); border-radius: 10px; font: 600 1rem var(--font-hero); text-transform: none; letter-spacing: 0; color: #f5f1e8; }

/* Sin ampliaciones involuntarias en móvil: el iPhone amplía los campos de menos de 16 px */
html { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 1024px), (pointer: coarse) {
  input:not([type='checkbox']):not([type='radio']), select, textarea,
  .form-group input, .form-group select, .form-group textarea { font-size: 16px !important; }
}
