@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ────────────────────────────────────────────────────────────────────────────
   RESET & GLOBAL
   ──────────────────────────────────────────────────────────────────────────── */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    border: 4px solid #a68c69;      /* marco dorado completo */
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
}

body {
    min-height: auto;
    display: block;                 /* ya no centramos todo con flex */
}

.time-slot.unavailable{
    display: none;
    opacity: .35 !important;
    pointer-events: none !important;      /* impide el click */
    text-decoration: line-through !important;
}


/* ────────────────────────────────────────────────────────────────────────────
   HEADER & NAVEGACIÓN
   ──────────────────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.site-header .logo img {
    height: 80px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav a.active,
.main-nav a:hover {
    color: #a68c69;
}

.main-nav .social a {
    margin-left: 10px;
    color: #fff;
    transition: color 0.3s;
}

.main-nav .social a:hover {
    color: #a68c69;
}

/* ────────────────────────────────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────────────────────────────────── */
#hero {
    position: relative;
    overflow: hidden;
}

#hero img.hero-img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* ────────────────────────────────────────────────────────────────────────────
   GESTOR DE RESERVAS (tu CSS original, sin cambios)
   ──────────────────────────────────────────────────────────────────────────── */
.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    background-color: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    margin: 60px auto;            /* centrado dentro del flujo */
}

/* Reservation Section */
.reservation-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #a68c69;
    font-weight: 600;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #a68c69;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.title:hover {
    color: #d5b897;
    transform: translateY(-2px);
}

.title:hover::after {
    transform: scaleX(1.2);
}

.business-hours {
    margin-bottom: 40px;
    border-top: 1px solid rgba(166, 140, 105, 0.2);
    transition: all 0.3s ease;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(166, 140, 105, 0.2);
    transition: all 0.3s ease;
}

.hour-row:hover {
    background-color: rgba(166, 140, 105, 0.05);
    padding-left: 5px;
}

.day {
    font-weight: 600;
}

.time {
    color: #a68c69;
}

.instruction {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a68c69;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.instruction i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Calendar Section */
.calendar-section {
    flex: 1;
    background-color: #111;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.calendar-header {
    background-color: #a68c69;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

#month-year {
    font-weight: 600;
    letter-spacing: 1px;
}

.month-nav {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.month-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.month-nav:active {
    transform: scale(0.95);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 0;
}

.weekday {
    padding: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 0 5px;
}

.date {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-radius: 50%;
    margin: 2px;
}

.date:not(.inactive):hover {
    background-color: rgba(166, 140, 105, 0.3);
    transform: scale(1.1);
}

.date.selected {
    background-color: #a68c69 !important;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(166, 140, 105, 0.5);
}

.date.inactive {
    color: #555;
    cursor: not-allowed;
}

.date.today {
    border: 1px solid #a68c69;
    position: relative;
}

.date.today::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #a68c69;
    border-radius: 50%;
}

/* Selected Date Display */
.selected-date-display {
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.selected-date-display h2 {
    color: #a68c69;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 0 20px 20px;
    animation: fadeIn 0.5s ease;
}

.time-slot {
    padding: 20px;
    border: 1px solid #333;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.time-slot:hover {
    border-color: #a68c69;
    background-color: rgba(166, 140, 105, 0.1);
    transform: translateY(-2px);
}

.time-slot.selected {
    background-color: #a68c69;
    border-color: #a68c69;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(166, 140, 105, 0.5);
}

.time-slot.unavailable {
    color: #555;
    cursor: not-allowed;
    text-decoration: line-through;
}

.hidden {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #111;
    margin: 5% auto;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-top: 4px solid #a68c69;
    animation: modalFadeIn 0.4s;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-button:hover {
    color: #a68c69;
    transform: rotate(90deg);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content h2 {
    color: #a68c69;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.selected-datetime {
    background-color: #000;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border-left: 3px solid #a68c69;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-group:hover label {
    color: #a68c69;
}

.service-group label {
    margin-bottom: 20px;
}

.required {
    color: #a68c69;
}

.form-instruction {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #999;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 90%;
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: transparent;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #a68c69;
    box-shadow: 0 0 0 2px rgba(166, 140, 105, 0.2);
}

.service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.service-option:hover {
    background-color: rgba(166, 140, 105, 0.1);
}

.service-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #a68c69;
    transition: transform 0.2s ease;
    margin: 0;
    position: relative;
    top: 0;
}

.service-option label {
    margin: 0;
    display: flex;
    align-items: center;
}

.service-option input[type="checkbox"]:checked {
    transform: scale(1.1);
}

.service-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
}

.form-agreement {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 20px;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submit-button {
    background-color: #000;
    color: white;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    border: 2px solid #d4af37;
    background-clip: padding-box;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #f9e076, #c5a028, #f9e076, #d4af37);
    background-size: 400% 400%;
    z-index: -1;
    animation: goldShine 3s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.submit-button::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 100%;
    top: 0;
    left: -100px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: sweep 3s ease-in-out infinite;
    transform: skewX(-20deg);
}

@keyframes sweep {
    0% { left: -100px; }
    50% { left: 200%; }
    100% { left: -100px; }
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.cancel-button {
    background-color: transparent;
    color: white;
    border: 1px solid #333;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cancel-button:hover {
    border-color: #a68c69;
    color: #a68c69;
}

.modal-content.confirmation {
    text-align: center;
    max-width: 400px;
}

.modal-content.confirmation p {
    margin-bottom: 15px;
    color: #ccc;
}

.modal-content.confirmation button {
    margin: 0 auto;
    display: block;
    width: 50%;
    margin-top: 20px;
}

/* patrones sutiles */
.container {
    background-image:
        linear-gradient(to bottom,
            rgba(20,20,20,0.7),
            rgba(12,12,12,0.9)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a68c69' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.calendar-section {
    background-image:
        linear-gradient(to bottom,
            rgba(17,17,17,0.95),
            rgba(17,17,17,0.98)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm20 0a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM10 37a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm10-17h20v20H20V20zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14z' fill='%23a68c69' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* focus states */
input:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(166,140,105,0.3);
}

/* calendar tweaks */
.calendar-header {
    background: linear-gradient(45deg, #a68c69, #d5b897);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.date {
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}

.date.today {
    box-shadow: inset 0 0 0 1px #a68c69;
}

/* responsive reserva */
@media (max-width: 768px) {
    .container { flex-direction: column; min-height: auto; margin-top:20px; }
    .service-options { grid-template-columns: 1fr; }
    .title { font-size: 1.8rem; }
    .reservation-section { padding: 20px; }
    .calendar-section { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
    .time-slots { grid-template-columns: repeat(auto-fill,minmax(100px,1fr)); }
    .modal-content {
        width: 85%;
        margin: 10% auto;
        padding: 10px;}
    .site-header .logo img {
        height: 50px;
    }
    .selected-datetime { flex-direction:column; align-items:flex-start; }
    .form-buttons { flex-direction:column; }
    .submit-button, .cancel-button { width:100%; }
    .weekday { font-size:0.8rem; padding:5px; }
    .date { font-size:0.8rem; }
}

/* móvil extra */
@media (max-width: 480px) {
    .title { font-size:1.5rem; }
    .hour-row { padding:15px 0; }
    .day, .time { font-size:0.9rem; }
    .service-option label { font-size:0.9rem; }
}

/* ────────────────────────────────────────────────────────────────────────────
   NUEVAS SECCIONES
   ──────────────────────────────────────────────────────────────────────────── */
/* Oferta destacada */
.oferta {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.oferta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.oferta h2 span {
    display: block;
    margin-top: 10px;
    font-size: 1.5rem;
    color: #a68c69;
}
.oferta p {
    margin: 20px auto;
    max-width: 600px;
    line-height: 1.4;
}
.oferta .btn-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 1px solid #a68c69;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
    background-color: black;
}
.oferta .btn-link:hover {
    background: #a68c69;
    color: #000;
}

/* Servicios */
#servicios {
    padding: 60px 20px;
}

#servicios article img {
    width: 60px;
    margin-bottom: 15px;
}
#servicios article h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #a68c69;
}
#servicios article p {
    font-size: 0.9rem;
    color: #ccc;
}

/* CTA a Historia */
#cta-historia {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
#cta-historia h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
#cta-historia p {
    margin-bottom: 20px;
}
#cta-historia .btn-link {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #a68c69;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}
#cta-historia .btn-link:hover {
    background: #a68c69;
    color: #000;
}

/* Opiniones */
#opiniones {
    padding: 80px 20px;
    background: #0c0c0c;
    text-align: center;
}
.reviews-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
}
.reviews-wrapper blockquote {
    background: #111;
    padding: 20px;
    min-width: 250px;
    border-left: 4px solid #a68c69;
    font-style: italic;
    color: #ddd;
}

