/* ============================================
   DIRT BIKE RENTALS VALLE — Global Styles
   Dark adventure theme, Valle de Guadalupe
   Fonts loaded via <link> in HTML <head> for performance
   ============================================ */

/* Responsive cover image inside card/about/tour containers */
.card-img > img,
.about-img > img,
.gallery-item > img,
.tour-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- CSS Variables --- */
:root {
  --black: #0a0a0a;
  --dark: #121212;
  --dark-mid: #1a1a1a;
  --dark-card: #1e1e1e;
  --dark-border: #2a2a2a;
  --gray: #888;
  --light-gray: #b0b0b0;
  --white: #f5f5f0;
  --amber: #e8860c;
  --amber-bright: #f5a623;
  --amber-dark: #b8680a;
  --amber-glow: rgba(232, 134, 12, 0.15);
  --red-alert: #d9534f;
  --green: #4caf50;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 6px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-bright); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  z-index: 1000;
  transition: background var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.nav-logo {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-logo span.accent { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--light-gray);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(232, 134, 12, 0.12);
}

.nav-links a.active { color: var(--amber); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
}

.nav-cta:hover {
  background: var(--amber-bright) !important;
  color: var(--black) !important;
}

.lang-switch {
  margin-left: 8px;
  padding: 6px 12px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-switch:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO SECTIONS --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #1a1008 50%, var(--dark) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(232, 134, 12, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(232, 134, 12, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--dark), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .line-accent { color: var(--amber); }

/* Homepage: H1 is SEO phrase (styled inline as small/amber), H2 is brand line (big/white) */
.hero .hero-h1-visual {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero .hero-h1-visual .line-accent { color: var(--amber); }

.hero p {
  font-size: 1.15rem;
  color: var(--light-gray);
  max-width: 550px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  min-height: 45vh;
  padding: calc(var(--nav-height) + 60px) 24px 60px;
}

.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--amber);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--amber-bright);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 134, 12, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}

.btn-outline:hover {
  background: var(--amber);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* --- SECTIONS --- */
section {
  padding: 80px 0;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--light-gray);
  max-width: 600px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Dark stripe alternate */
.section-alt { background: var(--black); }

/* --- CARDS --- */
.card-grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-img {
  width: 100%;
  height: 220px;
  background: var(--dark-mid);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
  font-style: italic;
}

.card-body { padding: 24px; }

.card-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  background: var(--amber-glow);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* --- PRICING TABLE --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.price-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(232,134,12,0.08) 0%, var(--dark-card) 100%);
}

.price-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 16px;
  border-radius: 20px;
}

.price-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount span { font-size: 1.2rem; }

.price-period {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.95rem;
  color: var(--light-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
}

/* --- TOUR CARDS --- */
.tour-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.tour-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.tour-card:nth-child(even) { direction: rtl; }
.tour-card:nth-child(even) > * { direction: ltr; }

.tour-img {
  min-height: 300px;
  background: var(--dark-mid);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
}

.tour-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tour-body h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tour-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tour-meta span {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tour-body p {
  color: var(--light-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--dark-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--amber); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--amber);
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--dark-mid);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
  font-size: 0.85rem;
  background-size: cover;
  background-position: center;
}

.gallery-item:hover { transform: scale(1.03); }

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* --- CONTACT FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-block {
  margin-bottom: 28px;
}

.contact-info-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  margin-bottom: 8px;
}

.contact-info-block p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-block a { color: var(--amber); }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gray);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-mid);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* --- STATS BAR --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- UTILITY / ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  aspect-ratio: 4/3;
  background: var(--dark-mid);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--light-gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Safety checklist */
.checklist {
  list-style: none;
  margin: 20px 0;
}

.checklist li {
  padding: 8px 0;
  color: var(--light-gray);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.checklist li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
  font-size: 1.6rem;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* Map placeholder */
.map-embed {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  border: 1px solid var(--dark-border);
  overflow: hidden;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */

/* ---- Body scroll-lock when mobile nav is open ---- */
body.nav-open { overflow: hidden; }

/* ---- 1200px: header no longer fits, use the menu ---- */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--nav-height));
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 32px;
    border-bottom: 1px solid var(--dark-border);
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 14px 16px;
    min-height: 48px;
    font-size: 1rem;
  }
  .nav-links .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  .nav-toggle { display: flex; padding: 12px; min-width: 48px; min-height: 48px; }
}

