  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {

  /* BACKGROUNDS */
  --bg: #050505;
  --bg-card: #111111;
  --bg-card2: #1a1a1a;

  /* ROSE GOLD */
  --accent: #B76E79;
  --accent-light: #D89AA3;
  --accent-dark: #8E4F5A;

  /* TEXT */
  --text: #F5F1F2;
  /*--text-muted: #fffdfd; */
  --text-muted: #d89aa3;
  --text-dim: #7E6B70;

  /* BORDERS */
  --border: rgba(183, 110, 121, 0.15);
  --border-strong: rgba(183, 110, 121, 0.35);

}

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 4rem;
    background: rgba(13,9,7,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--border);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
     transition: color 0.2s;
  }

  .nav-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--accent);
    letter-spacing: -0.5px;

    background: rgba(183,110,121,0.08);
    box-shadow:
    0 0 18px rgba(183,110,121,0.15);
  }

  .nav-logo span {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
  }

  .nav-links a:hover { 
    color: var(--text);
    text-shadow: 0 0 10px rgba(216,154,163,0.35); 
  }

  .nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.55rem 1.4rem;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .nav-cta:hover {
    background: var(--accent);
    color: var(--bg);
  }

  .hamburger {
    display: none;
  }

  /* ════════════════════════════════════ */
  /* MEDIA QUERIES - MOBILE */
  /* ════════════════════════════════════ */
  @media (max-width: 900px) {

    .hamburger {
      display: flex !important;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      color: var(--text);
      font-size: 2rem;
      cursor: pointer;
      z-index: 3000;
      padding: 0.5rem;
    }

    .nav-links {
      position: fixed !important;
      top: 0;
      right: -100%;
      width: 75%;
      height: 100vh;
      background: #050505;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      transition: right 0.35s ease-in-out;
      z-index: 2000;
      margin: 0 !important;
      padding: 0 !important;
      display: flex !important;
    }

    .nav-links.active {
      right: 0 !important;
    }

    /* Evitar scroll cuando el menú móvil está abierto */
    body.nav-open {
      overflow: hidden;
      height: 100vh;
    }

    .nav-links li {
      list-style: none;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-size: 1.2rem;
    }

    .nav-cta {
      display: none;
    }

  }


  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 7rem 4rem 4rem;
    gap: 3rem;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(196,130,106,0.06) 0%, transparent 70%);
    pointer-events: none;
  }

    .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0.5px solid var(--border-strong);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1.5rem;
  }

  .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }

  .hero-left {
  max-width: 760px;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--accent-light);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
  }

  .hero h1 em {
    font-style: italic;
  }

  .hero-subtitle {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 420px;
    margin-bottom: 2.5rem;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    margin-top: 3rem;

  }


  @media (max-width: 900px) {

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding-inline: 1.5rem;
  }

  .hero-left,
  .hero-visual {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  }




  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, transform 0.15s;
  }

  .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
  }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }

  .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .hero-stats {
    display: flex;
    gap: 2.5rem;
  }

  .stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
  }

  .stat-divider {
    width: 0.5px;
    background: var(--border);
    align-self: stretch;
  }

  /* Hero image side */
  .hero-visual {
    position: relative;
    height: 580px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-photo-frame {
    width: 100%;
    max-width: 420px;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(160deg, #3a2318 0%, #1a0d09 100%);
  }

  .hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .hero-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #2a1810 0%, #150e0a 100%);
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(196,130,106,0.15);
  }

  .hero-testimonial-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: rgba(26,18,14,0.95);
    border: 0.5px solid var(--border-strong);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    max-width: 260px;
    backdrop-filter: blur(8px);
  }

  .stars {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }

  .hero-testimonial-card p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 0.5rem;
  }

  .hero-testimonial-card cite {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: normal;
  }

  /* ─── CREDENTIALS BAR ─── */
  .credentials-bar {
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    padding: 1.1rem 0;
    overflow: hidden;
  }

  .credentials-track {
    display: flex;
    gap: 4rem;
    animation: scroll-left 22s linear infinite;
    width: max-content;
  }

  .credentials-track span {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    white-space: nowrap;
  }

  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ─── SECTIONS SHARED ─── */
  section {
    padding: 6rem 4rem;
  }

  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
  }

  .section-title em { font-style: italic; }


  /* ─── El PROBLEMA ─── */
  .problem-header {
    margin-bottom: 3rem;
  }

  .problema-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .problem-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    transition: all 0.3s ease;
  }

  .problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  }

  .quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.18;
    line-height: 0.8;
    letter-spacing: -8px;
    margin-bottom: -0.5rem;
  }

  .problem-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    opacity: 0.95;
  }

  .problem-divider {
    height: 0.5px;
    background: var(--border);
  }

  
  .problem-conclusion {
  margin-top: 4rem;

  display: flex;
  justify-content: center;
  text-align: center;
}

