/* ==========================================================================
   BIG PHOTOGRAPHY GROUP — Productora Fotográfica (bigphotographygroup.com)
   Reconstrucción HTML5/CSS3 Fiel al Tema Original (Blacksilver / iMaginem)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --red-accent: #e1201d;
  --text-dark: #111111;
  --text-body: #444444;
  --text-muted: #777777;
  --bg-white: #ffffff;
  --bg-view: #c5c9c9;
  --bg-dark: #0a0a0a;
  --border-light: rgba(0, 0, 0, 0.1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   HEADER SPLIT-MENU (Estilo Blacksilver Original con Logo Central)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 12px 44px;
  transition: var(--transition);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.nav-left {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
}

.nav-right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
}

.brand-center img {
  height: 88px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled .brand-center img {
  height: 66px;
}

.brand-center:hover img {
  transform: scale(1.03);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-accent);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #222;
}

.dropdown-menu a:hover {
  color: var(--red-accent);
  background: #fafafa;
  padding-left: 27px;
}

/* Mobile Header */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #111;
  margin: 6px 0;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   HERO FULLSCREEN (RevSlider PORTADA_BIG_2023_FINAL.jpg con Ken Burns suave)
   ========================================================================== */
.hero-welcome {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-zoom {
  position: absolute;
  inset: 0;
  background-image: url('../../wp-content/uploads/2023/01/PORTADA_BIG_2023_FINAL.jpg');
  background-size: cover;
  background-position: center top;
  animation: kenBurnsHero 26s ease-out infinite alternate;
}

@keyframes kenBurnsHero {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.09); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.52) 100%);
}

.hero-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 24px;
  margin-top: 220px;
}

.hero-caption h1 {
  font-family: var(--font-sans);
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.hero-scroll-ind {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ==========================================================================
   SECCIONES DE TÍTULO (Estilo Blacksilver Section-Heading)
   ========================================================================== */
.section-heading-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 130px 24px 70px;
  text-align: center;
}

.section-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.section-divider {
  width: 44px;
  height: 1.5px;
  background: #000000;
  margin: 0 auto 30px;
}

.section-description p {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 18px;
}

/* ==========================================================================
   SECCIÓN VIEW (2 Columnas: Retrato Blanco y Negro + Fondo #c5c9c9)
   ========================================================================== */
.view-split-section {
  display: grid;
  grid-template-columns: 51.7% 48.3%;
  background: var(--bg-view);
  min-height: 620px;
}

.view-image-col {
  background-size: cover;
  background-position: center center;
  min-height: 550px;
}

.view-text-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 12%;
}

.view-text-inner {
  max-width: 460px;
}

.view-text-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #111;
  margin-bottom: 24px;
}

.view-text-inner p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.72);
  margin-bottom: 18px;
}

/* ==========================================================================
   BANNER PARALLAX INTERMEDIO & SLIDESHOWS DE NUESTRO TRABAJO (800px alto)
   ========================================================================== */
.work-categories-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 22px;
}

.work-hero-banner {
  position: relative;
  width: 100%;
  height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.work-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease-in-out, transform 6s ease-out;
}

.work-slide-bg.active {
  opacity: 1;
  transform: scale(1.0);
}

.work-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  transition: background 0.35s ease;
}

.work-hero-banner:hover::after {
  background: rgba(0, 0, 0, 0.38);
}

.work-banner-link {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 24px 48px;
}

.work-banner-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  border: 2px solid transparent;
  padding: 14px 32px;
  transition: var(--transition);
}

.work-hero-banner:hover .work-banner-title {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   NUESTROS CLIENTES (Grilla 4 Columnas de 16 Marcas)
   ========================================================================== */
.clients-grid-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 10px 24px 150px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  align-items: center;
  justify-items: center;
}

.client-logo-box {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: var(--transition);
}

.client-logo-box:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.client-logo-box img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   SECCIÓN CONTACTO + FORMULARIO + MAPA + RRSS
   ========================================================================== */
.contact-parallax-banner {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  padding: 140px 24px 120px;
  text-align: center;
  color: #ffffff;
}

.contact-parallax-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 2, 0.42);
}

.contact-parallax-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.contact-parallax-inner .section-sub {
  color: #ffffff;
}

.contact-parallax-inner .section-title {
  color: #ffffff;
}

.contact-parallax-inner .section-divider {
  background: #ffffff;
}

.contact-parallax-inner p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.85;
  color: #ffffff;
}

.contact-parallax-inner a:hover {
  color: #ffcccc;
  text-decoration: underline;
}

.contact-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.bpg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.bpg-field {
  margin-bottom: 20px;
}

.bpg-input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #111;
  background: #fafafa;
  transition: var(--transition);
}

.bpg-input:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

textarea.bpg-input {
  min-height: 140px;
  resize: vertical;
}

.btn-dark-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  border-radius: 6px;
  padding: 15px 42px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark-submit:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
}

.form-alert {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

.form-alert.ok {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.map-embed-wrap {
  width: 100%;
  height: 340px;
  background: #e9e9e9;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social-footer-section {
  text-align: center;
  padding: 70px 24px 80px;
  background: #ffffff;
}

.social-footer-section h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 26px;
}

.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-circle-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-circle-link:hover {
  background: var(--red-accent);
  transform: translateY(-3px);
}

.site-footer-bar {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 24px;
  text-align: center;
}

.site-footer-bar img {
  width: 160px;
  height: auto;
  margin: 0 auto 16px;
}

.site-footer-bar p {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   PÁGINAS DE GALERÍA FOTOGRÁFICA (Masonry / Wall-Spaced + Lightbox)
   ========================================================================== */
.gallery-page-main {
  padding-top: 155px;
  padding-bottom: 90px;
}

.gallery-page-header {
  max-width: 820px;
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.gallery-page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.gallery-page-header p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.masonry-gallery {
  column-count: 3;
  column-gap: 18px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 24px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  background: #f2f2f2;
  cursor: zoom-in;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.back-btn-wrap {
  text-align: center;
  margin-top: 64px;
}

/* Grilla de Videos de YouTube en /videos/ */
.videos-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.video-embed-card {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.video-embed-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lightbox Fotográfico Pantalla Completa */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.photo-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.lightbox-btn {
  position: absolute;
  background: #000000;
  color: #ffffff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-btn:hover {
  background: var(--red-accent);
}

.lightbox-close {
  top: 24px;
  right: 28px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #333;
}

/* WhatsApp Float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: #25d366;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .view-split-section {
    grid-template-columns: 1fr;
  }
  .masonry-gallery {
    column-count: 2;
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 20px;
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .nav-left,
  .nav-right {
    display: none;
  }
  .brand-center img {
    height: 58px;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-drawer {
    position: fixed;
    top: 79px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 18px 24px 28px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  }
  .mobile-drawer.open {
    display: block;
  }
  .mobile-drawer a {
    display: block;
    padding: 11px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .mobile-drawer .sub-links {
    padding-left: 16px;
  }
  .mobile-drawer .sub-links a {
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
  }
  .work-hero-banner {
    height: 480px;
  }
  .masonry-gallery {
    column-count: 1;
  }
  .videos-grid,
  .bpg-form-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
