/* ==========================================================================
   ACABADOS TOTAL - ESTILOS GLOBALES Y DISEÑO PREMIUM
   Ubicación: Lima, Perú
   ========================================================================== */

/* 1. VARIABLES DEL SISTEMA DE DISEÑO */
:root {
  /* Paleta de Colores */
  --color-bg-primary: #FAF8F4;   /* Blanco cálido limpio */
  --color-bg-alt: #F2ECE1;       /* Arena/cemento claro */
  --color-bg-white: #FFFFFF;     /* Blanco puro */
  --color-text-main: #1E252B;     /* Carbón profesional */
  --color-text-muted: #5C6670;    /* Gris medio */
  --color-accent: #B86B45;        /* Terracota cobre premium */
  --color-accent-hover: #9E5632;  /* Terracota oscuro */
  --color-primary: #183B4E;       /* Azul petróleo oscuro (confianza) */
  --color-primary-light: #204C63; /* Azul petróleo claro */
  --color-cement: #D8D2C4;        /* Bordes y detalles constructivos */
  --color-whatsapp: #25D366;      /* Verde WhatsApp (CTA principal) */
  --color-whatsapp-hover: #20BA56;/* Verde WhatsApp hover */
  --color-error: #D32F2F;
  --color-success: #388E3C;

  /* Tipografía */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Sombras y Elevación */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(24, 59, 78, 0.06);
  --shadow-lg: 0 10px 25px rgba(24, 59, 78, 0.1);
  --shadow-hover: 0 15px 35px rgba(184, 107, 69, 0.15);

  /* Bordes y Transiciones */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ancho máximo de página */
  --max-width: 1200px;
}

/* 2. RESET Y COMPORTAMIENTO BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg-primary);
  color: var(--color-text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Botones y Controles */
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  font-style: italic;
}

/* Encabezados */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* 3. CLASES DE UTILIDAD Y CONTENEDOR */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* 4. HEADER Y NAVEGACIÓN STICKY */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-cement);
  transition: padding var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.logo-link span {
  color: var(--color-accent);
}

.logo-icon {
  width: 28px;
  height: 28px;
  fill: var(--color-accent);
  margin-right: 0.5rem;
}

.main-nav {
  display: none; /* Oculto en móvil por defecto */
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Botones del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Menú Móvil Botón (Hamburguesa) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Estado activo del botón hamburguesa */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Panel del menú móvil */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-bg-primary);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right var(--transition-normal);
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-cement);
}

/* Backdrop para menú móvil */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* 5. BOTONES Y ACCIONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-primary);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Botón flotante WhatsApp discreto */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-normal), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  background-color: var(--color-whatsapp-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* 6. SECCIÓN HERO DE BIENVENIDA */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(24, 59, 78, 0.04) 0%, rgba(184, 107, 69, 0.03) 100%);
  border-bottom: 1px solid var(--color-cement);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  align-self: flex-start;
  background-color: rgba(184, 107, 69, 0.1);
  color: var(--color-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.15;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

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

/* Microconfianzas en Hero */
.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--color-cement);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

/* Imagen Hero */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(24, 59, 78, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-bg-primary);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-accent);
  max-width: 80%;
}

.hero-badge p {
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-badge span {
  font-size: 0.75rem;
  color: var(--color-cement);
  display: block;
  margin-top: 0.25rem;
}

/* 7. TARJETAS DE SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-primary);
}

.service-card:hover::before {
  background-color: var(--color-accent);
}

.service-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(24, 59, 78, 0.05);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover .service-icon-container {
  background-color: rgba(184, 107, 69, 0.1);
  color: var(--color-accent);
}

.service-icon-container svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.service-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.service-list {
  list-style: none;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: auto; /* Empuja el botón al fondo */
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-bg-alt);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-main);
}

.service-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.service-card-cta {
  margin-top: 1rem;
}

/* 8. CÓMO TRABAJAMOS / PROCESO */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

.process-step {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-accent);
  color: var(--color-bg-primary);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.process-step h3 {
  margin-top: 0.5rem;
  color: var(--color-primary);
}

.process-step p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* 9. SECCIÓN GALERÍA ANTES Y DESPUÉS (FILTRABLE Y RESPONSIVA) */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.88rem;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
}

.tab-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-bg-primary);
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.gallery-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* Layout Comparativo Antes/Después */

.gallery-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
}

.gallery-meta .distrito {
  color: var(--color-text-muted);
}

.gallery-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.gallery-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* 10. PREGUNTAS FRECUENTES (ACORDEÓN ACCESIBLE) */
.faq-list {
  max-width: 800px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  color: var(--color-primary);
  background: none;
  border: none;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(24, 59, 78, 0.02);
}

.faq-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.faq-answer-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* 11. FORMULARIO E INFORMACIÓN DE COTIZACIÓN */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-block h3 {
  color: var(--color-primary);
  margin-bottom: 0;
}

.contact-block p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.contact-link-item svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
}

.contact-form-wrapper {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: border-color var(--transition-fast), outline var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23183B4E'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Mensaje Importante / Aviso en Formulario */
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  border-left: 2px solid var(--color-accent);
  padding-left: 0.75rem;
}

/* 12. PÁGINAS INTERNAS DE SERVICIO INDIVIDUALES */
.service-hero {
  background: linear-gradient(135deg, rgba(24, 59, 78, 0.05) 0%, rgba(184, 107, 69, 0.04) 100%);
  border-bottom: 1px solid var(--color-cement);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.service-hero-title {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.service-hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 800px;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.service-body-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-body-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.service-body-content h3 {
  color: var(--color-primary);
  margin-top: 1rem;
  border-bottom: 1px solid var(--color-cement);
  padding-bottom: 0.5rem;
}

.work-includes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
}

.work-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.work-includes-list li svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Sidebar lateral de servicio */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.sidebar-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-service-item a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.sidebar-service-item a:hover, .sidebar-service-item.active a {
  background-color: var(--color-bg-primary);
  color: var(--color-primary);
  border-left-color: var(--color-accent);
}

/* 13. PÁGINA ZONAS DE ATENCIÓN */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.zone-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}

