/*
Theme Name: Iron Film Visual
Theme URI: https://ironfilmvisual.es
Author: Iron Film Visual
Description: Tema WordPress para Iron Film Visual — vídeo, fotografía, eventos y contenido para empresas desde Galicia.
Version: 2.3.8
Text Domain: ironfilm-theme
*/

:root {
  --bg-dark: #111111;
  --bg-card: #1c1c1c;
  --text-main: #ffffff;
  --text-muted: #d4d4d4;
  --accent: #5e9e7e;
  --accent-glow: rgba(94, 158, 126, 0.4);
  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --card-radius: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
.brand,
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.text-outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  color: transparent;
}

.gradient-text {
  background: linear-gradient(to right, #7abf95, #4a7a5e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.1rem 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.btn-nav {
  border: 1px solid var(--text-main);
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
}

.btn-nav:hover {
  background: var(--text-main);
  color: var(--bg-dark) !important;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: -2;
  opacity: 0.6;
}

.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
}

.hero-content {
  max-width: 1200px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-right: 1rem;
  transition: transform 0.2s;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-main);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
}

/* Sections */
.section-dark {
  padding: 6rem 5%;
  background: var(--bg-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container2 {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 5%;
  display: flex;
  justify-content: center;
}

.highlight {
  color: var(--accent);
}

/* Ticker */
.trusted-ticker {
  padding: 2rem 0;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker var(--ticker-duration, 60s) linear infinite;
  will-change: transform;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 3rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 3rem;
}

.card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  transition:
    transform 0.3s,
    border-color 0.3s;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-muted);
}

/* FOOH Split Layout (NEW) */
.section-brand {
  background-color: var(--accent);
  color: white;
  padding: 1.5rem 5%;
  position: relative;
}

.section-brand .highlight {
  color: #111;
}

.fooh-split-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fooh-media {
  flex: 0 0 35%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  aspect-ratio: 9/16;
  background: #000;
}

.fooh-media iframe,
.fooh-media img,
.fooh-media video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.fooh-content {
  flex: 1;
  text-align: left;
}

.fooh-content h2 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.fooh-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.btn-cta-brand {
  background-color: #e88d3e;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
}

.btn-cta-brand2 {
  background-color: #e88d3e;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: center;
  transition: transform 0.2s;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
}

.btn-cta-brand:hover {
  transform: scale(1.05);
  background-color: #ff9f4d;
}

.btn-cta-brand2:hover {
  transform: scale(1.05);
  background-color: #ff9f4d;
}

