/* ═══════════════════════════════════════
   PLOMERÍA SIGMA — CSS v3 (Mobile-First Fix)
   ═══════════════════════════════════════ */

:root {
  --navy:        #0c1a2e;
  --navy-mid:    #1a3550;
  --teal-dark:   #0f766e;
  --teal-mid:    #14b8a6;
  --teal-light:  #5eead4;
  --teal-pale:   #e6fffa;
  --amber:       #f59e0b;
  --amber-dark:  #d97706;
  --bg-section:  #f1f5f9;
  --bg-light:    #f8fafc;
  --white:       #ffffff;
  --text-dark:   #0c1a2e;
  --text-body:   #374151;
  --text-muted:  #6b7280;
  --shadow-sm:   0 2px 12px rgba(12,26,46,.08);
  --shadow-md:   0 8px 32px rgba(12,26,46,.14);
  --shadow-lg:   0 20px 60px rgba(12,26,46,.20);
  --shadow-amber:0 8px 28px rgba(245,158,11,.40);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  0.28s cubic-bezier(.25,.8,.25,1);
  --nav-h:       64px;
}

/* ── RESET ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
* { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }

/* ── LOADER ───────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { text-align: center; }
.loader-σ {
  font-family: 'Outfit', sans-serif;
  font-size: 72px; font-weight: 800;
  color: var(--white);
  animation: pulse-sigma 1s ease infinite alternate;
}
.loader-bar {
  width: 140px; height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 4px; margin: 16px auto 0; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal-mid), var(--amber));
  border-radius: 4px;
  animation: fill-bar 1.5s ease forwards;
}
@keyframes pulse-sigma { from{opacity:.6;transform:scale(.95)} to{opacity:1;transform:scale(1.05)} }
@keyframes fill-bar    { to{width:100%} }

/* ── NAVBAR ───────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(12,26,46,.10);
}
.nav-container {
  max-width: 1280px; margin: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}

/* Logo */
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .95rem;
  color: var(--white); transition: color var(--transition);
}
.navbar.scrolled .brand-name { color: var(--navy); }
.brand-sub {
  font-size: .65rem; color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.navbar.scrolled .brand-sub { color: var(--text-muted); }

/* Nav links (desktop) */
.nav-links { display: flex; gap: 2px; }
.nav-link {
  padding: 8px 12px;
  font-size: .88rem; font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.navbar.scrolled .nav-link { color: var(--text-body); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,.15); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { background: var(--teal-pale); color: var(--teal-dark); }

/* Botón llamar */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; min-height: 44px;
  background: var(--amber); color: var(--navy) !important;
  font-weight: 700; font-size: .85rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-amber);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-call:hover { background: var(--amber-dark); transform: translateY(-2px); }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--navy); }
.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); }

/* ── MOBILE MENU ──────────────────────── */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #ffffff;
  padding: 12px 16px 24px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-110%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  z-index: 998;
  box-shadow: 0 8px 32px rgba(12,26,46,.15);
  border-bottom: 3px solid var(--teal-mid);
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-h));
}
.mobile-menu.open { transform: translateY(0); }

.mob-link {
  display: flex; align-items: center;
  padding: 14px 16px; min-height: 52px;
  font-weight: 500; font-size: 1rem; color: var(--text-dark);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.mob-link:active, .mob-link:hover {
  background: var(--teal-pale); color: var(--teal-dark);
  border-left-color: var(--teal-mid);
}
.mob-call {
  margin-top: 10px; padding: 16px; min-height: 56px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--navy); font-weight: 700; font-size: 1rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-amber);
}