.problem-conclusion p {
  max-width: 850px;

  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.5;

  color: var(--text);

  opacity: 0.95;
}

.problem-conclusion span {
  color: var(--accent);
  font-style: italic;
}

.problem-conclusion {
  margin-top: 5rem;
  padding-top: 3rem;

  border-top: 0.5px solid var(--border);
}

.problem-conclusion-wrapper {

  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.problem-parallax {

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(177, 122, 138, 0.15),
      transparent 70%
    ),

    linear-gradient(
      to bottom,
      rgba(255,255,255,0.015),
      transparent
    );

  transform: translateY(0);

  will-change: transform;

  z-index: 0;
}

.problem-conclusion {

  position: relative;

  z-index: 2;
}
  /* ─── SOBRE MÍ ─── */
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .about-text p {
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
  }


  /* ─── SERVICIOS ─── */
  .services-header {
    margin-bottom: 3rem;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .service-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s;
  }

  .service-card:hover {
    border-color: var(--border-strong);
  }

  .service-card.featured {
    background: linear-gradient(
      145deg,
     #d89aa3 0%,
     #b76e79 42%,
     #8e4f5a 75%,
     #1a1a1a 100%
    );

   border: none;
   position: relative;
   overflow: hidden;

   box-shadow: 0 10px 40px rgba(183, 110, 121, 0.18);
  }

  .service-card.featured::before {
    content: 'MÁS ELEGIDO';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.9rem;
    border-radius: 0 0 8px 8px;
    font-weight: 500;
  }

  .service-card.featured .service-icon,
  .service-card.featured .service-name,
  .service-card.featured .service-duration,
  .service-card.featured .service-desc,
  .service-card.featured .service-feature,
  .service-card.featured .service-investment-label,
  .service-card.featured .service-investment-value {
    color: white;
  }

  .service-card.featured .service-feature::before { background: rgba(255,255,255,0.8); }
  .service-card.featured .service-divider { background: rgba(255,255,255,0.2); }

  .service-icon {
    font-size: 1.3rem;
    color: var(--accent);
  }

  .service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent-light);
    margin-bottom: 0.1rem;
  }

  .service-duration {
    font-size: 0.9rem;
    color: rgb(199, 171, 171);
    letter-spacing: 0.04em;
  }

  .service-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .service-feature {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .service-feature::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  .service-divider {
    height: 0.5px;
    background: var(--border);
    margin: 0.5rem 0;
  }

  .service-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
  }

  .service-investment-label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(199, 171, 171);
    margin-bottom: 0.2rem;
  }

  .service-investment-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: rgb(199, 171, 171);
  }

  .btn-reservar {
    font-size: 0.82rem;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
    font-weight: 400;
  }

  .btn-reservar:hover { gap: 0.6rem; }

  .service-card.featured .btn-reservar {
    background: rgba(0,0,0,0.25);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 0.5px solid rgba(255,255,255,0.3);
  }

  @media (max-width: 900px) {

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }
}


  /* ─── MÉTODO ─── */
  .method {
    background: var(--bg-card);
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
  }

  .method-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3rem;
  }

  .method-step {
    padding: 2rem 2rem 2rem 0;
    border-right: 0.5px solid var(--border);
    padding-right: 2rem;
  }



  .method-step:not(:first-child) {
    padding-left: 2rem;
  }

  .method-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent);
    opacity: 0.8;
    margin-bottom: 0.8rem;
    display: block;
  }

  .method-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--accent-light);
    margin-bottom: 0.7rem;
  }

  .method-step-desc {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.75;
  }

  /* ─── TESTIMONIOS ─── */
  .testimonials-header {
    margin-bottom: 3rem;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonial-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    display: flex;
    gap: 0.1em;
  }

  .testimonial-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
  }

  .testimonial-divider {
    height: 0.5px;
    background: var(--border);
  }

  .testimonial-author-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--accent-light);
  }

  .testimonial-author-role {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
  }

  .video-card video {
    width: 100%;
    border-radius: 14px;
    display: block;
    object-fit: cover;
  }

  .video-card {
    overflow: hidden;
  }

  .video-card video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
 }

  /* ─── CTA FINAL ─── */
  .cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 4rem;
  }

