
:root {
  --ridge: #26413C;        
  --ridge-dark: #172A26;
  --ember: #C1652E;        
  --ember-light: #E0955C;
  --cream: #F6F2E9;
  --charcoal: #221F1A;
  --muted: #756F63;
  --border: #DDD4C4;
  --live: #2BA84A;
  --preview: #2E7FBE;
  --paid: #8A5A9E;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--charcoal); line-height: 1.55; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; }
a { color: var(--ridge); }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }


.site-header { background: var(--cream); padding: 1rem 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-heading); font-size: 1.4rem; color: var(--ridge); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: .6rem; }
.brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav__links a { color: var(--charcoal); text-decoration: none; font-size: .9rem; font-weight: 700; }
.nav__links a:hover { color: var(--ember); }
.build-badge { display: inline-block; background: var(--ember); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }


.hero {
  color: var(--cream); padding: 4.5rem 1.5rem 4rem;
  background:
    linear-gradient(100deg, rgba(23,42,38,.94) 0%, rgba(23,42,38,.82) 28%, rgba(23,42,38,.45) 58%, rgba(23,42,38,.18) 100%),
    var(--hero-bg-url, none) center 62% / cover no-repeat, var(--ridge);
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero .eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-light); margin-bottom: .9rem; }
.hero h1 { font-size: 2.6rem; line-height: 1.14; margin-bottom: 1.1rem; color: var(--white); }
.hero p.lead { max-width: 520px; color: rgba(246,242,233,.85); font-size: 1.05rem; margin-bottom: 1.6rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: 1.7rem; }
.intro-slot { display: flex; flex-direction: column; gap: .6rem; }
.intro-inline-player { width: 280px; max-width: 100%; }
.intro-inline-player[hidden] { display: none; } 
.trust-row { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .82rem; color: #cfc7b3; }
.trust-row span { display: flex; align-items: center; gap: .45rem; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember-light); flex: none; }
.hero-photo-credit { font-size: .68rem; color: rgba(246,242,233,.5); margin-top: .9rem; }
.hero-visual { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 1.25rem; }
.hero-visual .stop-card { background: #fbf7ee; border-radius: 11px; padding: 1rem; color: var(--charcoal); }
.hero-visual .stop-tag { display: inline-block; background: var(--preview); color: #fff; font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; letter-spacing: .03em; margin-bottom: .5rem; }
.hero-visual h4 { margin: 0 0 .25rem; font-size: 1.05rem; }
.hero-visual .sub { font-size: .78rem; color: var(--muted); margin-bottom: .75rem; }
.hero-visual .caption { font-size: .75rem; color: #cfc7b3; text-align: center; margin-top: .75rem; }
.mini-player, .big-player { display: flex; align-items: center; gap: .7rem; background: var(--cream); border-radius: 9px; padding: .55rem .75rem; }
.big-player { background: var(--white); border: 1px solid var(--border); padding: .9rem 1rem; }
.mini-player .play, .big-play { width: 30px; height: 30px; border-radius: 50%; background: var(--ridge); display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; border: none; }
.big-play { width: 44px; height: 44px; }
.mini-player .play svg, .big-play svg { width: 12px; height: 12px; }
.big-play svg { width: 16px; height: 16px; }
.mini-bar, .big-bar { flex: 1; height: 4px; background: #d9cfb8; border-radius: 3px; position: relative; }
.big-bar { height: 5px; margin-bottom: .35rem; }
.mini-bar__fill, .big-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--ember); border-radius: 3px; }
.mini-time { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.big-times { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }


.section { padding: 3rem 0; }
.section--cream { background: var(--cream); }
.section-title { margin-bottom: 1.5rem; }
.section-title h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.section-title p { color: var(--muted); }


.audio-section { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.audio-card { max-width: 760px; margin: 0 auto; background: var(--cream); border: 1px solid var(--border); border-radius: 16px; padding: 1.9rem 1.9rem 1.6rem; }
.audio-top { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.1rem; }
.guide-badge { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(160deg, var(--ember), #a4531f); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-heading); font-size: 1.4rem; flex: none; }
.audio-top h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.audio-top .role { font-size: .82rem; color: var(--muted); }
.audio-note { font-size: .75rem; color: var(--muted); font-style: italic; margin: .6rem .1rem 0; }


.map-section { background: var(--cream); }
.map-frame { max-width: 1000px; margin: 0 auto; background: var(--ridge-dark); border-radius: 16px; padding: 1.1rem; }
.map-caption-row { display: flex; justify-content: space-between; align-items: center; padding: .3rem .4rem 0; flex-wrap: wrap; gap: .6rem; }
.map-caption-row .left { font-size: .78rem; color: #dfd6bd; }
.map-legend { display: flex; gap: 1rem; font-size: .75rem; color: #e7dfc9; }
.map-legend span { display: flex; align-items: center; gap: .4rem; }
.map-legend .dot { width: 9px; height: 9px; border-radius: 50%; }
.map-legend .dot.live { background: var(--ember); }
.map-legend .dot.soon { background: transparent; border: 1.5px solid #cfc39f; }
.map-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: .9rem; margin-bottom: .9rem; }
.map-panel { background: #1c3b34; border-radius: 11px; padding: .9rem .9rem .6rem; }
.map-panel-title { font-size: .68rem; color: #dfd6bd; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .5rem; padding: 0 .1rem; }
.zoom-legend { margin-top: .5rem; display: flex; flex-direction: column; gap: .55rem; padding: 0 .1rem; }
.zoom-legend .row { display: flex; align-items: flex-start; gap: .55rem; font-size: .78rem; color: #f0ead9; }
.zoom-legend .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: .2rem; }
.zoom-legend .meta { color: #a9a288; font-size: .72rem; display: block; }
.map-placeholder-note { max-width: 1000px; margin: .75rem auto 0; text-align: center; font-size: .72rem; color: var(--muted); }


.props-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.prop-card { background: var(--white); border: 1px solid var(--border); border-radius: 13px; padding: 1.4rem 1.25rem; }
.prop-card .icon { width: 38px; height: 38px; border-radius: 9px; background: var(--cream); display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; font-size: 1.2rem; }
.prop-card h4 { margin: 0 0 .4rem; font-size: .98rem; }
.prop-card p { margin: 0; font-size: .85rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { }


.stats-row { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.stat { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.5rem; min-width: 140px; }
.stat__num { font-family: var(--font-heading); font-size: 2rem; color: var(--ridge); font-weight: 700; }
.stat__label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }


.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.tour-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, transform .15s; }
.tour-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.tour-card__img { height: 150px; background: var(--ridge-dark); position: relative; }
.tour-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tour-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,42,38,0) 55%, rgba(23,42,38,.55) 100%); }
.tour-card__photo-credit { position: absolute; bottom: 6px; right: 8px; font-size: .58rem; color: rgba(255,255,255,.75); z-index: 1; letter-spacing: .02em; }
.tour-card__body { padding: 1rem 1.1rem; }
.tour-card__type { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ember); margin-bottom: .3rem; }
.tour-card__title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: .5rem; }
.tour-card__meta { font-size: .82rem; color: var(--muted); }
.tours-placeholder-note { max-width: 1000px; margin: .9rem auto 0; text-align: center; font-size: .72rem; color: var(--muted); }
.badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; margin-right: .35rem; }
.badge--preview { background: var(--preview); color: #fff; }
.badge--paid { background: var(--paid); color: #fff; }
.badge--draft { background: #B8AF98; color: #222; }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .7rem 1.2rem; font-size: .85rem; font-weight: 700; letter-spacing: .03em; border-radius: 4px; cursor: pointer; border: none; text-decoration: none; font-family: var(--font-body); }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: #a4531f; }
.btn--outline { background: transparent; border: 1px solid var(--cream); color: var(--cream); }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--dark-outline { background: transparent; border: 1px solid var(--charcoal); color: var(--charcoal); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }


.share-btn { padding: .5rem .9rem; font-size: .78rem; }
.share-btn[disabled] { opacity: .7; cursor: default; }
.footer-share { margin-top: .85rem; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }



.btn.whatsapp-btn { background: #25D366; color: #fff; padding: .5rem .9rem; font-size: .78rem; }
.btn.whatsapp-btn:hover { background: #1ebe5a; color: #fff; }


.site-footer { background: var(--ridge-dark); color: rgba(246,242,233,.75); padding: 2.5rem 0; font-size: .85rem; }
.site-footer a { color: var(--ember-light); }
.footer-grid { display: flex; gap: 3rem; flex-wrap: wrap; justify-content: space-between; }
.footer-col h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.footer-col p, .footer-col li { margin-bottom: .4rem; }
.footer-col ul { list-style: none; }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(246,242,233,.15); font-size: .78rem; opacity: .7; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .nav__links { gap: .8rem; font-size: .8rem; }
}


.tour-card__img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background:
    linear-gradient(160deg, #3A5A52 0%, #26413C 55%, #1D3330 100%);
}


.player-hero__desc { max-width: 62ch; margin: .9rem 0 0; font-size: .95rem; line-height: 1.65; opacity: .92; }


.offline-save { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: .8rem 0 0; }
.offline-save__status { font-size: .8rem; opacity: .85; }
.touring-tips { margin: 1rem 0 0; padding: .8rem 1rem; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; font-size: .85rem; line-height: 1.6; background: rgba(255,255,255,.5); }


.stop-item__manual-hint { font-style: italic; opacity: .75; }


.btn--save-offline { background: transparent; border: 1.5px solid var(--ridge, #26413C); color: var(--ridge, #26413C); }
.btn--save-offline:hover { background: rgba(38,65,60,.08); }


.autoplay-toggle { display: flex; align-items: flex-start; gap: .5rem; margin-top: .6rem; font-size: .85rem; cursor: pointer; }
.autoplay-toggle input { margin-top: .2rem; }
.autoplay-toggle__hint { display: block; font-size: .74rem; color: var(--muted); font-weight: 400; }


.wakelock-indicator { display: block; font-size: .72rem; color: var(--accent, #C1652E); font-weight: 600; margin-top: .2rem; }


.chrome-ios-notice {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: #FFF3E0; border: 1px solid #F0C089; border-radius: 8px;
  padding: .7rem 1rem; margin-bottom: 1rem; font-size: .85rem; color: var(--charcoal, #26413C);
}
.chrome-ios-notice .btn { flex-shrink: 0; }


@font-face { font-family: 'Fraunces Atlas'; font-style: normal; font-weight: 100 900; font-display: optional;
  src: url('../fonts/atlas/fraunces-latin-opsz-normal.woff2') format('woff2-variations'),
       url('../fonts/atlas/fraunces-latin-opsz-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans Atlas'; font-style: normal; font-weight: 600; font-display: optional;
  src: url('../fonts/atlas/public-sans-latin-600-normal.woff2') format('woff2'); }

:root {
  --brand21-green: #163B2E; --brand21-green-dark: #0E241C; --brand21-gold: #C9A227;
  --brand21-paper: #FBF8F1; --brand21-cream: #F6F1E4; --brand21-ink: #2B2B27;
}
.atlas-lockup { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--brand21-green); text-decoration: none; }
.atlas-lockup .atlas-mark { width: 32px; height: 32px; flex: none; }
.atlas-lockup__words { display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.atlas-lockup__name {
  font-family: 'Fraunces Atlas', Georgia, 'Times New Roman', serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.015em; line-height: 1;
  text-transform: uppercase; color: var(--brand21-green);
}
.atlas-lockup__descriptor {
  font-family: 'Public Sans Atlas', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600; font-size: 9.5px; line-height: 1; text-transform: uppercase;
  letter-spacing: 0.17em; color: var(--brand21-green); opacity: .82;
}
.atlas-lockup__place { font-size: 15px; font-weight: 500; color: #56605C; line-height: 1; }

@media (max-width: 359px) {
  .atlas-lockup__descriptor, .atlas-lockup__place { display: none; }
  .atlas-lockup .atlas-mark { width: 26px; height: 26px; }
}

.site-footer { background: var(--brand21-green-dark); }
.atlas-footer__lockup { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--brand21-paper); }
.atlas-footer__lockup .atlas-mark { width: 30px; height: 30px; flex: none; }
.atlas-footer__lockup .atlas-lockup__name,
.atlas-footer__lockup .atlas-lockup__descriptor { color: var(--brand21-paper); }


.atlas-contact { color: inherit; text-decoration: underline; display: inline-block; min-height: 44px; line-height: 44px; }
.atlas-contact-row { margin: 0 0 8px; }


.mail-panel { border: 0; border-radius: 20px; padding: 24px; width: min(92vw, 420px);
  background: #FFFFFF; color: #2B2B27; box-shadow: 0 18px 48px rgba(14,36,28,.28); }
.mail-panel::backdrop { background: rgba(14, 36, 28, 0.6); }
.mail-panel__title { font-size: 26px; margin: 0 0 6px; }
.mail-panel__lead { margin: 0; color: #56605C; }
.mail-panel__addr { margin: 4px 0 16px; font-size: 20px; font-weight: 600; color: #163B2E;
  word-break: break-all; user-select: all; }
.mail-panel__actions { display: flex; flex-direction: column; gap: 10px; }
.mail-panel__btn { display: flex; align-items: center; justify-content: center; min-height: 52px;
  border-radius: 999px; border: 1.5px solid #163B2E; background: transparent; color: #163B2E;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; }
.mail-panel__btn--primary { background: #163B2E; color: #fff; }
.mail-panel__btn:hover { background: #E3EAE6; color: #163B2E; }
.mail-panel__btn--primary:hover { background: #0E241C; color: #fff; }
.mail-panel__btn:focus-visible, .mail-panel__close:focus-visible { outline: 3px solid #163B2E; outline-offset: 2px; }
.mail-panel__toast { margin: 12px 0 0; min-height: 1.4em; font-weight: 600; color: #163B2E; }
.mail-panel__close { margin-top: 10px; width: 100%; min-height: 44px; border: 0; background: none;
  color: #56605C; font: inherit; text-decoration: underline; cursor: pointer; }
.mail-panel__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%); white-space: nowrap; }