/* ── CONTAINER ────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── BOTONES GLOBALES ─────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; min-height: 52px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--navy); font-weight: 700; font-size: .95rem;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-amber);
  transition: transform var(--transition), filter var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; min-height: 52px;
  border: 2px solid rgba(255,255,255,.75); color: var(--white);
  font-weight: 600; font-size: .95rem; border-radius: var(--radius-xl);
  background: rgba(255,255,255,.1);
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.2); }

.btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; min-height: 52px;
  border: 2px solid rgba(255,255,255,.45); color: var(--white);
  font-weight: 600; font-size: .95rem; border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08);
  transition: background var(--transition);
}
.btn-outline-light:hover { background: rgba(255,255,255,.18); }

/* ── SECTION COMMONS ──────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-flex; align-items: center;
  background: var(--teal-pale); color: var(--teal-dark);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-xl); margin-bottom: 14px;
  border: 1px solid rgba(15,118,110,.15);
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.15; margin-bottom: 14px;
}
.text-accent { color: var(--teal-dark); }
.section-desc { max-width: 560px; margin: 0 auto; color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* ── HERO ─────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(8,20,40,.93) 0%, rgba(12,26,46,.82) 50%, rgba(15,118,110,.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 800px;
  margin: 0 auto; padding: 48px 24px 64px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.15); color: var(--amber);
  font-size: .78rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-xl); margin-bottom: 20px;
  border: 1px solid rgba(245,158,11,.3);
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900; line-height: 1.08; color: var(--white); margin-bottom: 20px;
}
.hero-highlight {
  display: block;
  background: linear-gradient(90deg, var(--teal-light), var(--teal-mid));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.75; margin-bottom: 24px; max-width: 520px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.10); color: var(--white);
  font-size: .82rem; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.16);
}
.hero-tag i { color: var(--teal-light); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats {
  display: flex; align-items: center;
  background: rgba(255,255,255,.09);
  padding: 18px 24px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  width: fit-content;
}
.stat {
  text-align: center; color: var(--white);
  font-family: 'Outfit', sans-serif;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0 20px;
}
.stat-value { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: .7rem; color: rgba(255,255,255,.6); font-family: 'Inter', sans-serif; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.18); flex-shrink: 0; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: .72rem; z-index: 2; pointer-events: none;
}
.scroll-dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; animation: bounce 1.5s ease infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ── URGENCY BANNER ───────────────────── */
.urgency-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 18px 20px; border-bottom: 3px solid var(--teal-mid);
}
.urgency-inner {
  max-width: 1280px; margin: auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px; text-align: center;
}
.urgency-icon {
  width: 38px; height: 38px; background: rgba(245,158,11,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 1rem; flex-shrink: 0;
  border: 1px solid rgba(245,158,11,.3);
}
.urgency-inner p { color: rgba(255,255,255,.85); font-size: .9rem; }
.urgency-inner strong { color: var(--amber); }
.urgency-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy);
  font-weight: 700; font-size: .87rem;
  padding: 11px 20px; min-height: 44px; border-radius: var(--radius-xl);
  white-space: nowrap; transition: background var(--transition);
}
.urgency-btn:hover { background: var(--amber-dark); }

/* ── SERVICES ─────────────────────────── */
.services { padding: 88px 0; background: var(--bg-section); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(12,26,46,.06);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-dark), var(--amber));
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white); border: none; box-shadow: var(--shadow-md);
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,.75); }
.service-card.featured .service-list li { color: rgba(255,255,255,.82); }
.service-card.featured .service-list li i { color: var(--teal-light); }
.service-card.featured .service-cta { color: var(--amber); }
.featured-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--amber); color: var(--navy);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-xl);
}
.service-icon-wrap {
  width: 56px; height: 56px; background: var(--teal-pale); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--teal-dark); margin-bottom: 18px;
  transition: transform var(--transition);
}
.service-card.featured .service-icon-wrap { background: rgba(255,255,255,.12); color: var(--teal-light); }
.service-card:hover .service-icon-wrap { transform: scale(1.08) rotate(-3deg); }
.service-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.service-list { margin-bottom: 20px; }
.service-list li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-body); margin-bottom: 7px; }
.service-list li i { color: var(--teal-dark); font-size: .75rem; flex-shrink: 0; }
.service-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal-dark); font-weight: 700; font-size: .875rem; min-height: 44px;
  transition: gap var(--transition), color var(--transition);
}
.service-cta:hover { gap: 14px; }