.cta-card {
  background: linear-gradient(
    135deg,
    #d89aa3 0%,
    #b76e79 45%,
    #8e4f5a 75%,
    #1a1a1a 100%
  );

  border-radius: 20px;
  padding: 4rem;
  max-width: 760px;
  width: 100%;

  box-shadow: 0 15px 50px rgba(183, 110, 121, 0.18);
}


  .cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .cta-title em { font-style: italic; }

  .cta-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
  }

  .cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-dark {
    background: rgba(13,9,7,0.85);
    color: #fff;
    border: none;
    padding: 0.85rem 1.6rem;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.2s;
  }

  .btn-dark:hover { background: rgba(13,9,7,0.95); }

  .btn-ghost-white {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 0.85rem 1.6rem;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.2s, background 0.2s;
  }

  .btn-ghost-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
  }

  /* ─── FOOTER ─── */
  footer {
    border-top: 0.5px solid var(--border);
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-copy {
    font-size: 0.82rem;
    color: var(--text-dim);
  }

  .footer-social {
    display: flex;
    gap: 1rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    border: 0.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    font-size: 0.85rem;
  }

  .footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 1rem 2rem; }
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; padding: 6rem 2rem 3rem; }
    .hero-visual { height: 400px; }
    .about { grid-template-columns: 1fr; gap: 2.5rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .method-steps { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    section { padding: 4rem 2rem; }
    .cta-section { padding: 3rem 1.5rem; }
    .cta-card { padding: 2.5rem; }
    footer { padding: 1.5rem 2rem; flex-direction: column; gap: 1rem; text-align: center; }
  }









/* ───────────────── */
/* GALERÍA V-CORE */
/* ───────────────── */

.gallery-section {

  padding: 8rem 2rem;
}

.gallery-header {

  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.gallery-intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-dim);
}

.media-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.media-filter {
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.media-filter:hover,
.media-filter:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.media-filter.is-active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.media-results {
  min-height: 1.7rem;
  margin-bottom: 2rem;
  color: var(--text-dim);
  text-align: center;
  font-size: 0.88rem;
}

.gallery-grid {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.gallery-item .gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item .magnifier {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.28);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover .magnifier {
  opacity: 1;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
  filter: brightness(0.65) saturate(0.95);
}

/* Reglas generales para el icono de lupa */
.magnifier {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.22);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 6;
}

.flip-card-front .magnifier {
  border-radius: 22px;
}

.flip-card-front:hover .magnifier,
.gallery-item:hover .magnifier {
  opacity: 1;
}


/* CARD */

.flip-card {
  height: 420px;
  position: relative;
  overflow: visible;
}

.media-item[hidden] {
  display: none;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}


/* FRONT / BACK */

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}


/* FRONT */

.flip-card-front img {

  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
}

.flip-card-front { z-index: 1; }

.media-type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  background: rgba(5, 5, 5, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}


/* BACK */

.flip-card-back {
  background: linear-gradient(180deg, rgba(20,20,20,0.98), rgba(5,5,5,0.92));
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 220ms ease;
  z-index: 5;
}

/* Hover state: mostrar overlay informativo sin voltear */
.flip-card:hover .flip-card-back {
  opacity: 1;
  transform: translateY(0);
}

/* Marcar la imagen al pasar el ratón */
.flip-card:hover .flip-card-front img {
  transform: scale(1.03);
  filter: brightness(0.6) saturate(0.95);
  transition: transform 220ms ease, filter 220ms ease;
}


/* TEXTOS */

.card-tag {

  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.flip-card-back h2,
.flip-card-back h3 {

  font-size: 1.8rem;
  line-height: 1.2;
}

.flip-card-back p {

  line-height: 1.7;
  opacity: 0.8;
}

.flip-card-back a {
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}


.flip-card {

  cursor: pointer;
}

/* ───────────────── */
/* MODAL V-CORE */
/* ───────────────── */

.modal {

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.75);

  backdrop-filter: blur(8px);

  display: flex;

  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;

  z-index: 9999;
}

.modal.active {

  opacity: 1;
  visibility: visible;
}


/* CONTENIDO */

.modal-content {

  width: 90%;
  max-width: 620px;

  background: #080808;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 28px;

  padding: 3rem;

  position: relative;

  box-shadow:
    0 40px 100px rgba(0,0,0,0.7);
}


