/* Al Haramain Travels — original site system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1B3D32;
  --green-deep: #0E241D;
  --gold: #B8956A;
  --gold-dark: #9A7A52;
  --sand: #F6F3EE;
  --paper: #FBFAF7;
  --line: #E2DCD3;
  --ink: #1C1916;
  --muted: #6B6560;
  --wa: #1FAF55;
  --font-d: 'Libre Baskerville', Georgia, serif;
  --font-b: 'Outfit', system-ui, sans-serif;
  --max: 1120px;
  --r: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--paper); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 400; line-height: 1.2; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: none; border-radius: var(--r);
  font-weight: 600; font-size: .88rem; letter-spacing: .02em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: #1a1510; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-forest { background: var(--green); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }
.btn-cta { background: var(--gold); color: #1a1510; }
.btn-brand { background: var(--green); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,250,247,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.logo img { height: 48px; width: auto; max-width: min(210px, 46vw); object-fit: contain; }
.logo-footer img { height: 44px; background: #fff; padding: 6px 8px; }
.nav { display: flex; gap: 22px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--green); }
.header-ctas { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .86rem; color: var(--green); }
.header-phone svg { width: 14px; height: 14px; fill: var(--gold-dark); }
.header-phone .hp-label { display: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 17px; height: 1.5px; background: var(--green); }
.mobile-nav { display: grid; gap: 0; padding: 8px 22px 16px; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--green); }
@media (max-width: 960px) {
  .nav, .header-ctas .btn-gold { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-phone .hp-num { display: none; }
  .header-phone .hp-label { display: inline; }
}

/* Hero */
.hero { position: relative; height: clamp(300px, 46vh, 440px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,36,29,.25) 0%, rgba(14,36,29,.75) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 0 0 36px; max-width: 36rem; }
.hero-mark {
  font-family: var(--font-d); font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.08; margin-bottom: 10px;
}
.hero h1 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-family: var(--font-b); font-weight: 400; color: rgba(255,255,255,.9); margin-bottom: 10px; }
.hero-lead { color: rgba(255,255,255,.72); margin-bottom: 18px; font-size: .94rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .hero { height: clamp(270px, 48vh, 360px); }
  .hero-copy { padding-bottom: 24px; }
}

/* About */
.about { padding: 88px 0; background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.about p { color: var(--muted); margin-bottom: 14px; }
.about-aside { display: grid; gap: 0; border-top: 1px solid var(--line); }
.aside-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.aside-item strong { display: block; font-family: var(--font-d); font-size: 1.15rem; font-weight: 400; margin-bottom: 4px; }
.aside-item span { font-size: .86rem; color: var(--muted); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Care */
.care { padding: 64px 0; border-bottom: 1px solid var(--line); }
.care h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 28px; }
.care-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.care-list li {
  padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line);
  font-weight: 500; font-size: .95rem;
  border-right: 1px solid transparent;
}
.care-list li::before { content: '—'; color: var(--gold-dark); margin-right: 10px; }
@media (max-width: 700px) { .care-list { grid-template-columns: 1fr; } }

/* Departures / journey rows */
.departures { padding: 80px 0 72px; }
.dep-head { max-width: 34rem; margin-bottom: 28px; }
.dep-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 10px; }
.dep-head p { color: var(--muted); }

.journey-list { display: block; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pkg-grid { grid-template-columns: 1fr; } }

