/* ════════════════════════════════════════
   ramirogarciaec — style.css v1
   Mobile-first · Dark (azul noche + teal)
   ════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

:root {
  /* Paleta */
  --navy:      #0d1b2a;
  --navy-2:    #162336;
  --navy-3:    #1e2f44;
  --navy-4:    #243447;
  --teal:      #2dd4bf;
  --teal-dark: #14b8a6;
  --teal-bg:   rgba(45, 212, 191, 0.08);
  --teal-glow: rgba(45, 212, 191, 0.15);
  --text:      #f0f6fc;
  --text-2:    #94a3b8;
  --text-3:    #64748b;
  --red:       #f87171;
  --green:     #4ade80;
  --border:    rgba(255,255,255,0.08);

  /* Tipografía */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 64px;

  /* Radios */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  /* Sombras */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-btn: 0 2px 12px rgba(45,212,191,0.25);

  color-scheme: dark;
}

/* ── TIPOGRAFÍA BASE ── */
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 600; }

p { color: var(--text-2); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

/* Contraste mínimo WCAG AA sobre navy */
strong { color: var(--text); }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -99px;
  left: 12px;
  background: var(--teal);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.1s;
}
.skip-link:focus { top: 12px; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}
.section--alt {
  background: var(--navy-2);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(45,212,191,0.4);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}
.btn-full { width: 100%; justify-content: center; }
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(13,27,42,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── IMÁGENES REALES ── */
.hero-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.gallery-item { overflow: hidden; border-radius: var(--r-md); }

.gallery-note { color: var(--text-3); font-size: 0.85em; }
.gallery-credit {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-3);
}
.gallery-credit a { color: var(--text-3); }
.gallery-credit a:hover { color: var(--teal); }

/* ── PLACEHOLDERS (a eliminar al poner fotos reales) ── */
.placeholder-img {
  background: var(--navy-3);
  border: 2px dashed var(--navy-4);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-3);
  font-size: 0.85rem;
  min-height: 200px;
  width: 100%;
}
.placeholder-img--hero { min-height: 300px; }
.placeholder-img--portrait { min-height: 350px; }

.sobre-mi-img {
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
}

#foto-tecnico {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-lg);
  display: block;
}

/* ── ANIMACIÓN FADE-IN (IntersectionObserver) ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════════════════
   NAVEGACIÓN
   ════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--teal); text-decoration: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-menu a:hover {
  color: var(--text);
  background: var(--teal-bg);
  text-decoration: none;
}
.nav-menu a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.nav-menu a.active { color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
}
.nav-cta:hover {
  background: var(--teal-dark) !important;
  color: var(--navy) !important;
}
.nav-cuenta {
  border: 1px solid rgba(45,212,191,0.35) !important;
  border-radius: 6px !important;
  color: var(--teal) !important;
  font-size: 0.82rem !important;
  padding: 7px 13px !important;
  transition: background 0.15s, border-color 0.15s !important;
}
.nav-cuenta:hover {
  background: rgba(45,212,191,0.1) !important;
  border-color: var(--teal) !important;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--teal-bg); }
.nav-toggle:focus-visible { outline: 2px solid var(--teal); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ════════════════════════════════════════
   1. HERO — parallax full-width
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1641973240236-250ec59abb1c?w=1600&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.88) 0%,
    rgba(13,27,42,0.65) 60%,
    rgba(13,27,42,0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-bg);
  border: 1px solid rgba(45,212,191,0.2);
  color: var(--teal);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
}
.badge-icon { font-style: normal; }

.hero h1 { margin-bottom: 20px; }
.hero-highlight { color: var(--teal); display: block; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Estadísticas del hero */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════
   PARALLAX DIVIDERS
   ════════════════════════════════════════ */
.parallax-divider {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.parallax-1 {
  background-image: url('https://images.unsplash.com/photo-1501684691657-cf3012635478?w=1600&q=80&auto=format&fit=crop');
}
.parallax-2 {
  background-image: url('https://images.unsplash.com/photo-1658874285867-2bec01fc1ef4?w=1600&q=80&auto=format&fit=crop');
}
.parallax-divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.72);
}
.parallax-divider-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.parallax-quote {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
}
.parallax-quote::before {
  content: '"';
  color: var(--teal);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 4px;
}
.parallax-quote::after {
  content: '"';
  color: var(--teal);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-left: 4px;
}

/* ════════════════════════════════════════
   2. SERVICIOS
   ════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: rgba(45,212,191,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.service-card h3 { margin-bottom: 8px; color: var(--text); }

/* ════════════════════════════════════════
   3. PROCESO
   ════════════════════════════════════════ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0 24px 44px;
  position: relative;
}
.step-num {
  position: absolute;
  left: 0;
  top: 22px;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  z-index: 1;
}
.step-body h3 { margin-bottom: 6px; color: var(--text); }

/* ════════════════════════════════════════
   4. SOBRE MÍ
   ════════════════════════════════════════ */
.sobre-mi-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.sobre-mi-text h2 { margin-bottom: 16px; }
.sobre-mi-text p { margin-bottom: 16px; }

