/* ═══════════════════════════════════════════════
   JNConcept — Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --gold:      #B8732A;
  --gold-lt:   #D4924A;
  --gold-dim:  rgba(184,115,42,.08);
  --dark:      #0A0A0A;
  --dark2:     #111111;
  --dark3:     #191919;
  --dark4:     #222222;
  --text:      #F0EDE8;
  --muted:     #7A7570;
  --border:    rgba(184,115,42,.18);
  --border-hi: rgba(184,115,42,.40);
  --radius:    14px;
  --radius-sm: 8px;
  --trans:     0.32s cubic-bezier(.4,0,.2,1);
  --shadow-gold: 0 0 30px rgba(184,115,42,.20);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
  background: var(--dark);
}

/* Barra de progreso de scroll - oculta */
#scroll-progress { display: none; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
}

/* ── Snap container principal ── */
#snap-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

/* ── Snap por sección ── */
.hero,
.services,
.about,
.process,
.gallery,
.testimonials,
.contact {
  scroll-snap-align: start;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  scroll-margin-top: 0;
}

/* Compensar navbar fijo en secciones que no son hero */
.services,
.about,
.process,
.gallery,
.testimonials,
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
}

/* ── Typography ─────────────────────────── */
h1,h2,h3 { font-family: 'Oswald', sans-serif; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; }

span.gold, .section-title span, .hero-title span { color: var(--gold); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .73rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.22);
  padding: .3rem .9rem; border-radius: 50px; margin-bottom: .9rem;
}
.section-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.section-title { margin-bottom: 1rem; }
.section-desc   { color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

.section-header { text-align: center; margin-bottom: 4rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ── Buttons ────────────────────────── */
.btn-primary {
  display: inline-block; padding: .9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #fff; font-weight: 800;
  border-radius: 50px; text-decoration: none;
  transition: var(--trans); cursor: pointer; border: none;
  font-size: 1rem; font-family: 'Inter', sans-serif;
  letter-spacing: .03em;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.15));
  opacity: 0; transition: var(--trans);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(184,115,42,.45); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary.full-width { width: 100%; text-align: center; border-radius: var(--radius); }

.btn-ghost {
  display: inline-block; padding: .9rem 2.2rem;
  border: 1.5px solid rgba(201,168,76,.35); color: var(--text);
  border-radius: 50px; text-decoration: none;
  transition: var(--trans); font-weight: 500;
  backdrop-filter: blur(4px);
  background: rgba(201,168,76,.04);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); transform: translateY(-2px); }

/* ── Reveal Animation ───────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1rem 0; transition: var(--trans);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.navbar.scrolled {
  padding: .75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
}
.nav-container {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-center {
  display: flex; flex-direction: row; align-items: center; gap: 1.6rem;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 32px; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201,168,76,.25));
  transition: var(--trans);
}
.logo-img:hover { filter: drop-shadow(0 0 14px rgba(201,168,76,.55)); }
.nav-links {
  display: flex; gap: 1.8rem; list-style: none;
  justify-content: center;
}
.nav-links a { color: #111; text-decoration: none; font-size: .88rem; font-weight: 500; transition: var(--trans); }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  justify-self: end;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #fff !important; font-weight: 800 !important;
  padding: .5rem 1.3rem; border-radius: 50px;
  text-decoration: none; font-size: .9rem;
  transition: var(--trans); white-space: nowrap;
}
.nav-cta:hover { opacity: .88; transform: translateY(-2px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); display: block; transition: var(--trans); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative;
  background: transparent;  /* deja pasar el portada.jpeg fixed */
  isolation: isolate;       /* nuevo contexto de apilamiento */
}

/* Imagen de portada con efecto parallax y carrusel de transición */
.hero-bg {
  position: fixed;          /* fixed = parallax real */
  inset: 0;
  z-index: -1;              /* detrás de todo el contenido */
  overflow: hidden;
  will-change: transform;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease-in-out, transform 8s ease-out;
  transform: scale(1.06);   /* efecto de zoom sutil */
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide.prev-active {
  z-index: 0;               /* mantiene el slide anterior debajo */
}

/* Overlay oscuro para que el texto sea legible */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,.35) 50%,
      rgba(10,10,10,.85) 100%
    );
  pointer-events: none;
}
.hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 70%);
  top: -150px; right: -150px; pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
  bottom: -100px; left: 10%; pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlow {
  0%   { transform: scale(1) translate(0,0); opacity: .7; }
  100% { transform: scale(1.12) translate(20px,-20px); opacity: 1; }
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 2rem 5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hero-content {
  flex: 1;
  min-width: 0;
}
.hero-logo-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  height: 560px; width: auto;
  filter: drop-shadow(0 4px 32px rgba(0,0,0,.75)) brightness(0) invert(1);
  object-fit: contain;
  opacity: 0.82; /* Soften the pure white logo to prevent over-intensity */
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  background: rgba(0,0,0,.55); border: 1px solid rgba(201,168,76,.45);
  padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1.3rem;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title {
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.7), 0 4px 40px rgba(0,0,0,.5);
}
.hero-subtitle {
  color: rgba(255,255,255,.92); font-size: 1.1rem; max-width: 540px;
  margin-bottom: 2.5rem; line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 2px 20px rgba(0,0,0,.7);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-stats {
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgba(0,0,0,.5); border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius); backdrop-filter: blur(12px);
  width: fit-content;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.4rem; font-weight: 900; color: var(--gold);
  font-family: 'Oswald', sans-serif;
  text-shadow: 0 0 20px rgba(201,168,76,.5);
}
.stat-label { display: block; font-size: .77rem; color: rgba(255,255,255,.8); margin-top: .15rem; letter-spacing: .04em; }
.stat-divider { width: 1px; height: 44px; background: rgba(201,168,76,.3); }

