/* ===== Producciones Guzmán SV — style.css ===== */

:root{
  --gold: #c6a25a;
  --gold-light: #d9bd82;
  --wine: #6e2a35;
  --dark: #14100f;
  --dark-2: #1c1614;
  --cream: #faf6f1;
  --cream-2: #f1e9e0;
  --text-dark: #241f1c;
  --text-muted: #6b6058;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20,16,15,.12);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--serif); font-weight:600; margin:0; }
p{ margin:0 0 1em; }
.container{ max-width: var(--container); margin:0 auto; padding:0 24px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight:500;
  font-size: 15px;
  letter-spacing:.2px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--wine); color:#fff; }
.btn-primary:hover{ background:#571f28; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost{ background: transparent; color:#fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); border-color:#fff; }
.btn-lg{ padding:16px 32px; font-size:16px; }
.btn-nav{ padding:9px 18px; font-size:14px; }

/* ===== Header ===== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:1000;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled{
  background: rgba(20,16,15,.94);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; }
.logo{
  display:flex; align-items:center;
}
.logo img{
  height: 52px; width:auto; display:block; transition: height .3s ease;
}
.site-header.scrolled .logo img{ height: 42px; }
.main-nav{ display:flex; align-items:center; gap: 30px; }
.main-nav a{
  color:#f2ece5; font-size:14.5px; font-weight:400; letter-spacing:.3px;
  position:relative; padding: 4px 0;
}
.main-nav a:not(.btn)::after{
  content:''; position:absolute; left:0; bottom:-3px; width:0; height:1px;
  background: var(--gold-light); transition: width .25s ease;
}
.main-nav a:not(.btn):hover::after{ width:100%; }

.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:6px;
  flex-direction:column; gap:5px; z-index:1100;
}
.nav-toggle span{ width:24px; height:2px; background:#fff; display:block; transition:.3s; }

/* ===== Hero ===== */
.hero{
  position:relative; height:100vh; min-height:560px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; color:#fff; text-align:center;
}
.hero-slides{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0;
  background-size: cover; background-position: center 35%;
  opacity:0; transition: opacity 1.8s ease;
}
.hero-slide.active{ opacity:1; }
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,12,11,.55) 0%, rgba(15,12,11,.35) 45%, rgba(15,12,11,.75) 100%);
}
.hero-content{ position:relative; z-index:2; max-width:780px; padding: 0 24px; }
.hero-eyebrow{
  text-transform:uppercase; letter-spacing:3px; font-size:12.5px; font-weight:500;
  color: var(--gold-light); margin-bottom:18px;
}
.hero h1{
  font-size: clamp(38px, 6.4vw, 74px); line-height:1.08; margin-bottom:20px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-sub{
  font-size: clamp(15px, 1.7vw, 18px); font-weight:300; max-width:560px; margin:0 auto 34px;
  color:#f3ece4;
}
.hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  color:#fff; font-size:18px; opacity:.75; z-index:2;
  animation: bounce 2.4s infinite;
}
@keyframes bounce{
  0%,100%{ transform:translate(-50%,0); }
  50%{ transform:translate(-50%,8px); }
}

/* ===== Sections ===== */
.section{ padding: 100px 0; }
.section-alt{ background: var(--cream-2); }
.section-dark{ background: var(--dark); color:#f1ece6; }
.section-eyebrow{
  text-transform:uppercase; letter-spacing:3px; font-size:12.5px; font-weight:600;
  color: var(--wine); margin-bottom:10px; text-align:center;
}
.section-dark .section-eyebrow{ color: var(--gold-light); text-align:left; }
.section-title{
  font-size: clamp(28px, 3.6vw, 42px); text-align:center; margin-bottom:52px;
}
.section-dark .section-title, .nosotros-text .section-title{ text-align:left; }

/* ===== Servicios ===== */
.services-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.services-grid-5{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 34px;
}
.services-grid-5 .service-card{ flex: 1 1 280px; max-width: 336px; }
.service-card{
  background:#fff; border-radius: var(--radius); padding: 42px 32px;
  text-align:center; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,16,15,.16); }
