/*
 * styles.css — Pa' las que sea
 * Design System: "Minimalismo Eléctrico" / Industrial Luxury
 * Dark mode first · Electric Yellow accent · Montserrat + Open Sans
 */

/* ============================================================
   GOOGLE FONTS — cargadas via <link> en index.html (preconnect)
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --yellow:           #febd25;
  --yellow-glow:      rgba(254, 189, 37, 0.18);
  --yellow-glow-hot:  rgba(254, 189, 37, 0.38);

  /* Backgrounds */
  --bg-app:     #050505;
  --bg-section: #000000;
  --bg-alt:     #0a0a0a;
  --bg-card:    #121212;
  --bg-secondary: #1a1a1a;

  /* Borders */
  --border:        #2d2d2d;
  --border-subtle: #1a1a1a;

  /* Text */
  --text-heading: #fbfbf8;
  --text-body:    #e0e0e0;
  --text-muted:   #9e9e9e;
  --text-dim:     #555555;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Layout */
  --container-max: 1140px;
  --section-pad:   80px;
  --header-h:      90px;

  /* Motion */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.45s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture — "Industrial" feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)' opacity='0.038'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--t-base);
}

a:hover {
  color: var(--yellow);
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER & NAV — Dark luxury split layout: left links | center logo | right links
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 8, 0.35);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base);
}

.header--scrolled {
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(247, 147, 30, 0.10), 0 10px 40px rgba(0, 0, 0, 0.65);
  border-bottom-color: rgba(247, 147, 30, 0.14);
}

/* Full-width 3-column bar — no container constraint */
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 2.5rem;
}

/* Legacy selector */
.header__inner {
  display: none;
}

/* ── Logo (center) — column stack: diamond ↑ + image ↓ ── */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 2rem;
  gap: 3px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo__diamond {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(247, 147, 30, 0.35));
  transition: filter 0.3s ease;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.logo:hover {
  opacity: 0.88;
  text-decoration: none;
}

.logo:hover .logo__diamond {
  filter: drop-shadow(0 0 10px rgba(255, 189, 37, 0.55));
}

/* ── Desktop nav — shared base ── */
.nav-links {
  flex: 1;
}

.nav-links ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
}

/* Left nav: links flush right towards the logo */
.nav-links--left ul {
  justify-content: flex-end;
}

/* Right nav: links flush left away from the logo */
.nav-links--right ul {
  justify-content: flex-start;
}

.nav-links a {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, #FFBD25 0%, #FFBD25 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: rgba(255, 189, 37, 0.90);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

/* ── CTA nav link — "Reservar" ── */
.btn--nav {
  margin-left: 0.4rem;
  padding: 0.32rem 0.9rem !important;
  border: 1px solid rgba(247, 147, 30, 0.38);
  color: rgba(247, 147, 30, 0.82) !important;
  letter-spacing: 0.22em !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease !important;
  background: rgba(247, 147, 30, 0.10) !important;
}

.btn--nav::after {
  display: none !important;
}

.btn--nav:hover {
  background: rgba(247, 147, 30, 0.10) !important;
  border-color: rgba(255, 189, 37, 0.65) !important;
  color: #FFBD25 !important;
  box-shadow: 0 0 14px rgba(247, 147, 30, 0.18) !important;
  text-decoration: none !important;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid rgba(247, 147, 30, 0.22);
  cursor: pointer;
  transition: border-color var(--t-base);
}

.hamburger:hover {
  border-color: rgba(247, 147, 30, 0.58);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(210, 202, 192, 0.75);
  transition: background var(--t-base), transform var(--t-base);
}

.hamburger:hover span {
  background: #F7931E;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(247, 147, 30, 0.10);
  background: rgba(5, 5, 8, 0.97);
}

.mobile-menu[data-mobile-menu="open"] {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0.75rem 0 1.25rem;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(210, 202, 192, 0.68);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-menu a:hover {
  color: #fff;
  padding-left: 2.5rem;
  text-decoration: none;
}

/* ============================================================
   MAIN OFFSET (fixed header)
   ============================================================ */
main {
  padding-top: var(--header-h);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-app);
}

.section--alt {
  background: var(--bg-section);
}

.section--hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  border-bottom: none;
  overflow: hidden;
  background: var(--bg-app);
  display: flex;
  align-items: flex-end;
  margin-top: calc(-1 * var(--header-h));
}

/* ============================================================
   FINAL CTA — Climactic finale, dark luxury with brand glow
   ============================================================ */
.section--cta {
  position: relative;
  padding: calc(var(--section-pad) * 2.2) 0 calc(var(--section-pad) * 2.5);
  background: linear-gradient(180deg, #2C3E5F 0%, #253749 50%, #2C3E5F 100%);
  border-top: 1px solid rgba(254, 189, 37, 0.09);
  border-bottom: none;
  text-align: center;
  overflow: hidden;
}

/* Animated brand radial glows */
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 960px 520px at 50% 15%,
      rgba(254, 189, 37, 0.10) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 720px 400px at 20% 85%,
      rgba(255, 107, 53, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 560px 320px at 82% 78%,
      rgba(247, 147, 30, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: ctaGlowPulse 8s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.06); }
}

