/* =========================================
    ESTILOS PRINCIPALES - RESTAURANTE PANAMÁ
   ========================================= */

/* ===== VARIABLES ===== */
:root {
  --gold: #E4C590;
  --gold-dark: #c9a870;
  --bg-dark: #FFFFFF;
  --bg-card: #F7F4F0;
  --text-light: #1A1A1A;
  --text-muted: #555555;
  --font-display: 'Forum', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ===== PRELOAD — ESTILO PANAMÁ ===== */
.preload {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preload.loaded {
  opacity: 0;
  visibility: hidden;
}

.preload-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  margin-bottom: 28px;
  animation: logo-appear 0.4s ease forwards;
}

@keyframes logo-appear {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.preload-bar {
  width: 160px;
  height: 4px;
  background: #EEEEEE;
  border-radius: 2px;
  overflow: hidden;
}

.preload-progress {
  height: 100%;
  width: 0%;
  background: #E4C590;
  border-radius: 2px;
  animation: progress-fill 1.6s ease forwards;
}

@keyframes progress-fill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  85%  { width: 90%; }
  100% { width: 100%; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ===== TOPBAR ===== */
.topbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(228, 197, 144, 0.12);
  padding: 12px 0;
}

.topbar .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.topbar-item .icon {
  color: var(--gold);
  font-size: 18px;
}

.topbar-item a:hover {
  color: var(--gold);
}

.separator {
  width: 1px;
  height: 20px;
  background: rgba(228, 197, 144, 0.2);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header.active {
  transform: translateY(-100%);
}

.header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo img {
  height: 60px;
  width: auto;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  padding: 100px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 999;
  overflow-y: auto;
}

.navbar.active {
  transform: translateX(0);
}

.navbar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.navbar-link {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  transition: color 0.3s ease;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--gold);
}

.navbar-link .separator {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--text-light);
  padding: 8px;
}

.nav-open-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-open-btn .line {
  width: 28px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slider-item.active {
  opacity: 1;
  visibility: visible;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-dark) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.label-2 {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.display-1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.body-2 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn .text {
  position: relative;
  display: block;
  overflow: hidden;
}

.btn .text-1 {
  display: block;
  transition: transform 0.3s ease;
}

.btn .text-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.btn:hover .text-1 {
  transform: translateY(-110%);
}

.btn:hover .text-2 {
  transform: translateY(0);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 24px;
}

.section-subtitle {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--gold);
  font-style: italic;
}

/* ===== MENU SECTION ===== */
#menu {
  background: var(--bg-dark);
  padding: 100px 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.menu-category {
  background: var(--bg-card);
  border: 1px solid rgba(228, 197, 144, 0.12);
  border-radius: 8px;
  padding: 32px;
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(228, 197, 144, 0.2);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-size: 15px;
  font-weight: 500;
}

.menu-item-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
}

/* ===== ABOUT SECTION ===== */
#about {
  background: linear-gradient(to bottom, #FFFFFF 0%, #F7F4F0 100%);
  padding: 100px 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.about-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ===== CHEFS SECTION ===== */
#chefs {
  background: var(--bg-dark);
  padding: 100px 0;
}

.chefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.chef-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}

.chef-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.chef-info {
  padding: 24px;
  text-align: center;
}

