﻿/* ==========================================================================
   TITÁNES SpA - Corporate Stylesheet (Refined Edition)
   Ultra-optimized for 100 PageSpeed & 100 SEO
   Mobile-First, Minimalist, Luxury Corporate Aesthetic
   ========================================================================== */

:root {
  --bg-dark: #070a0f;
  --bg-card: #0d131c;
  --bg-card-hover: #121a26;
  --bg-elevated: #151e2b;
  --bg-input: #090e15;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-gradient: linear-gradient(135deg, #fce08f 0%, #d4af37 60%, #aa820a 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --silver-steel: #94a3b8;
  --silver-light: #f1f5f9;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-green: #25d366;
  --accent-green-hover: #1ebd5a;
  
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1280px;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--silver-light);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  min-height: 100vh;
  word-break: break-word;
  overflow-wrap: break-word;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  font-weight: 350;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.35;
  white-space: normal;
  max-width: 100%;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0c0e12;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 650;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  color: #000;
}

.btn-whatsapp {
  background: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--silver-light);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

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

/* --------------------------------------------------------------------------
   HEADER LIMPIO (SIN TOP BAR, DIRECTO ARRIBA)
-------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(7, 10, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
  object-fit: cover;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-desktop a {
  color: var(--silver-light);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

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

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-header-wa:hover {
  background: var(--accent-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.menu-burger {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.menu-burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-burger svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --------------------------------------------------------------------------
   DRAWER / MENÚ MÓVIL DESPLEGABLE
-------------------------------------------------------------------------- */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #0b0f17;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.drawer-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.drawer-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-links a:hover {
  color: var(--gold-light);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-phone {
  color: var(--gold-light);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   HERO CINEMATOGRÁFICO CON FOTOS 16:9 & TRANSICIÓN
-------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 1.5rem;
}

.slider-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 15, 0.72) 0%,
    rgba(7, 10, 15, 0.6) 40%,
    rgba(7, 10, 15, 0.88) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero-desc {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 350;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold-gradient);
  color: #0b0e14;
  font-size: 0.98rem;
  font-weight: 650;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary-clean:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  color: #000;
}

.btn-secondary-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-clean:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 48px;
  background: var(--gold-gradient);
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(7, 10, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.slide-arrow:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.slide-prev { left: 24px; }
.slide-next { right: 24px; }

.slide-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* --------------------------------------------------------------------------
   SECCIONES GENERALES (SOBRESALIENTES, LIMPIAS)
-------------------------------------------------------------------------- */
.section-py {
  padding: 5.5rem 0;
}

.section-head {
  margin-bottom: 3.5rem;
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

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

.trust-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.trust-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.15rem;
}

/* Before / After Case Study Showcase */
.before-after-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

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

.ba-tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--silver-steel);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.ba-tab-btn.active {
  background: var(--gold-gradient);
  color: #0c0e12;
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

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

.ba-col {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.ba-col:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.ba-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ba-col:hover .ba-img-wrap img {
  transform: scale(1.04);
}

.ba-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.badge-before { background: rgba(239, 68, 68, 0.9); color: #fff; }
.badge-process { background: rgba(245, 158, 11, 0.9); color: #000; }
.badge-after { background: rgba(16, 185, 129, 0.9); color: #fff; }

.ba-content {
  padding: 1.25rem;
}

.ba-content h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.ba-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.1);
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.service-icon-box svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--silver-steel);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Portfolio / Gallery Section */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver-steel);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 15, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.gallery-overlay-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.gallery-overlay h4 {
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 650;
  line-height: 1.3;
}

/* 3-Step Methodology */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Coverage & Map */
.coverage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
}

.coverage-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
}

.coverage-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--silver-steel);
}

.coverage-list li svg { width: 16px; height: 16px; color: var(--gold-primary); }

.coverage-map-wrap {
  position: relative;
  min-height: 360px;
  background: #0f1621;
}

.coverage-map-wrap img { width: 100%; height: 100%; object-fit: cover; }

.map-pin-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 10, 15, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active { border-color: var(--border-gold); }

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-white);
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.5rem;
  max-height: 350px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

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

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.contact-channel-icon svg { width: 22px; height: 22px; }

.contact-channel h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.contact-channel p, .contact-channel a {
  font-size: 0.92rem;
  color: var(--silver-steel);
  line-height: 1.4;
}

.contact-channel a:hover { color: var(--gold-primary); }

.social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-steel);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