@media (max-width: 900px) {
  .fooh-split-layout {
    flex-direction: column;
    text-align: center;
  }

  .fooh-media {
    width: 100%;
    max-width: 400px;
    flex: none;
  }

  .fooh-content {
    text-align: center;
  }

  .fooh-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Testimonials */
.testimonials-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card-v2 {
  background-color: #2c2c2c;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card-v2:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 40px -10px rgba(94, 158, 126, 0.2);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

.testi-info h4 {
  font-size: 1.1rem;
  margin: 0;
  color: white;
}

.testi-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testi-stars {
  color: #e88d3e;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testi-text {
  font-style: italic;
  color: #d4d4d4;
  line-height: 1.6;
}

/* Contact (Green Card) */
.section-contact {
  padding: 6rem 5%;
  background: #0a0a0a;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card-green {
  display: flex;
  background-color: #558b6e;
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-image {
  flex: 1;
  min-height: 400px;
  position: relative;
  background: #444;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 1% center;
}

.contact-form-area {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-area label {
  display: block;
  color: #1a2e22;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.contact-form-area input,
.contact-form-area textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  color: #333;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus {
  outline: 2px solid #e88d3e;
}

.btn-submit-orange {
  background-color: #e88d3e;
  color: white;
  border: none;
  padding: 12px 60px; /* Made it slightly wider since it's centered */
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s;
  display: block;
  margin: 20px auto 0 auto;
}

.btn-submit-orange:hover {
  transform: scale(1.05);
  background-color: #ff9f4d;
}

@media (max-width: 768px) {
  .contact-card-green {
    flex-direction: column;
  }

  .contact-image {
    min-height: 200px;
  }
}

/* Footer */
.main-footer {
  padding: 1.5rem 5%; /* Reduced from 3rem */
  background: #000;
  border-top: 1px solid #222;
  text-align: center;
  color: white;
}

.footer-info p {
  margin-bottom: 0.2rem;
  color: var(--text-muted);
}

.footer-social {
  margin: 1rem 0; /* Reduced from 2rem */
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-social a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-legal {
  font-size: 0.8rem;
  color: #666;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #666;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #888;
}

/* Cursor Glow (Preserved) */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(94, 158, 126, 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
}

.images {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5%;
}

.images2 {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 5%;
}

/* 
======================================================
  SEAMLESS GALLERIES (PROCEDURAL)
======================================================
*/
.seamless-gallery-section {
    width: 100%;
    margin-bottom: 2rem;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    padding: 3rem 0;
    color: var(--text-light);
    margin: 0;
}

.seamless-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
}

.seamless-gallery.vertical-video-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.seamless-gallery.vertical-video-gallery .vertical-video-item {
    aspect-ratio: 9/16;
    background-color: transparent;
}

.seamless-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.seamless-item iframe,
.seamless-item video,
.seamless-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
    transition: transform 0.5s ease;
}

.seamless-item img:hover {
    transform: scale(1.05); /* Soft zoom for photos */
}

/* ======================================================
   PHOTO GALLERY SPECIFIC OVERRIDES (FLEX SYMMETRICAL ROW)
   ====================================================== */
.seamless-gallery.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.seamless-gallery.photo-gallery .seamless-item {
    aspect-ratio: 2/3; /* Taller ratio for vertical/portrait photos */
    width: calc(100% / 6);
}

/* Modifier class for horizontal (landscape) photos 
   By spanning 2 columns out of 6, exactly 3 will fit per row.
   To keep the same height as 2:3 items, aspect ratio becomes 4:3. */
.seamless-gallery.photo-gallery .seamless-item.horizontal-item {
    width: calc(200% / 6);
    aspect-ratio: 4/3;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .seamless-gallery.photo-gallery .seamless-item { width: calc(100% / 4); }
    .seamless-gallery.photo-gallery .seamless-item.horizontal-item { width: calc(200% / 4); }
}

@media (max-width: 1024px) {
    .seamless-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .seamless-gallery.photo-gallery .seamless-item { width: calc(100% / 3); }
    .seamless-gallery.photo-gallery .seamless-item.horizontal-item { width: calc(200% / 3); }
}

@media (max-width: 768px) {
    .seamless-gallery.photo-gallery .seamless-item { width: 50%; }
    .seamless-gallery.photo-gallery .seamless-item.horizontal-item { width: 100%; }
}

@media (max-width: 600px) {
    .seamless-gallery {
        grid-template-columns: 1fr;
    }
    .seamless-gallery.photo-gallery .seamless-item { width: 100%; }
    .seamless-gallery.photo-gallery .seamless-item.horizontal-item { width: 100%; }
}

/* ======================================================
   LIGHTBOX STYLES
   ====================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10001; /* Above the success overlay */
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    user-select: none;
}
.lightbox-close:hover {
    color: var(--primary-green);
}

/* Add pointer to all gallery items so user knows they are clickable */
.photo-gallery .seamless-item {
    cursor: pointer;
}

/* ======================================================
   SLIDER GALLERY (Gallery 3)
   ====================================================== */
.slider-gallery-section {
    position: relative;
    overflow: hidden;
}
.slider-container {
    width: 100%;
    position: relative;
    /* Ensure no flex wrap here to keep one line track */
}

.slider-track {
    display: flex;
    position: relative;
    align-items: center; /* keep horizontal and vertical aligned beautifully if there are height variations */
}

.slider-track .seamless-item {
    height: auto;
    width: 33.33vw; 
    flex: 0 0 auto;
    margin-right: 0;
    position: relative;
    aspect-ratio: 2/3;
}

.slider-track .seamless-item.horizontal-item {
    width: 66.66vw;
    aspect-ratio: 4/3;
}

@media (min-width: 1200px) {
    .slider-track .seamless-item {
        width: 16.66vw; 
    }
    .slider-track .seamless-item.horizontal-item {
        width: 33.32vw;
    }
}

@media (max-width: 768px) {
    .slider-track .seamless-item {
        width: 50vw;
    }
    .slider-track .seamless-item.horizontal-item {
        width: 100vw;
    }
}
/* Móvil: se mantiene la regla de 768px (verticales al 50vw y horizontales al 100vw)
   para que todas las fotos tengan la misma altura y no queden franjas vacías. */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}
.slider-btn:hover {
    background: rgba(0,0,0,0.8);
    color: var(--primary-green);
}
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* ======================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ====================================================== */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    /* Navigation */
    .glass-nav {
        padding: 1rem 5%;
        flex-wrap: wrap;
    }
    .logo { 
        order: 1; 
    }
    .logo img { 
        height: 60px !important; 
    }
    .nav-links {
        order: 2;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .footer-social { 
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem; 
    }

    /* Hero Section */
    .hero {
        padding-top: 15vh;
        text-align: center;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .btn-primary { margin-right: 0; width: 100%; text-align: center; }
    .btn-secondary { width: 100%; text-align: center; }

    /* Video Embed container (Hero) */
    .video-container iframe {
        min-width: 250vh; /* Aggressive scaling to cover portrait mode */
    }

    /* Ticker Logos */
    .ticker-item img {
        height: 64px !important;
    }

    /* FOOH Split Section */
    .fooh-split-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .fooh-split-layout .fooh-content {
        order: 1; 
    }
    .fooh-split-layout > div:not(.fooh-content) {
        order: 2;
    }
    .images2 {
        height: 300px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Testimonials Grid */
    .testimonials-grid-new {
        grid-template-columns: 1fr;
    }

    /* Contact Form - existing logic covers direction, just tweaking padding */
    .contact-form-area {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-legal span { display: none; } /* Hide separators */
}
/* ======================================================
   ANIMACIONES OVERLAY (centralizadas desde templates PHP)
   ====================================================== */
.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}
.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* ======================================================
   SECCIÓN LEGAL (política / términos)
   ====================================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 5% 6rem;
    color: var(--text-main);
}
.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-transform: none;
}
.legal-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 2rem 0 0.5rem;
    color: var(--text-main);
}
.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.legal-content ul {
    color: var(--text-muted);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}


/* ======================================================
   ESTILOS PÁGINA EQUIPO
   ====================================================== */
.hero-equipo {
    height: auto;
    min-height: 25vh;
    padding-top: 18vh;
    padding-bottom: 2rem;
}

.hero-equipo-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.team-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-row:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--accent);
    padding: 4px;
}

.team-info {
    flex: 1;
    text-align: left;
    margin-top: 0.5rem;
}

.team-info h3 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.team-info h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.team-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.team-row.has-animation {
    opacity: 0;
}

.team-row.animate-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.team-row.animate-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero-equipo {
        padding-top: 14vh;
    }
    .hero-equipo-title {
        font-size: 2.2rem;
    }
    .team-row {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        align-items: center;
    }
    .team-info {
        text-align: center;
        margin-top: 0;
    }
}

/* ======================================================
   SISTEMA COMPARTIDO V2.1 — portada y páginas de servicio
   ====================================================== */
:root {
    --text-light: #ffffff;
    --primary-green: var(--accent);
    --accent-dark: #315d47;
    --accent-soft: rgba(94, 158, 126, 0.12);
    --orange: #e88d3e;
}

body {
    min-width: 320px;
}

.site-header {
    position: relative;
    z-index: 100;
}

.glass-nav {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 86px;
    padding: 0.55rem clamp(1.1rem, 3vw, 3.25rem);
    gap: 1.15rem;
}

.logo img {
    display: block;
    width: auto;
    height: 76px !important;
}

.nav-links {
    flex: 1;
    justify-content: center;
    gap: clamp(0.65rem, 1vw, 1.05rem);
}

.nav-links a {
    font-size: 0.94rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-links .btn-nav {
    padding: 0.66rem 1.15rem;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-social a {
    color: var(--text-main);
    font-size: 1.12rem;
    transition: color 0.25s ease;
}

.nav-social a:hover,
.nav-social a:focus-visible {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--text-main);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: #111;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    min-height: 88vh;
    padding: 9rem 5% 5rem;
}

.hero-bg {
    z-index: -2;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.68) 100%);
    z-index: 2;
}

.hero-video,
.hero-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.hero-video {
    z-index: 1;
}