/* Mapa */
#mapa {
    margin: 0;
    padding: 0;
}
#mapa iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
.site-footer {
    background: #000;
    padding: 40px 20px;
    color: #ccc;
    text-align: center;
}
.site-footer img {
    width: 220px;
    margin-bottom: 20px;
}
.site-footer p {
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.4;
}
.site-footer address {
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.5;
}
.site-footer small {
    display: block;
    margin-top: 20px;
    color: #555;
}

/* ──────────────────────────────────────────────────────────────────────────── */

/* ░░░ Overlay con degradado oscuro en la parte inferior ░░░ */
.oferta,
#cta-historia{
    position: relative;            /* garantiza que el ::before se coloque encima */
}

.oferta::before,
#cta-historia::before{
    content: '';
    position: absolute;
    inset: 0;                      /* cubre todo el ancho y alto */
    pointer-events: none;          /* que no bloquee clics */
    z-index: 0;                    /* por debajo del contenido */
    /* De más oscuro (abajo) a transparente (arriba) */
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.60) 35%,
        rgba(0,0,0,0.30) 60%,
        rgba(0,0,0,0)   100%
    );
}

/* Eleva el contenido por encima del overlay */
.oferta > *, 
#cta-historia > *{
    position: relative;
    z-index: 1;
}

/* ── 1.  Header más grande ───────────────────────────── */
.site-header{
    height: 90px;               /* antes 72 */
    padding: 0 30px;
}
.logo img{
    height: 60px;               /* ~20 px más alto */
}
.main-nav ul{
    list-style:none;
    display:flex;
    align-items:center;
    gap: 5px;                  /* mayor separación */
}
.main-nav a{
    font-size:1rem;             /* antes ~0.9 */
    letter-spacing:2px;
}

/* ── 2.  Botón hamburguesa ───────────────────────────── */
.hamburger{
    display:none;               /* visible solo en móvil */
    flex-direction:column;
    justify-content:space-between;
    width:28px;height:22px;
    background:transparent;
    border:none;cursor:pointer;
}
.hamburger span{
    display:block;
    height:3px;width:25px;
    background:#a68c69;
    border-radius:2px;
    transition:.3s;
}

/* ── 3.  Navegación móvil ────────────────────────────── */
@media (max-width: 1024px){
  .hamburger{display:flex;z-index:1100;}
  .main-nav{
      position:fixed; inset:0;
      background:#000;
      transform:translateX(100%);
      transition:transform .4s ease;
      display:flex;align-items:center;justify-content:center;
  }
  body.nav-open .main-nav{transform:translateX(0);}
  .main-nav ul{
      flex-direction:column;
      gap:40px;
  }
  body.nav-open .hamburger span:nth-child(1){transform:rotate(45deg) translateY(9px);}
  body.nav-open .hamburger span:nth-child(2){opacity:0;}
  body.nav-open .hamburger span:nth-child(3){transform:rotate(-45deg) translateY(-9px);}
}

