/* ================================================================
   INSTALACIÓN CANALONES MADRID — Diseño Moderno 2026
   Tipografía: Plus Jakarta Sans + Inter
   Sistema 3D | Mobile-first | Sin frameworks
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* --- Variables --- */
:root {
  --color-bg:            #F0F2F8;
  --color-surface:       #FFFFFF;
  --color-dark:          #080C18;
  --color-dark-2:        #111827;
  --color-dark-3:        #1E2B3C;
  --color-accent:        #FF5500;
  --color-accent-hover:  #E64D00;
  --color-accent-glow:   rgba(255,85,0,0.3);
  --color-blue:          #3B6EF5;
  --color-text:          #080C18;
  --color-text-muted:    #6B7A90;
  --color-text-light:    rgba(255,255,255,0.72);
  --color-border:        #DDE3EF;
  --color-border-dark:   rgba(255,255,255,0.08);
  --color-success:       #22C55E;
  --font-heading:        'Plus Jakarta Sans', sans-serif;
  --font-body:           'Inter', sans-serif;
  --max-width:           1240px;
  --header-h:            68px;
  --radius-sm:           8px;
  --radius:              16px;
  --radius-lg:           24px;
  --shadow-sm:           0 2px 8px rgba(0,0,0,0.06);
  --shadow:              0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:           0 24px 60px rgba(0,0,0,0.16);
  --shadow-3d:           0 40px 80px -10px rgba(0,0,0,0.28), 0 20px 40px -10px rgba(0,0,0,0.18);
  --transition:          0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* --- Tipografía --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.10;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }
p  { margin-bottom: 1rem; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--alt { background: var(--color-surface); }
.section--dark {
  background: var(--color-dark);
  color: #fff;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--color-text-muted); max-width: 560px; margin: 0.75rem auto 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,12,24,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-dark);
  height: var(--header-h);
  transition: background 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  flex-shrink: 0;
}
.site-logo svg { width: 28px; height: 28px; color: var(--color-accent); }
.logo-lines { display: flex; flex-direction: column; }
.logo-lines span { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; color: #fff; line-height: 1.2; letter-spacing: -0.01em; }
.logo-sub { font-size: 0.6rem; font-family: var(--font-body); font-weight: 400; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }

/* Nav */
.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
  }
  .site-nav > a, .site-nav .nav-dropdown > a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  .site-nav > a:hover, .site-nav .nav-dropdown > a:hover,
  .site-nav > a.active, .site-nav .nav-dropdown > a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
  }
  .nav-dropdown { position: relative; }
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-dark-2);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
  .dropdown-menu a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    border-radius: 6px;
    transition: all 0.15s ease;
  }
  .dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--color-accent);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.header-phone:hover { background: var(--color-accent-hover); }
.header-phone svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .header-phone { display: flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--color-dark-2);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.15rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; background: rgba(255,255,255,0.08); }
.mobile-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0.75rem 0.75rem 0.25rem;
}
.mobile-cta {
  margin-top: 0.75rem !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  border-radius: 50px !important;
  padding: 0.85rem 1.5rem !important;
}

