/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #d9c8b2;
  transition: background-image 0.6s ease, background-color 0.6s ease;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #b8a084;
  position: relative;
}

/* ===== BARRA SUPERIOR FIJA CON IMAGEN DE FONDO ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-image: url('https://ik.imagekit.io/u08srvey7/Mirador%20Prendas/Dise%C3%B1o%20sin%20t%C3%ADtulo%20(9).png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border-bottom: 1px solid #b48b4b;
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
  pointer-events: none;
}

.top-bar > * {
  position: relative;
  z-index: 1;
}

/* ===== SELECTOR DE IDIOMA ===== */
.language-selector {
  position: relative;
  display: inline-block;
  list-style: none;
  flex-shrink: 0;
  z-index: 99999;
}

.lang-btn {
  background: rgba(30, 22, 16, 0.9);
  border: 1px solid #b48b4b;
  color: #f7efe0;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 99999;
}

.lang-btn:hover {
  background: rgba(50, 40, 30, 0.95);
  border-color: #dbb36b;
  transform: scale(1.03);
}

.lang-btn i {
  color: #dbb36b;
  font-size: 13px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(30, 22, 16, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid #b48b4b;
  border-radius: 20px;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999999;
  list-style: none;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown li {
  padding: 10px 20px;
  cursor: pointer;
  color: #eeddcc;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  list-style: none;
}

.lang-dropdown li:hover {
  background: rgba(255, 215, 140, 0.1);
  border-left-color: #dbb36b;
  color: white;
}

.lang-dropdown li .flag {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
  color: #dbb36b;
}

.lang-dropdown li .lang-name {
  flex: 1;
}

.lang-dropdown li .check {
  color: #dbb36b;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-dropdown li.active .check {
  opacity: 1;
}

.lang-dropdown li.active {
  background: rgba(180, 139, 75, 0.15);
  border-left-color: #dbb36b;
}

/* ===== NAVEGACIÓN ===== */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: rgb(0 0 0 / 15%) 0 2px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.5s ease;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-links a i {
  color: #7a5f3e;
  transition: color 0.5s ease;
  font-size: 12px;
}

.nav-links a:hover {
  letter-spacing: 2px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.nav-links a:hover i {
  color: white;
}

.nav-links a:active {
  letter-spacing: 2px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: none;
  transform: translateY(6px);
  transition: 100ms;
}

.nav-links a:active i {
  color: white;
}

.nav-links a.active {
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.nav-links a.active i {
  color: white;
}

/* ===== ESTRUCTURA PRINCIPAL ===== */
.main-wrapper {
  padding-top: 75px;
  position: relative;
  z-index: 1;
}

.app-overlay {
  flex: 1;
  background: rgba(40, 30, 20, 0.60);
  backdrop-filter: blur(6px) brightness(0.95);
  padding: 1.5rem 1rem 2rem;
  transition: background 0.4s;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #f7efe0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  background: rgba(20, 15, 10, 0.4);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1.8rem;
  border-radius: 80px;
  border-left: 4px solid #b48b4b;
  border-right: 4px solid #b48b4b;
}

.header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
  color: #f7efe0;
}

.header h1 i {
  color: #dbb36b;
  margin-right: 12px;
  filter: drop-shadow(0 0 12px rgba(180, 139, 75, 0.3));
}

.header .tagline {
  font-size: 1rem;
  background: rgba(30, 22, 14, 0.5);
  padding: 0.4rem 1.5rem;
  border-radius: 60px;
  backdrop-filter: blur(4px);
  border: 1px solid #b48b4b;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.header .btn-inicio-header {
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.header .btn-inicio-header i {
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  font-size: 12px;
}

.header .btn-inicio-header:hover {
  background: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.4) 0px 8px 32px;
  transform: translateY(-2px);
}

.header .btn-inicio-header:hover i {
  color: white;
}

/* ===== FRANJA DE SERVICIOS ===== */
.services-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(20, 15, 10, 0.65);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  border-radius: 80px;
  margin-bottom: 2.5rem;
  border: 1px solid #b48b4b;
  color: #eeddcc;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 5;
}

.services-strip .service-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.services-strip .service-item .service-icon-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.68, 0.85, 0.265, 1.85);
  border-radius: 5px;
  box-shadow: inset 1px 1px 2px #fff, 0 0 5px rgba(68, 68, 68, 0.133);
}

