/* ============================================================
   Magic Moment's — Fotografía Profesional
   styles.css — Hoja de estilos principal
   ============================================================

   FUENTES UTILIZADAS:
   ─────────────────────────────────────────────────────────────
   1. Cormorant Garamond (Google Fonts)
      → Familia: serif clásica de alta legibilidad
      → Pesos usados: 300 (light), 400 (regular), 600 (semibold)
      → Variantes: normal e itálica
      → Uso: Títulos hero, nombres de sección, perfil, testimonios,
             nombres de servicio, títulos del formulario
      → Variable CSS: --serif

   2. Outfit (Google Fonts)
      → Familia: sans-serif moderna y geométrica
      → Pesos usados: 300 (light), 400 (regular), 500 (medium), 600 (semibold)
      → Uso: Navegación, labels, botones, cuerpo de texto, formulario,
             badges, filtros, pie de página, etiquetas uppercase
      → Variable CSS: --sans

   Fuentes de respaldo (fallback):
      → Georgia, serif  (para --serif si Google Fonts no carga)
      → sans-serif      (para --sans  si Google Fonts no carga)
   ============================================================ */

/* ── RESET & VARIABLES ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --card:       #161616;
  --border:     #2a2a2a;
  --gold:       #c9a96e;
  --gold-light: #e8c99a;
  --white:      #f5f0eb;
  --muted:      #888880;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

/* Texto accesible para lectores de pantalla / SEO, oculto visualmente */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── PROTECCIÓN DE MATERIAL FOTOGRÁFICO ─────────────────────────
   Disuade la copia/descarga casual: evita selección, arrastre,
   menú contextual táctil y muestra un aviso si se intenta guardar.
   Nota: ningún método del lado del cliente es 100% infalible;
   esto solo eleva la fricción para un usuario promedio. ────────── */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none; /* evita el menú "Guardar imagen" en iOS */
  pointer-events: auto;
}
.gallery-item img,
.cat-modal-item img,
.service-img,
.lightbox-img-wrap img {
  -webkit-filter: contrast(100%); /* fuerza una capa de composición propia,
                                      dificulta ciertos plugins de descarga masiva */
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── CURSOR (solo desktop) ──────────────────────────────────── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
}

/* ── NAVEGACIÓN ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(10,10,10,0.97);
  padding: 16px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300;
  letter-spacing: 0.08em; color: var(--white); text-decoration: none;
}
.nav-logo img { display: block; height: 100px; width: auto; max-width: 300px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s; font-weight: 400;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 10px 24px; text-decoration: none; transition: all 0.3s; font-weight: 400;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 1px; background: var(--white); transition: all 0.3s; display: block; }

/* ── MENÚ MÓVIL ─────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(10,10,10,0.99);
  z-index: 200; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2rem; color: var(--white);
  text-decoration: none; transition: color 0.3s; font-weight: 300;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer; padding: 8px;
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1208 50%, #0a0a0a 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,169,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,169,110,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; max-width: 900px; padding: 0 24px;
}
.hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s ease 0.3s forwards;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--white); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s ease 0.6s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(0.85rem, 2vw, 1rem); color: var(--white);
  line-height: 1.8; max-width: 520px;
  margin: 0 auto 48px; font-weight: 300;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
  opacity: 0; animation: fadeUp 1s ease 0.9s forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s ease 1.2s forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 0; right: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s ease 1.5s forwards;
  pointer-events: none;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── HERO CARRUSEL ──────────────────────────────────────────── */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease-in-out;
  transform: scale(1.05); animation: none;
}
.hero-slide.active { opacity: 1; animation: heroZoom 8s ease-in-out forwards; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.65) 100%),
    linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 60%);
}
.hero-dots {
  position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 28px; height: 2px; background: rgba(255,255,255,0.3);
  cursor: pointer; transition: background 0.4s, width 0.4s;
}
.hero-dot.active { background: var(--gold); width: 48px; }

/* ── BOTONES GLOBALES ───────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--black);
  padding: 14px 36px; text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; transition: all 0.3s; font-family: var(--sans);
  border: 1px solid var(--gold); display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline {
  border: 1px solid var(--border); color: var(--white);
  padding: 14px 36px; text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 400; transition: all 0.3s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECCIONES (COMUNES) ────────────────────────────────────── */