/* ---- 1024px: Tablet landscape ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- 768px: Tablet portrait / large phone ---- */
@media (max-width: 768px) {

  /* — Logo: hide text on very constrained widths, keep icon+img — */
  .nav-logo { font-size: 1.3rem; gap: 8px; }

  /* — Sections: reduce padding — */
  section { padding: 56px 0; }

  /* — Hero — */
  .hero { min-height: 70vh; padding: calc(var(--nav-height) + 24px) 20px 48px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
  .hero .hero-h1-visual { font-size: clamp(2.2rem, 10vw, 4rem); }
  .hero p { font-size: 1rem; margin-bottom: 28px; }
  .hero-badge {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    line-height: 1.5;
    max-width: 90vw;
    word-break: break-word;
  }
  .page-hero { min-height: 38vh; padding: calc(var(--nav-height) + 40px) 20px 48px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  /* — Grids — */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 32px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }

  /* — Tour cards — */
  .tour-card { grid-template-columns: 1fr; }
  .tour-card:nth-child(even) { direction: ltr; }
  .tour-img { min-height: 200px; }
  .tour-body { padding: 24px 20px; }
  .tour-body h3 { font-size: 1.6rem; }

  /* — About grid: cap forced image heights — */
  .about-img { min-height: 240px !important; }
  .about-text h2 { font-size: 2rem; }

  /* — Cards — */
  .card-body { padding: 20px; }
  .card-img { height: 180px; }

  /* — Pricing — */
  .price-card { padding: 28px 24px; }
  .price-amount { font-size: 2.8rem; }

  /* — Stats — */
  .stat-number { font-size: 2.4rem; }

  /* — FAQ: bigger touch targets — */
  .faq-question { padding: 18px 0; min-height: 48px; font-size: 1rem; }
  .faq-answer { max-height: none; }
  .faq-item.open .faq-answer { max-height: 500px; }

  /* — Container — */
  .container { padding: 0 20px; }

  /* — Buttons — */
  .btn { padding: 14px 28px; font-size: 0.95rem; width: auto; }

  /* — Lightbox — */
  .lightbox { padding: 20px; }
  .lightbox img { max-width: 95vw; max-height: 80vh; }

  /* — Map — */
  .map-embed { height: 280px; }

  /* — Contact form — */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 14px 16px;
  }

  /* — Footer — */
  .site-footer { padding: 48px 0 20px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ---- 480px: Small phones ---- */
@media (max-width: 480px) {

  /* — Hero: tighter — */
  .hero { min-height: 65vh; padding: calc(var(--nav-height) + 16px) 16px 40px; }
  .hero h1 { font-size: clamp(1.8rem, 10vw, 2.8rem); }
  .hero .hero-h1-visual { font-size: clamp(1.8rem, 10vw, 2.8rem); }
  .hero p { font-size: 0.95rem; }
  .hero-badge { font-size: 0.65rem; padding: 5px 12px; letter-spacing: 1px; }
  .page-hero { min-height: 32vh; }
  .page-hero h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }

  /* — Stats: single column — */
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.75rem; }

  /* — Gallery: single column — */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }

  /* — Buttons stack — */
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; width: 100%; }

  /* — Footer: full single column — */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* — Section titles — */
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .section-subtitle { font-size: 0.95rem; }
  .section-label { font-size: 0.75rem; letter-spacing: 2px; }

  /* — Container tighten — */
  .container { padding: 0 16px; }

  /* — Section padding — */
  section { padding: 44px 0; }

  /* — Pricing — */
  .price-amount { font-size: 2.4rem; }
  .price-card { padding: 24px 20px; }

  /* — Tour body — */
  .tour-body { padding: 20px 16px; }
  .tour-body h3 { font-size: 1.4rem; }
  .tour-img { min-height: 180px; }

  /* — About — */
  .about-img { min-height: 200px !important; }
  .about-text h2 { font-size: 1.6rem; }

  /* — Cards — */
  .card-img { height: 160px; }
  .card-body h3 { font-size: 1.1rem; }

  /* — WhatsApp float: keep clear of bottom edge — */
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.4rem; }

  /* — Nav logo: compact — */
  .nav-logo { font-size: 1.1rem; gap: 6px; }
  .nav-logo img { height: 28px !important; }
}

/* ---- 360px: Narrow phones (Galaxy S series, older iPhones) ---- */
@media (max-width: 360px) {
  .hero .hero-h1-visual { font-size: clamp(1.6rem, 10vw, 2.4rem); }
  .hero-badge { font-size: 0.6rem; padding: 4px 10px; }
  .nav-logo { font-size: 0; } /* hide text, show only logo image */
  .nav-logo img { height: 32px !important; }
  .nav-logo .accent { display: none; }
  .stat-number { font-size: 1.8rem; }
  .price-amount { font-size: 2rem; }
  .about-text h2 { font-size: 1.4rem; }
  .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}