/* --------------------------------------------------------------------------
   FOOTER CORPORATIVO + CRÉDITO WEBEMPRENDEDORES.CL
-------------------------------------------------------------------------- */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.credit-link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.credit-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   BOTÓN FLOTANTE DE WHATSAPP (ABAJO A LA DERECHA FIJO EN TODA LA WEB)
-------------------------------------------------------------------------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-whatsapp-btn:hover {
  background: var(--accent-green-hover);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.floating-whatsapp-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  opacity: 0.7;
  animation: waPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Scroll To Top */
.scroll-top-btn {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  background: var(--gold-primary);
  color: #000;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open { display: flex; }

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 { font-size: 1.35rem; color: var(--text-white); }

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover { color: #fff; }

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.94rem;
  color: var(--silver-steel);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--gold-primary);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.open { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--silver-light);
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE & MOBILE-FIRST RULES
   ========================================================================== */
@media (max-width: 1024px) {
  .coverage-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .site-header {
    height: 64px;
  }
  .header-inner {
    padding: 0 1rem;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-sub {
    font-size: 0.6rem;
  }
  .menu-burger {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 6px;
  }
  /* EN EL HEADER DE MÃ“VIL SE QUITA EL BOTÃ“N DE WHATSAPP (COMO PIDIÃ“ EL USUARIO) */
  .header-actions .btn-header-wa {
    display: none !important;
  }
  .slide-arrow {
    display: none;
  }
  .hero-section {
    min-height: 520px;
    padding: 0 1.25rem;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-desc {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
  .btn-primary-clean, .btn-secondary-clean {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.94rem;
  }
}

@media (max-width: 768px) {
  .section-py { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  .section-title { font-size: 1.65rem; line-height: 1.25; }
  .section-subtitle { font-size: 0.9rem; line-height: 1.55; }
  
  .trust-strip { padding: 1.5rem 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .trust-icon-box { width: 38px; height: 38px; }
  
  .ba-display-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .process-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  
  .about-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
  .about-card { padding: 1.25rem !important; }
  .contact-grid { padding: 1.25rem; gap: 1.5rem; }
  .contact-form-box { padding: 1.25rem !important; }
  
  .before-after-card { padding: 1.25rem; }
  .ba-tabs { gap: 0.5rem; margin-bottom: 1.25rem; }
  .ba-tab-btn { padding: 0.5rem 0.85rem; font-size: 0.82rem; width: 100%; text-align: center; }
  
  .ba-content { padding: 1rem; }
  .ba-content h4 { font-size: 0.95rem; }
  .ba-content p { font-size: 0.82rem; line-height: 1.45; }
  
  .btn-whatsapp {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    font-size: 0.88rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .coverage-info { padding: 1.75rem 1.25rem; }
  .coverage-info h2 { font-size: 1.6rem !important; }
  .coverage-list { grid-template-columns: 1fr; gap: 0.6rem; }
  .coverage-map-wrap { min-height: 240px; }
  
  .map-pin-overlay {
    position: static;
    margin: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    text-align: center;
  }
  .map-pin-overlay .btn { width: 100%; justify-content: center; }
  
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  
  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp-btn svg {
    width: 25px;
    height: 25px;
  }
  .scroll-top-btn {
    bottom: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .container { padding-left: 0.85rem; padding-right: 0.85rem; }
  .header-inner { padding: 0 0.85rem; }
  .brand-title { font-size: 0.98rem; }
  .brand-sub { font-size: 0.58rem; }
  
  .hero-section { min-height: 480px; padding: 0 0.85rem; }
  .hero-title { font-size: 1.85rem; line-height: 1.2; margin-bottom: 0.85rem; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.5; }
  
  .section-py { padding: 2.5rem 0; }
  .section-tag { font-size: 0.72rem; padding: 0.25rem 0.75rem; margin-bottom: 0.65rem; }
  .section-title { font-size: 1.45rem; margin-bottom: 0.75rem; }
  .section-subtitle { font-size: 0.85rem; }
  
  .before-after-card { padding: 0.85rem; }
  .service-card { padding: 1.25rem; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { font-size: 0.85rem; }
  
  .btn { padding: 0.75rem 1.1rem; font-size: 0.85rem; line-height: 1.35; white-space: normal; }
  .btn-primary-clean, .btn-secondary-clean { padding: 0.75rem 1.1rem; font-size: 0.88rem; }
  .btn-whatsapp { font-size: 0.84rem; padding: 0.75rem 1rem; }
  .btn-whatsapp svg { flex-shrink: 0; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.65rem; }
  .brand-title { font-size: 0.92rem; }
  .brand-sub { display: none; }
  .section-title { font-size: 1.35rem; }
  .btn-whatsapp { font-size: 0.8rem; padding: 0.7rem 0.85rem; }
}