:root {
  --brand: #f4972c;
  --brand-dark: #9b4719;
  --brand-light: #f4972c;
  --brand-soft: #fbf1dc;
  --ink: #0a0908;
  --ink-soft: #1e1510;
  --cream: #f7efdc;
  --cream-dark: #efd9a6;
  --white: #fff;
  --whats: #25d366;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-script: "Dancing Script", cursive;
  --font-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-sans); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
h1, h2, h3, h4 { font-weight: 700; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.script { font-family: var(--font-script); text-transform: none; color: var(--brand); font-weight: 600; letter-spacing: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 6px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; border: 2px solid transparent; cursor: pointer; line-height: 1; }
.btn-sm { padding: .7rem 1rem; font-size: 13px; }
.btn-primary { background: var(--brand); color: var(--ink); }
.btn-primary:hover { background: var(--brand-light); }
.btn-dark { background: rgba(19,19,19,.82); color: var(--white); border-color: rgba(255,255,255,.12); }
.btn-dark:hover { background: var(--ink); border-color: var(--brand); }
.btn-whats { background: rgba(19,19,19,.82); color: var(--white); border-color: rgba(255,255,255,.12); }
.btn-whats:hover { background: var(--ink); border-color: var(--whats); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.header .header-cta { background: rgba(19,19,19,.82); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: .7rem 1.1rem; color: var(--white); font-size: 18px; font-weight: 700; letter-spacing: .04em; gap: .6rem; }
.header .header-cta:hover { background: none; color: var(--brand-light); }
.header .header-cta svg { width: 22px; height: 22px; color: var(--white); }

/* Top bar */
.topbar { background: var(--ink); color: #d6d6d6; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar a:hover { color: var(--brand-light); }
.topbar-contact, .topbar-social { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 16px; height: 16px; flex: none; }
.topbar-social a { display: inline-flex; color: #d6d6d6; }
.topbar-social svg { width: 18px; height: 18px; }
.topbar-divider { display: inline-block; width: 1px; height: 14px; background: #5a5a5a; }

/* Header, transparent over the hero, solid once scrolled */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; background: transparent; color: var(--white); }
.header .logo { background: rgba(19,19,19,.82); border-radius: 0 0 10px 10px; padding: 0 10px 20px; }
.header .topbar { background: var(--ink); color: #d6d6d6; position: relative; z-index: 1; }
.header .topbar a:hover { color: var(--brand); }
.header .header-inner { position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; flex: none; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.logo-text span { color: var(--brand-light); }
.logo-text small { font-family: var(--font-sans); font-size: 11px; letter-spacing: .14em; font-weight: 500; color: #bdbdbd; }
.logo-light { color: var(--white); }
.logo-img { height: 100px; width: auto; display: block; }
.header-inner { min-height: 0; padding: 0; }
footer .logo-img { height: 180px; }
@media (min-width: 1100px) {
  .logo-img { height: 100px; }
  .header-inner { flex-direction: row; justify-content: space-between; align-items: center; padding: 0 0 4px; }
  .header-inner > nav { margin-left: auto; }
  .header-inner > nav .nav { justify-content: flex-end; }
  .header .header-cta { margin-left: 1.5rem; }
}
.nav { display: none; gap: .6rem; list-style: none; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; line-height: 1; padding: .7rem 1rem; border: 1px solid var(--white); border-radius: 6px; color: var(--ink); background: var(--white); }
.nav a:hover, .nav a.active { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; cursor: pointer; padding: 0 11px; }
.menu-btn span { display: block; height: 2px; background: var(--white); border-radius: 2px; }
.mobile-nav { display: none; background: var(--ink); border-top: 1px solid #2a2a2a; padding: 8px 16px 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid #2a2a2a; font-family: var(--font-display); text-transform: uppercase; font-weight: 500; letter-spacing: .06em; color: var(--white); }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero, full-bleed warm desert backdrop with dark overlay */
.hero { position: relative; min-height: 100vh; min-height: 680px; padding-top: 210px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: #1e1510; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,.55) 0%, rgba(19,19,19,.35) 45%, rgba(19,19,19,.85) 100%); }
.hero-slide.is-active { opacity: 1; }
.hero-inner { position: relative; z-index: 1; }
.hero-dots { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 12px; }
.hero-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; transition: background .2s, transform .2s; }
.hero-dot:hover { transform: scale(1.15); }
.hero-dot.is-active { background: var(--brand); border-color: var(--brand); }
.hero-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 16px 64px; }
.hero-inner > * { max-width: 760px; }
.eyebrow { display: inline-block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .15em; font-size: 13px; color: var(--brand-light); margin-bottom: 1rem; font-weight: 500; }
.hero h1 { font-size: 40px; margin-bottom: 1.25rem; }
.hero h1 .script { display: block; font-size: 46px; line-height: 1.1; color: var(--brand-light); margin-top: .15rem; text-transform: none; }
.hero p.lead { font-size: 17px; max-width: 580px; margin-bottom: 2rem; color: #efefef; }
.hero .actions { display: flex; flex-direction: column; gap: .75rem; max-width: 340px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 1.75rem; min-height: 22px; font-size: 14px; color: #f0f0f0; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--brand-light); }
@media (min-width: 640px) {
  .hero h1 { font-size: 50px; }
  .hero h1 .script { font-size: 64px; }
  .hero .actions { flex-direction: row; max-width: none; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 62px; } .hero h1 .script { font-size: 78px; } .hero p.lead { font-size: 18px; } }

/* Feature strip under the hero */
.strip { background: var(--ink); color: var(--white); }
.strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-right: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; }
.strip-item strong { display: block; font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--white); line-height: 1.3; }
.strip-item span { display: block; font-size: 14px; color: #bdbdbd; line-height: 1.4; }
@media (min-width: 900px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } .strip-item:nth-child(4) { border-right: 0; } }

/* Sections */
section { padding: 72px 0; }
.section-head { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: 30px; }
.section-head .script { font-size: 34px; line-height: 1; color: var(--ink); }
.section-dark .section-head .script { color: var(--brand); }
.section-head .bar { width: 56px; height: 4px; background: var(--brand); border-radius: 2px; }
.section-head p { color: #555; max-width: 640px; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: #bdbdbd; }
.section-alt { background: var(--cream-dark); }
.section-dark { background: var(--ink-soft); color: var(--white); }
.section-dark p { color: #d3d3d3; }

/* About */
.about { display: grid; gap: 2rem; align-items: center; }
.about p { margin-bottom: 1rem; }
.about .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 1.5rem; }
.stat { background: var(--ink); color: var(--white); padding: 16px; border-radius: var(--radius); border-left: 4px solid var(--brand); }
.stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--brand-light); line-height: 1; }
.stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #cfcfcf; }
.photo-block { min-height: 320px; border-radius: var(--radius); background:
    linear-gradient(160deg, rgba(0,0,0,0) 40%, rgba(19,19,19,.6) 100%),
    linear-gradient(180deg, #efd9a6 0%, #f4972c 55%, #9b4719 100%); position: relative; overflow: hidden; }
.photo-block::after { content: attr(data-label); position: absolute; left: 20px; bottom: 16px; color: var(--white); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .15em; font-size: 14px; }
.about-photo { width: 100%; height: auto; border-radius: var(--radius); }
.photo-block.camel { min-height: 260px; background: linear-gradient(180deg, #f8d7a8 0%, #e46201 70%, #8a3d0b 100%); }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }

/* Why us */
.why-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.why-item { background: var(--ink); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--brand); }
.why-item h3 { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; margin-bottom: 6px; color: var(--white); }
.why-item p { color: #cfcfcf; font-size: 15px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* Destinations */
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.city { position: relative; height: 150px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 14px; color: var(--white); background: linear-gradient(180deg, rgba(19,19,19,0) 30%, rgba(19,19,19,.8) 100%), var(--c, #e46201); transition: transform .2s; }
.city h3 { font-family: var(--font-display); font-size: 16px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.city:hover { transform: translateY(-2px); }
@media (min-width: 900px) { .cities { grid-template-columns: repeat(4, 1fr); } .city { height: 200px; } }

/* Tours */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.25rem; }
.tab { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; font-size: 14px; padding: .55rem 1.1rem; border: 1px solid var(--ink); border-radius: 6px; background: transparent; color: var(--ink); }
.tab:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.tours-group { margin-bottom: 3rem; scroll-margin-top: 90px; }
.tours-group h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; letter-spacing: .03em; margin-bottom: 1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tours-group h3::before { content: ""; width: 10px; height: 10px; background: var(--brand); transform: rotate(45deg); }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 26px rgba(0,0,0,.12); transform: translateY(-2px); }
.card-img { height: 170px; background: linear-gradient(160deg, #efd9a6 0%, #f4972c 60%, #9b4719 100%); position: relative; }
.card-img.sky { background: linear-gradient(160deg, #8fb3c2 0%, #3c5a6e 60%, #1d2b35 100%); }
.card-img.canyon { background: linear-gradient(160deg, #efd9a6 0%, #ac6a31 60%, #1e1510 100%); }
.card-img.dune { background: linear-gradient(160deg, #efd9a6 0%, #f4972c 70%, #9b4719 100%); }
.card-img .pill { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; padding: 5px 10px; border-radius: 4px; }
.card-img .tag { position: absolute; top: 12px; right: 12px; background: var(--white); color: var(--ink); font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; padding: 5px 9px; border-radius: 4px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }
.route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 13px; color: #555; }
.route div { display: flex; flex-direction: column; }
.route small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #888; }
.route b { color: var(--ink); font-weight: 600; }
.route i { width: 26px; height: 2px; background: var(--brand); display: block; }
.card-body .btn { margin-top: auto; padding: .75rem 1rem; font-size: 13px; background: var(--ink); color: var(--white); }
.card-body .btn:hover { background: var(--brand); }
.excursions .card-img { height: 200px; }
.excursions .card-body h4 { font-size: 22px; }

/* FAQ, native details/summary for accessibility and SEO */
.faq-layout { display: grid; gap: 24px; align-items: stretch; }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1.3fr .7fr; } }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--cream-dark); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font-family: var(--font-display); text-transform: uppercase; font-size: 17px; letter-spacing: .02em; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--brand); line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 18px; color: #444; }

/* Long-form SEO copy */
.prose { max-width: 820px; }
.prose h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; font-weight: 600; letter-spacing: .02em; margin: 2rem 0 .75rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; color: #333; }
.prose ul { margin: 0 0 1rem 1.2rem; color: #333; }
.prose li { margin-bottom: .4rem; }

/* CTA band */
.cta { position: relative; text-align: center; color: var(--white); background: linear-gradient(180deg, rgba(19,19,19,.6), rgba(19,19,19,.85)), url("../img/cta-marrakech.webp") center / cover no-repeat; }
.cta h2 { font-size: 34px; margin-bottom: .75rem; }
.cta .script { font-size: 42px; color: var(--brand-light); display: block; line-height: 1.1; margin-bottom: .5rem; }
.cta p { max-width: 640px; margin: 0 auto 2rem; color: #f0f0f0; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.cta .btn-whats { background: var(--whats); color: var(--ink); border-color: var(--whats); }
.cta .btn-whats:hover { background: var(--white); border-color: var(--white); }
.cta .btn-outline { color: var(--white); border-color: var(--white); }
.cta .btn-outline:hover { background: var(--white); color: var(--ink); }
@media (min-width: 768px) { .cta h2 { font-size: 44px; } }

/* Contact */
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item { background: var(--white); padding: 22px; border-radius: var(--radius); border-top: 4px solid var(--brand); }
.contact-item h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 16px; letter-spacing: .06em; margin-bottom: 6px; font-weight: 600; }
.contact-item a, .contact-item p { color: #333; word-break: break-word; }
.contact-item a:hover { color: var(--brand); }

/* Footer */
footer { background: var(--ink); color: #cfcfcf; padding: 56px 0 24px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-about { margin-top: 14px; max-width: 420px; }
.footer-title { font-family: var(--font-display); text-transform: uppercase; color: var(--white); letter-spacing: .08em; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
footer ul { list-style: none; display: grid; gap: 6px; }
footer a:hover { color: var(--brand-light); }
.socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.socials a { border: 1px solid #444; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.socials a:hover { border-color: var(--brand); }
.footer-contact { margin-top: 18px; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.footer-contact a:hover { color: var(--brand); }
.copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid #333; font-size: 13px; color: #9a9a9a; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--whats); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.05); }

[hidden] { display: none !important; }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.more { display: flex; justify-content: center; margin-top: 2rem; }

:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }

/* Inner pages (for example sobre-marruecos.php) */
.page-hero { background: var(--ink); color: var(--white); padding: 56px 0 40px; }
.page-hero h1 { font-size: 40px; margin: 1rem 0 0; }
.page-hero h1 .script { font-size: 52px; color: var(--brand); text-transform: none; }
.page-hero .bar { width: 56px; height: 4px; background: var(--brand); border-radius: 2px; margin-top: 1rem; }
.page-body { padding: 56px 0 72px; }
.page-body h2 { font-size: 26px; margin: 2.25rem 0 .75rem; }
.page-body h2:first-child { margin-top: 0; }
.page-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 56px; } .page-hero h1 .script { font-size: 68px; } }

/* Inner pages: transparent header over the page, like the home page */
.inner-page .about-hero { padding-top: 250px; }
.inner-page .contact-hero { padding-top: 250px; }
.inner-page .page-hero { padding-top: 250px; }

.page-hero.has-photo { color: var(--white); }
.photo-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 2.5rem 0; }
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-grid figure { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; }
.photo-grid img { width: 100%; height: 240px; object-fit: cover; display: block; }
.photo-grid figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: var(--white); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; padding: 6px 10px; border-radius: 4px; }
.page-feature { margin: 2.5rem 0; }
.page-feature img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--radius); display: block; }
.contact-cards { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--white); padding: 18px; border-radius: var(--radius); border-top: 3px solid var(--brand); transition: transform .15s, background .15s; }
.contact-card:hover { transform: translateY(-2px); background: var(--ink-soft); }
.contact-card svg { width: 26px; height: 26px; flex: none; color: var(--brand); }
.contact-card strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 15px; }
.contact-card small { display: block; color: #cfcfcf; font-size: 13px; word-break: break-word; }

/* Sobre nosotros page layout */
.about-hero { background: #f7efdc; padding: 56px 0 64px; }
.about-hero-grid { display: grid; gap: 32px; align-items: center; }
.about-hero h1 { font-size: 40px; margin: .75rem 0 1rem; }
.about-hero h1 .script { font-size: 52px; line-height: 1.1; text-transform: none; }
.about-hero .bar { width: 56px; height: 4px; background: var(--brand); border-radius: 2px; margin-bottom: 1.25rem; }
.about-lead { font-size: 17px; max-width: 520px; color: #333; }
.about-hero-photo { margin: 0; }
.about-hero-photo img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); display: block; }
.eyebrow { color: var(--brand-dark); }
@media (min-width: 900px) { .about-hero-grid { grid-template-columns: 1fr 1fr; } .about-hero h1 { font-size: 52px; } .about-hero h1 .script { font-size: 64px; } .about-hero-photo img { height: 460px; } }

.label-line { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--brand-dark); font-weight: 500; }
.label-line::before { content: ""; width: 32px; height: 2px; background: var(--brand); }

.about-split { display: grid; gap: 32px; align-items: center; }
.about-split h2 { font-size: 32px; margin: .75rem 0 1rem; }
.about-split h2 .script { font-size: 40px; text-transform: none; }
.about-split p { color: #333; margin-bottom: 1rem; }
@media (min-width: 900px) { .about-split { grid-template-columns: 1fr 1fr; gap: 56px; } }

.about-story { padding: 72px 0; background: #fbf7ee; }
.about-photo-rounded { margin: 0; }
.about-photo-rounded img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: var(--radius); display: block; }
.about-features { list-style: none; display: grid; gap: 18px; margin-top: 1.5rem; }
.about-features li { border-left: 3px solid var(--brand); padding-left: 14px; }
.about-features strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 16px; font-weight: 600; }
.about-features span { color: #444; font-size: 15px; }

.about-why { padding: 72px 0; background: var(--cream-dark); }
.about-why-head { max-width: 640px; margin-bottom: 2rem; }
.about-why-head h2 { font-size: 32px; margin: .75rem 0 .75rem; }
.about-why-head h2 .script { font-size: 40px; text-transform: none; }
.about-why-head p { color: #333; }
.about-checklist { list-style: none; display: grid; gap: 12px; margin-bottom: 2.5rem; }
.about-checklist li { position: relative; padding-left: 34px; color: #222; }
.about-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.about-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .about-cards { grid-template-columns: repeat(3, 1fr); } }
.about-card { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.about-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.about-card figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.about-card strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 16px; font-weight: 600; }
.about-card span { color: #555; font-size: 14px; }

.about-promise { padding: 80px 0; background: #fbf7ee; }
.about-circle { margin: 0 auto; width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--brand-soft); }
.about-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-quote { margin-top: 1.5rem; padding-left: 20px; border-left: 4px solid var(--brand); }
.about-quote p { font-family: var(--font-display); font-size: 22px; line-height: 1.35; color: var(--ink); margin-bottom: .75rem; }
.about-quote cite { font-style: normal; color: #555; font-size: 14px; }

.about-contact { padding: 56px 0; background: var(--ink); }
.about-contact .contact-cards { margin-top: 0; }

/* Contact page */
.contact-hero { position: relative; color: var(--white); padding: 88px 0 72px; background: linear-gradient(180deg, rgba(10,9,8,.7), rgba(10,9,8,.85)), url('../img/contact-hero.jpg') center / cover no-repeat; }
.contact-hero h1 { font-size: 44px; margin: .75rem 0 1rem; }
.contact-hero h1 .script { font-size: 58px; color: var(--brand-light); text-transform: none; }
.contact-hero .bar { width: 56px; height: 4px; background: var(--brand); border-radius: 2px; margin-bottom: 1.25rem; }
.contact-lead { max-width: 560px; font-size: 17px; color: #efefef; }
.contact-body { padding: 72px 0; background: var(--cream); }
.contact-grid-2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid-2 { grid-template-columns: .9fr 1.1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; }
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-item strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: 15px; }
.contact-info-item p, .contact-info-item a { color: #333; font-size: 15px; word-break: break-word; }
.contact-info-item a:hover { color: var(--brand-dark); }
.contact-social { display: flex; gap: 10px; margin-top: 8px; }
.contact-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.contact-social a:hover { background: var(--brand); color: var(--ink); }
.contact-social svg { width: 18px; height: 18px; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.contact-form-card .label-line { margin-bottom: 1.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form label > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #222; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8d2c6; border-radius: 6px; font: inherit; background: #fff; color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #333; }
.form-check input { margin-top: 3px; accent-color: var(--brand-dark); }
.form-submit { align-self: flex-start; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 14px; border-radius: 6px; font-size: 15px; margin-bottom: 1rem; }
.form-notice-ok { background: #e7f6ea; color: #1d5b2a; }
.form-notice-error { background: #fbeaea; color: #8a1f1f; }
.contact-intro { color: #333; font-size: 15px; margin-top: -10px; }
.contact-promise { margin-top: 8px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: var(--white); border-top: 3px solid var(--brand); }
.contact-promise h3 { font-size: 26px; margin: .75rem 0 .6rem; }
.contact-promise h3 .script { font-size: 32px; color: var(--brand-light); text-transform: none; }
.contact-promise p { color: #d3d3d3; font-size: 15px; margin-bottom: .75rem; }
.contact-promise cite { font-style: normal; color: #9a9a9a; font-size: 13px; }

/* Preguntas page */
.inner-page .faq-page-hero { color: var(--white); background: linear-gradient(180deg, rgba(10,9,8,.7), rgba(10,9,8,.88)), url('../img/faq-cover.webp') center / cover no-repeat; }
.inner-page .faq-page-hero .contact-lead { color: #efefef; }
.inner-page .faq-page-hero h1 .script { color: var(--brand-light); }
.faq-page-body { padding: 72px 0; background: var(--cream); }
.faq-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1.2fr .8fr; } }
.faq-photo-wrap { margin: 0; position: sticky; top: 24px; }
.faq-photo-wrap .faq-photo { width: 100%; height: auto; min-height: 320px; object-fit: cover; border-radius: var(--radius); }
.faq-page-body .faq-list { max-width: none; }
.faq-page-body .page-cta { margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tour detail page */
.tour-hero { position: relative; color: var(--white); padding: 290px 0 56px; background-size: cover; background-position: center; }
.tour-crumbs { font-size: 13px; color: #d6d6d6; margin-bottom: 1rem; }
.tour-crumbs a:hover { color: var(--brand-light); }
.tour-hero h1 { font-size: 40px; margin: .5rem 0 .75rem; }
.tour-sub { font-size: 17px; color: #efefef; max-width: 720px; margin-bottom: 1.5rem; }
.tour-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tour-tags span { background: rgba(10,9,8,.7); border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 6px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.tour-tags span.is-accent { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.tour-tabs { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--cream-dark); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.tour-tabs ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 0 16px; }
.tour-tabs a { display: block; padding: 16px 14px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.tour-tabs a:hover { color: var(--brand-dark); border-color: var(--brand); }
.tour-body { padding: 0 0 72px; background: var(--cream); }
.tour-grid { display: grid; gap: 40px; }
#resumen { margin-bottom: 0; padding-bottom: 22px; }
#itinerario { padding-top: 40px; }
@media (min-width: 960px) { .tour-grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.tour-section { scroll-margin-top: 80px; margin-bottom: 0; }
.tour-section { padding: 40px 0 22px; }
#resumen { padding-top: 72px; }
.tour-section h2 { font-size: 28px; margin-bottom: 1rem; }
.tour-section p { color: #222; margin-bottom: 1rem; }
.facts { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.facts div { background: var(--white); border-radius: var(--radius); padding: 14px 16px; border-left: 3px solid var(--brand); }
.facts strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--brand-dark); font-weight: 500; }
.facts span { font-size: 15px; color: #222; }
.itinerary { list-style: none; display: grid; gap: 18px; }
.itinerary-day { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border-left: 4px solid var(--brand); box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.itinerary-num { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--brand-dark); font-weight: 500; }
.itinerary-day h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; letter-spacing: .02em; font-weight: 600; margin: .35rem 0 .75rem; }
.itinerary-day p { color: #333; margin-bottom: .7rem; }
.itinerary-meal { color: var(--ink) !important; font-weight: 600; }
.lists { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lists { grid-template-columns: 1fr 1fr; } }
.lists div { background: var(--white); border-radius: var(--radius); padding: 22px; }
.lists h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 18px; margin-bottom: .75rem; }
.lists ul { list-style: none; display: grid; gap: 10px; }
.lists li { position: relative; padding-left: 28px; color: #222; font-size: 15px; }
.lists li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-dark); font-weight: 700; }
.lists .is-no li::before { content: "–"; color: #888; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(5, 1fr); }
.gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery img { height: 120px; } }
.route-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 1rem; }
.route-steps span { background: var(--ink); color: var(--white); padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.route-steps i { color: var(--brand-dark); font-style: normal; font-weight: 700; }
.tour-card { position: sticky; top: 110px; background: var(--ink); color: var(--white); padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.tour-card h2 { color: var(--white); font-size: 26px; }
.tour-card .price { font-family: var(--font-display); font-size: 24px; color: var(--brand-light); text-transform: uppercase; }
.tour-card p { color: #d3d3d3; font-size: 15px; }
.tour-card .btn { width: 100%; }
.tour-card .summary { margin-top: .5rem; border-top: 1px solid #333; padding-top: 14px; display: grid; gap: 8px; }
.tour-card .summary span { font-size: 14px; color: #d3d3d3; }
.tour-card .summary b { color: var(--brand-light); font-weight: 600; margin-right: 6px; }
.tour-back { color: var(--brand-light); font-size: 14px; text-align: center; }
@media (max-width: 640px) { .tour-hero h1 { font-size: 32px; } .facts { grid-template-columns: 1fr; } }

/* Tour map */
.route-line { color: #333; font-size: 16px; margin-bottom: 1.25rem; }
.tour-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cream-dark); background: var(--white); box-shadow: 0 10px 28px rgba(19,19,19,.14); }
.tour-map iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.85) contrast(1.05) brightness(.98); }
.map-link { display: inline-block; margin-top: 1rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--brand-dark); }
.map-link:hover { color: var(--ink); }

/* Reviews band (TripAdvisor link) */
.reviews-band { padding: 56px 0; background: var(--cream-dark); }
.reviews-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 900px) { .reviews-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.reviews-band h2 { font-size: 30px; margin: .75rem 0 .5rem; }
.reviews-band h2 .script { font-size: 38px; text-transform: none; color: var(--brand-dark); }
.reviews-band p { color: #333; max-width: 560px; }
.btn-tripadvisor { background: #00aa6c; color: var(--white); border-color: #00aa6c; }
.btn-tripadvisor svg { width: 22px; height: 22px; }
.btn-tripadvisor:hover { background: var(--ink); border-color: var(--ink); }

.tour-reviews .btn-tripadvisor { margin-top: .5rem; }
.tour-reviews p { color: #333; margin-bottom: 1.25rem; }

/* Related tours on tour page */
.related-tours { padding: 56px 0 64px; background: var(--cream-dark); }
.related-tours .card-img { height: 170px; }
.related-tours .section-head { margin-bottom: 2rem; }

/* Quote form in the tour sidebar */
.tour-form { display: flex; flex-direction: column; gap: 12px; margin-top: .5rem; }
.tour-form label > span { display: block; font-size: 13px; color: #d3d3d3; margin-bottom: 4px; }
.tour-form input[type="text"], .tour-form input[type="email"], .tour-form input[type="tel"], .tour-form input[type="date"], .tour-form select, .tour-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #3a3a3a; border-radius: 6px; font: inherit; background: #fff; color: var(--ink); }
.tour-form textarea { resize: vertical; min-height: 100px; }
.tour-form-check { display: flex; gap: 8px; align-items: flex-start; }
.tour-form-check span { margin: 0; color: #d3d3d3; font-size: 13px; }
.tour-form-check input { margin-top: 3px; accent-color: var(--brand); }
.tour-form .btn { width: 100%; }

/* Booking band above the tab bar */
.tour-booking { background: var(--cream-dark); padding: 40px 0; }
@media (min-width: 900px) { .tour-booking .tour-card { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 40px; align-items: start; } }
.booking-info { display: flex; flex-direction: column; gap: 12px; }
.booking-form { min-width: 0; }
.tour-card-wrap { position: sticky; top: 110px; align-self: start; margin-top: -80px; z-index: 45; }
.tour-card-wrap .tour-card { position: static; }
.route-band-wrap { padding: 56px 0; background: var(--cream-dark); }
.route-band-wrap .route-steps { margin-top: 0; }

/* Hand-drawn route map */
.tour-map-drawn svg { width: 100%; height: auto; display: block; }
.tour-map-drawn { padding: 0; }
.svg-label { font-family: var(--font-display); font-size: 13px; fill: #131313; letter-spacing: .04em; text-transform: uppercase; }
.svg-stops text:not(.svg-label) { font-family: var(--font-display); font-size: 12px; fill: #ffffff; font-weight: 600; }
.svg-stop-strong { fill: #131313 !important; font-size: 13px !important; }
.svg-compass { font-family: var(--font-display); font-size: 14px; fill: #131313; }
.svg-caption { font-size: 12px; color: #666; padding: 8px 12px; background: var(--white); margin: 0; }
.provisional-note { font-size: 14px; color: #8a4b12; background: var(--brand-soft); border-left: 3px solid var(--brand); padding: 10px 14px; border-radius: 6px; margin-bottom: 1rem; }

/* Policy pages */
.policy-body { padding: 56px 0 72px; background: var(--cream); }
.policy-body h2 { font-size: 24px; margin: 2rem 0 .6rem; }
.policy-body p, .policy-body li { color: #333; }
.city-count { position: absolute; top: 10px; right: 10px; background: #0a0908; color: var(--white); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; padding: 4px 9px; border-radius: 4px; margin: 0; }

/* Hero proof card and badges */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 1.75rem; }
@media (min-width: 1100px) { .hero-proof { flex-wrap: nowrap; max-width: none; } .proof-badges { flex-wrap: nowrap; } }
.hero-inner > .hero-proof { max-width: none; }
.proof-card { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0; background: rgba(19,19,19,.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 18px; }
.proof-avatars { display: flex; flex: none; }
.proof-avatars span { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--white); background: center / cover no-repeat; margin-left: -12px; }
.proof-avatars span:first-child { margin-left: 0; }
.proof-number { display: block; font-family: var(--font-display); font-size: 26px; color: var(--brand-light); font-weight: 600; line-height: 1.1; }
.proof-card p { font-size: 14px; color: #f0f0f0; line-height: 1.5; margin: 2px 0 0; }
.proof-badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; flex: none; margin-left: auto; }
.proof-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; color: var(--white); font-weight: 600; max-width: 96px; white-space: normal; }
.proof-badge-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: inline-flex; align-items: center; justify-content: center; color: var(--brand-light); }
.proof-badge-icon svg { width: 22px; height: 22px; }

/* Hero: white eyebrow, orange buttons (logo colour) */
.hero .eyebrow { color: var(--white); }
.hero .btn-primary, .hero .btn-whats { background: var(--brand-light); color: var(--ink); border-color: var(--brand-light); }
.hero .btn-primary:hover, .hero .btn-whats:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* Hero "Ver rutas": white, orange on hover */
.hero .actions .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero .actions .btn-primary:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--ink); }

/* Excursions section: orange background */
.excursions { background: #e2b45d; }
.excursions .section-head p { color: var(--ink); }
.excursions .section-head .bar { background: var(--ink); }

/* "¿Por qué viajar con nosotros?" section: orange background */
.why-band { background: var(--brand-light); }
.why-band .section-head p { color: var(--ink); }
.why-band .section-head .bar { background: var(--ink); }

/* "Nuestras Rutas" section: orange background */
.rutas-band { background: var(--brand-light); }
.rutas-band .section-head p { color: var(--ink); }
.rutas-band .section-head .bar { background: var(--ink); }

/* Home page: white section backgrounds, except Sobre Marruecos (dark) and the photo call-to-action */
body:not(.inner-page) main section:not(#sobre-marruecos):not(.cta) { background: #ffffff; }

/* Tour cards: black border */
.card { border: 2px solid #0a0908; }

/* Tour card buttons: orange */
.card-body .btn { background: var(--brand-light); color: var(--ink); }
.card-body .btn:hover { background: var(--ink); color: var(--white); }

/* "Nuestras Rutas" section: light grey background */
body:not(.inner-page) main section.rutas-band { background: #efefef; }

/* Short description on tour cards */
.card-desc { font-size: 14px; color: #444; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Tour card rating (shown only when real figures are set in config) */
.card-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.card-stars { display: inline-flex; gap: 2px; }
.card-stars svg { width: 16px; height: 16px; }
.card-stars svg.on { fill: var(--brand-dark); }
.card-stars svg.off { fill: #d8d2c6; }

/* FAQ: heading and questions on the left, photo on the right, both starting at the top */
#faq .faq-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { #faq .faq-layout { grid-template-columns: 1.3fr .7fr; } }
#faq .faq-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); margin: 0; }
#faq .faq-main .section-head { margin-bottom: 2rem; }

/* Tour card photos: taller */
.card-img { height: 250px; }

/* Header: frosted, semi-transparent glass like the proof card */
.header { background: rgba(19,19,19,.12); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* Blog: listing, article page and home cards */
.blog-body { padding: 64px 0; }
.blog-home { padding: 64px 0; }
.article-body { padding: 64px 0; }
.article-inner { max-width: 760px; }
.article-inner h2 { font-size: 28px; margin: 2.25rem 0 .75rem; }
.article-inner p { color: #333; margin-bottom: 1rem; line-height: 1.7; }
.article-inner ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; color: #333; }
.article-inner li { margin-bottom: .5rem; line-height: 1.6; }
@media (min-width: 1024px) { .blog-home .grid { grid-template-columns: repeat(4, 1fr); } }

/* Rutas mega menu (desktop) and its submenu (mobile) */
.nav > li { position: relative; }
.mega { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(880px, 94vw); padding-top: 14px; z-index: 60; }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; padding: 18px; background: var(--ink); border-radius: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.nav .mega-grid .mega-item { display: block; padding: 0; border: 0; border-radius: 0; background: none; color: var(--white); font-family: var(--font-sans); font-size: 14px; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.nav .mega-grid .mega-item:hover { background: none; color: var(--brand-light); border-color: transparent; }
.mega-photo { display: block; height: 110px; border-radius: 6px; background-size: cover; background-position: center; margin-bottom: 8px; }
.mega-item:hover .mega-photo { opacity: .85; }
.mega-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.mega-item small { display: block; color: #bdbdbd; font-size: 12px; margin-top: 2px; }
.mobile-sub { display: block; padding: .6rem 0 .6rem 1.25rem; border-bottom: 1px solid #2a2a2a; color: #cfcfcf; font-family: var(--font-sans); font-size: 14px; }

/* Phone: compact top bar, no stray dividers */
@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; gap: 4px 14px; padding-top: 4px; padding-bottom: 4px; }
  .topbar-contact, .topbar-social { gap: 12px; justify-content: center; }
  .topbar-divider { display: none; }
}

/* Phone header: no top bar, logo moved right, menu button moved left */
@media (max-width: 640px) {
  .header .topbar { display: none; }
  .header .logo { position: relative; left: 12px; }
  .menu-btn { margin-right: 14px; }
}

/* Phone hero: no +150K block, smaller buttons on one row, smaller intro, dots clear of the text */
@media (max-width: 640px) {
  .hero-proof { display: none; }
  .hero p.lead { font-size: 14px; }
  .hero .actions { flex-direction: row; flex-wrap: nowrap; gap: .5rem; max-width: none; }
  .hero .actions .btn { flex: 1; padding: .6rem .5rem; font-size: 12px; white-space: nowrap; }
  .hero-inner { padding-right: 44px; }
  .hero-dots { right: 8px; gap: 8px; }
}

/* Phone: key facts strip in one row, destinations as a swipe slider */
@media (max-width: 899px) {
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-item { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 4px; }
  .strip-item:nth-child(4) { border-right: 0; }
  .strip-item svg { width: 20px; height: 20px; }
  .strip-item strong { font-size: 11px; line-height: 1.2; }
  .strip-item span { font-size: 10px; line-height: 1.2; }
  .cities { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: none; }
  .cities::-webkit-scrollbar { display: none; }
  .city { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Phone: why-us cards two per row, planning buttons small and side by side */
@media (max-width: 639px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cta .actions { flex-wrap: nowrap; gap: .5rem; }
  .cta .actions .btn { flex: 1; padding: .6rem .5rem; font-size: 12px; white-space: nowrap; }
}

/* Phone: tour tags on one small line, tour gallery as a swipe slider */
@media (max-width: 640px) {
  .tour-tags { flex-wrap: nowrap; gap: 6px; }
  .tour-tags span { padding: 5px 8px; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery img { flex: 0 0 75%; height: 180px; scroll-snap-align: start; }
}

/* Phone: space between the TripAdvisor block and the booking box */
@media (max-width: 959px) {
  .tour-card-wrap { margin-top: 32px; }
}

/* Destinations: swipe/arrow slider on every screen size */
.cities-slider { position: relative; }
.cities { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: none; }
.cities::-webkit-scrollbar { display: none; }
.city { flex: 0 0 72%; scroll-snap-align: start; height: 150px; }
@media (min-width: 640px) { .city { flex-basis: calc(50% - 6px); } }
@media (min-width: 900px) { .city { flex-basis: calc(25% - 9px); height: 200px; } }
.cities-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.cities-nav button { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.cities-nav button:hover { background: var(--brand); border-color: var(--brand); }

/* Footer intro text above the social links */
.footer-about { margin: 0 0 1rem; color: #bdbdbd; font-size: 14px; line-height: 1.6; max-width: 420px; }
