:root{
    --navy: #17222E;
    --navy-deep: #10181F;
    --cream: #F2E9D6;
    --paper: #FBF6EB;
    --gold: #C79A5C;
    --gold-light: #E4C388;
    --red: #8A2E2C;
    --ink: #24211B;
    --line: rgba(199,154,92,0.35);
  }

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

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100vw;
  }

  h1,h2,h3, .display{
    font-family:'Fraunces', serif;
    font-weight:900;
    letter-spacing:-0.01em;
  }

  .label{
    font-family:'Oswald', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.28em;
    font-weight:500;
  }

  a{color:inherit; text-decoration:none;}

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

  /* ===================== TEXTURE ===================== */
  .chalk-bg{
    background-color:var(--navy);
    background-image:
      radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.035), transparent 45%),
      radial-gradient(ellipse at 80% 60%, rgba(255,255,255,0.03), transparent 50%),
      radial-gradient(ellipse at 50% 90%, rgba(255,255,255,0.025), transparent 40%);
    position:relative;
  }
  .chalk-bg::before{
    content:"";
    position:absolute; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events:none;
    mix-blend-mode:overlay;
  }

  /* ===================== NAV ===================== */
  header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6vw;
    background: rgba(16, 24, 31, 1);
    border-bottom: 1px solid var(--line);
  }
  .header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .header-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  }
  .header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
  }
  .header-letrero {
    height: 95px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  }
  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .desktop-nav {
    display: none;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
  }
  nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 12.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.85;
    position: relative;
    padding-bottom: 4px;
    transition: opacity 0.25s ease;
  }
  nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
  }
  nav a:hover { opacity: 1; }
  nav a:hover::after { transform: scaleX(1); }
  .nav-cta {
    border: 1px solid var(--gold);
    padding: 8px 18px;
    color: var(--gold-light) !important;
    font-size: 12px !important;
  }
  
  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gold-light);
    padding: 6px;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 110;
  }
  .nav-toggle:hover {
    color: var(--gold);
  }
  .hamburger-icon {
    width: 28px;
    height: 28px;
  }
  .hamburger-icon line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  .nav-toggle.active .line-top {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle.active .line-mid {
    opacity: 0;
  }
  .nav-toggle.active .line-bot {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(16, 24, 31, 0.98);
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .mobile-menu-nav a {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.05em;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
  }
  .mobile-menu-nav a:hover {
    color: var(--gold);
    transform: scale(1.05);
  }
  .mobile-menu-nav .nav-cta {
    border: 1px solid var(--gold);
    padding: 10px 28px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px !important;
    letter-spacing: 0.2em;
    color: var(--gold-light) !important;
  }
  body.menu-open {
    overflow: hidden;
  }

  /* ===================== HERO ===================== */
  .hero{
    min-height:100vh;
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    text-align:center;
    padding:140px 6vw 90px;
    position:relative;
    background-image: linear-gradient(to bottom, rgba(16, 24, 31, 0.88), rgba(16, 24, 31, 0.82)), url('../img/nuevaportada.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  .hero .est{
    color:var(--gold);
    font-size:12px;
    letter-spacing:0.4em;
    margin-bottom:26px;
    display:flex; align-items:center; gap:16px;
  }
  .hero .est::before, .hero .est::after{
    content:"";
    width:36px; height:1px; background:var(--gold);
    opacity:0.6;
  }
  .hero-palm{
    width:120px; height:120px;
    margin-bottom:10px;
    color:var(--gold);
    opacity:0.9;
  }
  .hero h1{
    color:var(--cream);
    font-size:clamp(52px, 10vw, 128px);
    line-height:0.92;
    text-shadow:0 2px 24px rgba(0,0,0,0.4);
  }
  .hero h1 em{
    font-style:italic;
    font-weight:600;
    color:var(--gold-light);
  }
  .hero .sub{
    margin-top:22px;
    color:var(--gold);
    font-size:15px;
    letter-spacing:0.5em;
    padding-left:0.5em;
  }
  .hero-tagline{
    max-width:520px;
    margin:34px auto 0;
    color:rgba(242,233,214,0.75);
    font-size:21px;
    font-style:italic;
  }
  .hero-ctas{
    margin-top:46px;
    display:flex; gap:18px; flex-wrap:wrap; justify-content:center;
  }
  .btn{
    font-family:'Oswald', sans-serif;
    font-size:13px;
    letter-spacing:0.2em;
    text-transform:uppercase;
    padding:16px 34px;
    display:inline-block;
    transition:all .25s ease;
    border:1px solid transparent;
  }
  .btn-solid{
    background:var(--gold);
    color:var(--navy-deep);
    font-weight:600;
  }
  .btn-solid:hover{background:var(--gold-light);}
  .btn-outline{
    border-color:var(--gold);
    color:var(--gold-light);
  }
  .btn-outline:hover{background:rgba(199,154,92,0.1);}

  .btn-barber {
    background: var(--navy);
    color: var(--gold-light);
    border: 1.5px solid var(--gold);
    padding: 14px 28px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 4px 14px rgba(23, 34, 46, 0.2);
  }
  .btn-barber svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
  }

  /* ===================== HISTORIA DE FRANCHY ===================== */
  #historia-franchy {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .historia-wrap {
    max-width: 1180px;
    margin: 0 auto;
  }
  .historia-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
  }
  .historia-head h2 {
    font-size: clamp(34px, 5vw, 54px);
    color: var(--cream);
    margin-bottom: 16px;
  }
  .historia-subtitle {
    font-size: 20px;
    color: rgba(242, 233, 214, 0.75);
    font-style: italic;
  }
  .historia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .historia-card {
    background: rgba(16, 24, 31, 0.7);
    border: 1px solid var(--line);
    padding: 40px 30px;
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .historia-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  }
  .historia-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(199, 154, 92, 0.12);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--gold);
  }
  .historia-icon svg {
    width: 26px;
    height: 26px;
  }
  .historia-card h3 {
    font-size: 24px;
    color: var(--cream);
    margin-bottom: 14px;
  }
  .historia-card p {
    font-size: 17px;
    color: rgba(242, 233, 214, 0.75);
    line-height: 1.6;
  }

  .scroll-cue{
    position:absolute; bottom:36px; left:50%; transform:translateX(-50%);
    color:var(--gold);
    opacity:0.7;
    animation:bob 2.2s ease-in-out infinite;
  }
  @keyframes bob{
    0%,100%{transform:translate(-50%,0);}
    50%{transform:translate(-50%,10px);}
  }

  /* ===================== POLE DIVIDER (signature) ===================== */
  .pole-divider{
    height:56px;
    background:repeating-linear-gradient(
      -45deg,
      var(--gold-light) 0 18px,
      var(--paper) 18px 30px,
      var(--navy) 30px 48px,
      var(--paper) 48px 60px
    );
    background-size:170px 100%;
    animation:pole-scroll 6s linear infinite;
    border-top:1px solid var(--gold);
    border-bottom:1px solid var(--gold);
  }
  @keyframes pole-scroll{
    from{background-position:0 0;}
    to{background-position:170px 0;}
  }
  @media (prefers-reduced-motion: reduce){
    .pole-divider{animation:none;}
    .scroll-cue{animation:none;}
  }

  /* ===================== SECTION SHELL ===================== */
  section{
    padding:120px 6vw;
    position:relative;
  }
  .eyebrow{
    color:var(--red);
    font-size:12.5px;
    letter-spacing:0.32em;
    margin-bottom:18px;
    display:block;
  }
  .section-head{
    max-width:640px;
    margin:0 auto 70px;
    text-align:center;
  }
  .section-head h2{
    font-size:clamp(34px,5vw,58px);
    color:var(--ink);
  }
  .on-navy .eyebrow{color:var(--gold);}
  .on-navy .section-head h2{color:var(--cream);}
  .on-navy{color:var(--cream);}

  /* ===================== NOSOTROS ===================== */
  .about-wrap{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:70px;
    max-width:1180px;
    margin:0 auto;
    align-items:center;
  }
  .badge-circle{
    width:100%;
    max-width:440px;
    margin:0 auto;
    display:flex; align-items:center; justify-content:center;
    position:relative;
    background:transparent;
  }
  .badge-circle img{
    width:100%;
    height:auto;
    max-height:420px;
    object-fit:contain;
    filter:drop-shadow(0 8px 24px rgba(0,0,0,0.2));
  }
  .about-text p{margin-bottom:20px; font-size:20px; color:#3b362c;}
  .about-text p:first-of-type::first-letter{
    font-family:'Berkshire Swash', cursive;
    font-size:96px;
    font-weight:normal;
    float:left;
    line-height:0.65;
    margin:6px 16px 0 -4px;
    color:var(--gold-light);
    -webkit-text-stroke: 1.5px var(--navy-deep);
    text-shadow: 
      2px 2px 0px var(--navy-deep),
      0 0 12px rgba(199,154,92,0.55);
  }
  .about-cta-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(140,46,44,0.25);
  }

  /* ===================== SERVICIOS (ticket cards) ===================== */
  #servicios {
    position: relative;
    overflow: hidden;
  }
  .servicios-parallax-bg {
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: 0;
    right: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(16, 24, 31, 0.82), rgba(16, 24, 31, 0.82)), url('../img/fondo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    pointer-events: none;
  }
  @media (min-width: 1024px) {
    .servicios-parallax-bg {
      top: 0; bottom: 0;
      background-attachment: fixed;
      transform: none !important;
      will-change: auto;
    }
  }
  .services-tabs-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
  }
  .services-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .tab-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--cream);
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
  }
  .tab-btn:hover {
    background: rgba(199,154,92,0.15);
  }
  .tab-btn.active {
    background: var(--gold);
    color: var(--navy-deep);
    font-weight: 600;
  }
  .ticket.hidden {
    display: none !important;
  }
  @keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  .ticket:not(.hidden) {
    animation: fadeInScale 0.4s ease forwards;
  }

  #servicios .section-head, #servicios .services-grid, .services-tabs-container {
    position: relative;
    z-index: 1;
  }
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:34px;
    max-width:1180px;
    margin:0 auto;
  }
  .ticket{
    background:var(--paper);
    border:1.5px dashed var(--gold);
    padding:34px 30px 30px;
    position:relative;
  }
  .ticket::before, .ticket::after{
    content:"";
    position:absolute;
    width:28px; height:28px;
    background:var(--gold);
    border:2.5px solid var(--navy-deep);
    box-shadow:0 0 10px rgba(199,154,92,0.65);
    border-radius:50%;
    top:50%; transform:translateY(-50%);
  }
  .ticket::before{ left:-14px; }
  .ticket::after{ right:-14px; }
  .ticket .num{
    font-family:'Oswald',sans-serif;
    font-size:12px;
    letter-spacing:0.2em;
    color:var(--red);
    margin-bottom:10px;
    display:block;
  }
  .ticket h3{
    font-size:26px;
    margin-bottom:10px;
    color:var(--ink);
  }
  .ticket p{
    color:#6b6455;
    font-size:17px;
    margin-bottom:22px;
    min-height:52px;
  }
  .ticket .price{
    display:flex; align-items:baseline; justify-content:space-between;
    border-top:1px solid var(--line);
    padding-top:16px;
  }
  .ticket .price .amount{
    font-family:'Fraunces', serif;
    font-size:30px;
    font-weight:600;
    color:var(--navy);
  }
  .ticket .price .from{
    font-family:'Oswald',sans-serif;
    font-size:10.5px;
    letter-spacing:0.15em;
    color:#8a8272;
    text-transform:uppercase;
  }

  /* ===================== GALERÍA — CARRUSEL 3D DIAGONAL ===================== */
  #galeria { overflow: hidden; }
  .carousel-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
  }
  .carousel-scene {
    position: relative;
    perspective: 1200px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }
  .carousel-scene:active { cursor: grabbing; }

  .carousel-card {
    position: absolute;
    width: 380px;
    height: 450px;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                opacity  0.7s cubic-bezier(0.23, 1, 0.32, 1),
                filter   0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center bottom;
    will-change: transform, opacity;
  }
  .card-inner {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy);
    border: 1px solid rgba(199,154,92,0.2);
    box-shadow:
      0 18px 45px rgba(0,0,0,0.22),
      0 6px 16px rgba(0,0,0,0.14);
    transition: box-shadow 0.7s cubic-bezier(0.23,1,0.32,1),
                border-color 0.7s ease;
  }
  /* Sombra inferior — efecto "carta levantada" */
  .card-inner::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 14%; right: 14%;
    height: 22px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.28) 0%, transparent 72%);
    filter: blur(8px);
    z-index: -1;
    pointer-events: none;
  }
  .carousel-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .carousel-card img[src*="corte3.webp"] {
    object-position: left center;
  }

  /* Card activa — protagonista */
  .carousel-card.is-active { cursor: default; }
  .carousel-card.is-active .card-inner {
    border-color: var(--gold);
    box-shadow:
      0 32px 72px rgba(0,0,0,0.32),
      0 12px 32px rgba(0,0,0,0.22),
      inset 0 1px 0 rgba(199,154,92,0.12);
  }
  .carousel-card.is-active .card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, var(--gold-light) 30%, var(--gold) 50%, var(--gold-light) 70%, transparent 95%);
    z-index: 3;
  }
  /* Overlay sutil en cards laterales */
  .carousel-card:not(.is-active) .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(16,24,31,0.25) 0%, transparent 50%);
    z-index: 2; pointer-events: none;
  }
  /* Flechas de navegación */
  .carousel-btn {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(251,246,235,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--navy);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    z-index: 10; padding: 0;
  }
  .carousel-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
    box-shadow: 0 4px 20px rgba(199,154,92,0.3);
  }
  .carousel-btn svg { width: 22px; height: 22px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  /* Indicadores (dots) */
  .carousel-dots {
    display: flex; justify-content: center;
    gap: 12px; margin-top: 36px;
  }
  .carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
  }
  .carousel-dot.active {
    background: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(199,154,92,0.35);
  }
  /* Carousel — responsive */
  @media (max-width: 768px) {
    .carousel-card { width: 320px; height: 390px; }
    .carousel-scene { height: 430px; }
    .carousel-btn { width: 42px; height: 42px; }
    .carousel-btn svg { width: 18px; height: 18px; }
    .carousel-prev { left: 4px; }
    .carousel-next { right: 4px; }
    .carousel-dots { margin-top: 28px; gap: 10px; }
  }
  @media (max-width: 480px) {
    .carousel-card { width: 290px; height: 360px; }
    .carousel-scene { height: 400px; }
    .carousel-dots { margin-top: 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .carousel-card,
    .card-inner { transition: none !important; }
  }

  /* ===================== HORARIO / BOARD ===================== */
  #horario {
    position: relative;
    z-index: 5;
    margin-top: -30px;
    margin-bottom: -30px;
    padding-top: 150px;
    padding-bottom: 150px;
    clip-path: polygon(
      0% 30px, 3% 12px, 8% 28px, 14% 10px, 20% 29px, 26% 12px, 32% 27px, 38% 10px, 44% 28px, 50% 8px, 56% 29px, 62% 11px, 68% 28px, 74% 9px, 80% 27px, 86% 12px, 92% 29px, 97% 10px, 100% 25px,
      100% calc(100% - 25px), 96% calc(100% - 10px), 91% calc(100% - 28px), 85% calc(100% - 12px), 79% calc(100% - 29px), 73% calc(100% - 9px), 67% calc(100% - 28px), 61% calc(100% - 11px), 55% calc(100% - 27px), 49% calc(100% - 8px), 43% calc(100% - 29px), 37% calc(100% - 10px), 31% calc(100% - 28px), 25% calc(100% - 12px), 19% calc(100% - 27px), 13% calc(100% - 9px), 7% calc(100% - 29px), 0% calc(100% - 25px)
    );
  }
  .board-wrap{
    max-width:900px;
    margin:0 auto;
    border:1px solid var(--line);
    padding:56px;
  }
  .board-row{
    display:flex;
    justify-content:space-between;
    padding:16px 0;
    border-bottom:1px dotted rgba(242,233,214,0.25);
    font-family:'Oswald', sans-serif;
    letter-spacing:0.08em;
  }
  .board-row:last-child{border-bottom:none;}
  .board-row .day{
    color:var(--cream);
    font-size:15px;
    text-transform:uppercase;
  }
  .time-slots {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .time-slots .time {
    color: var(--gold-light);
    font-size: 15px;
    text-align: right;
  }
  .board-row.closed .time {
    color:#8a7f6d;
    font-style:italic;
    font-family:'Cormorant Garamond', serif;
  }

  /* ===================== CONTACT / FOOTER ===================== */
  #contacto {
    position: relative;
    z-index: 5;
    margin-bottom: -30px;
    padding-bottom: 150px;
    clip-path: polygon(
      0% 0%, 100% 0%,
      100% calc(100% - 25px), 96% calc(100% - 10px), 91% calc(100% - 28px), 85% calc(100% - 12px), 79% calc(100% - 29px), 73% calc(100% - 9px), 67% calc(100% - 28px), 61% calc(100% - 11px), 55% calc(100% - 27px), 49% calc(100% - 8px), 43% calc(100% - 29px), 37% calc(100% - 10px), 31% calc(100% - 28px), 25% calc(100% - 12px), 19% calc(100% - 27px), 13% calc(100% - 9px), 7% calc(100% - 29px), 0% calc(100% - 25px)
    );
  }
  .contact-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    max-width:1180px;
    margin:0 auto;
    align-items:start;
  }
  .contact-info h2{color:var(--gold); font-size:clamp(34px,5vw,54px); margin-bottom:24px;}
  .contact-info p{color:var(--gold-light); font-size:20px; margin-bottom:30px; max-width:420px;}
  .contact-list{list-style:none; display:flex; flex-direction:column; gap:20px;}
  .contact-list li{
    display:flex; gap:16px; align-items:flex-start;
    font-family:'Oswald', sans-serif;
    font-size:14px;
    letter-spacing:0.04em;
    color:var(--gold-light);
  }
  .contact-list svg{width:20px; height:20px; color:var(--gold); flex-shrink:0; margin-top:2px;}
  .contact-list a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
  .contact-list a:hover { color: var(--gold); }

  /* Centered Contact Styles */
  .centered-contact {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  .centered-contact .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gold-light);
  }
  .centered-contact .contact-info h2 {
    color: var(--gold-light);
  }
  .centered-contact .contact-info p {
    color: var(--gold-light);
    margin: 0 auto 30px;
  }
  .centered-contact .contact-list {
    align-items: center;
  }
  .centered-contact .contact-list li {
    color: var(--gold-light);
    display: flex;
    justify-content: center;
  }
  .centered-contact .contact-list svg {
    color: var(--gold-light);
  }
  .centered-contact .contact-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .centered-contact .contact-ig-link {
    color: var(--gold-light);
  }
  .centered-contact .btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--navy-deep) !important; /* Ensure it stays dark navy on gold button */
  }
  .centered-contact .btn-solid svg {
    width: 18px;
    height: 18px;
    color: var(--navy-deep) !important;
    flex-shrink: 0;
  }
  /* ===================== INSTALACIONES ===================== */
  .instalaciones-wrap-three-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6vw;
    align-items: center;
  }
  .instalaciones-text-col {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .instalaciones-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    line-height: 1.6;
    font-style: italic;
    color: var(--ink);
    text-align: center;
    margin: 0;
  }
  .instalaciones-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: transparent;
  }
  .instalaciones-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
  }
  .instalaciones-img-wrapper:hover img {
    transform: scale(1.03);
  }

  /* ===================== REVIEWS ===================== */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 6vw;
  }
  .review-card {
    background: var(--navy);
    border-radius: 14px;
    padding: 40px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(23,34,46,0.15);
  }
  .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(23,34,46,0.25);
  }
  .review-card-stripe {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  }
  .review-quote-icon {
    margin-bottom: 14px;
  }
  .review-quote-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
    opacity: 0.4;
  }
  .review-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }
  .review-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.75;
    color: var(--cream);
    margin-bottom: 24px;
  }
  .review-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(199,154,92,0.2);
    padding-top: 18px;
  }
  .review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .review-author {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2px;
  }
  .review-source {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(228,195,136,0.4);
  }

  @media (max-width: 860px) {
    .reviews-grid {
      grid-template-columns: 1fr;
      max-width: 500px;
      gap: 22px;
    }
  }

  .map-frame{
    border:1px solid var(--line);
    aspect-ratio:1/0.95;
    display:flex; align-items:center; justify-content:center;
    background:
      linear-gradient(rgba(23,34,46,0.0), rgba(23,34,46,0.0)),
      repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(199,154,92,0.08) 39px),
      repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(199,154,92,0.08) 39px);
    position:relative;
  }
  .map-frame svg{width:56px; height:56px; color:var(--gold);}
  
  .bg-pizarra {
    background-image: url('../img/pizarra.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  .bg-pizarra::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.035), transparent 45%),
      radial-gradient(ellipse at 80% 60%, rgba(255,255,255,0.03), transparent 50%),
      radial-gradient(ellipse at 50% 90%, rgba(255,255,255,0.025), transparent 40%),
      rgba(16,24,31,0.82);
    pointer-events: none;
  }
  .bg-pizarra::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  .bg-pizarra > * {
    position: relative;
    z-index: 1;
  }

  footer{
    background:var(--navy-deep);
    padding:34px 6vw;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    border-top:1px solid var(--line);
  }
  footer p{
    font-family:'Oswald', sans-serif;
    font-size:11.5px;
    letter-spacing:0.1em;
    color:rgba(242,233,214,0.55);
  }
  .social-row{display:flex; gap:22px;}
  .social-row a{color:var(--gold-light); font-size:12px; font-family:'Oswald',sans-serif; letter-spacing:0.15em;}
  .social-row a:hover{color:var(--gold);}

  /* ===================== RESPONSIVE DESIGN ===================== */
  @media (max-width: 1024px) {
    header {
      padding: 10px 5vw;
    }
    .header-logo {
      height: 55px;
    }
    .header-letrero {
      height: 75px;
    }
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

  }

  @media (max-width: 768px) {
    header {
      padding: 10px 4vw;
    }
    .header-logo {
      height: 48px;
    }
    .header-letrero {
      height: 60px;
      max-width: 52vw;
    }
    section {
      padding: 70px 5vw;
    }
    .hero {
      padding: 100px 5vw 70px;
    }
    .hero h1 {
      font-size: clamp(38px, 9vw, 76px);
    }
    .hero .sub {
      font-size: 13px;
      letter-spacing: 0.3em;
    }
    .hero-tagline {
      font-size: 18px;
    }
    .hero-ctas {
      flex-direction: column;
      width: 100%;
      max-width: 300px;
      margin: 30px auto 0;
    }
    .hero-ctas .btn {
      width: 100%;
      text-align: center;
    }
    .about-wrap, .contact-wrap, .historia-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .about-cta-wrap {
      justify-content: center;
    }
    .badge-circle {
      max-width: 260px;
    }
    .services-grid {
      grid-template-columns: 1fr;
    }
    .ticket {
      padding: 28px 22px 24px;
    }

    .board-wrap {
      padding: 30px 20px;
    }
    .board-row {
      font-size: 13.5px;
    }
    .time-slots {
      gap: 4px;
    }
    #horario {
      padding-top: 100px;
      padding-bottom: 100px;
      margin-top: -20px;
      margin-bottom: -20px;
      clip-path: polygon(
        0% 20px, 5% 8px, 11% 18px, 18% 7px, 26% 19px, 34% 9px, 42% 18px, 50% 6px, 58% 19px, 66% 8px, 74% 18px, 82% 7px, 90% 19px, 96% 8px, 100% 17px,
        100% calc(100% - 17px), 95% calc(100% - 8px), 89% calc(100% - 19px), 83% calc(100% - 6px), 76% calc(100% - 18px), 68% calc(100% - 8px), 60% calc(100% - 19px), 52% calc(100% - 7px), 44% calc(100% - 18px), 36% calc(100% - 9px), 28% calc(100% - 19px), 20% calc(100% - 6px), 13% calc(100% - 18px), 6% calc(100% - 8px), 0% calc(100% - 17px)
      );
    }
    #contacto {
      padding-bottom: 100px;
      margin-bottom: -20px;
      clip-path: polygon(
        0% 0%, 100% 0%,
        100% calc(100% - 17px), 95% calc(100% - 8px), 89% calc(100% - 19px), 83% calc(100% - 6px), 76% calc(100% - 18px), 68% calc(100% - 8px), 60% calc(100% - 19px), 52% calc(100% - 7px), 44% calc(100% - 18px), 36% calc(100% - 9px), 28% calc(100% - 19px), 20% calc(100% - 6px), 13% calc(100% - 18px), 6% calc(100% - 8px), 0% calc(100% - 17px)
      );
    }
    .instalaciones-wrap-three-col {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    .instalaciones-text {
      font-size: 19px;
      margin: 20px 0;
    }
  }

  @media (max-width: 480px) {
    header {
      padding: 8px 3vw;
    }
    .header-logo {
      height: 38px;
    }
    .header-letrero {
      height: 45px;
      max-width: 46vw;
    }

    footer {
      flex-direction: column;
      text-align: center;
      gap: 12px;
    }
    .social-row {
      justify-content: center;
    }
  }

  :focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

  
.footer-legal { text-align: center; margin-bottom: 15px; }
.legal-links a { color: var(--gold-light); font-size: 11px; text-decoration: none; margin: 0 5px; font-family: 'Oswald', sans-serif; letter-spacing: 0.1em; }
.legal-links a:hover { color: var(--gold); }
.credit { font-family: 'Oswald', sans-serif; font-size: 10px; color: rgba(242,233,214,0.55); text-align: center; margin-top: 15px; letter-spacing: 0.1em; width: 100%;}
  .credit a { color: var(--gold-light); text-decoration: none; }
  .credit a:hover { text-decoration: underline; }

  .contact-ig-link { color: var(--gold); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
  .contact-ig-link svg { width: 34px; height: 34px; }
  .contact-ig-link:hover { transform: scale(1.15) translateY(-3px); color: var(--gold-light); filter: drop-shadow(0 4px 8px rgba(199,154,92,0.3)); }