.hero-iframe {
    z-index: 0;
    pointer-events: none;
    opacity: 0.75;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1,
.page-hero h1 {
    max-width: 980px;
    text-transform: none;
    letter-spacing: -0.04em;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
    max-width: 760px;
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: #143324;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 3;
    width: 1.25rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    transform: translateX(-50%);
}

.hero-scroll span {
    display: block;
    width: 0.25rem;
    height: 0.45rem;
    margin: 0.35rem auto;
    border-radius: 999px;
    background: var(--accent);
}

.trusted-ticker {
    padding: 1.4rem 0 1.9rem;
}

.ticker-label {
    margin-bottom: 0.6rem;
    color: #888;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.ticker-item {
    padding: 0 2.4rem;
    opacity: 1;
}

.ticker-item img {
    width: auto;
    height: 70px;
    object-fit: contain;
    filter: none;
}

.section-brand .intro-grid .btn-cta-brand,
.section-brand .business-feature-copy .btn-cta-brand {
    margin-top: 2.25rem;
}

.section-intro {
    padding: 6.5rem 5%;
}

.intro-grid,
.split-content,
.business-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: center;
}

.intro-grid h2,
.section-heading h2,
.split-content h2,
.business-feature h2,
.cta-band-content h2 {
    max-width: 720px;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: none;
}

.intro-grid p:not(.eyebrow),
.section-heading > p:last-child,
.split-content p,
.business-feature-copy > p:last-of-type {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.section-brand .intro-grid p:not(.eyebrow),
.section-brand .business-feature-copy > p:last-of-type,
.section-brand .cta-band-content p {
    color: rgba(10, 25, 16, 0.82);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading > p:last-child {
    max-width: 620px;
}

.solution-grid,
.service-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.solution-card,
.service-card,
.process-step {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.3rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    color: var(--text-main);
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.solution-card:hover,
.solution-card:focus-visible,
.service-card:hover {
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(94, 158, 126, 0.16), rgba(255, 255, 255, 0.03));
    transform: translateY(-6px);
}

.solution-number,
.service-card-number,
.process-step > span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.solution-icon,
.service-card-icon {
    display: block;
    margin: 1.2rem 0 1rem;
    color: var(--orange);
    font-size: 2.2rem;
    line-height: 1;
}

.solution-card h3,
.service-card h3,
.process-step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.solution-card p,
.service-card p,
.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.text-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.section-process {
    padding: 7rem 5%;
    background: #f2f0e9;
    color: #171b18;
}

.section-process .section-heading > p:last-child,
.section-process .process-step p {
    color: #58635c;
}

.section-process .eyebrow {
    color: var(--accent-dark);
}

.section-process .highlight {
    color: var(--accent-dark);
}

.process-step {
    min-height: 0;
    border-color: rgba(23, 27, 24, 0.13);
    background: transparent;
    color: #18211b;
}

.process-step h3 {
    margin-top: 2.8rem;
    color: #18211b;
    font-size: 1.6rem;
}

.work-showcase,
.projects-gallery,
.event-media-section {
    padding: 7rem 0 0;
    background: #090909;
}

.showcase-heading,
.media-section-heading {
    padding: 0 5% 3rem;
}

.showcase-heading h2,
.media-section-heading h2 {
    max-width: 760px;
    margin-bottom: 1.3rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: none;
}

.showcase-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #222;
}

.showcase-video {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

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

.showcase-video .media-link {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    text-decoration: none;
}

.showcase-videos-projects {
    grid-template-columns: repeat(2, 1fr);
}

.showcase-videos-wide {
    grid-template-columns: repeat(2, 1fr);
}

/* Vídeos de Proyectos: tarjetas 16:9 con título debajo. Con un número impar de vídeos, el último ocupa todo el ancho. */
.project-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Con un número impar de vídeos, el último va centrado y al mismo tamaño que el resto. */
.project-video:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.75rem);
}

.project-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.project-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.project-video-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0.25rem 0;
}

.project-video-type {
    margin-bottom: 0.3rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-video-meta h3 {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.2;
    text-transform: none;
}

.project-video-link {
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.project-video-link:hover,
.project-video-link:focus-visible {
    border-color: var(--accent);
    color: #fff;
}

/* Página privada de bodas: paleta clara y romántica (marfil, rubor y champán).
   Todo va bajo body.wedding-page para no tocar el resto de la web. */
body.wedding-page {
    --wedding-ivory: #fbf7f2;
    --wedding-cream: #f5ece1;
    --wedding-blush: #f2d9d0;
    --wedding-champagne: #ead9bb;
    --wedding-gold: #b08d57;
    --wedding-gold-soft: rgba(176, 141, 87, 0.28);
    --wedding-ink: #3e332c;
    --wedding-text: #6b5c51;
    --wedding-serif: "Cormorant Garamond", "Times New Roman", serif;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(242, 217, 208, 0.55), transparent 55%),
        radial-gradient(ellipse at 95% 35%, rgba(234, 217, 187, 0.45), transparent 50%),
        radial-gradient(ellipse at 20% 90%, rgba(214, 226, 212, 0.4), transparent 55%),
        var(--wedding-ivory);
    background-attachment: fixed;
    color: var(--wedding-ink);
}

body.wedding-page .cursor-glow {
    background: radial-gradient(circle, rgba(234, 217, 187, 0.45) 0%, transparent 70%);
}

/* Cabecera clara */
body.wedding-page .glass-nav {
    background: rgba(251, 247, 242, 0.78);
    border-bottom: 1px solid var(--wedding-gold-soft);
    box-shadow: 0 10px 30px rgba(120, 90, 60, 0.06);
}

body.wedding-page .glass-nav .logo img {
    filter: brightness(0);
    opacity: 0.78;
}

body.wedding-page .nav-links a,
body.wedding-page .nav-social a,
body.wedding-page .nav-toggle {
    color: var(--wedding-ink);
}

body.wedding-page .nav-links a:hover,
body.wedding-page .nav-links a:focus-visible,
body.wedding-page .nav-social a:hover,
body.wedding-page .nav-social a:focus-visible {
    color: var(--wedding-gold);
}

body.wedding-page .btn-nav,
body.wedding-page .nav-toggle {
    border-color: rgba(62, 51, 44, 0.35);
}

@media (max-width: 1100px) {
    body.wedding-page .nav-links {
        border-color: var(--wedding-gold-soft);
        background: rgba(251, 247, 242, 0.98);
        box-shadow: 0 1rem 3rem rgba(120, 90, 60, 0.15);
    }
}

/* Portada */
body.wedding-page .page-hero-wedding {
    position: relative;
    min-height: 82vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 18% 30%, rgba(242, 217, 208, 0.85), transparent 42%),
        radial-gradient(circle at 82% 25%, rgba(234, 217, 187, 0.75), transparent 40%),
        linear-gradient(180deg, #fdfaf6 0%, var(--wedding-cream) 70%, rgba(245, 236, 225, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

/* Destellos desenfocados, como luces de una fiesta */
body.wedding-page .page-hero-wedding::before,
body.wedding-page .page-hero-wedding::after {
    content: "";
    position: absolute;
    inset: -10%;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 70%, rgba(255, 255, 255, 0.9) 0 6px, transparent 7px),
        radial-gradient(circle at 25% 20%, rgba(234, 217, 187, 0.9) 0 4px, transparent 5px),
        radial-gradient(circle at 70% 78%, rgba(242, 217, 208, 0.95) 0 9px, transparent 10px),
        radial-gradient(circle at 88% 45%, rgba(255, 255, 255, 0.85) 0 5px, transparent 6px),
        radial-gradient(circle at 40% 85%, rgba(234, 217, 187, 0.8) 0 3px, transparent 4px),
        radial-gradient(circle at 60% 12%, rgba(242, 217, 208, 0.9) 0 7px, transparent 8px);
    filter: blur(1.5px);
    animation: wedding-float 14s ease-in-out infinite alternate;
}

body.wedding-page .page-hero-wedding::after {
    transform: scale(1.3);
    opacity: 0.6;
    filter: blur(4px);
    animation-duration: 20s;
    animation-direction: alternate-reverse;
}

@keyframes wedding-float {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -28px, 0); }
}