/* ── 4.  Scroll suave ────────────────────────────────── */
html{scroll-behavior:smooth;}

/* ── 5.  Collage en historia (asegura visibilidad) ───── */
.collage{
    display:flex;justify-content:center;gap:30px;flex-wrap:wrap;
    margin:60px auto;max-width:900px;
}
.collage img{
    width:45%;min-width:250px;object-fit:cover;
}

/* ── 6.  Ajuste de márgenes en páginas secundarias ───── */
#historia, #contacto-page {   
    text-align:center;
}

/* ───────────────────────────────────────────────
   ❶  Asegurar que todo el header cabe dentro
   ─────────────────────────────────────────────── */
   .site-header{
    width: calc(100% - 8px);       /* restamos los 4 px de borde de cada lado */
    box-sizing: border-box;        /* padding incluido en el ancho */
    overflow: hidden;              /* corta posibles desbordes */
    padding: 0 24px;               /* ↓ un pelín el padding lateral */
}

/* separaciones y “gap” más cómodos para que no empuje al borde */
.main-nav ul{ gap: 24px; }
.main-nav .social{ margin-left: 24px; gap: 14px; }
.main-nav .social a{ margin: 0; }   /* quitamos el viejo margin‑left */

/* ───────────────────────────────────────────────
   ❷  Botón hamburguesa siempre dentro del header
   ─────────────────────────────────────────────── */
.hamburger{
    position: absolute;            /* lo anclamos al borde interno */
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

/* solo lo mostramos en móvil, como ya estaba */
@media (min-width: 1025px){
    .hamburger{ display:none; }
}

/* ───────────────────────────────────────────────
   ❸  Evitar que los iconos se recorten por tamaño
   ─────────────────────────────────────────────── */
.main-nav .social a i{
    font-size: 1.15rem;            /* tamaño uniforme y algo menor */
    line-height: 1;
    
}

.main-nav .social {
    display: flex;

}

/* ───────────────────────────────────────────────
   SECCIÓN HERO PEQUEÑA (reutilizable)
   ─────────────────────────────────────────────── */
   .sub-hero{
    position:relative;
    background-size:cover;
    background-position:center;
    text-align:center;
    padding:100px 20px;
}
.sub-hero::before{
    content:'';
    position:absolute;inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.25) 60%,rgba(0,0,0,0) 100%);
}
.sub-hero h1{
    position:relative;z-index:1;
    font-size:2.5rem;letter-spacing:3px;
    text-transform:uppercase;color:#fff;
}

/* ───────────────────────────────────────────────
   CONTACTO – grid + formulario
   ─────────────────────────────────────────────── */