.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .12em;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services { padding: 3.5rem 0 4rem; background: var(--dark); position: relative; z-index: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .services {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .services .section-header {
    margin-bottom: 1.2rem;
  }
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 2rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  .service-card {
    flex: 0 0 82%;
    max-width: 290px;
    scroll-snap-align: center;
    padding: 1.2rem 1.1rem;
    height: auto;
    min-height: 280px;
    flex-shrink: 0;
  }
}
.service-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.2rem;
  transition: var(--trans); position: relative; overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,.04), transparent);
  opacity: 0; transition: var(--trans);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-cta { letter-spacing: .05em; }
.service-card.featured { border-color: var(--gold); }

.service-badge {
  display: inline-block; background: var(--gold); color: #000;
  font-size: .7rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: 20px; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em;
}
.service-icon { display: none; }
.service-card h3 { margin-bottom: .5rem; font-size: 1rem; color: #fff; }
.service-card p { color: var(--muted); font-size: .84rem; margin-bottom: .8rem; }
.service-list { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.service-list li { color: var(--muted); font-size: .9rem; padding-left: 1.2rem; position: relative; }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.service-cta { color: var(--gold); font-weight: 600; text-decoration: none; font-size: .9rem; transition: var(--trans); margin-top: auto; }
.service-cta:hover { letter-spacing: .05em; }
.service-materials {
  font-size: .82rem; color: var(--muted);
  background: rgba(201,168,76,.07); border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-sm); padding: .55rem .8rem;
  margin-bottom: 1rem; line-height: 1.5;
}
.service-materials strong { color: var(--gold-lt); }

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: 7rem 0;
  background: transparent;
  position: relative; z-index: 1;
}
.about::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.about .container { position: relative; z-index: 1; }
/* Textos más claros sobre la imagen de fondo */
.about .about-desc,
.about .trust-item p,
.about .section-eyebrow { color: rgba(255,255,255,.80); }
.about .trust-item strong,
.about .section-title { color: #fff; }
.about .section-title span { color: var(--gold); }
.about-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.about-header .about-desc { margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.about-visual { position: relative; }
.about-badge-float {
  position: absolute; bottom: -1.2rem; right: -1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #000; font-weight: 700;
  padding: .75rem 1.3rem; border-radius: var(--radius);
  font-size: .9rem; letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.about-badge-guarantee {
  top: -1rem; left: -1rem; bottom: auto; right: auto;
  background: var(--dark3);
  border: 1px solid var(--border-hi);
  color: var(--text);
  box-shadow: var(--shadow-gold);
  font-size: .85rem;
}

.about-img-real {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; border: 1px solid var(--border);
}
.about-img-real img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.about-img-real:hover img { transform: scale(1.04); }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.45) 0%, transparent 60%);
  pointer-events: none;
}

.about-desc { color: var(--muted); margin-bottom: 2rem; line-height: 1.75; }
.trust-items { display: flex; flex-direction: column; gap: .85rem; }
.trust-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: .9rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: var(--trans);
}
.trust-item:hover { background: rgba(201,168,76,.04); border-color: var(--border); }
.trust-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.trust-item strong { display: block; margin-bottom: .2rem; font-size: .97rem; }
.trust-item p { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* ════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════ */
.gallery {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100%;
  padding-top: 0 !important;
  display: block !important;
  overflow: hidden;
}

/* Filtros (mantenidos si se usan, de lo contrario limpios) */
.gallery-filters {
  display: flex; gap: .75rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.filter-btn {
  padding: .55rem 1.4rem; border-radius: 50px;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--muted); font-size: .88rem; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: var(--trans); font-weight: 500;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--gold); border-color: var(--gold);
  color: #000; font-weight: 700;
}