body.wedding-page .page-hero-wedding .page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.wedding-page .page-hero-wedding h1 {
    max-width: 900px;
    margin: 0 auto 1.4rem;
    color: var(--wedding-ink);
    font-family: var(--wedding-serif);
    font-size: clamp(3rem, 7vw, 6.4rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.01em;
}

body.wedding-page .eyebrow,
body.wedding-page .page-hero-wedding .h1-eyebrow {
    color: var(--wedding-gold);
    font-family: var(--font-body);
    letter-spacing: 0.32em;
}

body.wedding-page .page-hero-wedding .h1-eyebrow {
    margin-bottom: 1.2rem;
}

body.wedding-page .page-hero-wedding .highlight {
    color: var(--wedding-gold);
    font-style: italic;
}

body.wedding-page .page-hero-wedding p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 auto;
    color: var(--wedding-text);
    font-size: 1.08rem;
}

.wedding-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    color: var(--wedding-gold, #b08d57);
}

.wedding-ornament::before,
.wedding-ornament::after {
    content: "";
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.wedding-ornament svg {
    width: 30px;
    height: 30px;
}

/* Vídeos */
body.wedding-page .wedding-section {
    padding: 7rem 5% 8rem;
    background: transparent;
}

.wedding-films {
    display: grid;
    gap: 7rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Separador con un pequeño corazón entre los dos vídeos */
.wedding-film + .wedding-film::before {
    content: "♡";
    display: block;
    margin: -3.5rem auto 4.5rem;
    color: var(--wedding-gold, #b08d57);
    font-size: 1.3rem;
    text-align: center;
    background: linear-gradient(90deg, transparent, var(--wedding-gold-soft, rgba(176, 141, 87, 0.28)) 30%, transparent 45%, transparent 55%, var(--wedding-gold-soft, rgba(176, 141, 87, 0.28)) 70%, transparent) center / 100% 1px no-repeat;
}

.wedding-film-heading {
    margin-bottom: 2.2rem;
    text-align: center;
}

.wedding-film-number {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--wedding-gold, #b08d57);
    font-family: var(--wedding-serif, serif);
    font-size: 1.25rem;
    font-style: italic;
    letter-spacing: 0.15em;
}

.wedding-film-heading h2 {
    margin: 0;
    color: var(--wedding-ink, #3e332c);
    font-family: var(--wedding-serif, serif);
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.05;
    text-transform: none;
}

.wedding-film-heading p {
    margin: 0.7rem auto 0;
    max-width: 520px;
    color: var(--wedding-text, #6b5c51);
}

/* Marco tipo paspartú */
.wedding-film-frame {
    position: relative;
    padding: clamp(8px, 1.2vw, 14px);
    border: 1px solid var(--wedding-gold-soft, rgba(176, 141, 87, 0.28));
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 40px 90px -30px rgba(120, 90, 60, 0.35),
        0 0 0 8px rgba(255, 255, 255, 0.35);
}

.wedding-film-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #efe6da;
}

.wedding-film-screen iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wedding-film-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.6rem;
    padding: 2rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(242, 217, 208, 0.9), transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(234, 217, 187, 0.9), transparent 55%),
        #f8f1e8;
    color: var(--wedding-text, #6b5c51);
    text-align: center;
}

.wedding-film-placeholder svg {
    width: 58px;
    height: 58px;
    margin: 0 auto 0.4rem;
    color: var(--wedding-gold, #b08d57);
}

.wedding-film-placeholder strong {
    color: var(--wedding-ink, #3e332c);
    font-family: var(--wedding-serif, serif);
    font-size: 1.7rem;
    font-weight: 500;
}

/* Llamada final y pie */
body.wedding-page .section-cta-band {
    padding: 4.5rem 5%;
    background: linear-gradient(120deg, var(--wedding-blush) 0%, var(--wedding-champagne) 100%);
    text-align: center;
}

body.wedding-page .section-cta-band .cta-band-content {
    justify-content: center;
}

body.wedding-page .section-cta-band h2 {
    color: var(--wedding-ink);
    font-family: var(--wedding-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    text-transform: none;
}

body.wedding-page .btn-cta-brand {
    background-color: var(--wedding-ink);
    color: var(--wedding-ivory);
}

body.wedding-page .btn-cta-brand:hover {
    background-color: var(--wedding-gold);
}

body.wedding-page .main-footer {
    --text-main: var(--wedding-ink);
    --text-muted: var(--wedding-text);
    --accent: var(--wedding-gold);
    border-top: 1px solid var(--wedding-gold-soft);
    background: var(--wedding-cream);
    color: var(--wedding-text);
}

body.wedding-page .footer-legal {
    border-top-color: var(--wedding-gold-soft);
}

body.wedding-page .main-footer a,
body.wedding-page .main-footer .footer-brand,
body.wedding-page .main-footer strong {
    color: var(--wedding-ink);
}

body.wedding-page .main-footer p,
body.wedding-page .main-footer span {
    color: var(--wedding-text);
}

@media (prefers-reduced-motion: reduce) {
    body.wedding-page .page-hero-wedding::before,
    body.wedding-page .page-hero-wedding::after {
        animation: none;
    }
}

.testimonials-section {
    padding-top: 7rem;
}

.testi-info h3 {
    margin: 0;
    font-size: 1.05rem;
}

.testi-stars {
    color: var(--orange);
    letter-spacing: 0.16em;
}

.testi-avatar-initials {
    display: inline-grid;
    place-items: center;
    flex: 0 0 50px;
    background: var(--accent);
    color: #0d2217;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.reviews-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.reviews-link-wrap .text-link {
    margin-top: 0;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.page-hero {
    min-height: 56vh;
    display: flex;
    align-items: flex-end;
    padding: 12rem 5% 5.5rem;
    background: radial-gradient(circle at 85% 25%, rgba(94, 158, 126, 0.22), transparent 35%), linear-gradient(135deg, #161d19 0%, #0d0d0d 65%);
}

.page-hero-inner {
    width: 100%;
}

.page-hero h1 {
    max-width: 980px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.page-hero p:not(.eyebrow) {
    color: var(--text-muted);
    font-size: 1.12rem;
}

.service-grid {
    margin-top: 5rem;
}

.service-grid-business {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
    min-height: 255px;
}

.service-card-number {
    margin-bottom: 1.3rem;
}

.event-media-section {
    padding-top: 7rem;
}

.section-cta-band {
    padding: 4.5rem 5%;
}

.cta-band-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-band-content h2 {
    max-width: 800px;
    margin: 0;
}

.business-feature {
    padding: 7rem 5%;
}

.business-feature-copy .btn-cta-brand {
    margin-top: 1.5rem;
}

.business-feature-media {
    width: min(100%, 540px);
    justify-self: end;
}

.business-stills {
    position: relative;
    min-height: 520px;
}

.business-still {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.25rem;
    background: #183124;
    box-shadow: 0 1.5rem 3rem rgba(15, 42, 28, 0.23);
}

.business-still img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-still-main {
    inset: 0 13% 9% 0;
}

.business-still-accent {
    right: 0;
    bottom: 0;
    width: 48%;
    height: 42%;
    transform: rotate(2deg);
}

.business-stills-label {
    position: absolute;
    top: 1rem;
    right: 0;
    z-index: 2;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #15261d;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-row {
    align-items: center;
    margin-bottom: 0;
    color: inherit;
    text-decoration: none;
}

.team-info .eyebrow {
    margin-bottom: 0.4rem;
}

.team-info h3 {
    margin-bottom: 0.75rem;
}

.team-info p:last-child {
    color: var(--text-muted);
}

.team-photo-placeholder {
    padding: 0;
    background: #333;
}

.team-monogram {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    border-radius: 50%;
    background: linear-gradient(145deg, #5e9e7e, #284d3a);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.external-mark {
    color: var(--accent);
    font-size: 0.8em;
}

.legal-content {
    max-width: 900px;
    padding-top: 12rem;
}

.legal-content h1 {
    text-transform: none;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.65rem;
    font-size: 1.3rem;
}

.legal-content a {
    color: var(--accent);
}

.legal-content ul {
    margin: 0.75rem 0 1rem 1.25rem;
}

.legal-content li + li {
    margin-top: 0.45rem;
}

.legal-updated {
    margin-top: -0.7rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-heading h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    text-transform: none;
}

.contact-heading > p:last-child {
    color: var(--text-muted);
}

.contact-card-green {
    align-items: stretch;
    max-width: 1180px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #91bea5 0%, #70a88a 100%);
}

.contact-image {
    flex: 0 0 36%;
    min-height: 620px;
}

.contact-form-area {
    flex: 1 1 auto;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    justify-content: flex-start;
}

.form-intro,
.form-heading {
    margin-bottom: 1.35rem;
    color: #173323;
    font-size: 0.85rem;
}

.form-heading > span {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.form-heading p {
    color: rgba(14, 48, 30, 0.82);
}

.form-target {
    display: none;
}

.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.6rem, 4vw, 2.5rem);
}

.form-progress-label {
    color: #173323;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-progress-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.form-progress-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 99px;
    background: rgba(23, 51, 35, 0.28);
    transition: width 0.25s ease, background-color 0.25s ease;
}

.form-progress-dot.is-current {
    width: 2rem;
    background: var(--orange);
}

.form-progress-dot.is-complete {
    background: #173323;
}

.form-step[hidden] {
    display: none;
}

.form-step.is-active {
    animation: form-step-in 0.3s ease both;
}

@keyframes form-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step-heading {
    margin-bottom: 1.35rem;
    color: #10271a;
}

.form-step-heading h3 {
    margin-bottom: 0.45rem;
    color: #10271a;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.12;
    scroll-margin-top: 8rem;
}

.form-step-heading h3:focus {
    outline: none;
}

.form-step-heading > p:last-child {
    max-width: 620px;
    color: rgba(16, 39, 26, 0.78);
    font-size: 0.88rem;
    line-height: 1.55;
}

.form-step-kicker {
    margin-bottom: 0.45rem;
    color: #173323;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.form-field {
    margin-bottom: 0.85rem;
}

.form-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.form-choice-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.form-choice-group legend {
    margin-bottom: 0.55rem;
    color: #173323;
    font-size: 0.78rem;
    font-weight: 700;
}

.form-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.form-choice {
    position: relative;
    display: block !important;
    cursor: pointer;
}

.form-choice input {
    position: absolute;
    width: 1px !important;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.form-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(16, 39, 26, 0.3);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    color: #10271a;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-choice:hover span {
    border-color: #10271a;
    background: rgba(255, 255, 255, 0.9);
}

.form-choice input:checked + span {
    border-color: var(--orange);
    background: var(--orange);
    box-shadow: 0 8px 18px rgba(112, 55, 13, 0.18);
    color: #23170d;
    transform: translateY(-1px);
}

.form-choice input:focus-visible + span {
    outline: 3px solid rgba(16, 39, 26, 0.75);
    outline-offset: 2px;
}

.form-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.form-step-actions-end {
    justify-content: flex-end;
}

.btn-wizard-next,
.btn-wizard-back,
.form-step-actions .btn-submit-orange {
    min-height: 48px;
    margin: 0;
    padding: 0.78rem 1.35rem;
    border-radius: 99px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-wizard-next,
.form-step-actions .btn-submit-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid var(--orange);
    background: var(--orange);
    color: #23170d;
}

.btn-wizard-back {
    border: 1px solid rgba(16, 39, 26, 0.4);
    background: transparent;
    color: #10271a;
}

.btn-wizard-next:hover,
.form-step-actions .btn-submit-orange:hover {
    background: #f2a15b;
    transform: translateY(-2px);
}

.btn-wizard-back:hover {
    border-color: #10271a;
    background: rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
}

.btn-wizard-next:focus-visible,
.btn-wizard-back:focus-visible,
.form-step-actions .btn-submit-orange:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.form-privacy-note {
    margin: 1rem 0 0.7rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(23, 51, 35, 0.2);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.32);
    color: #173323;
    font-size: 0.72rem;
    line-height: 1.45;
}

.form-privacy-note strong {
    display: block;
    margin-bottom: 0.2rem;
}

.form-field label {
    color: #173323;
}

.form-field input,
.form-field textarea {
    margin-bottom: 0;
}

.form-consent {
    display: flex !important;
    gap: 0.55rem;
    align-items: flex-start;
    margin-top: 0.5rem;
    color: #173323 !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

.form-consent input {
    width: auto;
    margin-top: 0.2rem;
    accent-color: var(--orange);
}

.form-consent a {
    color: #173323;
    font-weight: 700;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.form-status {
    min-height: 1.4rem;
    margin-top: 1rem;
    color: #173323;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-status.is-success {
    color: #0c3c23;
}

.form-fallback {
    margin-top: 0.65rem;
    color: rgba(23, 51, 35, 0.82);
    font-size: 0.68rem;
    line-height: 1.45;
}

.form-fallback a {
    color: #173323;
    font-weight: 700;
}

.form-noscript {
    margin-top: 1rem;
    color: #10271a;
    font-size: 0.82rem;
}

.form-noscript a {
    color: #10271a;
    font-weight: 800;
}

.gallery-subheading {
    padding: 6rem 5% 2rem;
}

.gallery-subheading h3 {
    max-width: 720px;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    line-height: 1.1;
}

.food-gallery {
    margin-top: 0;
    padding-bottom: 1px;
    background: #111;
}

.food-gallery .seamless-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 7rem 5%;
    background: #f2f0e9;
    color: #18211b;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.faq-heading {
    position: sticky;
    top: 7rem;
}

.faq-heading h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.faq-heading p:last-child {
    color: #58635c;
}

.faq-section .highlight {
    color: var(--accent-dark);
}

.faq-list {
    border-top: 1px solid rgba(24, 33, 27, 0.18);
}

.faq-list details {
    border-bottom: 1px solid rgba(24, 33, 27, 0.18);
}

.faq-list summary {
    position: relative;
    padding: 1.35rem 3rem 1.35rem 0;
    cursor: pointer;
    list-style: none;
    font-size: 1.02rem;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0.4rem;
    color: var(--accent-dark);
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 720px;
    padding: 0 3rem 1.4rem 0;
    color: #58635c;
}

.btn-submit-orange:disabled {
    cursor: wait;
    opacity: 0.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
    text-align: left;
}

.footer-brand {
    color: var(--text-main) !important;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-info p,
.footer-contact p,
.footer-contact a,
.footer-contact span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-contact a {
    margin-bottom: 0.3rem;
    color: var(--accent);
    text-decoration: none;
}

.footer-grid .footer-social {
    justify-content: flex-end;
    margin-top: 0;
}

.footer-legal {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
}

.footer-legal a {
    color: #888;
}

.lightbox-close {
    border: 0;
    background: transparent;
}

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-scroll-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .glass-nav .logo {
        order: 0;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        order: 1;
    }

    .nav-links {
        display: none;
        order: 2;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        background: rgba(14, 14, 14, 0.96);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.6rem 0.75rem;
        white-space: normal;
    }

    .nav-links .btn-nav {
        text-align: center;
    }

    .nav-social {
        display: none;
    }

    .solution-grid,
    .service-grid-business {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .glass-nav {
        min-height: 72px;
        padding: 0.45rem 5%;
    }

    .logo img {
        height: 62px !important;
    }

    .nav-toggle {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

    .hero {
        min-height: 82vh;
        padding: 8rem 6% 4rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 11vw, 4rem);
    }

    .hero-scroll {
        bottom: 1.25rem;
    }

    .intro-grid,
    .split-content,
    .business-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .intro-grid h2,
    .section-heading h2,
    .split-content h2,
    .business-feature h2,
    .cta-band-content h2 {
        font-size: 2.2rem;
    }

    .solution-grid,
    .service-grid,
    .service-grid-business,
    .process-grid,
    .showcase-videos,
    .showcase-videos-projects,
    .showcase-videos-wide,
    .project-videos {
        grid-template-columns: 1fr;
    }

    .project-video-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .wedding-films {
        gap: 5rem;
    }

    .solution-card,
    .service-card {
        min-height: 0;
    }

    .section-process,
    .work-showcase,
    .projects-gallery,
    .event-media-section,
    .business-feature {
        padding-top: 5rem;
    }

    .page-hero {
        min-height: 62vh;
        padding: 9rem 6% 4rem;
    }

    .page-hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .cta-band-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .business-feature-media {
        justify-self: center;
    }

    .business-stills {
        min-height: 420px;
    }

    .team-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-photo {
        width: 145px;
        height: 145px;
    }

    .team-monogram {
        flex: 0 0 auto;
        width: 145px;
        height: 145px;
    }

    .contact-image {
        flex-basis: 240px;
        min-height: 240px;
    }

    .contact-form-area {
        padding: 2rem clamp(1.1rem, 5vw, 2rem);
    }

    .form-fields-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-heading {
        position: static;
    }

    .faq-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .gallery-subheading {
        padding-top: 4.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid .footer-social {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal span {
        display: none;
    }
}

@media (max-width: 520px) {
    .form-choice-grid {
        grid-template-columns: 1fr;
    }

    .form-progress {
        margin-bottom: 1.4rem;
    }

    .form-choice span {
        min-height: 52px;
    }

    .form-step-actions {
        margin-top: 1.25rem;
    }

    .btn-wizard-next,
    .btn-wizard-back,
    .form-step-actions .btn-submit-orange {
        padding-inline: 1rem;
    }

    .business-stills {
        min-height: 340px;
    }

    .business-still-main {
        right: 8%;
    }

    .business-still-accent {
        width: 52%;
        height: 38%;
    }
}

/* ============================================================
   v2.3.2 — Formulario estable, FAQ y carrusel de opiniones
   ============================================================ */

/* Formulario: todos los pasos ocupan la misma celda para que la tarjeta
   y la fotografía mantengan siempre la misma proporción. */
.contact-image {
    position: relative;
    overflow: hidden;
}

.contact-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.contact-form-area form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    flex: 1 1 auto;
}

.contact-form-area form > * {
    grid-column: 1;
}

.contact-form-area .form-progress { grid-row: 1; }
.contact-form-area .form-step { grid-row: 2; }
.contact-form-area .form-status { grid-row: 3; }
.contact-form-area .form-fallback { grid-row: 4; }

.contact-form-area .form-step {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-form-area .form-step[hidden] {
    display: flex;
    visibility: hidden;
    pointer-events: none;
}

.contact-form-area .form-step {
    justify-content: center;
}

.contact-form-area .form-step .form-step-actions {
    margin-top: 1.25rem;
    padding-top: 0;
}

/* v2.3.3 — Tarjeta más compacta y foto mejor encuadrada */
.contact-image {
    min-height: 0;
}

.contact-image img {
    object-position: 12% center;
}

.contact-form-area {
    padding: clamp(1.4rem, 3vw, 2.6rem);
}

.contact-form-area .form-progress {
    margin-bottom: 1.4rem;
}

.contact-form-area .form-step-heading {
    margin-bottom: 1rem;
}

.contact-form-area .form-step-heading h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.contact-form-area .form-choice span {
    min-height: 50px;
}

.contact-form-area .form-fields-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.7rem;
}

.contact-form-area .form-field {
    margin-bottom: 0.6rem;
}

.contact-form-area .form-field input,
.contact-form-area .form-field textarea {
    margin-bottom: 0;
}

.contact-form-area #contact-message {
    min-height: 84px;
    resize: vertical;
}

.contact-form-area .form-privacy-note {
    margin: 0.6rem 0 0.4rem;
    padding: 0.7rem 0.9rem;
}

/* FAQ: enlace al formulario */
.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.faq-link:hover,
.faq-link:focus-visible {
    color: var(--orange);
}

/* Carrusel de opiniones */
.testimonials-carousel {
    position: relative;
}

.testimonials-viewport {
    position: relative;
}

.testimonials-carousel:not(.is-ready) .testimonials-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonials-carousel:not(.is-ready) .testimonials-controls {
    display: none;
}

.testimonials-carousel.is-ready .testimonials-viewport {
    margin-inline: calc(50% - 50vw);
    padding-block: 1rem;
    overflow: hidden;
}

.testimonials-carousel.is-ready .testimonials-track {
    display: grid;
    grid-template-columns: min(680px, 74vw);
    justify-content: center;
}

.testimonials-carousel.is-ready .testimonial-slide {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0) scale(0.86);
    filter: brightness(0.4);
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease, filter 0.45s ease, visibility 0s linear 0.55s;
}

.testimonials-carousel.is-ready .testimonial-slide.is-current {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    filter: none;
    border-color: var(--accent);
    transition-delay: 0s;
}

.testimonials-carousel.is-ready .testimonial-slide.is-prev,
.testimonials-carousel.is-ready .testimonial-slide.is-next {
    z-index: 1;
    opacity: 0.6;
    visibility: visible;
    cursor: pointer;
    filter: brightness(0.55);
    transition-delay: 0s;
}

.testimonials-carousel.is-ready .testimonial-slide.is-prev {
    transform: translateX(calc(-100% - 1.25rem)) scale(0.88);
}

.testimonials-carousel.is-ready .testimonial-slide.is-next {
    transform: translateX(calc(100% + 1.25rem)) scale(0.88);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.testimonials-arrow {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: transparent;
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.testimonials-arrow:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #0d2217;
}

.testimonials-arrow:focus-visible,
.testimonials-dot:focus-visible,
.btn-reviews:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

.testimonials-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-dot {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.testimonials-dot[aria-current="true"] {
    width: 1.8rem;
    background: var(--accent);
}

.btn-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--text-main);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-reviews:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #0d2217;
}

@media (max-width: 768px) {
    .contact-form-area .form-fields-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* En móvil la foto es una franja fija: el formulario recupera su altura natural. */
    .contact-form-area .form-step[hidden] {
        display: none;
    }

    .contact-form-area .form-step .form-step-actions {
        margin-top: 1.5rem;
        padding-top: 0;
    }

    .testimonials-carousel.is-ready .testimonials-track {
        grid-template-columns: 76vw;
    }

    .testimonials-carousel.is-ready .testimonial-slide.is-prev {
        transform: translateX(-92%) scale(0.9);
    }

    .testimonials-carousel.is-ready .testimonial-slide.is-next {
        transform: translateX(92%) scale(0.9);
    }

    .testimonials-controls {
        gap: 0.9rem;
    }
}

/* Eventos: plazos de entrega destacados */
.delivery-grid .process-step > span {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #2f5d45;
}

/* Iconos SVG propios (sin Font Awesome) */
.nav-social a,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.nav-toggle .menu-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-scroll-reveal] {
        opacity: 1;
        transform: none;
    }
}


/* SEO: la línea pequeña forma parte del H1 y se ve igual que antes */
h1 .h1-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}


/* ======================================================
   ACTUALIZACIÓN NOVIEMBRE 2026
   ====================================================== */

/* Portada: titular repartido en líneas equilibradas, también en móvil */
.hero h1 {
    text-wrap: balance;
}

/* Eventos: aclaración visible junto a los plazos */
.delivery-note {
    max-width: 760px;
    margin-top: 1.5rem;
    color: #3d4842;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Eventos: vídeos clasificados por tipo de evento */
.event-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
    max-width: 1400px;
    padding: 0 5% 7rem;
}

.project-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}

/* Empresas: las dos necesidades */
.service-grid-needs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Empresas: ejemplo de vídeo de marca (texto a la izquierda, vídeo a la derecha) */
.brand-example-section {
    padding: 7rem 5%;
}

.brand-example {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 4rem;
    max-width: 980px;
    align-items: center;
}

.brand-example h2 {
    margin: 0.4rem 0 1.3rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: none;
}

.brand-example .project-video-link {
    display: inline-block;
    margin-top: 1.2rem;
}

.instagram-embed {
    width: 100%;
    max-width: 400px;
    justify-self: end;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.instagram-embed iframe {
    display: block;
    width: 100%;
    height: 720px;
    border: 0;
}

/* Empresas: galería de gastronomía y producto */
.projects-gallery > .gallery-subheading:first-child {
    padding-top: 0;
}

.gallery-subheading h2 {
    max-width: 720px;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    line-height: 1.1;
    text-transform: none;
}

/* Proyectos: fotos verticales completas (2:3), sin recorte horizontal */
.portrait-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1px;
}

.portrait-gallery .seamless-item {
    aspect-ratio: 2 / 3;
}

/* Formulario: con un número impar de opciones, la última ocupa toda la fila */
.form-choice-grid:not(.form-choice-grid-timing) .form-choice:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .event-videos,
    .service-grid-needs {
        grid-template-columns: 1fr;
    }

    .project-video:last-child:nth-child(odd) {
        width: 100%;
    }

    .event-videos,
    .brand-example-section {
        padding-bottom: 5rem;
    }

    .brand-example {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .instagram-embed {
        justify-self: center;
    }

    /* Fotos verticales: carrusel deslizable para verlas grandes y enteras */
    .portrait-gallery {
        display: flex;
        gap: 1px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .portrait-gallery .seamless-item {
        flex: 0 0 72vw;
        scroll-snap-align: start;
    }
}

@media (max-width: 420px) {
    .instagram-embed iframe {
        height: 640px;
    }
}

/* ============================================================
   Contenido para empresas — ajuste estético (solo esta página).
   Todo va limitado a clases que solo existen en esta plantilla.
   ============================================================ */

/* 1. Primera pantalla */
.page-hero-business h1 {
    font-size: clamp(2.6rem, 4.2vw + 0.7rem, 4.6rem);
    line-height: 1.04;
    text-wrap: balance;
}

.page-hero-business p:not(.eyebrow) {
    text-wrap: pretty;
}

/* Vídeo de fondo (aftermovie Salseo), sin sonido y con capa oscura para leer el texto */
.page-hero-business {
    position: relative;
    overflow: hidden;
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 12, 11, 0.88) 0%, rgba(10, 12, 11, 0.62) 55%, rgba(10, 12, 11, 0.45) 100%),
        linear-gradient(0deg, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0) 45%);
}

.page-hero-business .page-hero-inner {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .page-hero-media video {
        display: none;
    }
}

.page-hero-business .hero-buttons {
    margin-top: 1.4rem;
}

/* 2. Servicios: menos aire entre la introducción y las tarjetas */
#servicios-empresa .split-content p {
    text-wrap: pretty;
}

#servicios-empresa .service-grid-needs {
    margin-top: 3rem;
}

/* 3. Ejemplo de Liam Café: composición compacta.
   La altura del embed la fija Instagram (script.js), así se ve completo. */
.brand-example-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.brand-example {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
    max-width: 900px;
    align-items: start;
}

.brand-example > div:first-child {
    padding-top: 1rem;
}

.brand-example h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.brand-example .instagram-embed {
    max-width: 340px;
}

/* La galería sigue al ejemplo de vídeo como complemento, sin un gran salto */
#gastronomia-producto {
    padding-top: 3.5rem;
}