/* BOTÓN CERRAR */

.close-modal {

  position: absolute;

  top: 1.5rem;
  right: 1.5rem;

  background: none;
  border: none;

  color: white;

  font-size: 2rem;

  cursor: pointer;
}


/* FORMULARIO */

#diagnostic-form {

  display: flex;

  flex-direction: column;

  gap: 1.2rem;

  margin-top: 2rem;
}

#diagnostic-form input,
#diagnostic-form select,
#diagnostic-form textarea {

  width: 100%;

  background: #111;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 14px;

  padding: 1rem;

  color: white;

  font-size: 1rem;
}


/* BOTÓN */

#diagnostic-form button {

  margin-top: 1rem;

  padding: 1rem;

  border: none;

  border-radius: 999px;

  background: var(--accent);

  color: white;

  font-size: 1rem;

  cursor: pointer;

  transition: transform 0.3s ease;
}

#diagnostic-form button:hover {

  transform: translateY(-2px);
}

/* ───────────────── */
/* AGENDA PAGE */
/* ───────────────── */

.agenda-hero {

  padding:
    10rem 2rem 5rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}


.agenda-title {

  font-size:
    clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin:
    1.75rem 0;
}

.media-link-pending {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
}

.media-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .gallery-section {
    padding-top: 7rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-filters {
    gap: 0.55rem;
  }

  .media-filter {
    padding: 0.6rem 1rem;
    font-size: 0.84rem;
  }
}

.agenda-hero .section-tag {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.agenda-text {

  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.85;
}


/* FORM */

.agenda-form-section {

  padding:
    2rem;
}


.agenda-form-card {

  max-width: 850px;
  margin: 0 auto;
  background:
    linear-gradient(
      180deg,
      rgba(18,18,18,0.96),
      rgba(6,6,6,1)
    );

  border:
    1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 3rem;
}


.agenda-form {

  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.agenda-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.agenda-field label {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.agenda-form input,
.agenda-form select,
.agenda-form textarea {

  width: 100%;

  background: #111;

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius: 14px;

  padding: 1rem;

  color: white;

  font-size: 1rem;
}

.agenda-form input:focus,
.agenda-form select:focus,
.agenda-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(183, 110, 121, 0.18);
}

.agenda-form .is-invalid {
  border-color: #e16f7d;
}

.field-help,
.field-error {
  min-height: 1.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.field-help {
  color: var(--text-dim);
}

.field-error {
  color: #f39aa5;
}

.agenda-submit {
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.agenda-submit:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
}

.agenda-form-status {
  min-height: 1.5rem;
  text-align: center;
  font-size: 0.92rem;
}

.agenda-form-status.is-success {
  color: #9ed7b0;
}

.agenda-form-status.is-error {
  color: #f39aa5;
}


/* CALENDAR */

.calendar-section {

  padding:
    6rem 2rem;
}


.calendar-header {

  text-align: center;

  margin-bottom: 4rem;
}

.calendar-lock-message {
  margin-top: 1rem;
  color: var(--text-dim);
}

.calendar-wrapper {

  max-width: 1200px;

  margin: 0 auto;

  border-radius: 28px;

  overflow: hidden;

  border:
    1px solid rgba(255,255,255,0.08);

  background: #0a0a0a;

  box-shadow:
    0 40px 100px rgba(0,0,0,0.5);
}

.calendar-section.is-locked .calendar-wrapper {
  display: none;
}

/* MOBILE */

@media (max-width: 768px) {

  .agenda-title {

    font-size: 2.15rem;
  }

  .agenda-hero .section-tag {
    font-size: 0.82rem;
  }

  .agenda-text {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .agenda-form-card {

    padding: 2rem;
  }

}

/* THANK YOU PAGE */

.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 9rem 2rem 4rem;
}

.thanks-card {
  width: min(100%, 720px);
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), #060606);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.thanks-check {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 2rem;
  font-weight: 700;
}

.thanks-card h1 {
  margin: 1.25rem 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 1.05;
}

.thanks-intro {
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.8;
}

.booking-details {
  margin: 2rem 0;
  padding: 0;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.booking-details div {
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.025);
}

.booking-details div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-details dt {
  color: var(--accent);
  font-weight: 600;
}

.booking-details dd {
  margin: 0;
}

.thanks-redirect {
  margin: 2rem 0 1.5rem;
  opacity: 0.75;
}

@media (max-width: 520px) {
  .booking-details div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