.chef-name {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.chef-role {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== FOOTER ===== */
.footer {
  background: #EFEFEF;
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(228, 197, 144, 0.12);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== CALENDAR ===== */
.calendar {
  background: var(--bg-dark);
  padding: 80px 24px;
  text-align: center;
}

.calendar h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 16px;
}

.calendar p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    gap: 12px;
  }
  
  .topbar-item.item-2 {
    display: none;
  }
  
  .separator {
    display: none;
  }
  
  .header .logo img {
    height: 50px;
  }
  
  .hero {
    padding: 100px 16px 60px;
  }
  
  .display-1 {
    font-size: 32px;
  }
  
  .menu-grid,
  .chefs-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== SERVICE CARDS SYMMETRIC GRID ===== */
.service.bg-black-10 .grid-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  justify-items: center !important;
  align-items: start !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.service.bg-black-10 .grid-list > li {
  width: 100% !important;
}

.service.bg-black-10 .service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

.service.bg-black-10 .card-banner {
  width: 100% !important;
  aspect-ratio: 320 / 360 !important;
  overflow: hidden !important;
}

.service.bg-black-10 .card-banner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.service.bg-black-10 .card-content {
  text-align: center !important;
  padding-top: 16px !important;
}

@media (max-width: 768px) {
  .service.bg-black-10 .grid-list {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service.bg-black-10 .grid-list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}
/* =========================================================
   CORRECCIÓN COMPLETA DE SIMETRÍA — TODAS LAS SECCIONES
   ========================================================= */

/* ── Contenedor global centrado ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Tipografía global ── */
.headline-1, .headline-2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}
.headline-1 { font-size: clamp(32px, 5vw, 52px); }
.headline-2 { font-size: clamp(24px, 4vw, 40px); }
.title-1 { font-size: 20px; font-family: var(--font-display); }
.title-2 { font-size: 18px; font-family: var(--font-display); }
.title-3 { font-size: 16px; font-family: var(--font-display); }
.title-4 { font-size: 20px; font-family: var(--font-display); font-weight: 400; }
.body-1 { font-size: 20px; }
.body-3 { font-size: 14px; }
.body-4 { font-size: 13px; color: var(--text-muted); }
.label-1 { font-size: 12px; color: var(--text-muted); }
.text-center { text-align: center; }
.section-text {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.btn-text {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.w-100 { width: 100%; }

/* ── Separador decorativo ── */
.wrapper .separator,
.wrapper > .separator {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 16px 6px;
}

/* =========================================================
   SECCIÓN: SERVICIO — 3 tarjetas simétricas
   ========================================================= */
.service.bg-black-10 {
  background: #F7F4F0;
  padding: 80px 24px;
  text-align: center;
}
.service.bg-black-10 .container {
  position: relative;
}
.service.bg-black-10 .section-title {
  margin-bottom: 12px;
}
.service.bg-black-10 .section-text {
  margin-bottom: 48px;
}

/* Grid de 3 columnas iguales */
.service.bg-black-10 .grid-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.service.bg-black-10 .grid-list > li {
  width: 100% !important;
}
.service.bg-black-10 .service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}
.service.bg-black-10 .card-banner.img-holder {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden !important;
  position: relative !important;
  border: 1px solid rgba(228, 197, 144, 0.15) !important;
}
.service.bg-black-10 .card-banner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}
.service.bg-black-10 .service-card:hover .card-banner img {
  transform: scale(1.05) !important;
}
.service.bg-black-10 .card-content {
  padding-top: 20px !important;
  text-align: center !important;
}
.service.bg-black-10 .card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-light);
}
.service.bg-black-10 .card-title a { color: inherit; }

/* Decoración shape — invisible en layout */
.service.bg-black-10 .shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}
.service.bg-black-10 .shape-1 { top: 0; left: 0; max-width: 180px; }
.service.bg-black-10 .shape-2 { bottom: 0; right: 0; max-width: 220px; }

/* =========================================================
   SECCIÓN: SOBRE NOSOTROS
   ========================================================= */
.about.section {
  padding: 80px 24px;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content {
  text-align: left !important;
  max-width: none !important;
  padding: 0 !important;
}
.about-content .section-subtitle { text-align: left; }
.about-content .section-title { text-align: left; }
.about-content .section-text {
  text-align: left;
  max-width: none;
  margin: 0 0 24px;
}
.about-content .contact-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.about-content .contact-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 24px;
  text-decoration: none;
}

.about-banner {
  position: relative;
}
.about-banner > img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  max-height: 500px;
}
.abs-img {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
}
.abs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.abs-img.abs-img-1 { left: -30px; bottom: -30px; }

/* =========================================================
   SECCIÓN: PLATO ESPECIAL
   ========================================================= */