/* Grid original (mantenido por compatibilidad si es necesario) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
  background: var(--dark3);
}
.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s ease;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff; font-size: .9rem; font-weight: 600;
  letter-spacing: .04em;
}
.gallery-item.hidden {
  opacity: 0; transform: scale(.92);
  pointer-events: none; transition: opacity .35s ease, transform .35s ease;
}
.gallery-item.show {
  opacity: 1; transform: scale(1);
  pointer-events: auto; transition: opacity .4s ease, transform .4s ease;
}

/* ── Contenedor de Cabecera Flotante ── */
.gallery-header-container {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.gallery .section-header {
  text-align: center;
  margin-bottom: 0;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 1.2rem 2.2rem;
  border-radius: var(--radius);
  max-width: 650px;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.gallery .section-header .section-eyebrow {
  margin-bottom: 0.6rem;
}
.gallery .section-header .section-title {
  margin-bottom: 0.5rem;
}
.gallery .section-header .section-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

/* ── Contenedor de Botón Flotante ── */
.gallery-cta-container {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: auto;
}
.gallery-cta {
  text-align: center;
  margin-top: 0;
}

/* ── Carrusel a Pantalla Completa ── */
.pcarousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  --car-h: 100vh;
  background: var(--dark);
  box-shadow: none;
}
.pcar-track {
  display: flex;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  height: 100%;
  border-radius: 0;
}
.pcar-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}
.pcar-slide::after {
  display: none !important; /* Desactivar gradiente original para ver libremente las fotos */
}

/* ── Estructura de Rompecabezas (Puzzle Grid) ── */
.puzzle-grid {
  display: grid;
  width: 100%;
  height: 100%;
  background: var(--dark);
  padding: 0;
  gap: 8px;
}
.puzzle-item {
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}
.puzzle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.puzzle-item:hover img {
  transform: scale(1.04);
}