/* Grain texture overlay */
.section--cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='cta-gr'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23cta-gr)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.section--cta .container {
  position: relative;
  z-index: 2;
}

/* ── Tejo icon ── */
.cta-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  color: var(--yellow);
  filter: drop-shadow(0 0 22px rgba(254, 189, 37, 0.50));
  animation: float 4.5s ease-in-out infinite;
}

/* ── Title ── */
.section--cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  padding-top: 0;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.9),
    0 0 65px rgba(254, 189, 37, 0.20);
  animation: ctaTitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.section--cta h2::before {
  display: none;
}

@keyframes ctaTitleReveal {
  from {
    opacity: 0;
    transform: translateY(38px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ── Body copy ── */
.section--cta p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
  max-width: 500px;
  margin: 0 auto 1.1rem;
}

/* ── Tagline: "Solo faltas tú." — flanked by gradient lines ── */
.cta-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.25rem auto 3rem;
  max-width: 460px;
}

.cta-tagline::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(254, 189, 37, 0.45) 100%);
}

.cta-tagline::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(254, 189, 37, 0.45) 0%, transparent 100%);
}

.cta-tagline strong {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--yellow);
  white-space: nowrap;
}

/* ── CTA Button — pulsing glow finale ── */
.section--cta .btn--primary.btn--large {
  padding: 1.15rem 3.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  animation: btnCtaPulse 3.2s ease-in-out infinite;
}

@keyframes btnCtaPulse {
  0%, 100% {
    box-shadow: 0 0 22px rgba(254, 189, 37, 0.28), 0 6px 20px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 46px rgba(254, 189, 37, 0.58), 0 10px 32px rgba(0, 0, 0, 0.5);
  }
}

.section--cta .btn--primary.btn--large:hover {
  animation: none;
  box-shadow: 0 0 70px rgba(254, 189, 37, 0.72), 0 14px 38px rgba(0, 0, 0, 0.55);
  transform: translateY(-4px) scale(1.03);
}

/* Mobile */
@media (max-width: 768px) {
  .section--cta {
    padding: calc(var(--section-pad) * 1.5) 0 calc(var(--section-pad) * 1.8);
  }

  .section--cta h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .cta-tagline {
    gap: 0.75rem;
    max-width: 320px;
  }

  .section--cta .btn--primary.btn--large {
    padding: 1rem 2.4rem;
    width: 100%;
    max-width: 300px;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-heading);
  /* Yellow spark above — replaces old border-left */
  padding-left: 0;
  border-left: none;
  border-bottom: none;
  position: relative;
  padding-top: 1.25rem;
  margin-bottom: 2.5rem;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-heading);
  margin-bottom: 0.7rem;
}

h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p {
  color: var(--text-body);
  font-weight: 300;
  margin-bottom: 1rem;
  max-width: 72ch;
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.35rem;
  color: var(--text-body);
  font-weight: 300;
}

strong {
  font-weight: 700;
  color: var(--text-heading);
}

/* Prose block */
.prose p {
  max-width: 68ch;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 50px;
  line-height: 1;
  transition:
    background   var(--t-base),
    color        var(--t-base),
    border-color var(--t-base),
    box-shadow   var(--t-base),
    transform    var(--t-fast);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

.btn--primary:hover {
  background: #ffc82a;
  color: #000;
  box-shadow: 0 0 28px var(--yellow-glow-hot), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn--secondary:hover {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 0 20px var(--yellow-glow);
}

.btn--nav {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
}

.btn--nav:hover {
  background: #ffc82a;
  color: #000;
  box-shadow: 0 0 18px var(--yellow-glow);
}

.btn--full {
  width: 100%;
  text-align: center;
  display: block;
}

.btn--large {
  padding: 1rem 3rem;
  font-size: 0.82rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

/* Container becomes the full-height content layer */
.section--hero .container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Media cubre 100% de la sección (es hijo directo de section--hero con position: relative) */
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #080808;
  overflow: hidden;
}

/* Cinematic gradient overlay — bottom only for text legibility */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg-app)        0%,
    rgba(5, 5, 5, 0.80) 30%,
    rgba(5, 5, 5, 0.45) 60%,
    rgba(5, 5, 5, 0.15) 100%
  );
  z-index: 1;
}

.hero-video,
.hero__bg-image {
  /*
   * scale(1.45) recorta las barras negras codificadas en el MP4.
   * overflow:hidden en .hero__media elimina el exceso.
   */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.45);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: none;
}

.hero__media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
  z-index: 0;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 54ch;
  line-height: 1.75;
  font-weight: bold;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   GRID
   ============================================================ */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    box-shadow   var(--t-base),
    transform    var(--t-base);
}