section { padding: 100px 48px; }
.section-label {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-desc {
  font-size: 0.95rem; color: var(--muted); line-height: 1.9;
  max-width: 520px; margin-top: 20px; font-weight: 300;
}
.divider { width: 60px; height: 1px; background: var(--gold); margin: 32px 0; }

/* ── SERVICIOS ──────────────────────────────────────────────── */
#servicios { background: var(--dark); }
.services-header { text-align: center; max-width: 700px; margin: 0 auto 80px; }
.services-header .section-desc { margin: 20px auto 0; }
.services-header .divider { margin: 32px auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px; max-width: 1400px; margin: 0 auto;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--card); aspect-ratio: 3/4; cursor: pointer;
}
.service-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease, filter 0.5s;
  filter: brightness(0.55) saturate(0.8);
}
.service-card:hover .service-img { transform: scale(1.07); filter: brightness(0.3) saturate(0.6); }
.service-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 55%);
  transition: background 0.5s;
}
.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%);
}
.service-num {
  font-family: var(--serif); font-size: 0.85rem; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: 8px;
}
.service-name {
  font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 300;
  color: var(--white); line-height: 1.15; margin-bottom: 12px;
}
.service-desc {
  font-size: 0.8rem; color: rgba(245,240,235,0.65);
  line-height: 1.7; font-weight: 300;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease; opacity: 0;
}
.service-card:hover .service-desc { max-height: 120px; opacity: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-top: 16px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0; text-decoration: none;
}
.service-card:hover .service-link { max-height: 40px; opacity: 1; }
.service-link::after { content: '→'; font-size: 1rem; transition: transform 0.3s; }
.service-link:hover::after { transform: translateX(4px); }