/* ── Special Dish: full-width cinematic background ── */
.special-dish {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  display: block;
  margin-top: 80px;
}
.special-dish-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.special-dish-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 0.5s ease;
  transform: scale(1);
}
.special-dish-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 8, 5, 0.82) 0%,
    rgba(10, 8, 5, 0.60) 45%,
    rgba(10, 8, 5, 0.10) 100%
  );
  z-index: 1;
}
.special-dish-content {
  position: relative;
  z-index: 2;
  padding: 90px 80px;
  max-width: 560px;
  text-align: left;
}
.special-dish-content .sd-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.special-dish-content .section-subtitle {
  text-align: left;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 11px;
  margin-bottom: 12px;
}
.special-dish-content .section-title {
  text-align: left;
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.special-dish-content .section-title em {
  color: var(--gold);
  font-style: italic;
}
.special-dish-content .section-text {
  text-align: left;
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 420px;
}
.special-dish-content .wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 28px;
}
.special-dish-content .del { color: rgba(255,255,255,0.55) !important; }
.special-dish-content .span { color: #ffffff !important; font-size: 28px; font-family: var(--font-display); }
.special-dish .shape-1 { display: none; }
.abs-img.abs-img { }

/* =========================================================
    SECCIÓN: MENÚ — grid de items
   ========================================================= */
.section.menu {
  padding: 80px 24px;
  background: var(--bg-dark);
}
.section.menu .container {
  position: relative;
}
.section.menu .grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}
.menu-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid rgba(228, 197, 144, 0.12);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.3s ease;
}
.menu-card:hover {
  border-color: rgba(228, 197, 144, 0.4);
}
.menu-card .card-banner.img-holder {
  width: 140px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(228, 197, 144, 0.15);
  background: #f5f0ea;
}
.menu-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
}
.menu-card .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.menu-card .title-3 { font-size: 15px; font-family: var(--font-display); }
.menu-card .title-2 { color: var(--gold); font-size: 16px; white-space: nowrap; font-family: var(--font-display); }
.menu-card .card-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.menu-text {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.menu-text .span { color: var(--gold); }
.section.menu .shape { position: absolute; pointer-events: none; opacity: 0.08; z-index: 0; }
.section.menu .shape-2 { right: -80px; top: 50%; transform: translateY(-50%); max-width: 200px; }
.section.menu .shape-3 { left: -60px; bottom: 0; max-width: 150px; }

/* =========================================================
   SECCIÓN: TESTIMONIAL
   ========================================================= */
.testi.has-bg-image {
  padding: 100px 24px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  text-align: center;
}
.testi.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
}
.testi .container { position: relative; z-index: 1; max-width: 700px; }
.testi .quote {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.testi-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--text-light);
}
.testi .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.testi .wrapper .separator {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.testi .profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.testi .profile .img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.testi .profile-name { color: var(--gold); }

/* =========================================================
   SECCIÓN: CARACTERÍSTICAS (FEATURES)
   ========================================================= */
.section.features {
  padding: 80px 24px;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
}
.section.features .grid-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(228, 197, 144, 0.12);
  border-radius: 8px;
  padding: 40px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(228, 197, 144, 0.4);
  transform: translateY(-6px);
}
.feature-card .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .card-icon img { max-width: 100%; max-height: 100%; }
.feature-card .card-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--gold);
}
.feature-card .card-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.section.features .shape-1 {
  position: absolute;
  pointer-events: none;
  opacity: 0.07;
  bottom: 0;
  left: 0;
  max-width: 160px;
}

/* =========================================================
   CALENDARIOS Y BOTÓN VER DISPONIBILIDAD
   ========================================================= */
.calendar {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-dark);
}
.calendar h2 { margin-bottom: 12px; }
.calendar p { margin-bottom: 32px; }
.calendar iframe {
  width: 100% !important;
  max-width: 900px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.btn-container {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-dark);
}

/* =========================================================
   HERO — centrar contenido
   ========================================================= */
.hero .slider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero .section-subtitle { margin-bottom: 16px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.hero-text {
  font-size: 15px;
  color: rgba(245,240,232,0.75);
  max-width: 540px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.slider-reveal { position: relative; z-index: 1; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(228,197,144,0.4);
  color: var(--gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}
.slider-btn:hover { background: var(--gold); color: var(--bg-dark); }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }
.hero-btn {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  color: var(--text-light);
  text-decoration: none;
}
.hero-btn img { width: 48px; height: 48px; }
.hero-btn .span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }

/* =========================================================
   SECCIÓN: RESERVACIONES
   ========================================================= */
#reservation-form {
  padding: 80px 24px;
  background: #FFFFFF;
}
.reservas-container {
  max-width: 1200px;
  margin: 0 auto;
}
.reservas-header {
  text-align: center;
  margin-bottom: 48px;
}
.reservas-header .section-subtitle { margin-bottom: 8px; }
.section-title-res {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 12px;
}
.section-title-res span { color: var(--gold); font-style: italic; }
.reservas-header p { color: var(--text-muted); font-size: 14px; }
.reservas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* =========================================================
   NAVBAR DESKTOP (horizontal)
   ========================================================= */