/* Empresas en sobre-mí */
.empresas-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin: 24px 0 12px;
  font-weight: 600;
}
.empresas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.empresas-list li {
  background: var(--teal-bg);
  border: 1px solid rgba(45,212,191,0.2);
  color: var(--teal);
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.benefit-icon {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   5. ZONAS
   ════════════════════════════════════════ */
.zonas-nacional {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.zona-pais {
  background: var(--navy-3);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: var(--r-lg);
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  width: 100%;
}
.zona-pais-icon { font-size: 2.8rem; }
.zona-pais-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}
.zona-pais-sub {
  font-size: 0.9rem;
  color: var(--text-2);
}
.zona-cta-text {
  font-size: 0.95rem;
  color: var(--text-2);
}
.zona-cta-text a { color: var(--teal); font-weight: 600; }

/* ════════════════════════════════════════
   6. GALERÍA
   ════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.gallery-item .placeholder-img {
  min-height: 160px;
  transition: border-color 0.2s;
}
.gallery-item:hover .placeholder-img {
  border-color: rgba(45,212,191,0.4);
}

/* ════════════════════════════════════════
   7. OPINIONES
   ════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  gap: 16px;
}

.review-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.review-stars {
  color: #facc15;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-card blockquote p {
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 16px;
}
.review-card footer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
.review-location {
  color: var(--text-3);
  font-size: 0.82rem;
}
.review-location::before { content: '· '; }

/* ════════════════════════════════════════
   8. FAQ
   ════════════════════════════════════════ */
.faq-container { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-2);
}
.faq-item + .faq-item { margin-top: 6px; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s;
}
.faq-trigger:hover { background: var(--teal-bg); }
.faq-trigger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
.faq-trigger[aria-expanded="true"] { color: var(--teal); }

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-3);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, transform 0.25s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-3);
  border-radius: 2px;
  transition: background 0.2s;
}
.faq-icon::before {
  width: 8px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 8px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s, background 0.2s;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  border-color: var(--teal);
}
.faq-trigger[aria-expanded="true"] .faq-icon::before,
.faq-trigger[aria-expanded="true"] .faq-icon::after {
  background: var(--teal);
}
.faq-trigger[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-panel {
  padding: 0 24px 20px;
}
.faq-panel p { font-size: 0.95rem; }

/* ════════════════════════════════════════
   9. CONTACTO
   ════════════════════════════════════════ */
.contacto-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.contacto-info h2 { margin-bottom: 12px; }
.contacto-info > p { margin-bottom: 28px; }

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-data li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.contact-icon { font-size: 1.1rem; flex-shrink: 0; }
.contact-data a { color: var(--text); font-weight: 500; }
.contact-data a:hover { color: var(--teal); }

/* Formulario */
.presupuesto-form {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Honeypot — oculto visualmente, accesible para lectores de pantalla */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--teal); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-2);
  border: 1.5px solid var(--navy-4);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-legal {
  font-size: 0.78rem;
  color: var(--text-3);
}
.link-subtle { color: var(--text-3); text-decoration: underline; }
.link-subtle:hover { color: var(--teal); }

.form-status {
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.ok {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--green);
}
.form-status.error {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  color: var(--red);
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-inner p { color: var(--text-2); font-size: 0.88rem; }
.footer-inner a { color: var(--text-2); }
.footer-inner a:hover { color: var(--teal); }
.footer-copy { color: var(--text-3) !important; font-size: 0.8rem !important; }

/* ════════════════════════════════════════
   BOTÓN FLOTANTE WhatsApp
   ════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 50;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  text-decoration: none;
}
.whatsapp-fab:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 4px;
}

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≥ 640px)
   ════════════════════════════════════════ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-ctas { flex-wrap: nowrap; }
}

/* ════════════════════════════════════════
   RESPONSIVE — DESKTOP (≥ 900px)
   ════════════════════════════════════════ */
@media (min-width: 900px) {
  /* Nav desktop */
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; position: static; }

  /* Hero en dos columnas */
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text { padding-right: 24px; }
  .hero-img { min-height: 400px; }
  .gallery-img { height: 240px; }

  /* Servicios 3 col */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Proceso en 2 col */
  .process-steps { display: grid; grid-template-columns: 1fr 1fr; padding-left: 0; }
  .process-steps::before { display: none; }
  .step { padding-left: 60px; }
  .step-num { left: 0; }

  /* Sobre mí */
  .sobre-mi-grid { grid-template-columns: 1fr 2fr; }

  /* Reviews 3 col */
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr 1.4fr; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE MENÚ
   ════════════════════════════════════════ */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(13,27,42,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
    display: block;
  }
  .nav-cta { margin-top: 8px; text-align: center !important; }

  /* Hamburger → X cuando abierto */
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* iOS no soporta background-attachment:fixed — fallback a scroll */
  .hero,
  .parallax-divider { background-attachment: scroll; }

  .hero { min-height: auto; padding: 100px 0 56px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.6rem; }
  .parallax-divider { height: 180px; }
  .process-steps { display: flex; }
  .presupuesto-form { padding: 20px 16px; }
}

/* ════════════════════════════════════════
   LIGHTBOX galería
   ════════════════════════════════════════ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  cursor: default;
  user-select: none;
}
#lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
}
#lightbox-close:hover { opacity: 1; }
.gallery-item img { cursor: zoom-in; }