.service-icon{
  width:64px; height:64px; margin:0 auto 22px; border-radius:50%;
  background: linear-gradient(135deg, var(--wine), #8a3a45);
  color: var(--gold-light);
  display:flex; align-items:center; justify-content:center; font-size:24px;
}
.service-card h3{ font-size:20px; margin-bottom:12px; }
.service-card p{ color: var(--text-muted); font-size:14.5px; margin:0; }

/* ===== Galeria ===== */
.gallery-filters{
  display:flex; justify-content:center; gap:12px; margin-bottom:40px; flex-wrap:wrap;
}
.filter-btn{
  background:transparent; border:1px solid #cfc3b6; color:var(--text-dark);
  padding:10px 22px; border-radius:999px; font-family:var(--sans); font-size:14px;
  cursor:pointer; transition: all .25s ease;
}
.filter-btn:hover{ border-color: var(--wine); }
.filter-btn.active{ background: var(--wine); border-color: var(--wine); color:#fff; }

.gallery-grid{ display:block; }
.gallery-category{ margin-bottom:56px; }
.gallery-category:last-child{ margin-bottom:0; }
.gallery-category.hide{ display:none; }
.gallery-person{ margin-bottom:40px; }
.gallery-person:last-child{ margin-bottom:0; }
.gallery-person h3{
  font-size:24px; margin-bottom:18px; color: var(--text-dark);
  padding-bottom:10px; border-bottom:1px solid #e4dcd0;
}
.gallery-subgrid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px;
  grid-auto-flow: dense;
}
.gallery-item{
  position:relative; overflow:hidden; border-radius: var(--radius);
  border:none; padding:0; cursor:pointer; background:#000;
  aspect-ratio: 1 / 1;
  grid-column: span 1; grid-row: span 1;
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease, opacity .3s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item::after{
  content:'\f065'; font-family:'Font Awesome 6 Free'; font-weight:900;
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:20px; opacity:0; background: rgba(20,16,15,.35);
  transition: opacity .3s ease;
}
.gallery-item:hover::after{ opacity:1; }

/* ===== Videos ===== */
.videos-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.video-card{ display:block; }
.video-card h3{
  font-family: var(--sans); font-weight:500; font-size:15px; text-align:center;
  margin-top:16px; color: var(--text-dark); transition: color .25s ease;
}
.video-card:hover h3{ color: var(--wine); }
.video-frame{
  position:relative; width:100%; padding-top:56.25%; /* 16:9 horizontal video */
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); background:#000;
  cursor:pointer;
}
.video-frame img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease, opacity .3s ease;
}
.video-frame:hover img{ transform: scale(1.06); opacity:.85; }
.video-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
.video-play{
  position:absolute; inset:0; margin:auto; width:64px; height:64px; border-radius:50%;
  background: rgba(20,16,15,.55); color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:22px; transition: all .25s ease; backdrop-filter: blur(2px);
}
.video-play i{ margin-left:3px; }
.video-frame:hover .video-play{ background: var(--wine); transform: scale(1.08); }
.video-fallback{
  display:block; text-align:center; font-family:var(--sans); font-size:12.5px;
  color: var(--text-muted); margin-top:8px; transition: color .25s ease;
}
.video-fallback:hover{ color: var(--wine); }
.video-fallback i{ font-size:10px; margin-left:3px; }

/* ===== Testimonios ===== */
.testimonios-grid{
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
}
.testimonio-card{ display:block; }
.testimonio-frame{
  position:relative; width:100%; padding-top:177.78%; /* 9:16 vertical, formato Shorts */
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); background:#000;
  cursor:pointer;
}
.testimonio-frame img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease, opacity .3s ease;
}
.testimonio-frame:hover img{ transform: scale(1.06); opacity:.85; }
.testimonio-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
.testimonio-frame:hover .video-play{ background: var(--wine); transform: scale(1.08); }
.testimonio-card .video-fallback{ margin-top:10px; }