/* Yellow spark that slides in on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.card:hover {
  border-color: #3a3a3a;
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0  40px rgba(254, 189, 37, 0.05);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
  opacity: 0.45;
  transition: opacity var(--t-base), transform var(--t-base);
}

.card:hover .card__icon {
  opacity: 1;
  transform: scale(1.08);
}

.card h3 {
  margin-bottom: 0.75rem;
}

/* Override plain ul inside cards */
.card ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 0;
}

.card ul li {
  padding: 0.32rem 0;
  font-size: 0.87rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul li::before {
  content: '—';
  color: var(--yellow);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 2.5rem;
}

.gallery__item {
  aspect-ratio: 1;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  transition: border-color var(--t-base), background var(--t-base);
}

.gallery__placeholder:hover {
  border-color: var(--yellow);
  background: var(--bg-card);
}

.gallery__placeholder span {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonios-track {
  max-width: 740px;
  margin: 0 auto;
}

.testimonio-item {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.testimonio-item.active {
  display: block;
  animation: slideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

blockquote {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

blockquote strong {
  font-style: normal;
  color: var(--yellow);
}

.testimonio-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stars {
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-left: auto;
}

/* Dot navigation — bars instead of circles */
.testimonios-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.dot {
  width: 24px;
  height: 2px;
  border-radius: 0;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-base), width var(--t-base);
}

.dot:hover {
  background: var(--text-muted);
}

.dot.active {
  background: var(--yellow);
  width: 42px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-heading);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--yellow);
}

/* ============================================================
   FORM
   ============================================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

label span[aria-hidden] {
  color: var(--yellow);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  caret-color: var(--yellow);
  transition:
    background      var(--t-base),
    border-color    var(--t-base),
    box-shadow      var(--t-base);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
  font-weight: 300;
}

select {
  cursor: pointer;
  color: var(--text-body);
}

select option {
  background: var(--bg-secondary);
  color: var(--text-body);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.065);
  border-bottom: 2px solid var(--yellow);
  box-shadow: 0 6px 20px rgba(254, 189, 37, 0.07);
}

/* Invalid state (set by JS) */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-bottom-color: #e04040;
}

.field-error {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e04040;
}

textarea {
  resize: vertical;
  min-height: 108px;
  border-radius: 4px;
  border-bottom: 1px solid var(--border);
}

/* Checkbox */
.form-group--check {
  margin-top: 0.75rem;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.check-label input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.check-label input[type="checkbox"]:checked {
  background: var(--yellow);
  border-color: var(--yellow);
}

.check-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  color: #000;
  font-weight: 900;
  line-height: 1;
}

.check-label a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-label a:hover {
  color: #ffc82a;
}

/* Form success / error messages (created by JS) */
.form-success,
.form-error {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.form-success {
  background: rgba(254, 189, 37, 0.07);
  border-left: 3px solid var(--yellow);
  color: var(--text-body);
}

.form-error {
  background: rgba(224, 64, 64, 0.07);
  border-left: 3px solid #e04040;
  color: var(--text-body);
}

.form-success h3,
.form-error h3 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.form-success a,
.form-error a {
  color: var(--yellow);
}

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-info h3 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
}

.contact-block {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact-block .btn {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  padding: 0.5rem 1.25rem;
}

.contact-block p {
  margin-bottom: 0.25rem;
  max-width: none;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-body);
}

.contact-block strong {
  font-weight: 700;
  color: var(--text-heading);
}

/* Map placeholder */
.map-placeholder {
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.78rem;
  margin: 0.75rem 0;
  transition: border-color var(--t-base);
}

.map-placeholder:hover {
  border-color: #3a3a3a;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-weight: 300;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--text-heading);
  white-space: nowrap;
  padding-right: 1rem;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-tagline {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 2.5rem;
}

.cta-tagline strong {
  font-weight: 900;
  color: var(--yellow);
}

/* ============================================================
   FOOTER
   ============================================================ */

/* Thin yellow accent bar at the very top */
.footer-accent-bar {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--yellow) 25%,
    var(--yellow) 75%,
    transparent 100%
  );
}

.footer {
  background: var(--bg-section);
  position: relative;
}

.footer-inner {
  padding: 5rem 0 3.5rem;
}

/* Four-column layout: brand | nav | social | location */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

/* ── Brand column ── */
.footer-col--brand {
  padding-right: 1.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: opacity var(--t-base);
}

.footer-logo:hover {
  opacity: 0.75;
}

.footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  font-weight: 300;
  font-style: italic;
  padding-left: 0.875rem;
  border-left: 2px solid var(--yellow);
  max-width: none;
}

.footer-cta-btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--t-base), color var(--t-base);
}

.footer-cta-btn:hover {
  background: var(--yellow);
  color: #000;
}

/* ── Column headings ── */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
  position: static;
}

.footer-col h4::after {
  display: none;
}

/* ── Generic paragraph inside col ── */
.footer-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: none;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

/* ── Navigation list ── */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