/* DISEÑO SIMPLE (Menos de 3 fotos) */
.puzzle-layout-simple {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.puzzle-layout-simple .puzzle-item-1 {
  grid-column: 1;
  grid-row: 1;
}
.puzzle-layout-simple .puzzle-item-2 {
  grid-column: 2;
  grid-row: 1;
}

/* DISEÑO A (Foto grande izquierda, 4 pequeñas derecha) */
.puzzle-layout-a {
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.puzzle-layout-a .puzzle-item-1 {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.puzzle-layout-a .puzzle-item-2 {
  grid-column: 2;
  grid-row: 1;
}
.puzzle-layout-a .puzzle-item-3 {
  grid-column: 2;
  grid-row: 2;
}
.puzzle-layout-a .puzzle-item-4 {
  grid-column: 3;
  grid-row: 1;
}
.puzzle-layout-a .puzzle-item-5 {
  grid-column: 3;
  grid-row: 2;
}

/* DISEÑO B (Foto grande izquierda, foto grande centro, 2 apiladas derecha) */
.puzzle-layout-b {
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.puzzle-layout-b .puzzle-item-1 {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.puzzle-layout-b .puzzle-item-2 {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.puzzle-layout-b .puzzle-item-3 {
  grid-column: 3;
  grid-row: 1;
}
.puzzle-layout-b .puzzle-item-4 {
  grid-column: 3;
  grid-row: 2;
}

/* DISEÑO C (2 apiladas izquierda, foto grande centro, foto grande derecha) */
.puzzle-layout-c {
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.puzzle-layout-c .puzzle-item-1 {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.puzzle-layout-c .puzzle-item-2 {
  grid-column: 1;
  grid-row: 1;
}
.puzzle-layout-c .puzzle-item-3 {
  grid-column: 1;
  grid-row: 2;
}
.puzzle-layout-c .puzzle-item-4 {
  grid-column: 3;
  grid-row: 1 / span 2;
}

/* DISEÑO D (3 Columnas Verticales) */
.puzzle-layout-d {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
}
.puzzle-layout-d .puzzle-item-1 {
  grid-column: 1;
  grid-row: 1;
}
.puzzle-layout-d .puzzle-item-2 {
  grid-column: 2;
  grid-row: 1;
}
.puzzle-layout-d .puzzle-item-3 {
  grid-column: 3;
  grid-row: 1;
}

/* DISEÑO E (Foto grande 2x2 izquierda, 4 pequeñas derecha) */
.puzzle-layout-e {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
}
.puzzle-layout-e .puzzle-item-1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
.puzzle-layout-e .puzzle-item-2 {
  grid-column: 3;
  grid-row: 1;
}
.puzzle-layout-e .puzzle-item-3 {
  grid-column: 3;
  grid-row: 2;
}
.puzzle-layout-e .puzzle-item-4 {
  grid-column: 4;
  grid-row: 1;
}
.puzzle-layout-e .puzzle-item-5 {
  grid-column: 4;
  grid-row: 2;
}

/* ── Información de Proyecto Flotante (Glassmorphism) ── */
.pcar-info {
  position: absolute;
  bottom: 110px;
  left: 40px;
  right: auto;
  z-index: 50;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  max-width: 290px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: auto;
}
.pcar-slide.active .pcar-info {
  opacity: 1;
  transform: translateY(0);
}
.pcar-type {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.3);
  padding: .2rem .65rem; border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.3rem;
}
.pcar-info h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-family: 'Oswald', sans-serif;
  font-weight: 800; color: #fff; line-height: 1.15; margin: 0 0 0.2rem 0;
}
.pcar-info p {
  color: rgba(255,255,255,.65); font-size: .82rem; margin: 0;
}
.pcar-cta {
  display: none !important; /* Desactivado ya que el modal de fotos ha sido removido */
}

/* ── Controles Flotantes (Flechas y Dots) ── */
.pcar-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 110;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.18);
  color: #fff; font-size: 2.2rem;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--trans); line-height: 1;
}
.pcar-prev { left: 30px; }
.pcar-next { right: 30px; }
.pcar-arrow:hover {
  background: var(--gold); border-color: var(--gold);
  color: #000; transform: translateY(-50%) scale(1.08);
}
.pcar-dots {
  position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
  z-index: 110; display: flex; gap: .55rem;
}
.pcar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none;
  cursor: pointer; transition: var(--trans); padding: 0;
}
.pcar-dot.active {
  background: var(--gold); width: 24px; border-radius: 4px;
}

/* ── Responsive Adaptabilidad Móvil ── */
@media (max-width: 768px) {
  .gallery {
    height: 100vh;
  }
  .pcarousel {
    --car-h: 100vh;
    height: 100vh;
    width: 100%;
  }
  /* Unificar responsive para todos los layouts en móviles */
  .puzzle-grid {
    grid-template-columns: 1.4fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 5px !important;
  }
  .puzzle-grid .puzzle-item-4,
  .puzzle-grid .puzzle-item-5 {
    display: none !important;
  }
  .puzzle-grid .puzzle-item-1 {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  .puzzle-grid .puzzle-item-2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .puzzle-grid .puzzle-item-3 {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  
  .puzzle-layout-simple {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
  }
  .puzzle-layout-simple .puzzle-item-1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .puzzle-layout-simple .puzzle-item-2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .gallery-header-container {
    top: 70px;
  }
  .gallery .section-header {
    padding: 0.5rem 1rem;
    max-width: 90%;
  }
  .gallery .section-title {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
  }
  .gallery .section-desc {
    font-size: 0.7rem;
    line-height: 1.25;
    color: #ffffff !important;
  }
  .gallery .section-eyebrow {
    font-size: 0.58rem;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.25rem;
  }
  .pcar-info {
    bottom: 125px;
    left: 15px;
    right: 15px;
    max-width: calc(100% - 30px);
    padding: 0.55rem 0.85rem;
  }
  .pcar-type {
    font-size: 0.58rem;
    padding: 0.1rem 0.4rem;
    margin-bottom: 0.15rem;
  }
  .pcar-info h3 {
    font-size: 0.98rem;
    margin: 0 0 0.1rem 0;
  }
  .pcar-info p {
    font-size: 0.72rem;
  }
  .pcar-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
  .pcar-prev { left: 10px; }
  .pcar-next { right: 10px; }
  
  .gallery-cta-container {
    bottom: 45px;
    width: 90%;
  }
  .gallery-cta .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }
  .pcar-dots {
    bottom: 15px;
  }
}



.project-cover {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.project-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.project-card:hover .project-cover img { transform: scale(1.06); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.2rem;
  opacity: 0; transition: opacity .3s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view-btn {
  color: var(--gold); font-weight: 700; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid var(--gold); padding: .45rem 1.2rem;
  border-radius: 50px; backdrop-filter: blur(4px);
}

.project-photo-count {
  position: absolute; top: .8rem; right: .8rem;
  background: rgba(0,0,0,.7); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: .3rem .75rem; border-radius: 50px;
  border: 1px solid rgba(201,168,76,.3);
  backdrop-filter: blur(4px);
}

.project-info {
  padding: 1rem 1.2rem 1.1rem;
}
.project-info h3 { font-size: 1.05rem; margin-bottom: .2rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.project-info p { color: var(--muted); font-size: .83rem; }

/* ════════════════════════════════════════════
   MODAL DE PROYECTO
   ════════════════════════════════════════════ */
.project-modal {
  position: fixed; inset: 0; z-index: 9500;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.project-modal.open { display: flex; animation: pmFade .25s ease; }
@keyframes pmFade { from{opacity:0} to{opacity:1} }

.pmodal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.9); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pmodal-panel {
  position: relative; z-index: 1;
  width: min(960px, 100%); max-height: 94vh;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  animation: pmSlide .3s cubic-bezier(.4,0,.2,1);
}
@keyframes pmSlide { from{transform:translateY(24px);opacity:0} to{transform:none;opacity:1} }

/* Header */
.pmodal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.pmodal-title { font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif; }
.pmodal-counter { color: var(--gold); font-size: .8rem; font-weight: 600; margin-top: .1rem; display: block; }
.pmodal-close {
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--text); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; transition: var(--trans);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pmodal-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* Main image area */
.pmodal-main {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  background: #000; overflow: hidden;
}
.pmodal-img-wrap {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  padding: .5rem;
}
#pmodalImg {
  max-width: 100%; max-height: 58vh;
  object-fit: contain; border-radius: var(--radius-sm);
  transition: opacity .15s ease;
}

.pmodal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.6); border: 1.5px solid var(--border);
  color: var(--text); font-size: 2rem; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; line-height: 1;
}
.pmodal-prev { left: .8rem; }
.pmodal-next { right: .8rem; }
.pmodal-nav:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* Thumbnails strip */
.pmodal-thumbs {
  display: flex; gap: 6px; padding: .8rem 1rem;
  overflow-x: auto; flex-shrink: 0;
  border-top: 1px solid var(--border);
  scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.pmodal-thumbs::-webkit-scrollbar { height: 4px; }
.pmodal-thumbs::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.pmodal-thumb {
  width: 64px; height: 48px; object-fit: cover;
  border-radius: 6px; cursor: pointer; flex-shrink: 0;
  border: 2px solid transparent;
  opacity: .55; transition: var(--trans);
}
.pmodal-thumb:hover { opacity: .85; }
.pmodal-thumb.active { border-color: var(--gold); opacity: 1; }



/* Footer logo */
.footer-logo-img {
  height: 48px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201,168,76,.2));
  margin-bottom: .4rem;
}

/* ═══════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════ */
.process { padding: 6rem 0; background: var(--dark); position: relative; z-index: 1; }
.process-steps {
  display: flex; align-items: flex-start; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
}
.process-step {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  flex: 1; min-width: 200px; max-width: 240px; text-align: center;
  transition: var(--trans);
}
.process-step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step-num { font-size: 3rem; font-weight: 700; color: var(--gold); font-family: 'Oswald', sans-serif; line-height: 1; margin-bottom: .8rem; }
.process-step h3 { margin-bottom: .6rem; }
.process-step p { color: var(--muted); font-size: .9rem; }
.process-arrow { font-size: 1.5rem; color: var(--gold); margin-top: 2.5rem; opacity: .5; }

/* ── Fase 2: Ejecución ─────────────────────────────── */
.process-phase-label {
  text-align: center; margin: 2.5rem 0 1.5rem;
  position: relative;
}
.process-phase-label::before {
  content: ''; position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px; background: var(--border);
}
.process-phase-label span {
  position: relative; background: var(--dark);
  padding: .4rem 1.4rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--border);
}
.process-steps-2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .9rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .process-steps-2 { grid-template-columns: repeat(3, 1fr); }
  .process-arrow2 { display: none; }
}
@media (max-width: 640px) {
  .process-steps-2 { grid-template-columns: 1fr 1fr; }
}
.process-step2 {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1rem;
  text-align: center; transition: var(--trans);
}
.process-step2:hover { border-color: var(--gold); transform: translateY(-4px); }
.featured2 {
  border-color: var(--gold) !important;
  background: linear-gradient(135deg, rgba(184,115,42,.08), var(--dark2));
}
.step-num2 {
  font-size: 2rem; font-weight: 700; color: var(--gold);
  font-family: 'Oswald', sans-serif; line-height: 1; margin-bottom: .6rem;
}
.process-step2 h3 { margin-bottom: .4rem; font-size: .92rem; }
.process-step2 p { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.process-arrow2 { font-size: 1.2rem; color: var(--gold); opacity: .4; display: flex; align-items: center; justify-content: center; }
.process-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  max-width: 700px;
  margin: 3rem auto 0;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials { padding: 6rem 0; background: var(--dark2); position: relative; z-index: 1; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--trans);
}
.testimonial-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial-card p { color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 42px; height: 42px; background: var(--gold); color: #000;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; }
.testimonial-author span { color: var(--muted); font-size: .85rem; }

/* Testimonial con foto */
.testimonial-card.has-photo { padding: 0; overflow: hidden; }
.testimonial-photo { width: 100%; height: 240px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.testimonial-body { padding: 1.6rem 1.8rem 1.8rem; }

/* ═══════════════════════════════════════════
   CONTACT / LEAD FORM
   ═══════════════════════════════════════════ */
.contact {
  padding: 85px 0 1.5rem;
  background: var(--dark);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-desc { color: var(--muted); margin: 0.6rem 0 1.2rem; }
.contact-channels {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.6rem;
}
.channel-btn {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; transition: var(--trans);
}
.channel-btn.whatsapp { background: #25D366; color: #000; }
.channel-btn.whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }
.channel-btn.phone { background: var(--dark3); border: 1px solid var(--border); color: var(--text); }
.channel-btn.phone:hover { border-color: var(--gold); color: var(--gold); }
.channel-btn.social-fb { background: #1877F2; color: #fff; }
.channel-btn.social-fb:hover { background: #1565d8; transform: translateY(-2px); }
.channel-btn.social-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.channel-btn.social-ig:hover { opacity: .88; transform: translateY(-2px); }
.social-icon-btn { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; }

/* Iconos sociales simples */
.social-icon-link {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  flex-shrink: 0;
  transition: transform .25s ease, opacity .25s ease;
  overflow: hidden;
}
.social-icon-link img {
  width: 56px !important; height: 56px !important;
  object-fit: contain !important; display: block;
}
/* WhatsApp tiene padding transparente en el PNG — se escala para llenarlo */
#whatsappContact img { transform: scale(2.6); }
#facebookContact img { transform: scale(0.82); }
/* Instagram necesita un poco más de tamaño */
#instagramContact img { transform: scale(1.35); }
.social-icon-link:hover { transform: scale(1.12); opacity: .85; }

/* Budget info cards */
.budget-info-cards {
  display: flex; flex-direction: column; gap: .5rem;
  margin: 0.5rem 0 0.8rem;
}
.budget-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.65rem 1rem;
  transition: var(--trans);
}
.budget-card:hover { border-color: var(--gold); }
.budget-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.budget-card strong { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .35rem; font-size: .95rem; }
.budget-card p { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.budget-card p strong { display: inline; color: var(--text); }
.budget-card em { color: var(--gold); font-style: normal; font-weight: 600; }

.badge-free {
  display: inline-block; background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.35); color: #25D366;
  font-size: .68rem; font-weight: 700; padding: .15rem .55rem;
  border-radius: 20px; letter-spacing: .06em; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.badge-cost {
  display: inline-block; background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.35); color: var(--gold);
  font-size: .68rem; font-weight: 700; padding: .15rem .55rem;
  border-radius: 20px; letter-spacing: .06em; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* Form */
.lead-form {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem 2.2rem;
}
.form-group { margin-bottom: .85rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .3rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--dark3); border: 1px solid var(--border);
  border-radius: 8px; padding: .55rem .85rem; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: .88rem;
  transition: var(--trans); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.form-group textarea { resize: vertical; min-height: 72px; }
select option { background: var(--dark3); }
.label-optional { color: var(--muted); font-weight: 400; font-size: .82rem; }
.file-dropzone {
  display: flex; align-items: center; gap: .8rem;
  border: 2px dashed rgba(201,168,76,.35); border-radius: var(--radius-sm);
  padding: .75rem 1rem; cursor: pointer;
  transition: var(--trans); background: rgba(201,168,76,.04);
}
.file-dropzone:hover, .file-dropzone.drag-over {
  border-color: var(--gold); background: rgba(201,168,76,.09);
}
.file-dropzone-icon { font-size: 2rem; line-height: 1; }
.file-dropzone-text { display: flex; flex-direction: column; gap: .15rem; }
.file-dropzone-text strong { font-size: .9rem; color: var(--text); }
.file-dropzone-text span { font-size: .82rem; color: var(--muted); }
.file-dropzone-text small { font-size: .75rem; color: var(--muted); opacity: .7; }
.file-preview-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.file-chip {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25);
  border-radius: 20px; padding: .25rem .75rem;
  font-size: .8rem; color: var(--gold-lt);
}
.file-chip button {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .85rem; padding: 0; line-height: 1;
}
.file-chip button:hover { color: #e55; }
.form-disclaimer { text-align: center; color: var(--muted); font-size: .82rem; margin-top: .8rem; }
.form-success {
  background: rgba(37,211,102,.12); border: 1px solid #25D366;
  border-radius: 8px; padding: 1rem; text-align: center;
  color: #25D366; font-weight: 600; margin-top: 1rem;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { color: var(--muted); margin-top: .8rem; font-size: .9rem; max-width: 280px; }
.footer-links h4, .footer-contact h4 { color: var(--gold); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: var(--trans); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; color: var(--muted); font-size: .85rem; }

/* ═══════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: #25D366; color: #fff; width: 58px; height: 58px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--trans); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
.whatsapp-tooltip {
  position: absolute; right: 70px; background: var(--dark2);
  border: 1px solid var(--border); color: var(--text);
  padding: .4rem .9rem; border-radius: 8px; font-size: .82rem;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--trans);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { display: block; }
  .about-badge-float { right: 0; bottom: -.8rem; }
  .process-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  /* Hero Optimization for Mobile/Tablet (Side-by-side disabled to prevent text squeeze) */
  .hero {
    align-items: flex-start;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 7rem 1.5rem 2rem;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .hero-content {
    display: contents;
  }
  .hero-title { order: 1; flex-shrink: 0; }
  .hero-eyebrow { order: 2; flex-shrink: 0; }
  .hero-subtitle { order: 3; flex-shrink: 0; }
  .hero-actions {
    display: contents;
  }
  #heroCta {
    order: 5;
    flex-shrink: 0;
  }
  .hero-logo-col {
    order: 4;
    width: 100%;
    flex: 1 1 auto;
    min-height: 120px;
    max-height: 240px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .hero-logo-img {
    height: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }
  .hero-actions .btn-ghost {
    order: 6;
    flex-shrink: 0;
  }
  .hero-stats {
    order: 7;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
  }
  .whatsapp-float {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hamburger span { background: #111111; }
  .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); }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0;
    width: 100vw; height: auto;
    background: #ffffff !important; padding: 1.5rem 2rem 2.2rem 2rem;
    gap: 1.1rem; z-index: 999;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  }
  .nav-links.open li { list-style: none; width: 100%; }
  .nav-links.open a {
    font-size: 0.95rem;
    color: #222222 !important;
    font-weight: 500;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
    padding: 0.2rem 0;
  }
  .nav-links.open a:hover {
    color: var(--gold) !important;
    transform: translateX(4px);
  }
  .hero-stats {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    max-width: 480px;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
  }
  .stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
  }
  .stat-label {
    font-size: 0.65rem;
    line-height: 1.25;
    margin-top: 0.15rem;
  }
  .stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(201, 168, 76, 0.25);
    align-self: center;
    flex-shrink: 0;
  }
  /* .process-steps has been updated to horizontal flex scroll */
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item:nth-child(3n+1) { grid-row: span 1; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  /* Extra Hero adjustments for mobile screens */
  .hero-inner {
    padding: 4.5rem 1rem 1rem;
    gap: 0.8rem;
  }
  .hero-logo-col {
    max-height: 210px;
    min-height: 100px;
  }
  .hero-scroll-indicator {
    display: none;
  }
  .hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 0.8rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  .hero-actions {
    margin-bottom: 2rem;
  }
  .hero-actions .btn-ghost {
    padding: 0.55rem 1.4rem;
    font-size: 0.8rem;
    border-color: rgba(201,168,76,.25);
  }
  .stat-num {
    font-size: 1.3rem;
  }
}

/* Contact Email Style */
.contact-email {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  transition: var(--trans);
}
.email-link:hover {
  color: var(--gold);
}
.email-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ═══════════════════════════════════════════
   OPTIMIZACIONES MÓVILES ADICIONALES (NOSOTROS, PROCESO, TESTIMONIOS)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── CONTEXTO DE CONTENEDOR MÓVIL ── */
  .container {
    width: 100%;
    max-width: 100%;
  }

  /* ── SECCIÓN NOSOTROS ── */
  .about {
    padding: 60px 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .about-header {
    margin-bottom: 0.7rem;
  }
  .about-header .section-eyebrow {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.4rem;
  }
  .about-header .section-title {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
  }
  .about-header .about-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
  .about-grid {
    gap: 0.8rem;
  }
  .about-visual {
    margin-bottom: 0.4rem;
  }
  .about-img-real {
    aspect-ratio: 4/3;
    max-height: 220px;
  }
  .about-badge-float {
    font-size: 0.62rem;
    padding: 0.25rem 0.55rem;
    bottom: -0.3rem;
    right: -0.3rem;
  }
  .about-badge-guarantee {
    top: -0.3rem;
    left: -0.3rem;
    bottom: auto;
    right: auto;
  }
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .trust-item {
    padding: 0.35rem 0.5rem;
    background: rgba(201,168,76,.03);
    border: 1px solid var(--border);
  }
  .trust-item strong {
    font-size: 0.75rem;
    margin-bottom: 0.15rem;
  }
  .trust-item p {
    font-size: 0.64rem;
    line-height: 1.3;
  }

  /* ── SECCIÓN PROCESO ── */
  .process {
    padding: 70px 0 1.5rem;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
  }
  .process .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    box-sizing: border-box;
  }
  .process .section-header {
    margin-bottom: 1.8rem;
  }
  .process .section-header .section-eyebrow {
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }
  .process .section-header .section-title {
    font-size: 1.6rem;
    margin-bottom: 0;
  }
  .process-steps, .process-steps-2 {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.8rem;
    padding: 0.5rem 1.5rem 0.8rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    scrollbar-width: none;
  }
  .process-steps {
    margin-bottom: 1.8rem;
  }
  .process-steps-2 {
    margin-bottom: 0;
  }
  .process-steps::-webkit-scrollbar, .process-steps-2::-webkit-scrollbar {
    display: none;
  }
  .process-step, .process-step2 {
    flex: 0 0 78%;
    max-width: 295px;
    scroll-snap-align: center;
    padding: 1.4rem 1.2rem;
    height: auto;
    min-height: 150px;
    flex-shrink: 0;
  }
  .process-arrow, .process-arrow2 {
    display: none !important;
  }
  .process-phase-label {
    margin: 0 0 1.8rem;
  }
  .process-phase-label span {
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
  }
  .step-num {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
  }
  .step-num2 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }
  .process-step h3, .process-step2 h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
  .process-step p, .process-step2 p {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .process-subtitle {
    font-size: 0.76rem;
    margin: 1.6rem auto 0;
    max-width: 310px;
    line-height: 1.45;
    text-align: center;
    color: var(--muted);
  }

  /* ── SECCIÓN TESTIMONIOS ── */
  .testimonials {
    padding: 35px 0 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .testimonials .section-header {
    margin-bottom: 0.6rem;
  }
  .testimonials-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 1.5rem 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .testimonial-card {
    flex: 0 0 86%;
    max-width: 320px;
    scroll-snap-align: center;
    flex-shrink: 0;
    height: auto;
  }
  .testimonial-card.has-photo {
    display: flex;
    flex-direction: column;
  }
  .testimonial-photo {
    height: 225px;
    width: 100%;
  }
  .testimonial-body {
    padding: 1.2rem 1.3rem;
  }
  .stars {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .testimonial-card p {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
  }
  .testimonial-author {
    gap: 0.8rem;
  }
  .author-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .testimonial-author strong {
    font-size: 0.9rem;
  }
  .testimonial-author span {
    font-size: 0.8rem;
  }
}

/* ── SECCIÓN DE CITA (MOVIL) ── */
.appointment-section {
  display: none !important;
}

@media (max-width: 900px) {
  .appointment-section {
    display: flex !important;
    scroll-snap-align: start;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    scroll-margin-top: 0;
    flex-direction: column;
    justify-content: center;
    background: var(--dark);
    padding: 80px 0 0.5rem;
  }
  #contacto .lead-form {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .appointment-section .section-header {
    margin-bottom: 0.4rem;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 0.6rem 1rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.06);
  }
  .appointment-section .section-header .section-eyebrow {
    margin-bottom: 0.3rem;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }
  .appointment-section .section-header .section-title {
    font-size: 1.45rem;
    margin-bottom: 0.05rem;
  }
  .appointment-section .section-header .section-desc {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .appointment-section .lead-form {
    padding: 0.7rem 1.1rem;
  }
  .appointment-section .form-group {
    margin-bottom: 0.35rem;
  }
  .appointment-section .form-group label {
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
  }
  .appointment-section .form-group input,
  .appointment-section .form-group select,
  .appointment-section .form-group textarea {
    padding: 0.35rem 0.6rem;
    font-size: 0.82rem;
  }
  .appointment-section .form-group textarea {
    min-height: 42px;
  }
  .appointment-section .file-dropzone {
    padding: 0.3rem 0.6rem;
    gap: 0.4rem;
  }
  .appointment-section .file-dropzone-icon {
    font-size: 1.2rem;
  }
  .appointment-section .file-dropzone-text strong {
    font-size: 0.82rem;
  }
  .appointment-section .file-dropzone-text span {
    font-size: 0.75rem;
  }
  .appointment-section .file-dropzone-text small {
    font-size: 0.68rem;
  }
  .appointment-section .btn-primary {
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
  }
  .appointment-section .form-disclaimer {
    font-size: 0.72rem;
    margin-top: 0.4rem;
  }

  /* ── SECCIÓN CONTACTO MÓVIL ── */
  .contact {
    padding: 45px 0 1rem;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
  }
  .contact-grid {
    height: 100%;
  }
  .contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly !important;
    margin-bottom: 0;
  }
  .contact-info .section-eyebrow {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0;
    align-self: center;
  }
  .contact-info .section-title {
    font-size: 1.6rem;
    margin-bottom: 0;
    text-align: center;
  }
  .contact-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
    text-align: center;
  }
  .budget-info-cards {
    display: flex;
    flex-direction: column !important;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }
  .budget-card {
    width: 100%;
    padding: 0.7rem 0.9rem;
    min-height: auto;
    height: auto;
    border-radius: var(--radius);
  }
  .budget-card strong {
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
  }
  .budget-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .contact-channels {
    gap: 1rem;
    margin: 0;
    justify-content: center;
  }
  .social-icon-link {
    width: 48px;
    height: 48px;
  }
  .social-icon-link img {
    width: 48px !important;
    height: 48px !important;
  }
  .contact-email {
    margin: 0;
    text-align: center;
  }
  .email-link {
    font-size: 0.85rem;
  }
  .email-icon {
    width: 15px;
    height: 15px;
  }

  /* ── SECCIÓN CITA MÓVIL READABILITY ── */
  .appointment-section .section-header .section-title {
    color: #fff;
  }
  .appointment-section .section-header .section-desc {
    color: rgba(255, 255, 255, 0.85);
  }
}