/* ---- Inline-style overrides: location pages use inline grid-template-columns ---- */
/* These force single-column on mobile even when inline styles set 3-col */
@media (max-width: 768px) {
  [style*="grid-template-columns: repeat(3"] ,
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  /* Cap any inline min-height on images */
  .about-img[style*="min-height"] {
    min-height: 240px !important;
  }
  /* Trust contract on pricing page */
  .trust-contract { padding: 28px 20px; }
  .trust-step { gap: 16px; }
  .trust-step-number { width: 40px; height: 40px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(3"] ,
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .trust-contract { padding: 20px 16px; }
  .trust-step { flex-direction: column; gap: 8px; }
  .trust-step-number { width: 36px; height: 36px; font-size: 1rem; }
}

/* ---- Safe area: notch/dynamic island phones ---- */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .whatsapp-float { bottom: calc(16px + env(safe-area-inset-bottom)); right: calc(16px + env(safe-area-inset-right)); }
  .site-footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .contact-dock { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* ---- Tap highlight cleanup for mobile ---- */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover lift effects on touch devices — they stick after tap */
  .card:hover { transform: none; box-shadow: none; }
  .price-card:hover { transform: none; }
  .tour-card:hover { transform: none; }
  .gallery-item:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
  /* Keep color changes, just kill the transforms */
  a, button { -webkit-tap-highlight-color: rgba(232, 134, 12, 0.15); }
}
/* Persistent conversion dock: distinct call and WhatsApp destinations. */
.contact-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1500;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.46);
  font-family: var(--font-body, "Barlow", sans-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-dock a {
  min-width: 94px;
  padding: 12px 18px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.contact-dock a:hover,
.contact-dock a:focus-visible {
  filter: brightness(1.12);
}

.contact-dock__call { background: #161616; }
.contact-dock__whatsapp { background: #168b4f; }

@media (max-width: 640px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .contact-dock {
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .contact-dock a {
    flex: 1;
    padding: 15px 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Compact booking confidence module used beside high-intent CTAs. */
.booking-reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--light-gray, #bbb);
  font-size: 0.78rem;
  line-height: 1.4;
}

.booking-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.booking-reassurance span::before {
  content: "✓";
  color: var(--amber, #f59e0b);
  font-weight: 800;
}

.booking-reassurance--left { justify-content: flex-start; }
.booking-reassurance--form {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.06);
}

.optional-details {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.optional-details summary {
  padding: 13px 15px;
  color: var(--light-gray, #bbb);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.optional-details[open] summary { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.optional-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
}
.optional-details__grid .field.full,
.optional-details__grid .form-group.full { grid-column: 1 / -1; }

@media (max-width: 560px) {
  .booking-reassurance { gap: 8px 12px; }
  .booking-reassurance span { white-space: normal; }
  .optional-details__grid { grid-template-columns: 1fr; padding: 15px; }
  .optional-details__grid .field.full,
  .optional-details__grid .form-group.full { grid-column: auto; }
}

/* --- Homepage hero: photo, price, and booking in the first screen --- */
.hero.hero-home {
  min-height: 100svh;
  align-items: stretch;
  justify-content: flex-end;
  flex-direction: column;
  text-align: left;
  padding: 0;
  overflow: visible;
  background: #070707;
}

.hero.hero-home::before,
.hero.hero-home::after { content: none; }

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 62%;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.82) 34%, rgba(7, 7, 7, 0.28) 58%, rgba(7, 7, 7, 0.08) 74%, rgba(7, 7, 7, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.35) 0%, transparent 22%, rgba(7, 7, 7, 0.55) 70%, rgba(7, 7, 7, 0.92) 100%);
  pointer-events: none;
}

.hero.hero-home .hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 36px) 24px 8px;
}

.hero.hero-home .hero-badge {
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.hero.hero-home h1.hero-kicker {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 10px;
  animation: none;
}

.hero.hero-home .hero-h1-visual {
  font-size: clamp(3.6rem, 7vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: 1px;
  max-width: 7em;
  margin: 0 0 16px;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  animation: none;
}

.hero.hero-home .hero-badge,
.hero.hero-home p,
.hero.hero-home .btn-group {
  animation: none;
}

.hero.hero-home .btn-outline {
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero.hero-home p {
  max-width: 34rem;
  margin: 0 0 18px;
  text-align: left;
  color: rgba(245, 245, 240, 0.9);
}

.hero-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 4px 0 6px;
}

.hero-price-label,
.hero-price-meta {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-price-label {
  color: var(--amber);
  font-size: 0.85rem;
}

.hero-price-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.8;
  letter-spacing: 1px;
  color: var(--white);
}

.hero-price-meta {
  color: var(--light-gray);
  font-size: 0.95rem;
}

.hero-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 6px 0 14px;
}

.hero-tier {
  display: flex;
  flex-direction: column;
  min-width: 88px;
}

.hero-tier .hero-price-num {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
}

.hero-tier .hero-price-meta {
  margin-top: 2px;
}

.hero.hero-home .hero-offer {
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero.hero-home .btn-group,
.hero.hero-home .booking-reassurance {
  justify-content: flex-start;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
  width: min(1200px, 100%);
  margin: 18px auto 0;
  padding: 16px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: 1px;
  line-height: 1;
  color: var(--white);
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.72);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}

a.intent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

a.intent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 15%, rgba(0, 0, 0, 0.82) 100%);
  transition: background var(--transition);
}

a.intent-card:hover {
  color: var(--white);
  transform: translateY(-4px);
}

a.intent-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 10%, rgba(0, 0, 0, 0.88) 100%);
}

a.intent-card .card-tag {
  width: fit-content;
  margin-bottom: 0;
  color: #1a1008;
  background: var(--amber);
}

a.intent-card h3 {
  margin: 10px 0 6px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a.intent-card p {
  margin: 0;
  color: rgba(245, 245, 240, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .intent-grid { grid-template-columns: 1fr 1fr; }
  .hero.hero-home .hero-h1-visual { font-size: clamp(3rem, 8vw, 4.8rem); }
}

@media (max-width: 768px) {
  .hero.hero-home {
    min-height: 100svh;
    text-align: left;
    padding-bottom: 64px;
  }

  .hero-photo { object-position: 72% 58%; }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.35) 0%, rgba(7, 7, 7, 0.55) 28%, rgba(7, 7, 7, 0.92) 62%, rgba(7, 7, 7, 0.96) 100%);
  }

  .hero.hero-home .hero-content { padding: calc(var(--nav-height) + 28px) 20px 4px; }
  .hero.hero-home .hero-h1-visual { max-width: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 16px 20px 20px; }
  .intent-grid { grid-template-columns: 1fr; }
  a.intent-card { min-height: 240px; }
}