.zone-card.premium {
  border-left-color: var(--color-accent);
}

.zone-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.zone-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* 14. FOOTER COMPLETO */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-bg-primary);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-bg-primary);
  letter-spacing: -0.01em;
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-cement);
}

.footer-title {
  font-size: 1.1rem;
  color: var(--color-bg-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--color-cement);
}

.footer-links a:hover {
  color: var(--color-bg-primary);
  padding-left: 4px;
}

.footer-disclaimer-box {
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-cement);
  line-height: 1.5;
  border-left: 3px solid var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-primary-light);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-cement);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--color-bg-primary);
}

/* 15. PÁGINA 404 PERSONALIZADA */
.error-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  gap: 1.5rem;
}

.error-title {
  font-size: 6rem;
  color: var(--color-accent);
  line-height: 1;
}

.error-subtitle {
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* 16. ACCESIBILIDAD Y MEDIOS DE PANTALLA */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible */

/* Media Query para pantallas medianas (Tablets y Desktop) */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }

  .main-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .hero-title {
    font-size: 2.85rem;
  }

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

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .service-layout {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }

  .zones-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Media Query para pantallas grandes (Desktop) */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 3.25rem;
  }
}

/* ==========================================================================
   VENTANA DE CHAT DE WHATSAPP SIMULADA
   ========================================================================== */
.whatsapp-chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 330px;
  max-width: calc(100vw - 3rem);
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  z-index: 999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.whatsapp-chat-window.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.wa-chat-header {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.wa-chat-avatar {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-chat-avatar svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
}

.wa-chat-status {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.wa-chat-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.wa-chat-online {
  font-size: 0.75rem;
  color: #a5d8ff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.wa-chat-online::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #25d366;
  border-radius: 50%;
}

.wa-chat-close {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}

.wa-chat-close:hover {
  opacity: 1;
}

.wa-chat-body {
  padding: 1.25rem;
  background-color: #e5ddd5;
  background-image: radial-gradient(#dfd6cd 10%, transparent 10%), radial-gradient(#dfd6cd 10%, transparent 10%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wa-chat-bubble {
  background-color: #ffffff;
  color: var(--color-text-primary);
  padding: 0.75rem 1rem;
  border-radius: 0 10px 10px 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  text-align: left;
}

.wa-chat-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #ffffff transparent transparent;
}

.wa-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.wa-form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.wa-form-group input {
  padding: 0.5rem 0.75rem;
  border: 1px solid #c2c9d1;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.wa-form-group input:focus {
  border-color: var(--color-whatsapp);
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.15);
}

.wa-popup-btn {
  background-color: #25d366;
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 3px 6px rgba(37, 211, 102, 0.3);
  transition: background-color 0.2s, transform 0.2s;
  margin-top: 0.25rem;
}

.wa-popup-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

.wa-popup-btn:active {
  transform: translateY(0);
}

.wa-btn-icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   DISEÑO PROFESIONAL DE MIGAS DE PAN (BREADCRUMB)
   ========================================================================== */
.breadcrumb-container {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-cement);
  margin-bottom: 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item::after {
  content: "/";
  color: var(--color-cement);
}

.breadcrumb-item:last-child::after {
  content: "";
}

.breadcrumb-item.active {
  color: var(--color-accent);
  font-weight: 600;
}

/* ==========================================================================
   SLIDER ANTES/DESPUÉS ULTRA PREMIUM (SIN BIBLIOTECAS)
   ========================================================================== */
.before-after-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-cement);
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.before-after-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.img-before {
  z-index: 1;
}

.img-after {
  z-index: 2;
  clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 3px;
  background-color: #ffffff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: var(--slider-pos, 50%);
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  border: 3px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.slider-button::before {
  content: "◀ ▶";
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: -1px;
}

/* ==========================================================================
   BADGE DE CONFIANZA DE SEGURIDAD (CONVERSIÓN Y SEO)
   ========================================================================== */
.trust-badge-safety {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: #1e7e34;
  line-height: 1.45;
  text-align: left;
}

.trust-badge-safety strong {
  color: #0b6623;
}


/* ==========================================================================
   HERO SLIDER Y TRUST SIGNALS (NUEVOS)
   ========================================================================== */

/* Slider Hero */

/* Trust Signals Section */

/* ==========================================================================
   SLIDER DE TRABAJOS REALIZADOS (CSS SCROLL SNAP)
   ========================================================================== */
.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  flex: 0 0 85%;
  max-width: 85%;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .slider-item {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

.slider-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

.slider-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.slider-image-box:hover img {
  transform: scale(1.05);
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(24,59,78,0.9), transparent);
  color: var(--color-bg-primary);
  padding: 2rem 1.25rem 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slider-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ==========================================================================
   CTA MINIMALISTA
   ========================================================================== */
.cta-minimalista {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-cement);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--color-primary);
  max-width: 900px;
  margin: 0 auto;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  /* Reducir espacios excesivos en móvil */
  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-grid {
    gap: 1.5rem;
  }
  .services-grid, .process-grid, .gallery-grid, .contact-layout, .zones-grid {
    gap: 1.5rem;
  }
  .process-grid {
    margin-top: 1.5rem;
  }
  h2 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
  }
  .site-footer {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .service-layout {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
  }
  .service-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  /* Estilos previos */
  .cta-minimalista {
    padding: 2rem 1.5rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
}