/* Placeholders de color */
.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); position: absolute; top: 0;
}
.ph-corporate { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.ph-wedding   { background: linear-gradient(135deg, #2d1b1b, #4a2020, #2d1b1b); }
.ph-birthday  { background: linear-gradient(135deg, #1a2d1a, #203a20, #1a2d1a); }
.ph-food      { background: linear-gradient(135deg, #2d2010, #3d2e12, #2d2010); }
.ph-product   { background: linear-gradient(135deg, #1a1a1a, #2a2a2a, #1a1a1a); }

/* ── GALERÍA PREVIEW ────────────────────────────────────────── */
#galeria { background: var(--black); }
.gallery-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: 1400px; margin: 0 auto 40px; flex-wrap: wrap; gap: 20px;
}
.gallery-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  max-width: 1400px; margin: 0 auto 40px;
}
.filter-btn {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--muted);
  padding: 9px 20px; background: none; cursor: pointer;
  transition: all 0.3s; font-family: var(--sans);
  -webkit-tap-highlight-color: transparent;
}
.filter-btn:hover  { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--black); }

.gallery-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item.hidden { display: none; }
.gallery-item img {
  width: 100%; height: 300px; object-fit: cover; display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.75) saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.3) saturate(0.7); }
.gallery-item-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-zoom {
  width: 52px; height: 52px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.3rem;
  transform: scale(0.6) translateY(10px);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.gallery-item:hover .gallery-zoom { transform: scale(1) translateY(0); }
.gallery-item-label {
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,240,235,0.85);
  transform: translateY(8px); opacity: 0;
  transition: transform 0.35s ease 0.05s, opacity 0.35s ease 0.05s;
}
.gallery-item:hover .gallery-item-label { transform: translateY(0); opacity: 1; }
.gallery-cat-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 40px 16px 14px;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-family: var(--sans); transition: opacity 0.35s;
}
.gallery-item:hover .gallery-cat-badge { opacity: 0; }

/* ── MODAL GALERÍA POR CATEGORÍA ────────────────────────────── */
.cat-modal {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5,5,5,0.98);
  display: none; flex-direction: column; overflow-y: auto;
}
.cat-modal.open { display: flex; }
.cat-modal-inner { max-width: 1400px; width: 100%; margin: 0 auto; padding: 56px 48px 80px; }
.cat-modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 44px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(5,5,5,0.96);
  padding-top: 56px; z-index: 10; margin-top: -56px;
}
.cat-modal-label {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 8px;
}
.cat-modal-title {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 300; color: var(--white);
}
.cat-modal-close {
  background: none; border: 1px solid var(--border);
  color: var(--muted); font-size: 1.1rem; cursor: pointer;
  width: 44px; height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; margin-top: 4px;
  -webkit-tap-highlight-color: transparent;
}
.cat-modal-close:hover { border-color: var(--gold); color: var(--gold); }
.cat-modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.cat-modal-item { position: relative; overflow: hidden; cursor: pointer; }
.cat-modal-item img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.4s; filter: brightness(0.85);
}
.cat-modal-item:hover img { transform: scale(1.05); filter: brightness(0.4); }
.cat-modal-item-overlay {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s;
}
.cat-modal-item:hover .cat-modal-item-overlay { opacity: 1; }
.cat-modal-zoom {
  width: 48px; height: 48px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem;
  transform: scale(0.7); transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.cat-modal-item:hover .cat-modal-zoom { transform: scale(1); }

/* ── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.97);
  z-index: 1000; display: none; align-items: center;
  justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 1.4rem; color: var(--muted); cursor: pointer;
  transition: color 0.3s; background: none; border: none;
  font-family: var(--sans); line-height: 1; padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-counter {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.65rem; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase;
}
.lightbox-caption {
  position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.25em; color: var(--muted);
  text-transform: uppercase; white-space: nowrap;
}
.lightbox-img-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 56px 70px 90px;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block; transition: opacity 0.25s ease;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.1rem; cursor: pointer;
  background: rgba(10,10,10,0.6); transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-thumbs {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px;
  padding: 10px 16px; background: rgba(0,0,0,0.75); overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lightbox-thumb {
  width: 52px; height: 38px; object-fit: cover; cursor: pointer;
  opacity: 0.35; transition: opacity 0.3s; flex-shrink: 0;
  border: 1px solid transparent;
}
.lightbox-thumb.active { opacity: 1; border-color: var(--gold); }

/* ── PERFIL ─────────────────────────────────────────────────── */
#perfil { background: var(--dark); }
.profile-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.profile-img-wrap { position: relative; }
.profile-img-frame { position: relative; aspect-ratio: 3/4; overflow: hidden; max-width: 400px; margin: 0 auto; }
.profile-img-frame::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  z-index: 1; opacity: 0.4;
}
.profile-img-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; display: block;
  position: relative; z-index: 0; filter: grayscale(20%) brightness(0.85);
}
.profile-deco {
  position: absolute; bottom: -20px; right: -20px;
  width: 100px; height: 100px; border: 1px solid rgba(201,169,110,0.25); z-index: -1;
}
.profile-deco2 {
  position: absolute; top: -20px; left: -20px;
  width: 70px; height: 70px; border: 1px solid rgba(201,169,110,0.15); z-index: -1;
}
.profile-badge {
  position: absolute; bottom: 32px; left: -28px;
  background: var(--gold); color: var(--black); padding: 14px 20px; z-index: 10;
}
.profile-badge .years {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; display: block;
}
.profile-badge .years-label {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; display: block;
}
.profile-name {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.1; color: var(--white); margin-bottom: 6px;
}
.profile-name em { font-style: italic; color: var(--gold-light); }
.profile-role {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.profile-bio {
  font-size: 0.93rem; color: var(--muted); line-height: 1.9; font-weight: 300; margin-bottom: 32px;
}
.profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 40px;
  border-top: 1px solid var(--border); padding-top: 36px;
}
.stat-num { font-family: var(--serif); font-size: 2rem; color: var(--gold); font-weight: 300; display: block; line-height: 1; }
.stat-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: block; }
.profile-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.skill-tag {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--muted); padding: 6px 14px; transition: all 0.3s;
}
.skill-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ── TESTIMONIOS ────────────────────────────────────────────── */
#testimonios { background: var(--black); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { margin-bottom: 56px; }
.testimonials-carousel {
  display: flex; align-items: center; gap: 24px;
  max-width: 860px; margin: 0 auto;
}
.testimonials-track-wrap { overflow: hidden; width: 100%; }
.testimonials-track { display: flex; transition: transform 0.5s cubic-bezier(.65,0,.35,1); }
.testimonial {
  flex: 0 0 100%; width: 100%; box-sizing: border-box;
  background: var(--card); padding: 48px 56px;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.testimonial:hover { background: #1c1c1c; }
.testimonial::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-family: var(--serif); font-size: 7rem;
  color: rgba(201,169,110,0.07); line-height: 1;
}
.testimonial-text {
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: rgba(245,240,235,0.8); line-height: 1.75; margin-bottom: 32px; font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 18px; }
.author-avatar {
  width: 76px; height: 76px; border-radius: 50%; background: var(--border);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold); border: 2px solid var(--gold); flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-name  { font-size: 0.95rem; font-weight: 500; color: var(--white); display: block; }
.author-role  { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-top: 4px; }
.stars        { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 20px; }
.testimonial-nav {
  background: none; border: 1px solid var(--border); color: var(--muted);
  width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.testimonial-nav:hover { border-color: var(--gold); color: var(--gold); }
.testimonial-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 36px;
}
.testimonial-dot {
  width: 28px; height: 2px; background: rgba(255,255,255,0.3);
  cursor: pointer; transition: background 0.4s, width 0.4s;
}
.testimonial-dot.active { background: var(--gold); width: 48px; }

/* ── CONTACTO ───────────────────────────────────────────────── */
#contacto { background: var(--dark); }
.contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-channels { margin-top: 44px; display: flex; flex-direction: column; gap: 20px; }
.contact-channel {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px 24px; border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.contact-channel:hover { border-color: var(--gold); background: rgba(201,169,110,0.03); }
.channel-icon {
  width: 44px; height: 44px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.channel-label { font-size: 0.63rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.channel-value { font-size: 0.92rem; color: var(--white); font-weight: 400; display: block; }
.social-links { display: flex; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem; text-decoration: none; transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── FORMULARIO ─────────────────────────────────────────────── */
.form-title { font-family: var(--serif); font-size: 1.7rem; color: var(--white); font-weight: 300; margin-bottom: 32px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.63rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--black); border: 1px solid var(--border);
  color: var(--white); padding: 13px 16px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 300;
  outline: none; transition: border-color 0.3s; appearance: none;
  -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--dark); }
.form-submit {
  width: 100%; background: var(--gold); border: none;
  color: var(--black); padding: 16px;
  font-family: var(--sans); font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 500; cursor: pointer; transition: all 0.3s; margin-top: 8px;
  -webkit-tap-highlight-color: transparent;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .check {
  width: 60px; height: 60px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold); margin: 0 auto 20px;
}
.form-success p { color: var(--muted); font-size: 0.9rem; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer { background: #080808; padding: 60px 48px 36px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 56px;
}
.footer-brand .nav-logo { display: block; margin-bottom: 20px; }
.footer-brand .nav-logo img { height: 100px; width: auto; }
.footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.8; max-width: 260px; }
.footer-col h4 { font-size: 0.63rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); padding-top: 28px;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(136,136,128,0.6); }
.footer-note { font-size: 0.68rem; color: var(--border); }

/* ── ANIMACIONES ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.2; }
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0);  }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — Mobile First
   ============================================================ */

/* ── TABLET GRANDE (≤ 1200px) ───────────────────────────────── */
@media (max-width: 1200px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .profile-inner  { gap: 60px; }
  .contact-inner  { gap: 60px; }
  .testimonials-carousel { max-width: 100%; }
  .testimonial { padding: 40px 44px; }
}

/* ── TABLET (≤ 1024px) ──────────────────────────────────────── */
@media (max-width: 1024px) {
  section { padding: 80px 36px; }
  .profile-inner  { grid-template-columns: 1fr; gap: 60px; }
  .contact-inner  { grid-template-columns: 1fr; gap: 56px; }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 260px; }
  .cat-modal-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-modal-item img { height: 240px; }
  .profile-badge  { left: 0; }
  .profile-img-frame { margin: 0 auto; }
  nav { padding: 20px 36px; }
  nav.scrolled { padding: 14px 36px; }
  .nav-logo img { height: 80px; }
}

/* ── MÓVIL GRANDE (≤ 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Ocultar cursor personalizado en touch */
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }

  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 64px; }

  section { padding: 72px 20px; }

  /* Hero */
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-sub   { font-size: 0.9rem; margin-bottom: 36px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; max-width: 280px; text-align: center; padding: 14px 20px; }
  .hero-scroll { bottom: 28px; }
  .hero-dots  { bottom: 72px; }

  /* Servicios */
  .services-header { margin-bottom: 48px; }
  .services-grid   { grid-template-columns: 1fr 1fr; gap: 3px; }
  .service-card    { aspect-ratio: 4/5; }
  .service-name    { font-size: 1.2rem; }
  /* En móvil mostrar descripción y link siempre visibles */
  .service-desc    { max-height: 80px; opacity: 1; font-size: 0.75rem; }
  .service-link    { max-height: 40px; opacity: 1; }
  .service-overlay { padding: 20px 16px; }

  /* Galería */
  .gallery-header  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-filters { gap: 6px; }
  .filter-btn      { padding: 8px 14px; font-size: 0.6rem; }
  .gallery-grid    { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .gallery-item img { height: 200px; }
  /* Mostrar badge siempre en móvil */
  .gallery-cat-badge { opacity: 1 !important; font-size: 0.6rem; padding: 30px 12px 12px; }

  /* Modal categoría */
  .cat-modal-inner  { padding: 24px 16px 60px; }
  .cat-modal-grid   { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .cat-modal-item img { height: 180px; }
  .cat-modal-header { padding-top: 24px; margin-top: 0; margin-bottom: 28px; }

  /* Lightbox */
  .lightbox-img-wrap { padding: 48px 50px 80px; }
  .lightbox-nav.prev { left: 4px; }
  .lightbox-nav.next { right: 4px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-caption { font-size: 0.6rem; bottom: 58px; }

  /* Perfil */
  .profile-badge   { left: 0; bottom: 20px; }
  .profile-stats   { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-num        { font-size: 1.7rem; }

  /* Testimonios */
  .testimonials-carousel { gap: 10px; }
  .testimonial      { padding: 32px 24px; }
  .testimonial-text { font-size: 1.05rem; }
  .testimonial-nav  { width: 38px; height: 38px; min-width: 38px; font-size: 0.95rem; }
  .author-avatar    { width: 60px; height: 60px; }

  /* Contacto */
  .contact-inner   { gap: 48px; }

  /* Formulario */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 48px 20px 28px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-note   { display: none; }
}

/* ── MÓVIL PEQUEÑO (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
  section { padding: 60px 16px; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-eyebrow { font-size: 0.6rem; letter-spacing: 0.25em; }
  .hero-dots  { gap: 7px; }
  .hero-dot   { width: 20px; }
  .hero-dot.active { width: 34px; }

  /* Servicios en columna única */
  .services-grid { grid-template-columns: 1fr; }
  .service-card  { aspect-ratio: 16/9; }
  .service-name  { font-size: 1.4rem; }

  /* Galería en columna única */
  .gallery-grid  { grid-template-columns: 1fr; }
  .gallery-item img { height: 240px; }

  /* Modal en columna única */
  .cat-modal-grid { grid-template-columns: 1fr; }
  .cat-modal-item img { height: 220px; }
  .cat-modal-inner { padding: 16px 12px 60px; }

  /* Lightbox simplificado */
  .lightbox-img-wrap { padding: 44px 10px 80px; }
  .lightbox-thumbs   { gap: 4px; padding: 8px; }
  .lightbox-thumb    { width: 42px; height: 30px; }
  .lightbox-counter  { font-size: 0.6rem; }

  /* Perfil */
  .profile-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-num      { font-size: 1.4rem; }
  .stat-label    { font-size: 0.6rem; }

  /* Testimonios: solo swipe + puntos, sin flechas laterales */
  .testimonial-nav   { display: none; }
  .testimonial       { padding: 28px 20px; }
  .testimonial-text  { font-size: 1rem; }
  .author-avatar     { width: 52px; height: 52px; }

  /* Botones */
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 0.7rem; }

  /* Formulario */
  .form-title { font-size: 1.4rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; } /* evita zoom en iOS */

  /* Footer */
  .footer-brand .nav-logo img { height: 72px; }
}

/* ── MÓVIL MUY PEQUEÑO (≤ 360px) ───────────────────────────── */
@media (max-width: 360px) {
  .hero-title    { font-size: 1.9rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .filter-btn    { padding: 7px 10px; font-size: 0.58rem; }
}