/* Prevent card li::before from appearing in footer */
.footer-col ul li::before {
  display: none;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 300;
  text-decoration: none;
  transition: color var(--t-base);
}

.footer-col a:hover {
  color: var(--text-heading);
  text-decoration: none;
}

/* ── Social links ── */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 300;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--t-base), border-color var(--t-base);
}

.footer-social-link:last-child {
  border-bottom: none;
}

.footer-social-link:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow-glow);
}

.footer-social-link svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity var(--t-base);
}

.footer-social-link:hover svg {
  opacity: 1;
}

/* ── Info list: location, hours, contact ── */
.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  font-weight: 300;
}

.footer-info-item::before {
  display: none !important;
}

.footer-info-item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--yellow);
  opacity: 0.75;
}

/* ── Bottom copyright bar ── */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-copyright {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

.footer-legal li::before {
  display: none !important;
}

.footer-legal a {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--t-base);
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}

.text-center p,
.text-center h2 {
  margin-left: auto;
  margin-right: auto;
}

/* Centered h2 — bar is centered, no left border */
.text-center h2 {
  display: inline-block;
  border-left: none;
  padding-left: 0;
}

.text-center h2::before {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   INTERSECTION OBSERVER ANIMATION
   Sections are visible by default. JS adds .is-visible which
   triggers the CSS transition for a scroll-reveal effect.
   When JS fails (e.g. file:// protocol), content stays visible.
   ============================================================ */
[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* JS adds .js-animations to <body> on init so hiding only
   applies when JS is confirmed running */
body.js-animations [data-animate]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — 968px
   ============================================================ */
@media (max-width: 968px) {
  :root {
    --section-pad: 64px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-legal {
    gap: 1.25rem;
  }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 52px;
  }

  /* Mobile header bar: hamburger | logo | spacer */
  .header__bar {
    padding: 0 1.25rem;
  }

  /* Hide both split nav groups on mobile */
  .nav-links--left,
  .nav-links--right {
    display: none;
  }

  /* Logo centered between hamburger and spacer */
  .logo {
    flex: 1;
    justify-content: center;
    padding: 0;
    gap: 2px;
  }

  .logo img {
    height: 30px;
  }

  .logo__diamond {
    width: 14px;
    height: 19px;
  }

  .hamburger {
    display: flex;
    /* Keeps hamburger on the left; logo fills center */
  }

  .grid--2,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__ctas .btn {
    width: 100%;
    text-align: center;
  }

  .btn--large {
    width: 100%;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonio-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .stars {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    padding: 3.5rem 0 2.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  h1 {
    font-size: 2.1rem;
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--hero .container {
    padding-bottom: 3.5rem;
  }
}

/* ============================================================
   ABOUT SECTION — Full background image with overlay
   ============================================================ */
.about-section {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--section-pad) * 1.5) 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;

  /* Background image */
  background-image: url('../images/tejo1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Dark overlay with brand color accents */
.about-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* Dark gradient for legibility */
    linear-gradient(
      135deg,
      rgba(10, 10, 15, 0.92) 0%,
      rgba(26, 35, 50, 0.88) 30%,
      rgba(15, 15, 20, 0.90) 70%,
      rgba(5, 5, 10, 0.94) 100%
    ),
    /* Brand color accent glow - left side */
    radial-gradient(
      ellipse 800px 600px at 0% 50%,
      rgba(254, 189, 37, 0.08) 0%,
      transparent 60%
    ),
    /* Brand color accent glow - right side */
    radial-gradient(
      ellipse 700px 500px at 100% 80%,
      rgba(255, 107, 53, 0.06) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Grain texture for depth */
.about-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.about-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Icon at top */
.about-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--yellow);
  filter: drop-shadow(0 0 20px rgba(254, 189, 37, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Title */
.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  text-shadow:
    0 3px 15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 107, 53, 0.2);
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-title::before {
  display: none;
}

/* Subtitle */
.about-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* Text Content - aligned right, no visible card */
.about-text-content {
  background: transparent;
  padding: 2rem 0;
  margin-bottom: 3rem;
  margin-left: auto;
  max-width: 580px;
  position: relative;
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.about-content-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 1.75rem;
  text-align: left;
  position: relative;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.about-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: none;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.about-description:last-of-type {
  margin-bottom: 0;
}

.about-description strong {
  color: var(--yellow);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(254, 189, 37, 0.3);
}

/* Pagination */
.about-pagination {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
}

.about-page-item {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.about-page-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(254, 189, 37, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page-item.active {
  color: #ffffff;
}

.about-page-item.active::after {
  transform: scaleX(1);
}

.about-page-item:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive — 968px */
@media (max-width: 968px) {
  .about-section {
    min-height: auto;
    background-attachment: scroll;
  }

  .about-text-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: center;
  }

  .about-content-title {
    text-align: center;
  }

  .about-description {
    text-align: center;
  }

  .about-pagination {
    gap: 2rem;
  }
}

/* Responsive — 768px */
@media (max-width: 768px) {
  .about-section {
    padding: calc(var(--section-pad) * 1.2) 0;
  }

  .about-container {
    padding: 0 1.5rem;
  }

  .about-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .about-subtitle {
    font-size: 0.95rem;
    margin-bottom: 3rem;
  }

  .about-text-content {
    padding: 2rem 0;
    margin-bottom: 2.5rem;
  }

  .about-content-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .about-description {
    font-size: 0.95rem;
  }

  .about-pagination {
    gap: 1.5rem;
  }

  .about-page-item {
    font-size: 1rem;
  }
}

/* Responsive — 480px */
@media (max-width: 480px) {
  .about-section {
    padding: var(--section-pad) 0;
  }

  .about-title {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }

  .about-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
  }

  .about-text-content {
    padding: 1.75rem 0;
  }

  .about-content-title {
    font-size: 1.25rem;
  }

  .about-description {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .about-pagination {
    gap: 1.25rem;
  }

  .about-page-item {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
}

/* ============================================================
   EXPERIENCIA SECTION — Navy theme inspired by reference
   ============================================================ */
.experiencia-section {
  position: relative;
  padding: calc(var(--section-pad) * 1.8) 0;
  background: linear-gradient(
    135deg,
    #2a3d5d 0%,
    #1f2d47 50%,
    #2c3e5d 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Subtle animated gradient overlay */
.experiencia-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 1200px 800px at 50% 0%,
    rgba(255, 107, 53, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Grain texture for depth */
.experiencia-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='exp-grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23exp-grain)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.experiencia-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Decorative Icon */
.experiencia-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  color: #FEBD25;
  filter: drop-shadow(0 0 24px rgba(254, 189, 37, 0.35));
  animation: iconFloat 5s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

/* Title */
.experiencia-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  text-shadow:
    0 3px 15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 107, 53, 0.2);
  animation: experienciaTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.experiencia-title::before {
  display: none;
}

@keyframes experienciaTitleReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Subtitle */
.experiencia-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 5rem;
  line-height: 1.85;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  animation: experienciaTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* Services Grid - 3 columns, 2 rows */
.experiencia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Service Card */
.experiencia-card {
  background: linear-gradient(
    135deg,
    rgba(30, 42, 61, 0.85) 0%,
    rgba(25, 35, 52, 0.9) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    background 0.4s ease;
  animation: experienciaCardReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Stagger card animations */
.experiencia-card:nth-child(1) { animation-delay: 0.1s; }
.experiencia-card:nth-child(2) { animation-delay: 0.2s; }
.experiencia-card:nth-child(3) { animation-delay: 0.3s; }
.experiencia-card:nth-child(4) { animation-delay: 0.4s; }
.experiencia-card:nth-child(5) { animation-delay: 0.5s; }
.experiencia-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes experienciaCardReveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Gradient accent line on top - appears on hover */
.experiencia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #FEBD25 20%,
    #F7C948 50%,
    #FFDE80 80%,
    transparent 100%
  );
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Subtle glow effect on hover */
.experiencia-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 400px 300px at 50% 0%,
    rgba(254, 189, 37, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.experiencia-card:hover {
  transform: translateY(-12px);
  border-color: rgba(254, 189, 37, 0.35);
  background: linear-gradient(
    135deg,
    rgba(35, 47, 66, 0.95) 0%,
    rgba(30, 40, 57, 1) 100%
  );
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(254, 189, 37, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.experiencia-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.experiencia-card:hover::after {
  opacity: 1;
}

/* Card Icon */
.experiencia-card-icon {
  color: #FEBD25;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 20px rgba(254, 189, 37, 0.25));
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.experiencia-card:hover .experiencia-card-icon {
  transform: scale(1.1) translateY(-6px);
  filter: drop-shadow(0 8px 30px rgba(254, 189, 37, 0.45));
}

/* Card Title */
.experiencia-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.experiencia-card:hover .experiencia-card-title {
  color: #FFBD25;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 189, 37, 0.3);
}

/* Card Description */
.experiencia-card-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.experiencia-card:hover .experiencia-card-description {
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive — 968px */
@media (max-width: 968px) {
  .experiencia-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Responsive — 768px */
@media (max-width: 768px) {
  .experiencia-section {
    padding: calc(var(--section-pad) * 1.4) 0;
  }

  .experiencia-container {
    padding: 0 1.5rem;
  }

  .experiencia-title {
    font-size: 2.4rem;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
  }

  .experiencia-subtitle {
    font-size: 1rem;
    margin-bottom: 3.5rem;
  }

  .experiencia-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .experiencia-card {
    padding: 2.5rem 2rem;
  }

  .experiencia-card-icon svg {
    width: 56px;
    height: 56px;
  }

  .experiencia-card-title {
    font-size: 1rem;
    letter-spacing: 1.2px;
  }

  .experiencia-card-description {
    font-size: 0.92rem;
  }
}

/* Responsive — 480px */
@media (max-width: 480px) {
  .experiencia-section {
    padding: var(--section-pad) 0;
  }

  .experiencia-container {
    padding: 0 1.25rem;
  }

  .experiencia-title {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }

  .experiencia-subtitle {
    font-size: 0.95rem;
    margin-bottom: 3rem;
  }

  .experiencia-card {
    padding: 2.25rem 1.75rem;
  }

  .experiencia-card-icon {
    margin-bottom: 1.5rem;
  }

  .experiencia-card-icon svg {
    width: 52px;
    height: 52px;
  }

  .experiencia-card-title {
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }

  .experiencia-card-description {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__content {
    animation: none;
  }

  .testimonio-item.active {
    animation: none;
  }

  .btn,
  .dot,
  .card,
  .nav-links a,
  .nav-links a::after {
    transition: none;
  }

  /* Experiencia section animations */
  .experiencia-section::before,
  .experiencia-icon,
  .experiencia-title,
  .experiencia-subtitle,
  .experiencia-card {
    animation: none;
  }

  .experiencia-card,
  .experiencia-card-icon,
  .experiencia-card-title,
  .experiencia-card-description {
    transition: none;
  }
}

/* ============================================================
   CONTACTO — Rediseño oscuro navy + pink
   ============================================================ */
.ctr-section {
  background: #1c2340;
  padding: 100px 24px 110px;
  text-align: center;
}

.ctr-wrap {
  max-width: 920px;
  margin: 0 auto;
}

/* Icon */
.ctr-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

/* Title */
.ctr-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow:
    0 3px 15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 107, 53, 0.2);
}

/* Subtitle */
.ctr-subtitle {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

/* Form layout */
.ctr-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Three-column input row */
.ctr-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

/* Field wrapper */
.ctr-field {
  position: relative;
}

.ctr-field--full {
  width: 100%;
}

/* Override global input styles inside ctr-form */
.ctr-form input[type="text"],
.ctr-form input[type="email"],
.ctr-form input[type="tel"],
.ctr-form textarea {
  width: 100%;
  padding: 1.05rem 1.3rem;
  background: #222b4a !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 6px !important;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  outline: none;
  caret-color: #FEBD25;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.ctr-form input[type="text"]::placeholder,
.ctr-form input[type="email"]::placeholder,
.ctr-form input[type="tel"]::placeholder,
.ctr-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.ctr-form input[type="text"]:focus,
.ctr-form input[type="email"]:focus,
.ctr-form input[type="tel"]:focus,
.ctr-form textarea:focus {
  background: #263057 !important;
  box-shadow: 0 0 0 2px rgba(254, 189, 37, 0.35) !important;
  border-bottom: none !important;
}

/* Textarea specifics */
.ctr-form textarea {
  resize: none;
  min-height: 130px;
}

/* Error state inside ctr-form */
.ctr-form input.is-invalid,
.ctr-form textarea.is-invalid {
  box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.5) !important;
  background: #2a1e2e !important;
}

.ctr-form .field-error {
  display: block;
  margin-top: 0.35rem;
  color: #FEBD25;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: left;
}

/* Submit row */
.ctr-submit {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Pink pill button */
.ctr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.8rem;
  background: linear-gradient(135deg, #FEBD25 0%, #ffd055 100%);
  border: none;
  border-radius: 50px;
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 24px rgba(254, 189, 37, 0.35);
}

.ctr-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(254, 189, 37, 0.5);
}

.ctr-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(254, 189, 37, 0.3);
}

.ctr-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive: stack to single column on mobile */
@media (max-width: 768px) {
  .ctr-section {
    padding: 72px 20px 80px;
  }

  .ctr-row {
    grid-template-columns: 1fr;
  }

  .ctr-subtitle br {
    display: none;
  }
}

@media (max-width: 480px) {
  .ctr-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   GALERÍA SECTION (Mosaic Layout)
   ========================================== */
/* Bebas Neue cargada via <link> en index.html */

.galeria-section {
  position: relative;
  padding: calc(var(--section-pad) * 1.8) 0;
  background: linear-gradient(180deg, #1a1a2e 0%, #2c3e50 50%, #1a1a2e 100%);
  overflow: hidden;
}

/* Decorative background particles */
.galeria-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(247, 147, 30, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.galeria-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Icon */
.galeria-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  color: #FFBD25;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Title */
.galeria-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  line-height: 1.05;
  text-shadow:
    0 3px 15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 107, 53, 0.2);
}

/* Subtitle */
.galeria-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

/* Mosaic Grid */
.galeria-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Grid Item Sizes */
.galeria-item--large {
  grid-column: span 7;
  grid-row: span 3;
}

.galeria-item--medium {
  grid-column: span 5;
  grid-row: span 2;
}

.galeria-item--small {
  grid-column: span 5;
  grid-row: span 1;
}

.galeria-item--wide {
  grid-column: span 7;
  grid-row: span 2;
}

.galeria-item--tall {
  grid-column: span 5;
  grid-row: span 3;
}

/* Gallery Item */
.galeria-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
}

/* Gallery Image Container */
.galeria-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #2d2d4a 0%, #1a1a2e 100%);
}

.galeria-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9);
}

/* Hover Effect - Zoom */
.galeria-item:hover .galeria-image img {
  transform: scale(1.15);
  filter: brightness(1);
}

/* Overlay */
.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.85) 0%,
    rgba(247, 147, 30, 0.85) 50%,
    rgba(255, 189, 37, 0.85) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

/* Overlay Content */
.galeria-overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galeria-item:hover .galeria-overlay-content {
  transform: translateY(0);
}

.galeria-label {
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: block;
  line-height: 1.2;
}

/* Decorative corner accents on hover */
.galeria-image::before,
.galeria-image::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
}

.galeria-image::before {
  top: 0;
  left: 0;
  border-width: 40px 40px 0 0;
  border-color: #FFBD25 transparent transparent transparent;
}

.galeria-image::after {
  bottom: 0;
  right: 0;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent #FFBD25 transparent;
}

.galeria-item:hover .galeria-image::before,
.galeria-item:hover .galeria-image::after {
  opacity: 1;
}

/* CTA Button */
.galeria-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.btn-galeria {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: #FFBD25;
  border: 3px solid #FFBD25;
  padding: 1.2rem 2.5rem;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-galeria::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #FFBD25, #FFBD25, #FFBD25);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-galeria:hover {
  color: #1a1a2e;
  border-color: #FFBD25;
  box-shadow: 0 10px 40px rgba(255, 189, 37, 0.4);
  transform: translateY(-3px);
}

.btn-galeria:hover::before {
  left: 0;
}

.btn-galeria svg {
  transition: transform 0.3s ease;
}

.btn-galeria:hover svg {
  transform: translateX(5px);
}

/* Responsive - Tablet */
@media (max-width: 968px) {
  .galeria-mosaic {
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 160px;
    gap: 0.75rem;
  }

  .galeria-item--large {
    grid-column: span 5;
    grid-row: span 3;
  }

  .galeria-item--medium {
    grid-column: span 3;
    grid-row: span 2;
  }

  .galeria-item--small {
    grid-column: span 3;
    grid-row: span 1;
  }

  .galeria-item--wide {
    grid-column: span 5;
    grid-row: span 2;
  }

  .galeria-item--tall {
    grid-column: span 3;
    grid-row: span 3;
  }

  .galeria-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 4px;
  }

  .galeria-subtitle {
    font-size: 0.95rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .galeria-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.5rem;
  }

  .galeria-item--large,
  .galeria-item--medium,
  .galeria-item--small,
  .galeria-item--wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .galeria-item--tall {
    grid-column: span 2;
    grid-row: span 3;
  }

  .galeria-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }

  .galeria-subtitle {
    font-size: 0.9rem;
    margin-bottom: 3rem;
  }

  .galeria-label {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .btn-galeria {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border-width: 2px;
  }

  .galeria-image::before,
  .galeria-image::after {
    border-width: 25px 25px 0 0;
  }

  .galeria-image::after {
    border-width: 0 0 25px 25px;
  }
}

@media (max-width: 768px) {
  .galeria-section {
    padding: calc(var(--section-pad) * 1.4) 0;
  }
}

@media (max-width: 480px) {
  .galeria-section {
    padding: var(--section-pad) 0;
  }
}

/* Animation on Scroll */
@media (prefers-reduced-motion: no-preference) {
  .galeria-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpGaleria 0.6s ease forwards;
  }

  .galeria-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .galeria-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .galeria-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .galeria-item:nth-child(4) {
    animation-delay: 0.4s;
  }

  .galeria-item:nth-child(5) {
    animation-delay: 0.5s;
  }

  @keyframes fadeInUpGaleria {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================================
   TESTIMONIOS — Horizontal slide carousel
   ============================================================ */

/* ── Section ── */
.testi-section {
  position: relative;
  padding: calc(var(--section-pad) * 1.8) 0;
  overflow: hidden;
  background-image: url('../images/tejo4.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.testi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(8, 8, 14, 0.92) 0%,
      rgba(18, 24, 38, 0.88) 40%,
      rgba(8, 8, 14, 0.93) 100%),
    radial-gradient(ellipse 700px 500px at 10% 60%, rgba(254,189,37,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Inner container ── */
.testi-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ── Ícono decorativo ── */
.testi-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #FEBD25;
  filter: drop-shadow(0 4px 12px rgba(254, 189, 37, 0.4));
  animation: testiIconFloat 4s ease-in-out infinite;
}

@keyframes testiIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-6px) rotate(2deg); }
}

/* ── Heading ── */
.testi-heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* ── Subtitle ── */
.testi-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  text-align: center;
  width: 100%;
}

/* ── Viewport: clips the sliding track ── */
.testi-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
}

/* ── Track: el ancho lo determinan los slides (JS fija px) ── */
.testi-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Slide: ancho fijado por JS en px, grid interior ── */
.testi-slide {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  padding: 0.25rem;
  box-sizing: border-box;
}

/* ── Card ── */
.tcard {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Orange accent bar on left */
.tcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #febd25, #febd25);
  border-radius: 14px 0 0 14px;
}

.tcard:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,107,53,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Big opening quote */
.tcard-quote {
  font-size: 4.5rem;
  line-height: 0.7;
  color: #febd25;
  font-family: Georgia, 'Times New Roman', serif;
  opacity: 0.7;
  user-select: none;
  flex-shrink: 0;
}

/* Review text */
.tcard-texto {
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  flex: 1;
}

/* Footer: avatar + name + stars */
.tcard-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.tcard-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #FEBD25;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FEBD25, #FEBD25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tcard-nombre {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.tcard-stars {
  font-size: 0.82rem;
  color: #febd25;
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}

/* ── Navigation bar ── */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.25rem;
}

/* Arrow buttons */
.testi-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  flex-shrink: 0;
}

.testi-arrow:hover {
  background: #FEBD25;
  border-color: #FEBD25;
  color: #fff;
  transform: scale(1.1);
}

/* Dot indicators */
.testi-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.testi-dot.active {
  background: #FEBD25;
  transform: scale(1.45);
}

.testi-dot:hover:not(.active) {
  background: rgba(255,255,255,0.55);
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .testi-slide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testi-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .testi-section {
    padding: calc(var(--section-pad) * 1.4) 0;
    background-attachment: scroll; /* Fix: fixed no soportado en iOS Safari */
  }

  .testi-inner {
    padding: 0 1.5rem;
  }

  .testi-heading {
    font-size: 2.8rem;
  }

  .testi-sub {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .tcard {
    padding: 2rem 1.75rem 1.75rem;
  }
}

@media (max-width: 480px) {
  .testi-section {
    padding: var(--section-pad) 0;
  }

  .testi-inner {
    padding: 0 1.25rem;
  }

  .testi-heading {
    font-size: 2.2rem;
  }

  .tcard {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .testi-nav {
    gap: 1.5rem;
  }

  .testi-arrow {
    width: 38px;
    height: 38px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .testi-track {
    transition: none;
  }

  .tcard {
    transition: none;
  }

  .testi-arrow,
  .testi-dot {
    transition: none;
  }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
  background: var(--bg-section);
  padding: calc(var(--section-pad) * 1.4) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle horizontal score-sheet lines */
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 79px,
    rgba(255,255,255,0.022) 79px,
    rgba(255,255,255,0.022) 80px
  );
  pointer-events: none;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--container-pad, 1.5rem);
}

/* ── Header ── */
.faq-header {
  position: relative;
  margin-bottom: 3.5rem;
  padding-bottom: 0.5rem;
}

.faq-bg-label {
  position: absolute;
  top: -0.22em;
  left: -0.04em;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(7rem, 20vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(254, 189, 37, 0.09);
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.02em;
  z-index: 0;
}

.faq-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--yellow);
  flex-shrink: 0;
}

.faq-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.05;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.faq-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ── List ── */
.faq-list {
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── Item ── */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: background 0.3s ease;
}

.faq-item.is-open {
  background: rgba(254, 189, 37, 0.03);
}

/* Yellow left accent bar */
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open::before {
  transform: scaleY(1);
}

/* ── Question button ── */
.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.faq-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(255,255,255,0.1);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  min-width: 2.5rem;
  user-select: none;
}

.faq-item.is-open .faq-num {
  color: var(--yellow);
}

.faq-q-text {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.faq-item.is-open .faq-q-text {
  color: var(--text-heading);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.faq-item.is-open .faq-chevron {
  color: var(--yellow);
  transform: rotate(180deg);
}

/* ── Body panel — grid-rows animation ── */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.6rem calc(1.75rem + 2.5rem + 1.25rem);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
}

.faq-answer strong {
  color: var(--text-body);
  font-weight: 600;
}

/* ── Footer CTA ── */
.faq-cta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(254, 189, 37, 0.15);
  position: relative;
  overflow: hidden;
}

.faq-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(254,189,37,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.faq-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  position: relative;
}

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
}

.faq-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .faq-header {
    margin-bottom: 2.5rem;
  }
  .faq-question {
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  }
  .faq-num {
    font-size: 1.5rem;
    min-width: 2.2rem;
  }
  .faq-q-text {
    font-size: 0.92rem;
  }
  .faq-answer {
    padding: 0 1.25rem 1.25rem calc(1.5rem + 2.2rem + 1rem);
  }
  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    gap: 0.75rem;
    padding: 1.1rem 1rem 1.1rem 1.25rem;
  }
  .faq-num {
    font-size: 1.3rem;
    min-width: 2rem;
  }
  .faq-answer {
    padding: 0 1rem 1.25rem calc(1.25rem + 2rem + 0.75rem);
  }
}