.pkg-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s var(--ease);
}
.pkg-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.pkg-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.pkg-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.pkg-card:hover .pkg-photo img { transform: scale(1.04); }
.pkg-badge {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: #1a1510;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 2px; padding: 5px 10px;
}
.pkg-nights {
  position: absolute; bottom: 12px; left: 12px; background: rgba(14,36,29,.82); color: #fff;
  font-size: .72rem; font-weight: 600; border-radius: 2px; padding: 5px 10px;
}
.pkg-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pkg-tier-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pkg-month {
  font-size: .7rem; font-weight: 700; color: var(--green); text-transform: uppercase;
  letter-spacing: .06em; background: var(--sand); border-radius: 2px; padding: 3px 8px;
}
.pkg-name { font-family: var(--font-d); font-size: 1.2rem; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.pkg-name a:hover { color: var(--green); }
.pkg-features { border-top: 1px solid var(--line); margin-bottom: 8px; }
.pkg-features li {
  display: flex; align-items: center; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink);
}
.pkg-features li:last-child { border-bottom: none; }
.pkg-features li svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--green); fill: none; stroke-width: 1.8; }
.pkg-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.pkg-price small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); }
.pkg-price .amt { font-family: var(--font-d); font-size: 1.55rem; color: var(--green); line-height: 1.1; }
.pkg-price .amt em { font-style: normal; font-size: .75rem; font-family: var(--font-b); color: var(--muted); font-weight: 600; }
.pkg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.pkg-actions .btn-quote { grid-column: 1 / -1; width: 100%; justify-content: center; }
.icon-btn {
  height: 42px; border: none; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: #fff;
}
.icon-btn svg { width: 15px; height: 15px; fill: #fff; }
.icon-btn.call { background: var(--green); }
.icon-btn.call:hover { background: var(--green-deep); }
.icon-btn.wa { background: var(--wa); }

/* legacy journey styles unused but kept harmless */
.journey { display: none; }

/* Guidance */
.guidance { padding: 80px 0; background: var(--green-deep); color: #fff; }
.guidance .eyebrow { color: var(--gold); }
.guidance h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 14px; }
.guidance p { color: rgba(255,255,255,.75); margin-bottom: 18px; max-width: 28rem; }
.guidance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.guide-points { margin-top: 8px; }
.guide-points li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: .92rem; }
.guide-form { background: #fff; color: var(--ink); padding: 28px; border-radius: var(--r); }
.guide-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { margin-top: 12px; font-size: .76rem; color: var(--muted); text-align: center; }
@media (max-width: 800px) { .guidance-grid { grid-template-columns: 1fr; } }

/* Fields */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .75rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,61,50,.1);
}
.field input.error, .field select.error { border-color: #b44; }
.field .err-msg { display: none; color: #b44; font-size: .74rem; font-weight: 600; margin-top: 4px; }
.field.show-err .err-msg { display: block; }
.contact-fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.contact-fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-fields { grid-template-columns: 1fr; } }

/* Cities */
.haramain { padding: 80px 0 0; }
.haramain h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 28px; }
.city-pair { display: grid; grid-template-columns: 1fr 1fr; }
.city-panel { position: relative; min-height: 420px; overflow: hidden; color: #fff; }
.city-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(14,36,29,.9) 100%); }
.city-text { position: relative; z-index: 1; padding: 36px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.city-text h3 { font-size: 2.2rem; margin-bottom: 8px; }
.city-text p { color: rgba(255,255,255,.82); max-width: 22rem; font-size: .95rem; }
@media (max-width: 700px) { .city-pair { grid-template-columns: 1fr; } .city-panel { min-height: 320px; } }

/* Words */
.words { padding: 80px 0; background: var(--sand); }
.words h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 36px; }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote-row blockquote { border-top: 2px solid var(--gold); padding-top: 18px; }
.quote-row p { font-family: var(--font-d); font-size: 1.15rem; font-style: italic; margin-bottom: 14px; line-height: 1.45; }
.quote-row cite { font-style: normal; font-size: .84rem; color: var(--muted); font-weight: 500; }
@media (max-width: 800px) { .quote-row { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding: 72px 0 80px; }
.faq-inner { max-width: 680px; }
.faq h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold-dark); font-family: var(--font-d); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-a { padding: 0 0 16px; color: var(--muted); font-size: .92rem; }

/* Closing */
.closing { padding: 88px 0; background: var(--green); color: #fff; text-align: center; }
.closing h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; margin-bottom: 12px; }
.closing p { color: rgba(255,255,255,.75); max-width: 28rem; margin: 0 auto 28px; }
.closing .btn-line { border-color: rgba(255,255,255,.4); }