.services-strip .service-item .service-icon-wrapper .service-button {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  font-size: 20px;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.68, -0.85, 0.265, 1.55);
  color: #e6c384;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-strip .service-item .service-icon-wrapper:hover {
  background-color: white;
  transform: perspective(180px) rotateX(60deg) translateY(2px);
}

.services-strip .service-item .service-icon-wrapper:hover .service-button {
  transform: translate3d(0px, 20px, 30px) perspective(80px) rotateX(-60deg) translateY(2px) translateZ(10px);
}

.services-strip .service-item:nth-child(1) .service-icon-wrapper:hover { box-shadow: 0px 10px 10px #1e90ff; }
.services-strip .service-item:nth-child(2) .service-icon-wrapper:hover { box-shadow: 0px 10px 10px #ff6b00; }
.services-strip .service-item:nth-child(3) .service-icon-wrapper:hover { box-shadow: 0px 10px 10px #ff6b6b; }
.services-strip .service-item:nth-child(4) .service-icon-wrapper:hover { box-shadow: 0px 10px 10px #00d4ff; }
.services-strip .service-item:nth-child(5) .service-icon-wrapper:hover { box-shadow: 0px 10px 10px #ffd700; }

.services-strip .service-item .service-label {
  font-size: 1rem;
  font-weight: 500;
  color: #eeddcc;
  transition: all 0.3s ease;
}

.services-strip .service-item:hover .service-label {
  color: white;
  text-shadow: 0 0 20px rgba(255, 215, 140, 0.5);
}

/* ===== TARJETA DE RESERVA ===== */
.reservation-card {
  background: rgba(30, 25, 18, 0.85);
  backdrop-filter: blur(16px);
  border-radius: 50px;
  padding: 2.2rem 2.5rem;
  border: 2px solid #b48b4b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(180, 139, 75, 0.05);
  color: #f5ede4;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.reservation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(180, 139, 75, 0.05), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.reservation-card h2 {
  font-size: 2rem;
  font-family: 'Georgia', serif;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  color: #dbb36b;
  text-shadow: 0 0 30px rgba(180, 139, 75, 0.2);
}

.reservation-card h2 i {
  color: #dbb36b;
  filter: drop-shadow(0 0 12px rgba(180, 139, 75, 0.3));
}

.reservation-card .subtitle {
  opacity: 0.6;
  margin-bottom: 1.8rem;
  font-style: italic;
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== FORMULARIO ===== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  position: relative;
  z-index: 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: #dbb36b;
  width: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 0.7rem 1.2rem;
  color: #f5ede4;
  font-size: 1rem;
  transition: 0.3s ease;
  outline: none;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
  caret-color: #dbb36b;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #b48b4b;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(180, 139, 75, 0.25), inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Autocompletado del navegador (Chrome/Safari/Edge) — campos generales */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
  -webkit-text-fill-color: #f5ede4;
  -webkit-box-shadow: 0 0 0 1000px rgba(50, 40, 30, 1) inset;
  box-shadow: 0 0 0 1000px rgba(50, 40, 30, 1) inset;
  transition: background-color 5000s ease-in-out 0s;
  border-color: #b48b4b;
}

.form-group select option {
  background: #1a1410;
  color: #f5ede4;
}

.form-group textarea {
  border-radius: 24px;
  resize: vertical;
  min-height: 80px;
}

/* ===== CAMPOS DE TARJETA (SECCIÓN) ===== */
.card-fields-section {
  margin-top: 1.2rem;
  padding: 1.2rem 1.4rem 1.3rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(219, 179, 107, 0.6);
  border-radius: 20px;
  animation: fadeIn 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3),
              0 0 25px rgba(219, 179, 107, 0.12);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-fields-section h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: #dbb36b;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card-fields-section h4 i {
  color: #dbb36b;
}

.card-fields-section .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card-fields-section .form-group {
  flex: 1 1 200px;
}

.card-fields-section .form-group.full-width {
  flex: 1 1 100%;
}

.card-fields-section label {
  display: block;
  font-size: 0.78rem;
  color: #f5ede4;
  margin-bottom: 0.35rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 🔑 CAMPOS DE TARJETA — TEXTO NEGRO FORZADO AL ESCRIBIR Y AUTORELLENAR */
.card-fields-section input,
.card-fields-section input:focus,
.card-fields-section input:active,
.card-fields-section input:hover,
.card-fields-section input:valid,
.card-fields-section input:not(:placeholder-shown) {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #dbb36b;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  background: #fdfaf3 !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  caret-color: #000000 !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px;
  outline: none;
  opacity: 1 !important;
}

/* Placeholder más suave para distinguirlo del texto real */
.card-fields-section input::placeholder {
  color: #9c8b73 !important;
  -webkit-text-fill-color: #9c8b73 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

/* Focus: halo dorado, sigue con texto negro */
.card-fields-section input:focus {
  border-color: #b8860b !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(219, 179, 107, 0.35);
}

/* Autocompletado Chrome/Safari/Edge — forzar texto negro */
.card-fields-section input:-webkit-autofill,
.card-fields-section input:-webkit-autofill:hover,
.card-fields-section input:-webkit-autofill:focus,
.card-fields-section input:-webkit-autofill:active {
  -webkit-text-fill-color: #000000 !important;
  -webkit-box-shadow: 0 0 0 1000px #fdfaf3 inset !important;
  box-shadow: 0 0 0 1000px #fdfaf3 inset !important;
  transition: background-color 5000s ease-in-out 0s;
  border: 1.5px solid #dbb36b !important;
  color: #000000 !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
}

/* Autocompletado Firefox */
.card-fields-section input:autofill {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  box-shadow: 0 0 0 1000px #fdfaf3 inset !important;
  background: #fdfaf3 !important;
}

.card-fields-section p {
  font-size: 0.8rem;
  color: rgba(219, 179, 107, 0.9);
  margin-top: 0.6rem;
}

/* ===== BOTONES ===== */
.btn-reserva {
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: rgb(0 0 0 / 15%) 0 2px 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12px;
  transition: all 0.5s ease;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

.btn-reserva i {
  color: #7a5f3e;
  transition: color 0.5s ease;
  font-size: 14px;
}

.btn-reserva:hover {
  letter-spacing: 3px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.btn-reserva:hover i {
  color: white;
}

.btn-reserva:active {
  letter-spacing: 3px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: none;
  transform: translateY(6px);
  transition: 100ms;
}

.btn-reserva:active i {
  color: white;
}

.btn-reserva:disabled,
.btn-reserva[aria-disabled="true"] {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none;
  pointer-events: none !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.8rem;
  margin-top: 0.8rem;
  position: relative;
  z-index: 2;
}

/* ===== TOURS DESTACADOS ===== */
.tours-mini {
  margin-top: 2.5rem;
  position: relative;
  z-index: 5;
}

.tours-mini h3 {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dbb36b;
}

.tours-mini h3 i {
  color: #dbb36b;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.mini-tour {
  background: rgba(30, 25, 18, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  padding: 1.2rem 1.5rem 1.5rem;
  border: 1px solid rgba(180, 139, 75, 0.15);
  transition: 0.3s ease;
  cursor: default;
  color: #f5ede4;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.mini-tour:hover {
  transform: translateY(-5px);
  border-color: #b48b4b;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4), 0 0 30px rgba(180, 139, 75, 0.04);
}

.mini-tour .name {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Georgia', serif;
}

.mini-tour .desc {
  font-size: 0.85rem;
  opacity: 0.6;
  font-style: italic;
}

/* ===== REDES SOCIALES ===== */
.social-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 5;
  text-align: center;
}

.social-footer .social-title {
  font-family: 'Georgia', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  color: #dbb36b;
}

.social-footer .social-title i {
  color: #dbb36b;
}

.social-footer .social-subtitle {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  font-style: italic;
}

.social-modern-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  padding: 1rem 0;
}

.social-modern-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-modern-item .social-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.social-modern-item .social-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-modern-item .social-icon-wrapper i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.social-modern-item:nth-child(1) .social-icon-wrapper {
  background: rgba(24, 119, 242, 0.05);
  border-color: rgba(24, 119, 242, 0.1);
}
.social-modern-item:nth-child(1):hover .social-icon-wrapper {
  background: #1877f2;
  box-shadow: 0 12px 40px rgba(24, 119, 242, 0.3);
  transform: translateY(-8px) scale(1.05);
  border-color: #1877f2;
}
.social-modern-item:nth-child(1):hover .social-icon-wrapper i {
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.social-modern-item:nth-child(2) .social-icon-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}
.social-modern-item:nth-child(2):hover .social-icon-wrapper {
  background: #000000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-8px) scale(1.05);
  border-color: #ffffff;
}
.social-modern-item:nth-child(2):hover .social-icon-wrapper i {
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.social-modern-item:nth-child(3) .social-icon-wrapper {
  background: rgba(255, 0, 0, 0.05);
  border-color: rgba(255, 0, 0, 0.1);
}
.social-modern-item:nth-child(3):hover .social-icon-wrapper {
  background: #ff0000;
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.3);
  transform: translateY(-8px) scale(1.05);
  border-color: #ff0000;
}
.social-modern-item:nth-child(3):hover .social-icon-wrapper i {
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.social-modern-item:nth-child(4) .social-icon-wrapper {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.05), rgba(252, 175, 69, 0.05));
  border-color: rgba(225, 48, 108, 0.1);
}
.social-modern-item:nth-child(4):hover .social-icon-wrapper {
  background: linear-gradient(135deg, #e1306c, #fcaf45);
  box-shadow: 0 12px 40px rgba(225, 48, 108, 0.3);
  transform: translateY(-8px) scale(1.05);
  border-color: transparent;
}
.social-modern-item:nth-child(4):hover .social-icon-wrapper i {
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.social-modern-item:nth-child(5) .social-icon-wrapper {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(255, 255, 255, 0.04);
}
.social-modern-item:nth-child(5):hover .social-icon-wrapper {
  background: #000000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-8px) scale(1.05);
  border-color: #ffffff;
}
.social-modern-item:nth-child(5):hover .social-icon-wrapper i {
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.social-modern-item .social-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.social-modern-item:hover .social-label {
  color: rgba(255, 255, 255, 0.7);
}

.social-modern-item .social-icon-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.social-modern-item:hover .social-icon-wrapper::after {
  opacity: 1;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(30, 25, 18, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #b48b4b;
  border-radius: 60px;
  padding: 1rem 2rem;
  color: #f7efe0;
  font-size: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(120px);
  opacity: 0;
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 90vw;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: #dbb36b;
  font-size: 1.4rem;
}

/* ===== PIE ===== */
.footer-note {
  text-align: center;
  color: rgba(220, 200, 170, 0.8);
  margin-top: 1.5rem;
  font-size: 0.85rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  font-family: 'Georgia', serif;
  border-top: 1px solid #7a5f3e;
  padding-top: 1.2rem;
  position: relative;
  z-index: 5;
  letter-spacing: 1px;
}

/* ===== TÉRMINOS Y CONDICIONES ===== */
.terms-section {
  margin: 1.2rem 0 0.8rem 0;
  position: relative;
  z-index: 2;
}

.terms-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.3s ease, padding 0.3s ease;
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.terms-content.open {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.terms-content-inner {
  padding: 1rem 1.3rem 1.2rem 1.3rem;
  font-size: 0.88rem;
  color: #3e2e1f;
  line-height: 1.55;
  scrollbar-width: thin;
  scrollbar-color: #dbb36b #f0e6d3;
}

.terms-content-inner::-webkit-scrollbar {
  width: 6px;
}
.terms-content-inner::-webkit-scrollbar-track {
  background: #f0e6d3;
  border-radius: 8px;
}
.terms-content-inner::-webkit-scrollbar-thumb {
  background: #dbb36b;
  border-radius: 8px;
}

.terms-content-inner h4 {
  margin: 0 0 0.7rem 0;
  font-size: 0.95rem;
  color: #5a3e2b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terms-content-inner p {
  margin: 0.5rem 0;
}

.terms-content-inner strong {
  color: #5a3e2b;
}

.terms-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fdfaf5;
  border: 1px solid #e8dcc8;
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  margin: 0.8rem 0 0.5rem 0;
  transition: border-color 0.2s, background 0.2s;
}

.terms-checkbox-wrapper.accepted {
  border-color: #7cb342;
  background: #f2f9ec;
}

.terms-checkbox-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #dbb36b;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.terms-checkbox-wrapper label {
  font-size: 0.92rem;
  color: #3e2e1f;
  cursor: pointer;
  line-height: 1.4;
  user-select: none;
}

.terms-checkbox-wrapper label a {
  color: #b8860b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.terms-checkbox-wrapper label a:hover {
  color: #8b6508;
}

/* ===== MODAL DE PAGO 3DS ===== */
.payment-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.payment-modal-overlay.active {
  display: flex;
}

.payment-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.payment-modal-header {
  background: #5a3e2b;
  color: #fff;
  padding: 0.9rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.payment-modal-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.3rem;
}

.payment-modal-header button:hover {
  opacity: 0.7;
}

.payment-modal-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.payment-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .top-bar {
    flex-direction: column;
    padding: 0.5rem 0.8rem;
    gap: 0.4rem;
  }
  .nav-links {
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    width: 100%;
  }
  .nav-links a {
    padding: 5px 10px;
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .nav-links a i {
    font-size: 9px;
  }
  .language-selector {
    align-self: flex-end;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 10px;
    gap: 4px;
  }
  .lang-btn i {
    font-size: 11px;
  }
  .lang-dropdown {
    min-width: 170px;
    right: -5px;
  }
  .lang-dropdown li {
    font-size: 12px;
    padding: 8px 14px;
    gap: 8px;
  }
  .lang-dropdown li .flag {
    font-size: 17px;
  }
  .main-wrapper {
    padding-top: 100px;
  }
  .services-strip {
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 40px;
  }
  .services-strip .service-item .service-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  .services-strip .service-item .service-icon-wrapper .service-button {
    font-size: 16px;
  }
  .services-strip .service-item .service-label {
    font-size: 0.85rem;
  }
  .header h1 {
    font-size: 2rem;
  }
  .header .btn-inicio-header {
    font-size: 10px;
    padding: 6px 12px;
  }
  .reservation-card {
    padding: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .reservation-card h2 {
    font-size: 1.6rem;
  }
  .form-actions {
    justify-content: center;
  }
  .card-fields-section .form-group {
    flex: 1 1 100%;
  }
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .social-modern-item .social-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
  .social-modern-item .social-icon-wrapper i {
    font-size: 22px;
  }
  .social-modern-grid {
    gap: 1.2rem;
  }
  .btn-reserva {
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .btn-reserva i {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 0.4rem 0.5rem;
  }
  .nav-links a {
    padding: 4px 8px;
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  .nav-links a i {
    font-size: 8px;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 9px;
    gap: 3px;
  }
  .lang-btn i {
    font-size: 9px;
  }
  .lang-dropdown {
    min-width: 150px;
    right: -8px;
    top: calc(100% + 6px);
  }
  .lang-dropdown li {
    font-size: 11px;
    padding: 6px 12px;
    gap: 6px;
  }
  .lang-dropdown li .flag {
    font-size: 15px;
  }
  .main-wrapper {
    padding-top: 85px;
  }
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .header .tagline {
    font-size: 0.8rem;
    padding: 0.2rem 1rem;
  }
  .header h1 {
    font-size: 1.5rem;
  }
  .header .btn-inicio-header {
    font-size: 9px;
    padding: 5px 10px;
  }
  .services-strip {
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 30px;
  }
  .services-strip .service-item .service-icon-wrapper {
    width: 32px;
    height: 32px;
  }
  .services-strip .service-item .service-icon-wrapper .service-button {
    font-size: 13px;
  }
  .services-strip .service-item .service-label {
    font-size: 0.7rem;
  }
  .social-modern-item .social-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .social-modern-item .social-icon-wrapper i {
    font-size: 18px;
  }
  .social-modern-grid {
    gap: 0.8rem;
  }
  .btn-reserva {
    padding: 8px 16px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .btn-reserva i {
    font-size: 10px;
  }
}