/* Alert bar */
.alert-urgent {
  background: linear-gradient(90deg, var(--color-accent) 0%, #FF7A30 100%);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}
.alert-urgent a { color: #fff; text-decoration: underline; }

/* ================================================================
   BOTONES
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-accent-glow);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--color-dark);
}
.btn-white:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn-accent-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-accent-outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--color-dark);
  color: #fff;
}
.btn-dark:hover { background: var(--color-dark-3); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ================================================================
   HERO — 3D DESIGN
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/ChatGPT Image 6 may 2026, 20_11_44.png");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
  filter: saturate(0.4);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(8,12,24,0.98) 0%,
    rgba(8,12,24,0.85) 45%,
    rgba(8,12,24,0.45) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 7rem 0 5rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    min-height: 100svh;
    padding: 0;
  }
}
.hero-content { max-width: 600px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,85,0,0.12);
  border: 1px solid rgba(255,85,0,0.3);
  color: #FF7A30;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  line-height: 1.04;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 480px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.trust-badge::before {
  content: '✓';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.2);
  color: #22C55E;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 3D Card in hero */
.hero-3d-scene {
  display: none;
}
@media (min-width: 1024px) {
  .hero-3d-scene {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 100svh;
  }
}
.hero-3d-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.hero-3d-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: perspective(1100px) rotateY(-18deg) rotateX(6deg);
  box-shadow:
    48px 48px 100px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.07);
  transition: transform 0.08s ease-out;
  will-change: transform;
}
.hero-3d-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero-3d-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,12,24,0.9) 0%, transparent 100%);
  padding: 2rem 1.75rem 1.75rem;
}
.hero-3d-card-overlay h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.hero-3d-card-overlay p {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin: 0;
}
/* Floating badge on 3D card */
.hero-3d-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 30px var(--color-accent-glow);
  transform: perspective(800px) rotateY(-10deg) rotateX(10deg) translateZ(40px);
}
.hero-3d-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.hero-3d-badge span {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}
/* Second floating mini-card */
.hero-3d-mini {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transform: perspective(800px) rotateY(5deg) rotateX(-5deg) translateZ(20px);
}
.hero-3d-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(34,197,94,0.15);
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-3d-mini p {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.3;
}
.hero-3d-mini span { font-size: 0.68rem; color: rgba(255,255,255,0.4); font-weight: 400; }

/* ================================================================
   STATS / NÚMEROS
   ================================================================ */
.stats-section {
  background: var(--color-dark);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,85,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius);
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.stat-number em { color: var(--color-accent); font-style: normal; }
.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-card.light {
  background: var(--color-surface);
  border-color: var(--color-border);
}
.stat-card.light .stat-number { color: var(--color-dark); }
.stat-card.light .stat-label { color: var(--color-text-muted); }

/* ================================================================
   SERVICES — 3D HOVER CARDS
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  perspective: 1200px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,85,0,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-3d);
  border-color: rgba(255,85,0,0.2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,85,0,0.12), rgba(255,85,0,0.06));
  border: 1px solid rgba(255,85,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.65rem; font-size: 1.1rem; }
.service-card p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 1rem;
  transition: gap 0.2s ease;
}
.service-card:hover .service-link { gap: 0.6rem; }

/* Section with services on dark bg */
.services-dark .service-card {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-border-dark);
}
.services-dark .service-card h3 { color: #fff; }
.services-dark .service-card p { color: rgba(255,255,255,0.5); }
.services-dark .service-card:hover {
  background: rgba(255,255,255,0.07);
}

/* ================================================================
   GALLERY — FOTOS REALES
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-dark-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,12,24,0.8) 0%, transparent 100%);
  padding: 1.5rem 1rem 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-label { opacity: 1; }

/* ================================================================
   MATERIALES
   ================================================================ */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .materials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .materials-grid { grid-template-columns: repeat(5, 1fr); } }

.material-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.material-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.material-icon {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-accent);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,85,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.material-card h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.material-range {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.material-card .featured-badge {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
}

/* ================================================================
   TESTIMONIOS
   ================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-stars {
  color: #FBBF24;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text);
}
.testimonial-location {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: rgba(255,85,0,0.3); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: left;
  transition: color 0.2s ease;
}
.faq-item.open .faq-question { color: var(--color-accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ================================================================
   B2B BLOCK
   ================================================================ */
.b2b-block {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-3) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.b2b-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,85,0,0.08);
  pointer-events: none;
}
@media (min-width: 768px) {
  .b2b-block { flex-direction: row; align-items: center; }
}
.b2b-content h2 { color: #fff; margin-bottom: 0.75rem; }
.b2b-content p { color: rgba(255,255,255,0.6); max-width: 500px; }
.b2b-content ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.b2b-content ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  padding-left: 1.2rem;
  position: relative;
}
.b2b-content ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--color-accent);
}
.b2b-cta { flex-shrink: 0; }