@media (max-height: 820px) and (min-width: 769px) {
  .hero.hero-home .hero-h1-visual { font-size: clamp(2.8rem, 6vh, 4.2rem); }
  .hero.hero-home .hero-content { padding-top: calc(var(--nav-height) + 12px); }
  .hero-price-num { font-size: 3rem; }
}

/* Guide pages use faq-q / faq-a. Keep the answers visible; do not collapse them. */
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0 8px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: block;
}
.faq-a {
  color: var(--light-gray);
  padding: 0 0 18px;
  line-height: 1.7;
}
.faq-a p { margin: 0; color: var(--light-gray); }

/* ---- Compare tables → stacked cards on phones ---- */
.compare-scroll {
  margin-top: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--light-gray);
  font-size: 0.95rem;
}

.compare-table thead tr {
  background: var(--dark-mid);
  border-bottom: 2px solid var(--amber);
}

.compare-table th {
  padding: 16px 12px;
  text-align: left;
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--dark-border);
  vertical-align: top;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(232, 134, 12, 0.03);
}

.compare-table .compare-name {
  color: var(--white);
  font-weight: 600;
}

.compare-table .compare-accent {
  color: var(--amber);
  font-weight: 700;
}

@media (max-width: 768px) {
  .compare-scroll {
    overflow: visible;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tbody tr {
    margin: 0 0 14px;
    padding: 14px 16px;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    background: var(--dark-mid);
  }

  .compare-table tbody tr:nth-child(even) {
    background: var(--dark-mid);
  }

  .compare-table td {
    display: grid;
    grid-template-columns: minmax(5.5rem, 34%) 1fr;
    gap: 8px 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .compare-table td:last-child {
    border-bottom: 0;
  }

  .compare-table td::before {
    content: attr(data-label);
    color: var(--amber);
    font-family: var(--font-heading, var(--font-display));
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
    padding-top: 2px;
  }

  .compare-table td.compare-name {
    display: block;
    padding: 0 0 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(232, 134, 12, 0.35);
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .compare-table td.compare-name::before {
    display: none;
  }
}

/* ============================================================
   MOBILE FIXES — 2026-11-16
   Appended as one block so it is easy to review or remove.
   ============================================================ */

/* Anchors scrolled into view were landing under the 72px fixed nav. */
html { scroll-padding-top: 88px; }

/* The open mobile menu was rgba(10,10,10,0.98); the remaining 2% let the
   hero headline ghost through behind the menu labels. */
@media (max-width: 768px) {
  .nav-links { background: #0a0a0a; }
}

/* Touch targets. "View route page" links in card bodies were 105x18px,
   and the footer contact links were 17.5px tall. 44px is the minimum. */
@media (max-width: 768px) {
  .card-body a:not(.btn) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-col li + li { margin-top: 2px; }
}

/* --- Spanish side, 2026-11-16 ---------------------------------------------
   The Spanish pages load this same stylesheet, so every fix above already
   applies to them. These two only affect /es/contact.html, which has a
   contact panel the English page does not have.
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* The panel (location, hours, WhatsApp, email, social) stacked above the
     form and pushed the first field to 1117px. Form first on phones; on
     desktop these are two side-by-side columns and nothing moves. */
  .contact-grid > div:first-child { order: 1; }

  /* Panel links were 17.5px tall. The WhatsApp and email links sit alone in
     their paragraph, so they can become 44px rows. The three social links
     share a line with "·" separators, so they grow by padding instead and
     stay on that line. */
  .contact-info-block p > a:only-child {
    display: flex; align-items: center; min-height: 44px;
  }
  .contact-info-block p > a:not(:only-child) {
    display: inline-block; padding: 14px 0;
  }
}

/* --- Round 2, 2026-11-17 --------------------------------------------------
   From the full 107-page audit. Everything here is phone-only.
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* A 4-column table on /guides/bike-tours-valle-de-guadalupe.html measured
     378px in a 375px viewport, so the last column was cut off. Let any content
     table scroll sideways instead of overflowing the page. */
  .terrain-table,
  .content table,
  article table,
  .container table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Text below 12px is hard to read on a phone. The eyebrow badge above each
     headline was 10.4px on 85 pages; these bring the smallest text up without
     changing the design's proportions. */
  /* These carry a `body` prefix on purpose. Several pages set the same classes
     in their own <style> block, which sits after this file, so an equal-
     specificity rule here would lose on source order. `body` outranks it. */
  body .hero-badge { font-size: 0.75rem; }          /* was 0.65rem / 10.4px */
  body .info-block-label { font-size: 0.75rem; }    /* was 0.65rem / 10.4px */
  body .card-tag { font-size: 0.75rem; }
  body label,
  body .req,
  body .privacy-note,
  body .rec-badge { font-size: 0.8rem; }            /* was ~11.2-11.5px */

  /* An 8.8px grey wordmark sits beside the logo image on 15 pages, at 50%
     opacity. It is unreadable at phone size and repeats what the logo already
     says, so it is hidden here. Desktop keeps it. (It is set with an inline
     style, which is why this matches on the style attribute.) */
  .nav-logo span[style*="0.55rem"] { display: none; }
}

/* --- Spanish legal links, 2026-11-17 --------------------------------------
   The Spanish footer had no privacy / terms / waiver links at all. The new
   Spanish legal pages are linked from this row, which sits under the existing
   copyright line.
   -------------------------------------------------------------------------- */
.footer-legal {
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-legal a {
  color: var(--gray);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--amber); }

@media (max-width: 768px) {
  /* Three links on one line, so each needs its own 44px box without breaking
     the row: inline-flex keeps them side by side, min-height does the rest. */
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 10px;
    text-align: center;
  }
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* --- Round 3, 2026-11-17 -------------------------------------------------
   Three tap targets the first two rounds missed, all phone-only.
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* The nav wordmark is the single most common sub-44px control on the site:
     28.2px tall on 124 pages. The nav bar is 72px, so a 44px box fits inside
     it without moving anything. */
  a.nav-logo {
    min-height: 44px;
  }

  /* The booking form's own fields measured 42px — two pixels under, on the
     page the whole site funnels into. Selects need the explicit height
     because iOS ignores min-height on a <select>. */
  .field input,
  .field textarea,
  .select-wrap select,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 44px;
  }

  .select-wrap select {
    height: 44px;
  }

  /* The two quick-action buttons on the contact page measured 43.2px. The
     42px comes from `.quick-actions a` in that page's own <style> block,
     which outranks a bare class here, so this rule carries `body` to win. */
  body .quick-actions a,
  body .quick-whatsapp,
  body .quick-call {
    min-height: 44px;
  }
}