.contacto-wrapper{
    --gap:60px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:var(--gap);
    max-width:1200px;margin:140px auto 80px;
    padding:0 20px;
}
.contacto-wrapper .datos{
    display:grid;
    gap:30px;
}
.contacto-wrapper .datos article{
    background:#0c0c0c;
    padding:30px 25px;
    border-left:4px solid #a68c69;
    transition:transform .3s;
}
.contacto-wrapper .datos article:hover{
    transform:translateY(-4px);
}
.contacto-wrapper .datos i{
    font-size:1.6rem;color:#a68c69;margin-bottom:10px;
}
.contacto-wrapper .datos h3{
    text-transform:uppercase;font-size:1rem;margin-bottom:6px;color:#a68c69;
}
.contacto-wrapper .datos p{font-size:.9rem;color:#ddd;line-height:1.4;}

.contact-form{
    background:#0c0c0c;padding:40px 35px;
    display:flex;flex-direction:column;gap:18px;
}
.contact-form h2{font-size:1.4rem;color:#a68c69;letter-spacing:2px;}
.contact-form p{font-size:.9rem;color:#ccc;margin-bottom:10px;}

.contact-form input,
.contact-form textarea{
    background:#000;border:1px solid #333;color:#fff;
    padding:12px 14px;border-radius:4px;font-size:.9rem;
}
.contact-form textarea{resize:vertical;}
.contact-form input:focus,
.contact-form textarea:focus{border-color:#a68c69;outline:none;}

@media(max-width:600px){
   .contacto-wrapper{--gap:40px;}
}

/* ───────────────────────────────────────────────
   HISTORIA – texto & collage
   ─────────────────────────────────────────────── */
.historia-wrapper{
    max-width:1000px;margin:140px auto 100px;padding:0 20px;
    display:flex;flex-direction:column;gap:60px;
}
.historia-wrapper .texto p{
    font-size:1rem;line-height:1.6;color:#ddd;text-align:center;
}
.collage{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;justify-items:center;
}
.collage img{
    width:100%;height:auto;border:4px solid #111;
    box-shadow:0 8px 20px rgba(0,0,0,.5);
}

/* ─────────────────────────────────────────────── */

/* ───────────────────────────────────────────────
   ❶  COLLAGE – 100 % visible también en móvil
   ─────────────────────────────────────────────── */
   .collage img{
    max-width:100%;   /* nunca se sale */
    height:auto;
}
@media(max-width:600px){
   .collage{
       display:flex;          /* pasa a “pila” vertical */
       flex-direction:column;
       gap:24px;
       padding:0 12px;        /* pequeño margen lateral */
   }
}

/* ───────────────────────────────────────────────
   ❷  Scrollbar fino que se auto‑oculta
   ─────────────────────────────────────────────── */
html{ overflow-y: overlay; }          /* Chrome/Edge overlay */
body{
    scrollbar-width:thin;             /* Firefox */
    scrollbar-color:#a68c69 transparent;
}
/* WebKit */
body::-webkit-scrollbar{ width:6px;height:6px; }
body::-webkit-scrollbar-track{ background:transparent; }
body::-webkit-scrollbar-thumb{
    background:#a68c69;border-radius:3px;
    transition:opacity .3s;
    opacity:0;                        /* oculto por defecto */
}
body:hover::-webkit-scrollbar-thumb{ opacity:1; }

/* ───────────────────────────────────────────────
   ❸  “Modo‑app”  →  sin selección ni zoom
   ─────────────────────────────────────────────── */
*{
    -webkit-user-select:none;
       -moz-user-select:none;
        -ms-user-select:none;
            user-select:none;
    -webkit-tap-highlight-color:transparent;
}
/* Permitimos teclear/copiar en campos de formulario */
input, textarea{
    -webkit-user-select:text;
       -moz-user-select:text;
        -ms-user-select:text;
            user-select:text;
}

/* ─────────────────────────────────────────────── */

/* ───────────────────────────────────────────────
   Borde dorado 4 px siempre visible alrededor
   ─────────────────────────────────────────────── */

/* 1. Desplazamos el header 4 px hacia abajo
      (la anchura ya la recortamos con calc)       */
      .site-header{
        top: 4px;                       /* antes 0 */
    }
    
    /* 2. Menú móvil de pantalla completa
          respeta también el marco de 4 px            */
    @media (max-width: 1024px){
      .main-nav{
          inset: 4px;                   /* en vez de inset:0 */
      }
    }
    
/* ───────────────────────────────────────────────
   HEADER dentro del marco (desktop + móvil)
   ─────────────────────────────────────────────── */
   .site-header{
    /* quitamos el width:calc() y usamos left/right */
    top:   4px;         /* ya estaba */
    left:  4px;         /* nuevo → libera el borde izquierdo */
    right: 4px;         /* nuevo → evita la línea negra derecha */
    width: auto;        /* deja que ocupe lo que quede entre los bordes */
    box-sizing: border-box;
}

/* overlay del menú móvil respeta los 4 px en todo momento */
@media (max-width: 1024px){
  .main-nav{ inset:4px !important; }
}

/* asegúrate de que no haya scroll horizontal fantasma */
html,body{ overflow-x:hidden; }

/* ───────────────────────────────────────────────
   SERVICIOS → mismo nº de iconos por fila
   ─────────────────────────────────────────────── */

   #servicios .grid{
    display:grid;
    padding-left: 50px;
    padding-right: 50px;
    gap:30px;
    max-width:1200px;
    margin:0 auto;
    justify-items:center;
    /* 6 columnas en desktop ancho */
    grid-template-columns:repeat(6,minmax(0,1fr));
}

/* 3 iconos por fila (tablet landscape) */
@media(max-width:1200px){
    #servicios .grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

/* 2 iconos por fila (tablet portrait / móvil grande) */
@media(max-width:768px){
    #servicios .grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* 1 icono por fila (móvil pequeño) */
@media(max-width:480px){
    #servicios .grid{
        grid-template-columns:1fr;
    }
}

/* ───────────────────────────────────────────────
   ALINEACIÓN PERFECTA EN LA REJILLA DE SERVICIOS
   ─────────────────────────────────────────────── */
   #servicios .grid article{
   width: 100%;        /* texto alineado a la izquierda */
}

/* ───────────────────────────────────────────────
   RESEÑAS – carrusel responsive + animación fade
   ─────────────────────────────────────────────── */
   #opiniones{
    padding:80px 20px;background:#000;text-align:center;
}
#opiniones .opiniones-title{
    font-size:2rem;margin-bottom:50px;color:#a68c69;
    letter-spacing:2px;text-transform:uppercase;
}
.reviews-carousel{
    position:relative;min-height:200px;
}
.reviews-slide{
    position:absolute;top:0;left:0;width:100%;opacity:0;
    display:grid;gap:40px;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    padding:0 20px;box-sizing:border-box;
    transition:opacity .8s ease;
}
.reviews-slide.active{opacity:1;}

/* Card */
.review-card{
    text-align:left;background:#0c0c0c;padding:25px 22px;
    border-left:4px solid #a68c69;line-height:1.4;
}
.review-card h4{
    font-size:1rem;margin:0 0 6px;color:#fff;font-weight:600;
}
.review-card .stars{color:#ffb100;margin-bottom:8px;font-size:1rem;}
.review-card p{color:#ddd;font-size:.9rem;}

/* Dots */
.reviews-dots{
    margin-top:30px;display:flex;justify-content:center;gap:8px;
}
.reviews-dots button{
    width:10px;height:10px;border-radius:50%;border:none;cursor:pointer;
    background:#555;transition:background .3s;
}
.reviews-dots button.active{background:#a68c69;}

/* Mobile tweeks */
@media(max-width:600px){
    .reviews-slide{gap:20px;}
}

/* ───────────────────────────────────────────────
   HEADER con gradiente (negro → transparente)
   ─────────────────────────────────────────────── */
   .site-header{
    /* sustituye el color sólido por un gradiente vertical */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,1)      0%,
        rgba(0,0,0,.85)   40%,
        rgba(0,0,0,.60)   70%,
        rgba(0,0,0,0)    100%
    );
}

/* el overlay del menú móvil sigue siendo negro sólido */
@media(max-width:1024px){
  body.nav-open .main-nav{
      background:#000;            /* se mantiene opaco */
  }
}


/* ────────────────────────────────────────────────────────────────────────────
   3D Metallic Light on Text & UI – Pegar al final de styles.css
   ──────────────────────────────────────────────────────────────────────────── */

/* 1) Keyframes para animar sólo el degradado metálico */
@keyframes shiftMetalLayers {
  0%   { background-position: center, center, 0% 50%; }
  50%  { background-position: center, center, 100% 50%; }
  100% { background-position: center, center, 0% 50%; }
}

/* 2) Keyframes para un ligero “shimmer” en SVG/iconos */
@keyframes svgShine {
  0%,100% { filter: brightness(1) contrast(1) drop-shadow(0 0 2px rgba(255,255,255,0.5)); }
  50%     { filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 5px rgba(255,255,255,1)); }
}

/* 3) Variables de degradado y tiempos */
:root {
  --metal-gradient: repeating-linear-gradient(
    to right,
    #1a1208 0%,
    #6b4c17 5%,
    #c8a65b 15%,
    #f5e1a1 25%,
    #ffffff 30%,
    #f5e1a1 35%,
    #c8a65b 45%,
    #6b4c17 60%,
    #1a1208 70%
  );
  --metal-duration: 8s;
  --metal-timing: ease-in-out;
}

/* 4) Borde metálico animado */
html, body {
  border-image: var(--metal-gradient) 4 round;
}

/* 5) Texto 3D metálico con reflejo y sombra */
h1,
.title,
.opiniones-title,
.business-hours .day,
.business-hours .time,
#servicios article h3,
.selected-date-display h2,
.review-card .stars,
.main-nav .social a i {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.7), transparent 40%),
    var(--metal-gradient);
  background-size: auto, auto, 200%;
  background-position: center, center, 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
  animation: shiftMetalLayers var(--metal-duration) var(--metal-timing) infinite;
}