/* ── WHY US ───────────────────────────── */
.why-us { padding: 88px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-content .section-label { display: inline-flex; margin-bottom: 14px; }
.why-content .section-title { text-align: left; margin-bottom: 18px; }
.why-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.why-features { display: grid; gap: 20px; margin-bottom: 36px; }
.why-feature { display: flex; gap: 14px; align-items: flex-start; }
.why-feat-icon {
  flex-shrink: 0; width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--teal-pale), #d0f5ef);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark); font-size: 1.1rem; border: 1px solid rgba(15,118,110,.12);
}
.why-feature h4 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.why-feature p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.why-visual { position: relative; height: 480px; }
.visual-card { border-radius: var(--radius-lg); overflow: hidden; height: 100%; box-shadow: var(--shadow-lg); position: relative; }
.visual-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,20,40,.88), transparent); padding: 24px;
}
.visual-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy); font-weight: 700; font-size: .82rem;
  padding: 9px 14px; border-radius: var(--radius-xl);
}
.floating-card {
  position: absolute; background: var(--white); border-radius: var(--radius-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(12,26,46,.07);
}
.floating-card i { font-size: 1.3rem; color: var(--teal-mid); }
.fc-num { display: block; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 800; color: var(--text-dark); }
.fc-txt { font-size: .75rem; color: var(--text-muted); }
.fc-1 { bottom: 36px; left: -44px; animation: float-y 3s ease-in-out infinite; }
.fc-2 { top: 36px; right: -36px; animation: float-y 3s ease-in-out infinite .8s; }
@keyframes float-y { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── PROCESS ──────────────────────────── */
.process {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative; overflow: hidden;
}
.process::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(20,184,166,.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(245,158,11,.10) 0%, transparent 45%);
}
.process .container { position: relative; z-index: 1; }
.process .section-label { background: rgba(94,234,212,.12); color: var(--teal-light); border-color: rgba(94,234,212,.2); }
.process .section-title { color: var(--white); }
.process .section-desc { color: rgba(255,255,255,.6); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; position: relative; margin-top: 12px;
}
.process-line {
  position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--teal-mid), var(--amber));
  z-index: 0; opacity: .3;
}
.process-step {
  text-align: center; position: relative; z-index: 1; padding: 0 8px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.step-num { font-family: 'Outfit', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--amber); margin-bottom: 8px; }
.step-icon {
  width: 76px; height: 76px; margin: 0 auto 16px;
  background: rgba(255,255,255,.07); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--teal-light);
  border: 2px solid rgba(255,255,255,.1);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.process-step:hover .step-icon { background: var(--amber); color: var(--navy); transform: scale(1.08); }
.process-step h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ── TESTIMONIALS ─────────────────────── */
.testimonials { padding: 88px 0; background: var(--bg-section); }
.testimonials-track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.testi-card {
  background: var(--white); border: 1px solid rgba(12,26,46,.07);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition); position: relative;
}
.testi-card::before {
  content: '"'; position: absolute; top: 16px; right: 20px;
  font-family: Georgia, serif; font-size: 72px; line-height: 1;
  color: rgba(15,118,110,.06); pointer-events: none;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--amber); font-size: .95rem; margin-bottom: 14px; }
.testi-card p { font-size: .875rem; color: var(--text-body); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white); font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.testi-avatar.teal-2 { background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid)); }
.testi-avatar.teal-3 { background: linear-gradient(135deg, var(--teal-mid), var(--teal-light)); color: var(--navy); }
.testi-avatar.teal-1 { background: linear-gradient(135deg, var(--amber-dark), var(--amber)); color: var(--navy); }
.testi-author strong { display: block; font-weight: 700; color: var(--text-dark); font-size: .88rem; }
.testi-author span { font-size: .78rem; color: var(--text-muted); }