/* ================================================================
   PASOS / STEPS
   ================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #FF7A30 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px var(--color-accent-glow);
}
.step-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.step-card p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ================================================================
   COBERTURA
   ================================================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 640px) { .coverage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .coverage-grid { grid-template-columns: repeat(4, 1fr); } }

.coverage-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.coverage-item::before { content: '📍'; font-size: 0.7rem; }
.coverage-item:hover { background: var(--color-surface); color: var(--color-text); }
.coverage-item.primary {
  background: rgba(255,85,0,0.06);
  border-color: rgba(255,85,0,0.2);
  color: var(--color-accent);
  font-weight: 700;
}
.coverage-item.primary::before { content: '⭐'; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-3) 60%, rgba(255,85,0,0.15) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,85,0,0.1) 0%, transparent 70%);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1rem; }
.cta-banner .btns { justify-content: center; }

/* ================================================================
   FORMULARIOS
   ================================================================ */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-card.dark {
  background: var(--color-dark-2);
  border-color: var(--color-border-dark);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,85,0,0.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-full { grid-column: 1 / -1; }
.form-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}
.form-submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-accent-glow);
}
.form-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ================================================================
   TWO COL LAYOUTS
   ================================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 3fr 2fr; }
}
.two-col-equal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .two-col-equal { grid-template-columns: repeat(2, 1fr); }
}
.info-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.info-box h3 { margin-bottom: 0.85rem; font-size: 1rem; }
.info-box ul { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; }
.info-box ul li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.info-box ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.highlight-box {
  background: rgba(255,85,0,0.06);
  border: 1px solid rgba(255,85,0,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.9rem;
}
.highlight-box p { margin: 0; }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb .sep { opacity: 0.3; }
.breadcrumb span:last-child { color: rgba(255,255,255,0.7); }

/* PAGE HERO */
.page-hero {
  background: var(--color-dark);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,85,0,0.06) 0%, transparent 70%);
}
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 640px; font-size: 1.05rem; }

/* ================================================================
   TABLAS DE PRECIOS
   ================================================================ */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--color-border); }
.price-table { border-collapse: collapse; width: 100%; }
.price-table th, .price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border);
}
.price-table th {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: rgba(255,85,0,0.03); }
.price-tag { color: var(--color-accent); font-weight: 700; font-family: var(--font-heading); }

/* ================================================================
   BLOG
   ================================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255,255,255,0.15);
}
.blog-body { padding: 1.25rem; flex: 1; }
.blog-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.blog-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--color-accent); }
.blog-card p { font-size: 0.82rem; color: var(--color-text-muted); }
.blog-meta { font-size: 0.75rem; color: var(--color-text-muted); margin-top: auto; padding-top: 0.75rem; }

/* Article layout */
.article-wrap {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 760px;
}
.article-wrap h2 {
  color: var(--color-text);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 2rem 0 0.85rem;
}
.article-wrap h3 {
  color: var(--color-text);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.65rem;
}
.article-wrap p { color: inherit; }
.article-wrap ul, .article-wrap ol {
  list-style: initial;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.article-wrap li { font-size: 0.92rem; }
.article-wrap table { margin: 1.5rem 0; }
.article-wrap .highlight-box { margin: 1.75rem 0; }
.article-wrap .price-table-wrap { margin: 1.5rem 0; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--color-border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-logo svg { width: 24px; height: 24px; color: var(--color-accent); }
.footer-desc {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
  margin-bottom: 1rem;
}
.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-nap a { color: rgba(255,255,255,0.5); }
.footer-nap a:hover { color: var(--color-accent); }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.85rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-municipalities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.footer-municipalities span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-municipalities span:not(:last-child)::after { content: '·'; margin-left: 0.35rem; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.5);
}

/* ================================================================
   ENTRANCE ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: fadeUp 0.7s ease both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-3d-scene {
  animation: fadeUp 0.9s 0.4s ease both;
}