/* 7) Hamburguesa con brillo metálico suave y lineal */
.hamburger span {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.7), transparent 40%),
    var(--metal-gradient) !important;
  background-size: auto, auto, 200% !important;
  background-position: center, center, 0% 50% !important;
  background-clip: border-box;
  animation: shiftMetalLayers var(--metal-duration) linear infinite !important;
}

/* 8) Scrollbar thumb animado */
body::-webkit-scrollbar-thumb {
  background-image: var(--metal-gradient);
  background-size: 200%;
  animation: shiftMetalLayers var(--metal-duration) var(--metal-timing) infinite;
  border-radius: 3px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--metal-gradient) transparent;
}

/* 9) SVG e iconos .svg con shimmer 3D */
svg,
.grid article img {
  animation: svgShine var(--metal-duration) var(--metal-timing) infinite !important;
}


/* ────────────────────────────────────────────────────────────────────────────
   3D Metallic Gold Animation Effects
   ──────────────────────────────────────────────────────────────────────────── */

/* 1. Key Animation Definitions */
@keyframes goldShimmer {
    0%, 100% { 
      background-position: -100% 0, 0 0, 200% 0; 
    }
    50% { 
      background-position: 200% 0, 0 0, -100% 0; 
    }
  }
  
  @keyframes goldPulse {
    0%, 100% { 
      filter: brightness(1) contrast(1.05) saturate(1);
      text-shadow: 0 0 3px rgba(255,215,0,0.3);
    }
    50% { 
      filter: brightness(1.2) contrast(1.15) saturate(1.15);
      text-shadow: 0 0 8px rgba(255,215,0,0.5), 0 0 15px rgba(255,215,0,0.3);
    }
  }
  
  @keyframes borderGlint {
    0%, 100% {
      border-image-source: linear-gradient(45deg, 
        #382d16, #a68c69, #d5b897, #f5e1a1, #ffffff, 
        #f5e1a1, #d5b897, #a68c69, #382d16);
    }
    25% {
      border-image-source: linear-gradient(45deg, 
        #a68c69, #d5b897, #f5e1a1, #ffffff, #f5e1a1, 
        #d5b897, #a68c69, #382d16, #a68c69);
    }
    50% {
      border-image-source: linear-gradient(45deg, 
        #d5b897, #f5e1a1, #ffffff, #f5e1a1, #d5b897, 
        #a68c69, #382d16, #a68c69, #d5b897);
    }
    75% {
      border-image-source: linear-gradient(45deg, 
        #f5e1a1, #ffffff, #f5e1a1, #d5b897, #a68c69, 
        #382d16, #a68c69, #d5b897, #f5e1a1);
    }
  }
  
  @keyframes svgShine {
    0%, 100% { 
      filter: brightness(1) drop-shadow(0 0 2px rgba(255,215,0,0.4));
    }
    50% { 
      filter: brightness(1.3) drop-shadow(0 0 8px rgba(255,215,0,0.7));
    }
  }
  
  /* 2. Gold Gradient Variables */
  :root {
    --gold-gradient-basic: linear-gradient(45deg, 
      #382d16, #a68c69, #d5b897, #f5e1a1, #ffffff, 
      #f5e1a1, #d5b897, #a68c69, #382d16);
      
    --gold-gradient-intense: linear-gradient(45deg, 
      #1a1208, #6b4c17, #c8a65b, #f5e1a1, #ffffff, 
      #f5e1a1, #c8a65b, #6b4c17, #1a1208);
      
    --gold-gradient-subtle: linear-gradient(45deg, 
      #382d16, #876e4d, #b39c74, #d5b897, #e8cbaa,
      #d5b897, #b39c74, #876e4d, #382d16);
      
    --gold-shimmer-duration: 10s;
    --gold-pulse-duration: 8s;
  }
  
  /* 3. Page Border Enhancement */
  html, body {
    border-color: transparent;
    border-image: var(--gold-gradient-basic) 4 stretch;
    border-image-width: 4px;
    animation: borderGlint 12s infinite ease-in-out;
  }
  

  /* 5. Business Hours Enhanced Text */
  .hour-row .day, .hour-row .time, h1, h2, .title, .opiniones-title, #servicios h3,
  .modal-content h2, .selected-date-display h2 {
    background-image: 
      linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 100%),
      var(--gold-gradient-subtle);
    background-size: 200% 100%, 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer var(--gold-shimmer-duration) infinite ease-out;
  }
  
  /* 6. Calendar Header Enhancement */
  .calendar-header {
    background-image: radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0) 70%), var(--gold-gradient-basic) !important;
    background-size: 100% 100%, 200% 100% !important;
    animation: goldShimmer var(--gold-shimmer-duration) infinite ease !important;
  }
  
  .calendar-header #month-year {
    color: #000;
    font-weight: 700;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.7);
  }
  
  /* 7. Time Slots and Selected States */
  .time-slot.selected, .date.selected {
    background-color: transparent !important;
    background-image: 
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%),
      var(--gold-gradient-basic) !important;
    background-size: 100% 100%, 200% 100% !important;
    animation: goldShimmer var(--gold-shimmer-duration) infinite ease !important;
    color: #000 !important;
    font-weight: 600;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.7);
    box-shadow: 0 2px 10px rgba(166,140,105,0.7) !important;
  }
  
  /* 8. Hamburger Menu Lines */
  .hamburger span {
    background-color: transparent !important;
    background-image: var(--gold-gradient-intense) !important;
    background-size: 200% 100% !important;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear !important;
  }
  
  /* 9. Scrollbar Styling */
  body::-webkit-scrollbar-thumb {
    background-color: transparent;
    background-image: var(--gold-gradient-intense);
    background-size: 200% 100%;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  /* 10. Submit Button Enhancement */
  .submit-button {
    position: relative;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    z-index: 1;
  }
  
  .submit-button::before {
    content: '';
    position: absolute;
    top: -2px; right: -2px; bottom: -2px; left: -2px;
    background-image: var(--gold-gradient-intense);
    background-size: 200% 100%;
    z-index: -1;
    border-radius: 6px;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  /* 11. Service Icons Enhancement */
  #servicios article img, 
  .contact-form i,
  .contacto-wrapper .datos i,
  .main-nav .social a i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    animation: svgShine var(--gold-pulse-duration) infinite ease-in-out;
  }
  
  /* 12. SVG Logo Enhancement */
  .logo img {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    animation: svgShine var(--gold-pulse-duration) infinite ease-in-out;
  }
  
  /* 13. Review Stars Enhancement */
  .review-card .stars {
    color: transparent;
    background-image: var(--gold-gradient-intense);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  /* 14. Call to Action Links Enhancement */
  .btn-link, .oferta .btn-link, #cta-historia .btn-link {
    position: relative;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    z-index: 1;
    overflow: hidden;
  }
  
  .btn-link::before {
    content: '';
    position: absolute;
    top: -1px; right: -1px; bottom: -1px; left: -1px;
    background-image: var(--gold-gradient-basic);
    background-size: 200% 100%;
    z-index: -1;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  .btn-link:hover {
    color: #000 !important;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.7);
  }
  
  /* 15. Contact Form Border Enhancement */
  .contact-form,
  .contacto-wrapper .datos article,
  .review-card {
    position: relative;
    border-left: 4px solid transparent !important;
    background-clip: padding-box !important;
  }
  
  .contact-form::before,
  .contacto-wrapper .datos article::before,
  .review-card::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -4px; width: 4px;
    background-image: var(--gold-gradient-basic);
    background-size: 100% 200%;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  /* 16. Navigation Links Enhancement */
  .main-nav a.active,
  .main-nav a:hover {
    color: transparent !important;
    background-image: var(--gold-gradient-intense);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: goldShimmer var(--gold-shimmer-duration) infinite ease-in-out;
  }
  
  /* 17. Date Today Indicator */
  .date.today {
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    position: relative;
  }
  
  .date.today::before {
    content: '';
    position: absolute;
    top: -1px; right: -1px; bottom: -1px; left: -1px;
    background-image: var(--gold-gradient-basic);
    background-size: 200% 100%;
    border-radius: 50%;
    z-index: -1;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
    opacity: 0.6;
  }
  
  /* 18. Title After Line Enhancement */
  .title::after {
    background-size: 200% 100% !important;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear !important;
  }
  
  /* 19. Modal Header Border Enhancement */
  .modal-content {
    border-top: 4px solid transparent !important;
    background-clip: padding-box !important;
    position: relative;
  }
  
  .modal-content::before {
    content: '';
    position: absolute;
    top: -4px; left: 0; right: 0; height: 4px;
    background-image: var(--gold-gradient-intense);
    background-size: 200% 100%;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  /* 20. Selected Date Time Display */
  .selected-datetime {
    border-left: 3px solid transparent !important;
    background-clip: padding-box !important;
    position: relative;
  }
  
  .selected-datetime::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -3px; width: 3px;
    background-image: var(--gold-gradient-intense);
    background-size: 100% 200%;
    animation: goldShimmer var(--gold-shimmer-duration) infinite linear;
  }
  
  /* 21. Checkbox Enhancement */
  .service-option input[type="checkbox"]:checked {
    accent-color: #a68c69 !important;
    box-shadow: 0 0 5px rgba(166,140,105,0.8);
  }
  
  /* Mobile Optimizations */
  @media (max-width: 768px) {
    .hamburger span {
      height: 2px;
    }
    
    h1, h2, .title {
      font-size: calc(1.5rem + 0.5vw) !important;
    }
  }

/* ────────────────────────────────────────────────────────────────────────────
   PREMIUM GOLD EFFECTS - Add at the end of your CSS file
   ──────────────────────────────────────────────────────────────────────────── */

/* Gold Effect Color Variables - Refined with business hours style gradient */
:root {
    --gold-light: #e8d9c0;
    --gold-highlight: #d8c9aa;
    --gold-primary: #b39a6a;
    --gold-secondary: #8c7853;
    --gold-shadow: #5c4f37;
    --gold-dark: #3a332a;
    --gold-gradient: linear-gradient(135deg, 
        #493a25 0%, 
        #b39a6a 30%, 
        #c9b28b 60%, 
        #36322a 80%, 
        #3a332a 100%);
    --gold-shine-gradient: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 60%,
      transparent 100%
    );
    --gold-texture: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
  }
  
  /* Smooth Animation Keyframes */
  @keyframes goldShine {
    0%, 20% { background-position: 200% center, 0% 0%; }
    80%, 100% { background-position: -200% center, 0% 0%; }
  }
  
  @keyframes goldPulse {
    0%, 100% { filter: brightness(1) contrast(1); }
    50% { filter: brightness(1.2) contrast(1.1); }
  }
  
  @keyframes goldBorderShift {
    0%, 100% { border-image-source: linear-gradient(45deg, var(--gold-dark), var(--gold-primary), var(--gold-light), var(--gold-primary), var(--gold-dark)); }
    50% { border-image-source: linear-gradient(45deg, var(--gold-primary), var(--gold-light), var(--gold-primary), var(--gold-dark), var(--gold-primary)); }
  }
  
  @keyframes goldTextShimmer {
    0% { background-size: 200% 100%; background-position: -100% 0; }
    100% { background-size: 200% 100%; background-position: 200% 0; }
  }
  
  /* Page Border Gold Effect */
  html, body {
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, var(--gold-dark), var(--gold-primary), var(--gold-light), var(--gold-primary), var(--gold-dark)) 1;
    animation: goldBorderShift 8s infinite alternate ease-in-out;
  }
  
  /* Gold Scrollbar */
  body::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    background-size: 400% 100%;
    animation: goldShine 6s infinite linear;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(179, 154, 106, 0.5);
  }
  
  /* Gold Button Effects */
  .submit-button,
  .btn-link,
  .reviews-dots button.active {
    position: relative;
    overflow: hidden;
    background: var(--gold-gradient) !important;
    background-size: 200% 100% !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 
      0 0 5px rgba(179, 154, 106, 0.5),
      inset 0 0 8px rgba(255, 255, 255, 0.2) !important;
    animation: goldPulse 3s infinite ease-in-out !important;
  }
  
  /* Modified month-nav to have black text and no background */
  .month-nav {
    position: relative;
    overflow: visible !important; /* Changed from hidden to ensure arrows are visible */
    background: transparent !important;
    color: #000 !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
  
  /* Ensure month navigation buttons are properly visible */
  .month-nav button {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #000 !important;
    opacity: 1 !important;
    font-weight: bold;
  }
  
  .submit-button::after,
  .btn-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: goldShine 4s infinite linear;
  }
  
  /* Gold Interactive Elements */
  .date.selected,
  .time-slot.selected,
  .service-option:hover,
  .hour-row:hover .time {
    background: var(--gold-gradient) !important;
    background-size: 200% 100% !important;
    color: var(--gold-dark) !important;
    font-weight: 600;
    box-shadow: 
      0 2px 10px rgba(179, 154, 106, 0.5),
      inset 0 0 5px rgba(255, 255, 255, 0.4) !important;
    animation: goldPulse 3s infinite ease-in-out !important;
    transform: translateY(-1px);
    transition: all 0.3s ease !important;
  }
  
  /* Gold Hamburger Menu */
  .hamburger span {
    background: var(--gold-gradient) !important;
    background-size: 200% 100% !important;
    box-shadow: 0 0 5px rgba(179, 154, 106, 0.5) !important;
    animation: goldShine 6s infinite linear;
  }
  
  /* Accent Colors Gold Enhancement */
  .title::after,
  .calendar-header,
  .review-card,
  .modal-content,
  .selected-datetime,
  .main-nav a.active,
  .main-nav a:hover,
  input:focus, 
  textarea:focus, 
  .service-option input[type="checkbox"]:checked,
  .contacto-wrapper .datos article {
    border-color: var(--gold-primary) !important;
  }
  
  /* Gold Icons */
  .main-nav .social a i,
  #servicios article i,
  .instruction i,
  .contacto-wrapper .datos i {
    color: var(--gold-primary) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    animation: goldPulse 3s infinite ease-in-out;
  }
  
  /* Gold Logo Enhancement */
  .site-header .logo img,
  .site-footer img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    animation: goldPulse 4s infinite ease-in-out;
  }
  
  /* 3D Gold Hover Effects */
  .main-nav a:hover,
  .date:not(.inactive):hover,
  .time-slot:hover:not(.unavailable),
  .btn-link:hover,
  .submit-button:hover {
    color: var(--gold-light) !important;
    text-shadow: 0 2px 10px rgba(179, 154, 106, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 154, 106, 0.3);
  }
  
  /* Calendar Header Enhancement - Removed gradient background */
  .calendar-header {
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #000 !important;
  }
  
  /* Calendar arrows and month text black color override */
  .month-nav button,
  .calendar-header .month-year {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  
  /* Fix for invisible calendar arrows */
  .month-nav button i {
    color: #000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-size: 1.2rem !important;
  }
  
  /* Ensure arrow icons have proper contrast */
  .month-nav button:hover i {
    color: var(--gold-primary) !important;
  }
  
  /* Gold Form Fields Enhancement */
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus,
  textarea:focus {
    border: 1px solid var(--gold-primary) !important;
    box-shadow: 0 0 10px rgba(179, 154, 106, 0.3) !important;
  }
  
  /* Gold Meta Elements */
  .date.today,
  .date.today::after {
    border-color: var(--gold-primary) !important;
    background-color: var(--gold-primary) !important;
  }
  
  /* Gold Cards Enhancement */
  .contacto-wrapper .datos article:hover,
  .review-card {
    border-left: 4px solid var(--gold-primary) !important;
    box-shadow: 
      2px 4px 15px rgba(0, 0, 0, 0.2),
      0 0 10px rgba(179, 154, 106, 0.1);
  }
  
  /* Star Ratings Gold Enhancement */
  .review-card .stars {
    color: var(--gold-primary) !important;
    text-shadow: 0 0 4px rgba(179, 154, 106, 0.5);
  }
  
  /* Subtle Gold Background Texture */
  .container,
  .calendar-section,
  .modal-content,
  .contacto-wrapper .datos article,
  .contact-form {
    background-image: 
      linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(12,12,12,0.98)),
      var(--gold-texture) !important;
    background-blend-mode: overlay;
  }
  
  /* Gold Footer Enhancement */
  .site-footer {
    border-top: 1px solid rgba(179, 154, 106, 0.3);
    background-image: 
      linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(10,10,10,0.98)),
      var(--gold-texture);
    box-shadow: inset 0 8px 16px -8px rgba(179, 154, 106, 0.1);
  }
  
  /* 3D Gold Touch for Mobile */
  @media (max-width: 768px) {
    .hamburger {
      transform: scale(1.1); /* Makes hamburger menu slightly larger on mobile */
    }
    
    /* Ensure gold effects are still visible on smaller screens */
    .title, h1, h2, h3 {
      background-size: 150% 100%, 100% 100%, 100px 100px;
    }
    
    /* Enhanced touch targets for mobile */
    .date:not(.inactive),
    .time-slot:not(.unavailable) {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .date:not(.inactive):active,
    .time-slot:not(.unavailable):active {
      transform: scale(0.95);
      box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    }
  }

  /* === Botones “Añadir a calendario” ========================== */
.cal-btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.65rem 1.2rem;
  margin:.4rem 0;
  font-size:1rem;
  font-weight:600;
  text-decoration:none;
  border-radius:8px;
  transition:background .25s, box-shadow .25s;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  color:#fff;                       /* texto blanco en ambos */
}