/* ── CONTACT ──────────────────────────── */
.contact { padding: 88px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-light); border-radius: var(--radius-md); padding: 18px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(12,26,46,.06);
  transition: transform var(--transition);
}
.contact-card:hover { transform: translateX(4px); }
.contact-icon {
  flex-shrink: 0; width: 42px; height: 42px; background: var(--teal-pale);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark); font-size: .95rem; border: 1px solid rgba(15,118,110,.12);
}
.contact-card h4 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--text-dark); font-size: .9rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }
.contact-card a:hover { color: var(--teal-dark); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: var(--white);
  font-weight: 700; font-size: .92rem;
  padding: 14px 22px; min-height: 52px; border-radius: var(--radius-xl);
  box-shadow: 0 6px 20px rgba(37,211,102,.30);
  transition: filter var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-whatsapp i { font-size: 1.15rem; }

.btn-call-lg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white); font-weight: 700; font-size: .92rem;
  padding: 14px 22px; min-height: 52px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: filter var(--transition), transform var(--transition);
}
.btn-call-lg:hover { filter: brightness(1.15); transform: translateY(-2px); }

.map-wrapper {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); min-height: 400px;
  border: 1px solid rgba(12,26,46,.08);
}
.map-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.map-link {
  position: absolute; bottom: 14px; right: 14px;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: .82rem;
  padding: 10px 16px; min-height: 44px; border-radius: var(--radius-xl);
  display: flex; align-items: center; gap: 7px;
  box-shadow: var(--shadow-md); transition: background var(--transition);
}
.map-link:hover { background: var(--teal-dark); }

/* ── CTA SECTION ──────────────────────── */
.cta-section {
  position: relative;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 55%, #0f3a6e 100%);
  padding: 88px 20px; overflow: hidden; text-align: center;
}
.cta-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(20,184,166,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,.12) 0%, transparent 45%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-sigma { font-family: 'Outfit', sans-serif; font-size: 100px; font-weight: 900; color: rgba(255,255,255,.05); line-height: 1; margin-bottom: -12px; user-select: none; }
.cta-section h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.7; max-width: 520px; margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── FOOTER ───────────────────────────── */
.footer { background: #060f1c; padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255,255,255,.35); }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.55);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
  border: 1px solid rgba(255,255,255,.06);
}
.social-link:hover { background: var(--teal-dark); color: var(--white); }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: .9rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.45); display: inline-block; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-light); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.5; margin-bottom: 10px; }
.footer-contact-list li i { color: var(--teal-mid); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.45); }
.footer-contact-list a:hover { color: var(--teal-light); }
.footer-bottom { padding: 20px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.28); }

/* ── FAB LLAMADA ─────────────────────── */
.fab-call {
  position: fixed; bottom: 24px; right: 20px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--navy);
  font-size: 1.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-amber);
  z-index: 900; transition: transform var(--transition);
  animation: ring-pulse 2.5s ease-in-out infinite;
}
.fab-call:hover { transform: scale(1.12); animation: none; box-shadow: 0 8px 32px rgba(245,158,11,.7); }
@keyframes ring-pulse {
  0%, 100% { box-shadow: var(--shadow-amber); }
  50% { box-shadow: 0 6px 28px rgba(245,158,11,.6), 0 0 0 12px rgba(245,158,11,.10); }
}
.fab-tooltip {
  position: absolute; right: calc(100% + 10px);
  background: var(--navy); color: var(--white);
  font-size: .78rem; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-sm);
  white-space: nowrap; opacity: 0; pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--transition), transform var(--transition);
}
.fab-tooltip::after {
  content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--navy); border-right: none;
}
.fab-call:hover .fab-tooltip { opacity: 1; transform: translateX(0); }

/* ── GALERÍA ──────────────────────────── */
.gallery-section { padding: 88px 0; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-section);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,26,46,.82) 0%, rgba(12,26,46,.18) 60%, transparent 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay i { font-size: 1.8rem; color: var(--amber); filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.gallery-overlay span { font-size: .82rem; font-weight: 700; color: var(--white); letter-spacing: .05em; text-transform: uppercase; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── LIGHTBOX ─────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(4, 10, 22, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 20px;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lb-img-wrap {
  max-width: 90vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lb-img-wrap img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  display: block;
  transition: transform .25s ease, opacity .2s ease;
  user-select: none;
}
.lb-close {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  width: 46px; height: 46px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 1.1rem;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,.25); transform: scale(1.1); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-size: 1.2rem;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--amber); color: var(--navy); transform: translateY(-50%) scale(1.1); }
.lb-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(12,26,46,.7); color: var(--white);
  font-size: .8rem; font-weight: 600;
  padding: 6px 16px; border-radius: var(--radius-xl);
  letter-spacing: .06em;
}