/* Footer */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.62); padding: 52px 0 96px; font-size: .86rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; margin-bottom: 32px; }
.footer-brand p { margin-top: 14px; max-width: 22rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.site-footer h4 { color: #fff; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; font-family: var(--font-b); }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .74rem; color: rgba(255,255,255,.4); }
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; display: none;
  grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
  background: rgba(251,250,247,.97); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.sticky-bar .btn { padding: 12px 8px; font-size: .78rem; }
@media (max-width: 860px) { .sticky-bar { display: grid; } body { padding-bottom: 72px; } }
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
}
.float-wa svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .float-wa { display: none; } }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 120; background: rgba(14,36,29,.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal { background: #fff; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; position: relative; }
.modal-close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: none;
  border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; font-size: 1.2rem; z-index: 2;
}
.modal-hero { position: relative; height: 110px; overflow: hidden; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,36,29,.85), transparent); }
.modal-hero .mh-txt { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; color: #fff; }
.modal-hero .mh-txt b { font-family: var(--font-d); font-size: 1.1rem; display: block; }
.modal-body { padding: 20px; }
.modal-body .m-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.modal-body .m-price-row .amt { font-family: var(--font-d); font-size: 1.4rem; color: var(--green); }
.modal-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 10px; }
.stars { color: var(--gold-dark); }

/* Detail page */
.breadcrumb { padding: 16px 0 0; font-size: .8rem; color: var(--muted); }
.breadcrumb .sep { margin: 0 6px; color: var(--line); }
.detail-hero { padding: 16px 0 0; }
.dh-gallery { display: grid; grid-template-columns: 2.2fr 1fr; gap: 8px; overflow: hidden; }
.dh-gallery .g-main { position: relative; aspect-ratio: 16/8.5; }
.dh-gallery .g-main img, .dh-gallery .g-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dh-gallery .g-side { display: grid; gap: 8px; grid-template-rows: 1fr 1fr; }
.dh-gallery .g-side > div { position: relative; overflow: hidden; }
.dh-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #1a1510; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; z-index: 2; }
@media (max-width: 720px) { .dh-gallery { grid-template-columns: 1fr; } .dh-gallery .g-side { display: none; } }