.cal-btn i{ font-size:1.1em; }

.cal-btn.google{
  background:#4285F4;               /* azul Google */
}
.cal-btn.google:hover{
  background:#3367d6;
}

.cal-btn.apple{
  background:#333;                  /* gris oscuro Apple */
}
.cal-btn.apple:hover{
  background:#000;
}

/* para pantallas pequeñas: que ocupen todo el ancho */
@media (max-width:480px){
  .cal-btn{ width:100%; justify-content:center; }
}

/* --- Barber Pole Loader (Themed Colors) --- */

.loader-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.pole {
  height: 335px;
  width: 130px;
  margin: 0;
  position: relative;
  transform: scale(0.6);
}

.pole * {
  box-sizing: border-box;
}

.head {
  position: absolute;
  width: 120px;
  height: 120px;
  left: 50%;
  margin-left: -60px;
  border: 7px solid var(--gold-secondary, #8c7853);
  border-radius: 50%;
  background: var(--gold-highlight, #d8c9aa);
  overflow: hidden;
  padding-top: 6px;
  box-shadow: inset 0 -60px 0 -30px var(--gold-secondary, #8c7853);
}

.head::after {
  content: "";
  width: 70px;
  height: 50px;
  left: 50%;
  top: 5px;
  margin-left: -35px;
  background: var(--gold-light, #e8d9c0);
  border-radius: 50%;
  position: absolute;
}

.head-base {
  position: absolute;
  top: 90px;
  left: 50%;
  margin-left: -50px;
  height: 16px;
  border: 7px solid var(--gold-secondary, #8c7853);
  border-bottom: none;
  width: 100px;
  z-index: 2;
  background: var(--gold-highlight, #d8c9aa);
  box-shadow: inset 0 -4px 0 0 var(--gold-secondary, #8c7853);
}

.loader-head {
  position: absolute;
  height: 38px;
  width: 100%;
  border: 7px solid var(--gold-secondary, #8c7853);
  top: 106px;
  z-index: 2;
  background: var(--gold-secondary, #8c7853);
  box-shadow: inset 0 6px 0 0 var(--gold-highlight, #d8c9aa);
}

.loader {
  position: absolute;
  height: 177px;
  width: 102px;
  top: 124px;
  left: 50%;
  margin-left: -51px;
  border: 7px solid var(--gold-secondary, #8c7853);
  background: var(--gold-light, #e8d9c0);
  z-index: 3;
  overflow: hidden;
}

.loader::after {
  content: "";
  width: 50%;
  height: 177px;
  background: var(--gold-shadow, #5c4f37);
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.2;
}

.loader .inset {
  border-right: 6px solid var(--gold-light, #e8d9c0);
  border-left: 6px solid var(--gold-light, #e8d9c0);
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: spin 1s infinite linear;
}

.loader .inset > div {
  transform: rotate(-40deg);
}

.loader .red {
  height: 28px;
  width: 200%;
  margin-bottom: 42px;
  /* Replaced red with primary gold */
  background: var(--gold-primary, #b39a6a);
  position: relative;
  left: -50%;
}

.loader .blue {
  height: 28px;
  width: 200%;
  margin-bottom: 42px;
  /* Replaced blue with dark bronze/gold */
  background: var(--gold-dark, #3a332a);
  position: relative;
  left: -50%;
}

.loader-base {
  position: absolute;
  height: 38px;
  width: 100%;
  border: 7px solid var(--gold-secondary, #8c7853);
  bottom: 16px;
  z-index: 2;
  background: var(--gold-highlight, #d8c9aa);
  box-shadow: inset 0 -6px 0 0 var(--gold-secondary, #8c7853);
}

.base {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -50px;
  height: 16px;
  border: 7px solid var(--gold-secondary, #8c7853);
  border-top: none;
  width: 100px;
  z-index: 2;
  background: var(--gold-highlight, #d8c9aa);
  box-shadow: inset 0 -4px 0 0 var(--gold-secondary, #8c7853);
}

.head-2 {
  position: absolute;
  width: 102px;
  height: 102px;
  top: 255px;
  left: 58%;
  margin-left: -60px;
  border: 7px solid var(--gold-secondary, #8c7853);
  border-radius: 50%;
  background: var(--gold-highlight, #d8c9aa);
  overflow: hidden;
  padding-top: 6px;
  box-shadow: inset 0 -60px 0 -30px var(--gold-secondary, #8c7853);
  transform: rotate(-180deg);
}

.head-2::after {
  content: "";
  width: 70px;
  height: 50px;
  left: 50%;
  top: 100px;
  margin-left: -35px;
  background: var(--gold-light, #e8d9c0);
  border-radius: 50%;
  position: absolute;
}

@keyframes spin {
  from {
      transform: translateY(0);
  }
  to {
      transform: translateY(-140px);
  }
}

main.reservas-wrapper {
  transition: padding-bottom 0.4s ease-in-out;
}