/* ===== Nosotros ===== */
.nosotros-grid{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items:center;
}
.nosotros-img{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.nosotros-img img{ width:100%; height:100%; object-fit:cover; }
.nosotros-text p{ color: var(--text-muted); }
.nosotros-list{ margin: 22px 0 30px; }
.nosotros-list li{ display:flex; align-items:center; gap:10px; margin-bottom:10px; font-size:14.5px; }
.nosotros-list i{ color: var(--wine); }

/* ===== Contacto ===== */
.contacto-grid{
  display:grid; grid-template-columns: 1fr 0.85fr; gap: 64px; align-items:center;
}
.contacto-text p{ color: #cfc6bd; max-width: 460px; }
.contacto-info{ margin: 32px 0 26px; display:flex; flex-direction:column; gap:14px; }
.contacto-item{ display:flex; align-items:flex-start; gap:12px; font-size:14.5px; color:#e8e1d9; }
.contacto-item i{ color: var(--gold-light); margin-top:3px; }
.contacto-img{ border-radius: var(--radius); overflow:hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.contacto-img img{ width:100%; height:100%; object-fit:cover; }

.social-row{ display:flex; gap:12px; }
.social-row a{
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:16px;
  transition: all .25s ease;
}
.social-row a:hover{ background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* ===== Footer ===== */
.site-footer{ background: var(--dark-2); color:#cfc6bd; padding: 28px 0; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-inner p{ margin:0; font-size:13.5px; }
.social-row-footer a{ width:36px; height:36px; font-size:14px; }

/* ===== WhatsApp float ===== */
.whatsapp-float{
  position:fixed; bottom:24px; right:24px; z-index:900;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff; font-size:28px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  animation: pulse 2.6s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); }
  70%{ box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 14px rgba(37,211,102,0); }
  100%{ box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Lightbox ===== */
.lightbox{
  position:fixed; inset:0; background: rgba(10,8,7,.95); z-index:2000;
  display:none; align-items:center; justify-content:center; flex-direction:column;
  padding: 40px 20px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width: min(1000px, 90vw); max-height:80vh; border-radius:4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-caption{ color:#e8e1d9; margin-top:16px; font-size:14px; letter-spacing:.5px; text-transform:uppercase; }
.lightbox-close{
  position:absolute; top:22px; right:28px; background:none; border:none; color:#fff;
  font-size:36px; cursor:pointer; line-height:1;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25); color:#fff; width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:16px;
  transition: background .25s ease;
}
.lightbox-nav:hover{ background: rgba(255,255,255,.2); }
.lightbox-prev{ left:20px; }
.lightbox-next{ right:20px; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .videos-grid{ grid-template-columns: 1fr; max-width:420px; margin:0 auto; }
  .testimonios-grid{ grid-template-columns: repeat(3, 1fr); }
  .nosotros-grid, .contacto-grid{ grid-template-columns: 1fr; gap:40px; }
  .nosotros-img{ order:-1; max-height:360px; }
  .contacto-img{ max-height:340px; }
  .gallery-subgrid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background: var(--dark-2); flex-direction:column; align-items:flex-start;
    padding: 100px 32px 40px; gap:26px;
    transform: translateX(100%); transition: transform .35s ease;
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .section{ padding: 72px 0; }
  .gallery-subgrid{ grid-template-columns: repeat(2, 1fr); gap:10px; }
  .testimonios-grid{ grid-template-columns: repeat(2, 1fr); gap:14px; }
  .footer-inner{ flex-direction:column; text-align:center; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ justify-content:center; }
}
@media (max-width: 460px){
  .gallery-subgrid{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: 1fr; }
  .lightbox-nav{ width:40px; height:40px; }
  .lightbox-prev{ left:8px; }
  .lightbox-next{ right:8px; }
}