.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding: 28px 0 70px; align-items: start; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } }
.d-main h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.d-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: .86rem; margin: 10px 0 24px; }
.d-meta span { display: inline-flex; align-items: center; gap: 6px; }
.d-meta svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2; }
.d-section { margin-bottom: 28px; }
.d-section h2 { font-size: 1.3rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.d-section p { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.hotel-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .hotel-cards { grid-template-columns: 1fr; } }
.hotel-card { border: 1px solid var(--line); padding: 16px; background: #fff; }
.hotel-card .hc-city { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.hotel-card b { display: block; margin-bottom: 4px; }
.hotel-card small { color: var(--muted); font-size: .82rem; display: flex; align-items: center; gap: 6px; }
.hotel-card small svg { width: 13px; height: 13px; stroke: var(--green); fill: none; stroke-width: 2; }
.hotel-card .hc-nights { margin-top: 10px; display: inline-block; background: var(--sand); color: var(--green); font-size: .72rem; font-weight: 600; padding: 4px 10px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid .c { display: flex; gap: 8px; font-size: .88rem; font-weight: 500; }
.check-grid .c svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }
.check-grid .c.no { color: var(--muted); }
.check-grid .c.no svg { stroke: #b44; }
.itin { display: grid; gap: 8px; }
.itin-item { border: 1px solid var(--line); background: #fff; }
.itin-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px; font-weight: 600; font-size: .9rem; }
.itin-item summary::-webkit-details-marker { display: none; }
.itin-item summary .day { background: var(--sand); color: var(--green); font-size: .7rem; font-weight: 700; padding: 4px 8px; }
.itin-item summary::after { content: '+'; margin-left: auto; color: var(--gold-dark); font-family: var(--font-d); }
.itin-item[open] summary::after { content: '−'; }
.itin-item .itin-body { padding: 0 14px 14px; color: var(--muted); font-size: .88rem; }

.d-sidebar { position: sticky; top: 90px; }
.quote-card { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.quote-card .qc-head { background: var(--green); color: #fff; padding: 16px 18px; }
.quote-card .qc-head small { display: block; font-size: .74rem; color: rgba(255,255,255,.7); }
.quote-card .qc-head .amt { font-family: var(--font-d); font-size: 1.7rem; }
.quote-card .qc-head .amt em { font-style: normal; font-size: .8rem; font-family: var(--font-b); color: rgba(255,255,255,.7); }
.quote-card .qc-head .dep { display: inline-block; margin-top: 8px; border: 1px solid rgba(184,149,106,.5); color: var(--gold); font-size: .72rem; font-weight: 600; padding: 3px 8px; }
.quote-card .qc-body { padding: 18px; }
.quote-card .qc-body .fields { display: grid; gap: 10px; margin-bottom: 12px; }
.qc-usps { display: grid; gap: 8px; margin: 12px 0; }
.qc-usps .u { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.qc-usps .u svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2.5; flex-shrink: 0; }
.qc-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qc-alt .btn { padding: 10px 8px; font-size: .78rem; }
.btn-soft { background: var(--sand); color: var(--green); }
.d-related { padding: 0 0 72px; }
.d-related .pkg-grid { margin-top: 20px; }

.detail-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(251,250,247,.98); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.detail-bar .db-price small { display: block; font-size: .68rem; color: var(--muted); }
.detail-bar .db-price b { font-family: var(--font-d); font-size: 1.2rem; color: var(--green); }
.detail-bar .db-actions { display: flex; gap: 8px; }
.detail-bar .db-actions .icon-btn {
  height: 40px; padding: 0 12px; border: none; background: var(--green); color: #fff;
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600;
}
.detail-bar .db-actions .icon-btn.wa { background: var(--wa); }
.detail-bar .db-actions .icon-btn svg { width: 14px; height: 14px; fill: #fff; }
@media (max-width: 860px) { .detail-bar { display: flex; } body.detail-page { padding-bottom: 76px; } body.detail-page .sticky-bar { display: none; } }

/* Contact */
.contact-hero { background: var(--green); color: #fff; padding: 56px 0 48px; }
.contact-hero .eyebrow { color: var(--gold); }
.contact-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; margin-bottom: 10px; }
.contact-hero p { color: rgba(255,255,255,.75); max-width: 32rem; }
.contact-wrap { padding: 48px 0 80px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.ci { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci .ti-ico { width: 38px; height: 38px; background: var(--sand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci .ti-ico svg { width: 16px; height: 16px; fill: var(--green); }
.ci b { display: block; font-size: .9rem; }
.ci a, .ci small { color: var(--muted); font-size: .86rem; }
.contact-form-card { border: 1px solid var(--line); background: #fff; padding: 28px; }
.contact-form-card h2 { font-size: 1.4rem; margin-bottom: 6px; }

/* Legal / thank-you */
.legal-page { padding: 56px 0 80px; }
.legal-prose { max-width: 760px; margin-top: 24px; }
.legal-prose h2 { font-size: 1.2rem; margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.legal-prose p, .legal-prose li { color: var(--muted); margin-bottom: 10px; font-size: .94rem; }
.legal-prose ul, .legal-prose ol { padding-left: 1.2em; margin-bottom: 14px; }
.legal-prose ul { list-style: disc; }
.legal-callout { background: var(--sand); border-left: 3px solid var(--gold); padding: 12px 14px; margin: 14px 0; }
.thank-you { padding: 72px 0 90px; background: var(--sand); }
.thank-you-card { max-width: 600px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); padding: 40px 24px; }
.thank-you-card .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.thank-you-card .ok svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 2.5; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 36rem; }

/* Reveal */
body.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
body.js .reveal.in { opacity: 1; transform: none; }
body.js .reveal.d1 { transition-delay: .08s; }
body.js .reveal.d2 { transition-delay: .16s; }
body.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  body.js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Compat aliases used by older markup / JS */
.btn-soft { background: var(--sand); color: var(--green); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.journey-meta { font-size: .84rem; color: var(--muted); }