/* Contact note */
.contact-note {
  font-size: .82rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; margin-top: 2px; padding-left: 4px;
}
.contact-note i { color: var(--teal-dark); font-size: .8rem; }

/* btn-call-primary boost */
.btn-call-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark)) !important;
  color: var(--navy) !important;
  box-shadow: var(--shadow-amber) !important;
}

/* ── DOTS TESTIMONIOS ─────────────────── */
.testi-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(12,26,46,.18); cursor: pointer; transition: background var(--transition), width var(--transition); }
.testi-dot.active { background: var(--teal-dark); width: 22px; border-radius: 4px; }

/* ── ANIMACIONES ──────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .process-step { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* 1024px — Tablet */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { height: 340px; }
  .fc-1 { left: 8px; bottom: 20px; }
  .fc-2 { right: 8px; top: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrapper { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-line { display: none; }
}

/* 768px — Móvil */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-call span { display: none; }
  .btn-call { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
  .brand-text { display: none; }
  .brand-logo { height: 34px; }

  /* Hero */
  .hero-content { padding: 36px 20px 56px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-subtitle { font-size: .93rem; }
  .hero-badge { font-size: .75rem; }
  .hero-tags { gap: 6px; }
  .hero-tag { font-size: .8rem; padding: 6px 12px; }

  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; font-size: .93rem; }

  .hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    width: 100%; padding: 16px 8px; gap: 0;
  }
  .stat { padding: 0 6px; border-right: 1px solid rgba(255,255,255,.15); }
  .stat:last-child { border-right: none; }
  .stat-value { font-size: 1.3rem; }
  .stat-divider { display: none; }
  .hero-scroll { display: none; }

  /* Urgency */
  .urgency-inner { flex-direction: column; gap: 12px; }
  .urgency-inner p { font-size: .86rem; }

  /* Servicios */
  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 20px; }

  /* Nosotros */
  .why-us { padding: 60px 0; }
  .why-visual { height: 240px; }
  .fc-1, .fc-2 { display: none; }

  /* Proceso */
  .process { padding: 60px 0; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .step-icon { width: 64px; height: 64px; font-size: 1.3rem; }

  /* Testimonios */
  .testimonials { padding: 60px 0; }
  .testimonials-track {
    display: flex; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }
  .testi-card { min-width: 82vw; scroll-snap-align: center; flex-shrink: 0; padding: 24px 18px; }
  .testi-dots { display: flex; }

  /* Contacto */
  .contact { padding: 60px 0; }
  .map-wrapper { min-height: 280px; }
  .btn-whatsapp, .btn-call-lg { font-size: .9rem; }

  /* CTA */
  .cta-section { padding: 60px 16px; }
  .cta-sigma { font-size: 60px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns a { width: 100%; max-width: 300px; }

  /* Footer */
  .footer { padding: 52px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Section */
  .section-header { margin-bottom: 36px; }

  /* FAB */
  .fab-call { bottom: 16px; right: 16px; width: 54px; height: 54px; font-size: 1.3rem; }
  .fab-tooltip { display: none; }

  /* Galería */
  .gallery-section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Lightbox */
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 1rem; }
}

/* 600px — Móvil pequeño */
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .hero-content { padding: 32px 16px 48px; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .hero-stats { padding: 14px 6px; }
  .stat-value { font-size: 1.2rem; }
  .stat-label { font-size: .63rem; }

  .section-title { font-size: 1.55rem; }

  .testi-card { min-width: 88vw; }
  .why-feature { gap: 10px; }
  .why-feat-icon { width: 40px; height: 40px; font-size: 1rem; }
  .contact-card { padding: 14px; }
}

/* 400px — Muy pequeño */
@media (max-width: 400px) {
  .hero-title { font-size: 1.65rem; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { font-size: .88rem; padding: 13px 18px; min-height: 48px; }
  .stat-value { font-size: 1.1rem; }
  .cta-sigma { font-size: 48px; }
}