@media (min-width: 1024px) {
  .navbar {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .navbar-list {
    flex-direction: row !important;
    gap: 0 !important;
  }
  .navbar-link {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    padding: 8px 16px !important;
    gap: 0 !important;
  }
  .navbar-link .separator { display: none !important; }
  .navbar .logo { display: none; }
  .navbar .text-center { display: none; }
  .close-btn { display: none; }
  .nav-open-btn { display: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer.section {
  padding: 80px 24px 40px;
  text-align: center;
}
.footer-top.grid-list {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
  list-style: none;
  padding: 0;
  text-align: left;
}
.footer-brand { padding-right: 32px; }
.footer-brand address { margin: 16px 0 8px; font-style: normal; }
.footer-brand .contact-link {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 4px;
  transition: color 0.3s;
}
.footer-brand .contact-link:hover { color: var(--gold); }
.footer-brand .title-1 { margin: 20px 0 4px; color: var(--text-light); }
.footer-brand .label-1 { margin-bottom: 16px; }
.footer-brand .span { color: var(--gold); }
.input-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.icon-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(228,197,144,0.2);
  border-radius: 4px;
  padding: 0 16px;
  min-width: 180px;
}
.icon-wrapper ion-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; }
.input-field {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 13px;
  width: 100%;
  padding: 12px 0;
}
.footer-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--gold); }
.footer-list img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: opacity 0.3s;
  display: inline-block;
}
.footer-list img:hover { opacity: 0.8; }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.copyright { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   COUNTDOWN
   ========================================================= */
.countdown-container {
  background: var(--bg-card);
  border-top: 1px solid rgba(228,197,144,0.15);
  padding: 24px;
  text-align: center;
}
.countdown-title { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.status-text { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.time-text .time-number { font-size: 22px; color: var(--gold); font-family: var(--font-display); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.back-top-btn.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   RESPONSIVE COMPLETO
   ========================================================= */
@media (max-width: 1024px) {
  .section.features .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .about .container {
    grid-template-columns: 1fr;
  }
  .about-content { text-align: center !important; }
  .about-content .section-subtitle,
  .about-content .section-title,
  .about-content .section-text { text-align: center !important; }
  .about-content .contact-number { text-align: center; }

  .special-dish {
    min-height: 480px;
  }
  .special-dish-content {
    padding: 50px 28px;
    max-width: 100%;
  }
  .special-dish-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,8,5,0.78) 0%,
      rgba(10,8,5,0.55) 70%,
      rgba(10,8,5,0.25) 100%
    );
  }
  .special-dish-content .section-subtitle,
  .special-dish-content .section-title,
  .special-dish-content .section-text { text-align: left !important; }
  .special-dish-content .wrapper { justify-content: flex-start; }

  .reservas-inner { grid-template-columns: 1fr; }

  .footer-top.grid-list { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { padding-right: 0; }
  .input-wrapper { justify-content: center; }
}
@media (max-width: 768px) {
  .service.bg-black-10 .grid-list {
    grid-template-columns: 1fr !important;
  }
  .section.menu .grid-list {
    grid-template-columns: 1fr;
  }
  .section.features .grid-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   OVERRIDES TEMA PANAMÁ — BLANCO, ROJO Y NEGRO
   ========================================================= */

/* Header y topbar: fondo blanco, textos negros */
.header,
.topbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 2px solid #E4C590 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

.topbar-item {
  color: #333333 !important;
}

/* Hamburger lines → negras */
.nav-open-btn .line {
  background: #1A1A1A !important;
}

/* Navbar móvil → blanco */
.navbar {
  background: #FFFFFF !important;
}

/* Botón "Encuentra una Mesa" → rojo sólido, texto blanco */
.btn-primary {
  background: #E4C590 !important;
  color: #1A1A1A !important;
  font-weight: 500 !important;
}
.btn-primary:hover {
  background: #c9a870 !important;
  color: #1A1A1A !important;
}

/* Botón secundario → borde rojo, texto rojo */
.btn-secondary {
  border-color: #E4C590 !important;
  color: #E4C590 !important;
}
.btn-secondary:hover {
  background: #E4C590 !important;
  color: #1A1A1A !important;
}

/* Hero → mantener texto blanco (está sobre imagen oscura) */
.hero .display-1,
.hero .label-2,
.hero .body-2,
.hero .section-subtitle {
  color: #FFFFFF !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Gradiente hero → negro abajo para legibilidad */
.slider-bg::after {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%) !important;
}

/* Secciones con fondo oscuro → blanco */
.service.bg-black-10,
.section.features,
.section.menu,
.calendar,
#reservation-form,
.about.section {
  background: #FFFFFF !important;
}

/* Secciones alternas → crema suave */
.service.bg-black-10,
.section.features {
  background: #F7F4F0 !important;
}

/* Separadores decorativos → rojo */
.section-subtitle,
.label-2 {
  color: #E4C590 !important;
}

/* Títulos → negro */
.section-title,
.headline-1,
.headline-2,
.title-1,
.title-2,
.title-3,
.title-4,
.card-title,
.card-title a {
  color: #1A1A1A !important;
}

/* Textos generales → gris oscuro */
.section-text,
.body-1,
.body-2,
.body-3,
.card-text {
  color: #444444 !important;
}

/* Cards → fondo crema con borde rojo suave */
.service.bg-black-10 .card-banner.img-holder,
.menu-card,
.feature-card {
  border-color: rgba(228, 197, 144, 0.18) !important;
  background: #FFFFFF !important;
}

.feature-card {
  background: #FFFFFF !important;
}

.feature-card:hover {
  border-color: #E4C590 !important;
  box-shadow: 0 4px 20px rgba(228,197,144,0.12) !important;
  transform: translateY(-6px) !important;
}

.feature-card .card-title {
  color: #E4C590 !important;
}

/* Línea decorativa dorada → roja */
.btn-text,
.hover-underline {
  color: #E4C590 !important;
}

/* Footer → negro profundo, texto blanco */
.footer.section {
  background: #1A1A1A !important;
  color: #FFFFFF !important;
}

.footer .section-title,
.footer .title-1,
.footer .title-2,
.footer .title-3,
.footer .title-4,
.footer-brand address,
.copyright {
  color: #DDDDDD !important;
}

.footer .text-muted,
.footer-brand .contact-link,
.footer-link {
  color: #AAAAAA !important;
}

.footer-brand .contact-link:hover,
.footer-link:hover {
  color: #E4C590 !important;
}

.footer .input-field {
  color: #FFFFFF !important;
}

.footer .icon-wrapper {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
}

/* Countdown → rojo */
.countdown-container {
  background: #1A1A1A !important;
  color: #FFFFFF !important;
  border-top: 1px solid rgba(228,197,144,0.3) !important;
}
.countdown-title,
.time-text .time-number {
  color: #E4C590 !important;
}
.status-text { color: #AAAAAA !important; }

/* Testimonial overlay → blanco */
.testi.has-bg-image::before {
  background: rgba(255,255,255,0.88) !important;
}
.testi-text,
.testi .quote {
  color: #1A1A1A !important;
}
.testi .quote { color: #E4C590 !important; }

/* Special dish → fondo crema */
.special-dish-content.bg-black-10 {
  background: #F7F4F0 !important;
}

/* About section */
.about.section { background: #FFFFFF !important; }

/* Sección "Nuestra Fortaleza" → crema */
.section.features { background: #F7F4F0 !important; }

/* Back to top → rojo */
.back-top-btn {
  background: #E4C590 !important;
  color: #1A1A1A !important;
}

/* Scroll bar → rojo */
::-webkit-scrollbar-thumb { background: #E4C590 !important; }

/* Nav link hover → rojo */
.navbar-link:hover,
.navbar-link.active { color: #E4C590 !important; }

/* Reservaciones */
#reservation-form,
.reservas-container {
  background: #F7F4F0 !important;
}

/* Inputs */
.input-field {
  background: transparent;
  color: #1A1A1A;
}

/* =========================================================
   FIX: QUITAR DOBLE TEXTO EN BOTONES
   El efecto slide-up causaba texto duplicado visible
   ========================================================= */
.btn .text {
  position: static !important;
  overflow: visible !important;
  display: inline !important;
}

.btn .text-1 {
  display: inline !important;
  transform: none !important;
  transition: none !important;
}

.btn .text-2 {
  display: none !important;
}

.btn:hover .text-1 {
  transform: none !important;
}

/* Quitar el glitch del botón header "ENCUENTRA UNA MESA" */
.header .btn-primary {
  overflow: hidden;
  position: relative;
}
.header .btn-primary:hover {
  transform: none !important;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* =========================================================
   RESPONSIVE COMPLETO v13 — TODOS LOS DISPOSITIVOS
   Aplica correcciones sin alterar el diseño visual original
   ========================================================= */

/* ── Prevenir overflow horizontal global ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

/* ── Imágenes siempre responsivas ── */
img {
  max-width: 100%;
  height: auto;
}

/* ── Iframes responsivos ── */
iframe {
  max-width: 100%;
}

/* =========================================================
   TOPBAR — mobile
   ========================================================= */
@media (max-width: 640px) {
  .topbar {
    padding: 8px 0;
  }
  .topbar .container {
    flex-direction: column;
    gap: 6px;
    padding: 0 16px;
    align-items: flex-start;
  }
  .topbar-item {
    font-size: 12px;
  }
  /* Ocultar dirección y horario en pantallas muy pequeñas */
  .topbar-item.item-2 {
    display: none;
  }
  .topbar .separator {
    display: none;
  }
}

/* =========================================================
   HEADER — todos los tamaños
   ========================================================= */
.header .container {
  padding: 12px 16px;
  gap: 12px;
}

/* Botón "Encuentra una Mesa" en header — no desborde */
.header .btn-secondary {
  padding: 10px 16px;
  font-size: 10px;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .header .btn-secondary {
    display: none; /* Se oculta en pantallas muy pequeñas, se usa el hero-btn */
  }
}

/* =========================================================
   HERO — móviles y tablets
   ========================================================= */
@media (max-width: 768px) {
  .hero {
    padding: 100px 16px 80px;
    min-height: 100svh;
  }
  .hero .slider-item {
    padding: 100px 16px 80px;
  }
  .hero-title {
    font-size: clamp(28px, 7vw, 48px);
  }
  .hero-text {
    font-size: 14px;
    max-width: 100%;
  }
  .slider-btn.prev { left: 10px; }
  .slider-btn.next { right: 10px; }
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .hero-btn {
    bottom: 20px;
  }
}

/* =========================================================
   SERVICIO — tarjetas
   ========================================================= */
@media (max-width: 640px) {
  .service.bg-black-10 {
    padding: 60px 16px;
  }
  .service.bg-black-10 .grid-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .service.bg-black-10 .grid-list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

/* =========================================================
   ABOUT — layout
   ========================================================= */
@media (max-width: 900px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-banner > img {
    max-height: 400px;
  }
  .abs-img {
    width: 140px;
    height: 140px;
    left: -16px;
    bottom: -16px;
  }
}

@media (max-width: 640px) {
  .about.section {
    padding: 60px 16px;
  }
  .abs-img {
    width: 110px;
    height: 110px;
    left: -8px;
    bottom: -8px;
  }
}

/* PLATO ESPECIAL responsive - handled above */



/* =========================================================
   MENÚ — grid de items
   ========================================================= */
@media (max-width: 900px) {
  .section.menu .grid-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section.menu {
    padding: 60px 16px;
  }
  .menu-card {
    flex-direction: row;
    gap: 14px;
    padding: 14px;
  }
  .menu-card .card-banner.img-holder {
    width: 100px;
    height: 95px;
  }
  .menu-card .title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
@media (max-width: 640px) {
  .testi.has-bg-image {
    padding: 60px 16px;
  }
  .testi-text {
    font-size: clamp(15px, 4vw, 22px);
  }
}

/* =========================================================
   RESERVACIONES — form y plano
   ========================================================= */
@media (max-width: 1100px) {
  .reservas-inner {
    grid-template-columns: 1fr !important;
  }
  .floor-panel {
    position: static !important;
    order: -1;
  }
}

@media (max-width: 768px) {
  #reservation-form {
    padding: 60px 16px;
  }
  .reservas-container {
    padding: 0 16px;
  }
  .steps-bar {
    padding: 14px 10px;
    overflow-x: auto;
  }
  .res-step-label {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .res-form-grid {
    grid-template-columns: 1fr !important;
  }
  .horarios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mesas-grid-res {
    grid-template-columns: repeat(3, 1fr);
  }
  .res-form-nav {
    flex-wrap: wrap;
  }
  .res-btn-next {
    flex: 1 0 100%;
    order: -1;
    padding: 14px 24px;
  }
  .res-btn-back {
    flex: 0 0 auto;
  }
  .floor-panel {
    padding: 16px;
  }
  .floor-plan-wrap {
    max-height: 260px;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .personas-grid {
    gap: 6px;
  }
  .personas-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .horarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mesas-grid-res {
    grid-template-columns: repeat(3, 1fr);
  }
  .resumen-card {
    padding: 18px 14px;
  }
  .resumen-valor {
    font-size: 14px;
    max-width: 55%;
  }
}

/* =========================================================
   CALENDARIO GOOGLE
   ========================================================= */
.calendar {
  padding: 60px 16px;
}
.calendar iframe {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  display: block !important;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .calendar iframe {
    height: 400px !important;
  }
}

/* =========================================================
   FEATURES — características
   ========================================================= */
@media (max-width: 900px) {
  .section.features .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .section.features .grid-list {
    grid-template-columns: 1fr;
  }
  .section.features {
    padding: 60px 16px;
  }
  .feature-card {
    padding: 28px 16px;
  }
}

/* =========================================================
   MAPA GOOGLE
   ========================================================= */
div[style*="height: 450px"] {
  height: auto !important;
}
div[style*="height: 450px"] iframe {
  height: 300px !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  div[style*="height: 450px"] iframe {
    height: 400px !important;
  }
}

@media (min-width: 1024px) {
  div[style*="height: 450px"] iframe {
    height: 450px !important;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
@media (max-width: 900px) {
  .footer-top.grid-list {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 32px;
  }
  .footer-brand {
    padding-right: 0;
  }
  .input-wrapper {
    justify-content: center;
  }
  .footer-list {
    align-items: center;
  }
  .footer-brand address {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer.section {
    padding: 60px 16px 32px;
  }
  .icon-wrapper {
    min-width: 0;
  }
  .input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .input-wrapper .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   FOOTER VIMEO IFRAME — contener en mobile
   ========================================================= */
._vimeo-iframe {
  width: 100% !important;
  max-width: 400px;
  height: 220px !important;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 640px) {
  ._vimeo-iframe {
    max-width: 100%;
    height: 180px !important;
  }
}

/* =========================================================
   COUNTDOWN
   ========================================================= */
@media (max-width: 640px) {
  .countdown-container {
    padding: 16px;
  }
  .time-text .time-number {
    font-size: 18px;
  }
}

/* =========================================================
   SECCIÓN GENERAL — padding mobile
   ========================================================= */
@media (max-width: 640px) {
  .section {
    padding: 60px 16px;
  }
  .container {
    padding: 0 16px;
  }
  .btn {
    padding: 14px 24px;
    font-size: 11px;
  }
}

/* =========================================================
   NAVBAR MOBILE — ajustes de z-index y overflow
   ========================================================= */
.navbar {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Prevent iOS safari text size adjustment */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Safe area support for iPhone X and later */
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .back-top-btn {
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: calc(24px + env(safe-area-inset-right));
  }
}



/* =========================================================
   HERO TITLE — evitar overflow en pantallas pequeñas
   ========================================================= */
.hero-title br {
  display: none;
}
@media (min-width: 640px) {
  .hero-title br {
    display: block;
  }
}

/* =========================================================
   TOPBAR — ocultar items extra en tablet
   ========================================================= */
@media (max-width: 900px) and (min-width: 641px) {
  .topbar .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .topbar-item.item-2 {
    display: none;
  }
}

.section.menu .btn {
  display: flex;
  width: fit-content;
  margin: 20px auto;
}