.brand-example h2,
.brand-example p {
    text-wrap: pretty;
}

.brand-example .instagram-embed iframe {
    min-height: 480px;
}

/* 4. Bloque verde */
.business-feature h2 {
    max-width: 560px;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    text-wrap: balance;
}

.business-feature .btn-cta-brand {
    padding: 1rem 2rem;
    border-radius: 4px;
    background-color: #0d0d0d;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.2s, background-color 0.2s;
}

.business-feature .btn-cta-brand:hover {
    background-color: #000;
    transform: translateY(-3px);
}

.business-feature .business-feature-media {
    width: min(100%, 500px);
}

.business-feature .business-still-main {
    inset: 0 16% 12% 0;
}

.business-feature .business-still-accent {
    right: 3%;
    bottom: 3%;
    width: 46%;
    height: 40%;
}

.business-feature .business-stills-label {
    top: 1rem;
    right: auto;
    left: 1rem;
    max-width: calc(84% - 2rem);
}

/* 5. Galería de gastronomía: separación discreta entre fotos */
#gastronomia-producto .food-gallery {
    background: #090909;
}

#gastronomia-producto .slider-track .seamless-item {
    background: #090909;
    clip-path: inset(0 5px);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .brand-example {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 2.5rem;
    }

    .brand-example .instagram-embed {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .page-hero-business h1 {
        font-size: clamp(2.1rem, 9.5vw, 3.2rem);
    }

    #servicios-empresa .service-grid-needs {
        margin-top: 2rem;
    }

    .brand-example-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .brand-example {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .brand-example > div:first-child {
        padding-top: 0;
    }

    .brand-example .instagram-embed {
        max-width: 360px;
        justify-self: center;
    }

    #gastronomia-producto {
        padding-top: 3rem;
    }

    .business-feature h2 {
        font-size: 2rem;
    }

    .business-feature .business-feature-media {
        width: 100%;
        max-width: 460px;
        margin-top: 1rem;
    }

    /* Móvil: una foto principal y parte de la siguiente, todas a la misma altura */
    #gastronomia-producto .slider-track .seamless-item {
        width: 66vw;
        aspect-ratio: 2 / 3;
    }

    #gastronomia-producto .slider-track .seamless-item.horizontal-item {
        width: 84vw;
        height: 99vw;
        aspect-ratio: auto;
    }
}

@media (max-width: 520px) {
    .business-feature .business-stills {
        min-height: 360px;
    }

    .business-feature .business-still-main {
        inset: 0 12% 14% 0;
    }

    .business-feature .business-still-accent {
        right: 2%;
        width: 50%;
        height: 36%;
    }

    .business-feature .business-stills-label {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.55rem 0.8rem;
        font-size: 0.64rem;
    }
}