@media (max-width: 1440px) {
    .bg-repeating-text { font-size: 4rem; }
    .slide-image-wrapper, .slide-text-info { width: 35%; }
    .slide-foreground-grid { padding: 0 12%; }
    .slide-title { font-size: 4rem; }
    .slide-description { font-size: 0.9rem; font-family: 'Montserrat', sans-serif; color: #a8000d; line-height: 1; letter-spacing: 0px; text-transform: uppercase; font-weight: 500; }
}

@media (max-width: 1150px) {
    .nav-right .btn-dark { padding: 10px 15px; font-size: 0.85rem; }
    .nav-links { gap: 15px; padding: 10px 15px; }
    .logo-text { font-size: 2.2rem; }
}

@media (max-width: 1024px) {
    .nav-links { gap: 10px; padding: 8px 12px; }
    .slide-foreground-grid { flex-direction: column; justify-content: flex-start; text-align: center; padding-top: 5%; }
    .slide-image-wrapper, .slide-text-info { width: 100%; }
    .slide-image-wrapper img { max-height: 32vh; }
    .slide-title { font-size: 3rem; }
    .bg-repeating-text { font-size: 5rem; width: 100%; opacity: 0.15; text-align: center; align-items: center; }
    .slider-section { height: auto; min-height: 59vh; padding: 99px 13px 40px; }
    .reviews-bg-section .services-section { padding: 30px 15px; }
}

@media (max-width: 991px) {
    .story-container { flex-direction: column; gap: 40px; padding: 0 15px; }
    .story-image-gallery { width: 100%; margin-top: 20px; }
    .main-story-img { height: 400px; }
    .story-text-content h2 { font-size: 3rem; }
    .story-highlight-text { font-size: 1.5rem; }
    .review-split-layout { flex-direction: column; gap: 30px; }
    .review-image-container { width: 100%; }
    .review-image-container img { height: 300px; }
    .review-controls { position: relative; top: 0; right: 0; justify-content: center; margin-top: 25px; order: 3; }
    .slider-window { order: 1; }
    .service-info h3 { font-size: 1.8rem; padding-right: 0; text-align: center; }
    .stars { text-align: center; }
    .service-info p { text-align: center; font-size: 1.05rem; }
}

@media (max-width: 850px) {
    .contact-split-container { flex-direction: column; }
    .contact-info-panel { border-right: 2px solid rgba(255, 255, 255, 0.7); border-bottom: none; border-radius: 8px 8px 0 0; padding: 40px 20px; }
    .contact-form-panel { border-radius: 0 0 8px 8px; padding: 40px 20px; }
}

@media (max-width: 768px) {
    .navbar { flex-direction: row; height: 80px; padding: 15px 20px; background-color: var(--primary-red); }
    .nav-left { width: auto; }
    .hamburger { display: flex; }
    .nav-menu { position: absolute; top: 80px; left: 0; width: 100%; background-color: var(--primary-red); flex-direction: column; padding: 30px 20px; gap: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.4s ease-in-out; z-index: -1; }
    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); z-index: 999; }
    .hamburger.active .line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .line:nth-child(2) { opacity: 0; }
    .hamburger.active .line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .nav-center, .nav-right { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; }
    .nav-links { flex-direction: column; width: 100%; background: transparent; border: none; padding: 0; text-align: center; }
    .nav-right a, .nav-right button { width: 100%; text-align: center; padding: 10px; }
    
    h2, .slide-title, .main-heading, .tribute-text { font-size: 2.2rem !important; line-height: 1.2; }
    .cursive-text { font-size: 2.5rem !important; }
    .bg-repeating-text { font-size: 2.1rem !important; opacity: 0.1; justify-content: flex-start; }
    
    .ballena-split-section { height: auto; }
    .ballena-split-section .split-container { flex-direction: column; height: auto; }
    .ballena-split-section .pane { height: auto; padding: 40px 20px; }
    .ballena-split-section .left-pane { min-height: 40vh; }
    .ballena-split-section .right-pane { padding: 40px 20px; justify-content: flex-start; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-col, .footer-col.text-left, .footer-col.text-right { text-align: center !important; }
    .social-icons { justify-content: center; display: flex; }
    .social-icons a { margin: 0 10px; }
    .footer-links { display: flex; flex-direction: column; gap: 15px; }
    .footer-col h1.logo-text { justify-content: center; }
    
    .tilted-card { width: 240px; height: 340px; }
    .marquee-track { gap: 20px; }
    
    .pattern-divider { height: 30px; }
    .reviews-bg-section { padding: 40px 15px; }
    .reviews-bg-section .services-section { padding: 35px 20px; }
    .review-image-container img { height: 220px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    
    .custom-contact-form .form-row { flex-direction: column; gap: 15px; }
    .forms-split-container { flex-direction: column; gap: 40px; }
    .feedback-panel, .contact-panel { width: 100%; min-width: 100%; }
    
    .quick-action-sidebar { top: auto; bottom: 20px; right: 50%; transform: translateX(50%); flex-direction: row; padding: 12px 25px; border-radius: 50px; gap: 20px; }
    .hanging-peg, .hanging-strings, .hide-mobile { display: none !important; }
    .wood-button { width: 85px; height: 85px; }
    .btn-primary { width: 85px; height: 85px; margin: 0; padding: 5px; animation: none; }
    .wood-button .sub-text, .btn-primary .sub-text { font-size: 8px; }
    .wood-button .main-text, .btn-primary .main-text { font-size: 14px; }

    .rating-group { gap: 4px; margin-bottom: 25px; }
    .rating-label { padding: 10px 2px; }
    .rating-emoji { font-size: 24px; margin-bottom: 6px; }
    .rating-text { font-size: 8px; letter-spacing: -0.2px; }
    .rating-item input[type="radio"]:checked + .rating-label .rating-emoji { transform: scale(1.15); }
    .contact-form-panel h1 { font-size: 28px; margin-bottom: 20px; }
    
}

@media (max-width: 480px) {
    .logo-text { font-size: 2rem; }
    h2, .slide-title, .main-heading, .tribute-text { font-size: 1.8rem !important; }
    .cursive-text { font-size: 2.2rem !important; }
    .btn-green, .btn-dark, .btn-black, .btn-location, .btn-menu { width: 100%; box-sizing: border-box; text-align: center; }
    .section-padding { padding: 50px 15px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { width: 100%; }
    .ballena-header { flex-direction: column; gap: 15px; padding: 20px; text-align: center; }
    
    .rating-group { flex-wrap: wrap; justify-content: center; }
    .rating-item { flex: 0 0 30%; margin-bottom: 10px; }
    .rating-text { font-size: 9px; }
    .ballena-split-section .description {font-size: 1.1rem!important;}
}
/* Shared typography and fluid layouts. System fonts avoid blocking font downloads. */
:root { --font-heading: Georgia, 'Times New Roman', serif; --font-body: Arial, Helvetica, sans-serif; --font-cursive: Georgia, 'Times New Roman', serif; }
h1,h2,h3,h4,h5,h6,.slide-title,.main-heading,.cursive-text { font-family: var(--font-heading); line-height: 1.18; text-wrap: balance; }
p,.slide-description { font-family: var(--font-body); line-height: 1.65; }
.cursive-text { font-style: italic; text-transform: none; letter-spacing: 0; }
.logo-text { font-size: clamp(1.6rem,2.6vw,2.6rem); font-weight: 700; letter-spacing: -.04em; margin-top: 0; white-space: nowrap; }
img { max-width: 100%; }
.footer-col img { height: auto; }
button,input,textarea { font: inherit; }
button,a,input,textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline: 3px solid #d7ad65; outline-offset: 4px; }
.navbar { gap: 24px; padding-inline: clamp(16px,3vw,40px); }
.nav-menu { gap: 18px; }
.nav-links { gap: 18px; padding-inline: 18px; }
.nav-links a,.btn-glass { font-family: var(--font-body); font-size: .85rem; font-weight: 700; }
.nav-right { gap: 8px; }
.btn-glass { padding: 10px 14px; white-space: nowrap; }
.hamburger { border: 0; background: transparent; padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
.hero-content { max-width: 1100px; padding: 40px 24px; }
.hero-content h2 { font-size: clamp(2.2rem,5.5vw,5.5rem); letter-spacing: .025em; }
.hero-section { min-height: 540px; height: 100svh; }
.hero-section::before,.margarita-two-section::before { background: rgba(0,0,0,.4); }
.section-overlay > .bg-video { position: absolute; z-index: 0; }
.hero-section { background-image: url('hero-poster.webp'); }
.margarita-two-section { background-image: url('menu-poster.webp'); min-height: 440px; height: auto; }
.story-container { max-width: 1280px; }
.story-text-content,.story-image-gallery,.contact-info-panel,.contact-form-panel,.slide-text-info { min-width: 0; }
.story-text-content h2,.main-heading { font-size: clamp(2rem,4vw,4rem); }
.story-text-content h2,.slide-title,.slide-description { color: var(--primary-red); }
.slide-title { font-size: clamp(2rem,4vw,4rem); letter-spacing: .02em; }
.slide-description { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.slide-foreground-grid { gap: 32px; padding: 50px 10%; }
.slide-image-wrapper,.slide-text-info { width: 46%; }
.slider-section { position: relative; min-height: 650px; height: auto; }
.slider-section > .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); flex-shrink: 0; }
.slider-section > .left-arrow { left: 16px; }
.slider-section > .right-arrow { right: 16px; }
.review-content-container { width: 100%; }
.info-text { min-width: 0; overflow-wrap: anywhere; }
.info-icon { flex-shrink: 0; }
.about-hero-section { padding-top: 100px; }
.wood-button .main-text { font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.25; color: #382416; text-shadow: none; white-space: normal; }
.quick-action-sidebar { z-index: 900; }
.rating-item { position: relative; }
.rating-item input[type=radio] { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-item input:focus-visible + label { outline: 3px solid #622B14; }
@media (max-width: 1200px) {
 .navbar { height: 80px; background: var(--primary-red); }
 .hamburger { display: flex; }
 .nav-menu { position: absolute; top: 80px; left: 0; width: 100%; background: var(--primary-red); flex-direction: column; padding: 24px; gap: 20px; max-height: calc(100dvh - 80px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s; }
 .nav-menu.active { opacity: 1; visibility: visible; transform: none; z-index: 1000; }
 .nav-center,.nav-right { width: 100%; flex-direction: column; gap: 12px; }
 .nav-links { flex-direction: column; width: 100%; text-align: center; border: 0; background: transparent; gap: 6px; padding: 0; }
 .nav-links a { display: block; padding: 12px; }
 .nav-right a,.nav-right button { width: 100%; min-height: 44px; text-align: center; justify-content: center; }
 .hamburger.active .line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
 .hamburger.active .line:nth-child(2) { opacity: 0; }
 .hamburger.active .line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
 .about-hero-section,.reviews-bg-section { background-attachment: scroll; }
}
@media (min-width: 769px) and (max-width: 1200px) {
 .quick-action-sidebar { right: 8px; padding: 24px 6px 10px; }
 .wood-button,.wood-button.btn-primary { width: 64px; height: 64px; }
 .wood-button .main-text { font-size: 11px; }
 body { padding-right: 88px; }
}
@media (max-width: 1024px) {
 .slide-foreground-grid { flex-direction: column; padding: 40px 64px; }
 .slide-image-wrapper,.slide-text-info { width: 100%; }
 .slide-image-wrapper img { max-height: 320px; width: auto; }
 .slider-section { min-height: 0; padding: 24px 0; }
 .story-container { flex-direction: column !important; gap: 32px !important; padding: 0; }
 .story-image-gallery,.story-text-content { width: 100%; }
 .review-split-layout { flex-direction: column; }
 .review-image-container { width: 100%; }
 .review-controls { position: static; justify-content: center; margin-block: 16px; }
 .service-info h3 { padding-right: 0; }
}
@media (max-width: 768px) {
 body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
 .hero-section { min-height: 500px; height: 82svh; }
 .hero-content h2 { font-size: clamp(2rem,8vw,3.3rem) !important; }
 .hero-content .cursive-text { font-size: clamp(1.5rem,6vw,2.3rem) !important; }
 .hero-title { font-size: clamp(2rem,8vw,3rem); }
 .about-hero-section { min-height: 330px; height: auto; padding: 130px 16px 64px; }
 .section-padding,.about-story-section { padding: 56px 20px; }
 .ballena-split-section .pane { width: 100%; flex: auto; }
 .ballena-split-section .left-pane { min-height: 300px; }
 .ballena-split-section .right-pane { padding: 40px 24px; }
 .ballena-header:empty { display: none; }
 .familia-section p br,.slide-description br,.margarita-content p br { display: none; }
 .review-image-container img { height: 240px; }
 .reviews-bg-section { padding: 40px 16px; }
 .reviews-bg-section .services-section { padding: 24px 18px; }
 .site-footer { padding: 40px 20px 24px; }
 .footer-col .logo-text { white-space: normal; }
 .quick-action-sidebar { left: 0; right: 0; bottom: 0; top: auto; transform: none; width: 100%; border-radius: 0; border: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: #622B14; box-shadow: 0 -3px 18px #0003; }
 .quick-action-sidebar .hide-mobile { display: flex !important; }
 .quick-action-sidebar .wood-button,.quick-action-sidebar .btn-primary { flex: 1; width: auto; height: 62px; margin: 0; padding: 6px; border-radius: 10px; animation: none; transform: none; }
 .wood-button .main-text,.btn-primary .main-text { font-size: 12px; }
 .wood-button .sub-text { font-size: 9px; }
 .contact-page-section { padding: 104px 16px 40px; }
 .contact-info-panel,.contact-form-panel { padding: 28px 20px; }
 .story-image-gallery { padding: 24px !important; }
 .main-story-img { height: auto; }
 .rating-text { font-size: 10px; }
 .slider-section > .left-arrow { left: 8px; }
 .slider-section > .right-arrow { right: 8px; }
 .slide-foreground-grid { padding-inline: 54px; }
}
@media (prefers-reduced-motion: reduce) {
 *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
 .marquee-track { width: 100%; overflow-x: auto; }
}

/* Targeted final fixes: preserve the existing design while allowing content to size naturally. */
.quick-action-sidebar .wood-button {
 background:linear-gradient(135deg,#ead3b6,#c9a47d);
 border-color:#a57f59;
}
.quick-action-sidebar .wood-button .sub-text { color:#4a3424; }
.quick-action-sidebar .wood-button .main-text {
 color:#fff;
 text-shadow:1px 2px 3px rgba(0,0,0,.55);
}

.slider-section { height:auto; min-height:0; }
.slide-content-wrapper { position:relative; inset:auto; height:auto; min-width:0; }
.slide-foreground-grid {
 display:grid;
 grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
 min-height:650px;
 height:auto;
 gap:clamp(28px,5vw,80px);
 padding-block:clamp(56px,7vw,100px);
}
.slide-image-wrapper,.slide-text-info { width:100%; min-width:0; }
.slide-title,.slide-description {
 max-width:100%;
 overflow-wrap:anywhere;
 word-break:normal;
}
.slide-title { font-size:clamp(2.4rem,4.4vw,4.5rem); }
.bg-repeating-text { overflow:hidden; }

.margarita-two-section::before { background:rgba(0,0,0,.24); }
@media (min-width:769px) {
 .margarita-two-section { height:72vh; min-height:520px; }
}

.slider-window {
 height:auto;
 transition:height .35s ease;
}
.slider-track,.service-card,.review-split-layout,.review-content-container {
 min-height:0;
 height:auto;
}
.slider-track { align-items:flex-start; }
.form-status { margin:0 0 20px; font-weight:700; font-family:var(--font-body); }
.form-status-success { color:#2e7d32; }
.form-status-error { color:#c62828; }

@media (max-width:1024px) {
 .slide-foreground-grid {
  grid-template-columns:1fr;
  min-height:0;
  padding:56px 64px;
 }
 .slide-image-wrapper img { max-height:360px; }
}

@media (max-width:768px) {
 .slider-section { padding:0; overflow:hidden; }
 .slide-content-wrapper { width:100%; }
 .slide-foreground-grid {
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:48px 54px 40px;
 }
 .bg-repeating-text { display:none; }
 .slide-image-wrapper { order:1; }
 .slide-text-info { order:2; }
 .slide-image-wrapper img {
  width:100%;
  max-width:420px;
  max-height:none;
  height:auto;
  object-fit:contain;
 }
 .slide-title { font-size:clamp(1.75rem,8vw,2.35rem)!important; }
 .slide-description { font-size:.92rem; line-height:1.55; }
 .reviews-bg-section,.reviews-bg-section .services-section,
 .review-split-layout,.review-content-container,.slider-window,
 .slider-track,.service-card { min-height:0; }
 .reviews-bg-section .services-section { height:auto; }
 .review-image-container img { width:100%; height:auto; max-height:320px; object-fit:cover; }
}

@media (max-width:480px) {
 .slide-foreground-grid { padding-inline:46px; }
 .slider-section>.left-arrow { left:6px; }
 .slider-section>.right-arrow { right:6px; }
}

@media (max-width: 900px) {
 .reservation-page { padding: 104px 18px 60px; }
 .reservation-layout { grid-template-columns: 1fr; }
 .reservation-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
 .reservation-page { padding-inline: 12px; }
 .reservation-brand { padding-inline: 6px; }
 .reservation-card { padding: 18px 14px; border-radius: 16px; }
 .reservation-title-row { align-items: flex-start; }
 .reservation-picker-panel,.reservation-details-panel { padding: 15px 12px; }
 .reservation-date-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px; gap: 8px; }
 .reservation-date-option { min-height: 80px; }
 .reservation-time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
 .reservation-form-row,.reservation-sidebar { grid-template-columns: 1fr; gap: 0; }
 .reservation-sidebar { gap: 16px; }
 .reservation-info-box,.reservation-rules-box { padding: 20px; }
}

@media (max-width: 380px) {
 .reservation-date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
