/* ===== STC Escapes — shared styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F9F6F0;
  --sand: #EDE8DF;
  --charcoal: #1C1C1A;
  --mid: #5A5955;
  --accent: #2B6654;
  --accent-light: #E2EDE9;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--charcoal); background: var(--cream); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--sand); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.logo-text { font-family: var(--serif); font-size: 27px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; }
.logo-text em { font-style: italic; font-weight: 500; color: var(--charcoal); }
.footer-wordmark { font-size: 34px; display: inline-block; margin-bottom: 6px; }
.logo-img { height: 44px; width: auto; display: block; }
.footer-logo { height: 90px; width: auto; margin-bottom: 8px; }
.logo span { color: var(--accent); font-style: italic; }
.nav-links { display: flex; gap: 36px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links a { opacity: 0.85; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: 30px 0; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); background: var(--cream); border: 1px solid var(--sand); border-radius: 12px; box-shadow: 0 12px 30px rgba(28,28,26,0.12); padding: 10px; min-width: 240px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 9px 14px; font-size: 13px; text-transform: none; letter-spacing: 0; border-radius: 8px; opacity: 1; color: var(--charcoal); white-space: nowrap; transition: background .12s, color .12s; }
.dropdown a:hover { background: var(--accent-light); color: var(--accent); }
/* wide two-column variant for the full destinations list */
.dropdown.dropdown-wide { left: 0; transform: translateX(0) translateY(6px); min-width: 500px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px 8px; }
.nav-item:hover .dropdown.dropdown-wide, .nav-item:focus-within .dropdown.dropdown-wide { transform: translateX(0) translateY(0); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 26px; font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #234f41; }
.btn-outline { border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.nav .btn { padding: 11px 22px; }

/* Hero — full-bleed immersive */
.hero-fullbleed { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; color: var(--cream); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; display: block; }
.hero-slide.is-active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,20,19,0.72) 0%, rgba(20,20,19,0.5) 45%, rgba(20,20,19,0.25) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1160px; width: 100%; margin: 0 auto; padding: 0 32px; }
.eyebrow { display: inline-block; border: 1px solid rgba(249,246,240,0.5); color: var(--cream); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 26px; backdrop-filter: blur(2px); }
.hero-content h1 { font-family: var(--serif); font-size: 62px; line-height: 1.08; font-weight: 600; margin-bottom: 22px; max-width: 16ch; letter-spacing: -0.5px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-content h1 em { color: #9fd0c0; font-style: italic; }
.hero-content h1 a { color: inherit; text-decoration: none; border-bottom: 2px solid rgba(159,208,192,0.6); transition: border-color .15s; }
.hero-content h1 a:hover { border-bottom-color: #9fd0c0; }
.hero-content p { color: #ECEAE4; font-size: 18px; max-width: 48ch; margin-bottom: 34px; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(249,246,240,0.6); color: var(--cream); }
.hero-actions .btn-outline:hover { background: var(--cream); color: var(--charcoal); }
.hero-caption { display: inline-block; margin-top: 40px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.hero-caption::before { content: "📍 "; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hero-dot.is-active { background: #fff; transform: scale(1.25); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); background: rgba(28,28,26,0.3); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hero-arrow:hover { background: rgba(28,28,26,0.6); }
.hero-prev { left: 24px; }
.hero-next { right: 14px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { height: 240px; border-radius: 14px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 16px; }
.gallery-item span { background: rgba(28,28,26,0.6); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--sand); padding: 64px 0; }
.newsletter-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-family: var(--serif); font-size: 28px; color: var(--charcoal); margin-bottom: 10px; }
.newsletter p { color: var(--mid); font-size: 15px; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 280px; max-width: 340px; border: 1px solid var(--sand); background: #fff; border-radius: 999px; padding: 13px 20px; font-family: var(--sans); font-size: 14px; color: var(--charcoal); }
.newsletter-note { font-size: 12px; color: var(--mid); margin-top: 14px; }
.newsletter-success { display: none; color: var(--accent); font-weight: 500; margin-top: 16px; }

/* Trust strip */
.trust-strip { background: var(--accent-light); padding: 56px 0; }
.trust-title { font-family: var(--serif); font-size: 26px; text-align: center; color: var(--accent); margin-bottom: 36px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { text-align: center; }
.trust-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 18px; }
.trust-item h3 { font-family: var(--serif); font-size: 17px; margin-bottom: 8px; color: var(--charcoal); }
.trust-item p { font-size: 13.5px; color: var(--mid); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow-dark { display: inline-block; color: var(--accent); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.section-head h2 { font-family: var(--serif); font-size: 36px; font-weight: 600; margin-bottom: 14px; }
.section-head p { color: var(--mid); font-size: 16px; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dest-card { border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--sand); }
.dest-image { height: 180px; display: flex; align-items: flex-end; padding: 16px; background-size: cover; background-position: center; }
.dest-image span { background: rgba(28,28,26,0.55); color: var(--white); font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.dest-body { padding: 20px; }
.dest-body h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.dest-body p { color: var(--mid); font-size: 14px; }
.g1 { background: linear-gradient(160deg, #4b8a72, #1f4335); }
.g2 { background: linear-gradient(160deg, #4477a8, #1c3a5c); }
.g3 { background: linear-gradient(160deg, #c07a3e, #7a3f1e); }
.g4 { background: linear-gradient(160deg, #6b7f99, #2c3a4d); }
.g5 { background: linear-gradient(160deg, #b2673f, #5f2f1a); }
.g6 { background: linear-gradient(160deg, #5a9e6f, #24462f); }

/* How it works */
.how { background: var(--cream); }

/* Section background rhythm */
.sec-sand { background: var(--sand); }
.sec-cream { background: var(--cream); }
.sec-feature { background: var(--accent); color: var(--cream); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 34px); }
.sec-feature .section-head h2 { color: var(--cream); }
.sec-feature .section-head .eyebrow-dark { color: #a9d3c6; }
.sec-feature .why-card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
.sec-feature .why-card h3 { color: var(--cream); }
.sec-feature .why-card p { color: #d9e4e0; }
.sec-feature .why-note { color: #c3d3cd; }

/* Full-width image band */
.image-band { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; color: var(--cream); }
.image-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,19,0.5); }
.image-band .band-content { position: relative; z-index: 1; max-width: 640px; padding: 0 32px; }
.image-band .band-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.image-band h2 { font-family: var(--serif); font-size: 40px; font-weight: 600; margin: 14px 0 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.image-band p { font-size: 17px; color: #ECEAE4; margin-bottom: 26px; }
@media (max-width: 700px){ .image-band { background-attachment: scroll; height: 340px; } .image-band h2 { font-size: 30px; } }

/* Interactive globe */
.globe-sec { background: var(--sand); padding: 88px 0; }
.globe-holder { position: relative; width: 600px; max-width: 90vw; margin: 0 auto; }
#globe { width: 100%; height: auto; cursor: grab; touch-action: none; display: block; }
#globe:active { cursor: grabbing; }
.globe-tooltip { position: absolute; pointer-events: none; background: var(--charcoal); color: var(--cream); font-size: 13px; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translate(-50%, -140%); transition: opacity .12s; white-space: nowrap; z-index: 5; }
.globe-hint { text-align: center; color: var(--mid); font-size: 13px; margin-top: 20px; }
.months { background: var(--cream); padding: 88px 0; }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.season-card { position: relative; }
.season-cover { height: 300px; border-radius: 14px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background-size: cover; background-position: center; cursor: pointer; transition: transform .2s; }
.season-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,19,0.78), rgba(20,20,19,0.1)); }
.season-card:hover .season-cover { transform: translateY(-4px); }
.season-cover .s-name { position: relative; z-index: 1; color: #fff; font-family: var(--serif); font-size: 23px; }
.season-cover .s-note { position: relative; z-index: 1; color: rgba(255,255,255,0.85); font-size: 13px; margin-top: 3px; }
.season-cover::after { content: "Hover to see destinations ↓"; position: absolute; top: 16px; left: 20px; z-index: 1; color: rgba(255,255,255,0.9); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.8; }
.season-dropdown { position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; background: var(--white); border: 1px solid var(--sand); border-radius: 14px; box-shadow: 0 18px 40px rgba(28,28,26,0.16); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s; z-index: 40; }
.season-card:hover .season-dropdown, .season-card:focus-within .season-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.sd-head { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 8px; padding: 0 8px; }
.season-dropdown a { display: block; padding: 7px 10px; font-size: 13.5px; color: var(--charcoal); border-radius: 8px; text-decoration: none; transition: background .12s, color .12s; }
.season-dropdown a:hover { background: var(--accent-light); color: var(--accent); }
.sd-note { color: var(--mid); font-size: 11.5px; font-style: italic; }
@media (max-width: 900px) { .season-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .season-grid { grid-template-columns: 1fr; } .season-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 6px; } .season-cover::after { display: none; } }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.how-num { font-family: var(--serif); font-size: 15px; color: var(--accent); border: 1px solid var(--accent); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.how-step h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.how-step p { color: var(--mid); font-size: 14px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; padding: 28px; }
.why-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; }
.why-card p { color: var(--mid); font-size: 14px; }
.why-note { text-align: center; color: var(--mid); font-size: 14px; margin-top: 32px; font-style: italic; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--sand); padding: 22px 0; }
.faq-item h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.faq-item p { color: var(--mid); font-size: 14px; max-width: 62ch; }

/* Contact */
.contact { background: var(--charcoal); color: var(--cream); }
.contact .section-head h2 { color: var(--cream); }
.contact .section-head p { color: #C9C7C0; }
.form-card { background: var(--cream); border-radius: 20px; padding: 40px; max-width: 720px; margin: 0 auto; color: var(--charcoal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--sand); background: var(--white); border-radius: 10px; padding: 12px 14px; font-family: var(--sans); font-size: 14px; color: var(--charcoal); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-full { grid-column: 1 / -1; }
.btn-submit { background: var(--accent); color: var(--white); border: none; border-radius: 999px; padding: 14px 30px; font-size: 15px; font-weight: 500; cursor: pointer; width: 100%; }
.btn-submit:hover { background: #234f41; }
.form-success { display: none; text-align: center; padding: 30px 0; }
.form-success h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--mid); }
.hp-field { position: absolute; left: -9999px; }

/* Footer */
footer { background: var(--cream); border-top: 1px solid var(--sand); padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; color: var(--mid); }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 10px; color: var(--charcoal); }
.atol-box { border: 1px solid var(--sand); border-radius: 12px; padding: 16px; max-width: 360px; font-size: 12.5px; color: var(--mid); line-height: 1.6; }
.atol-box strong { color: var(--charcoal); }
.legal-line { border-top: 1px solid var(--sand); padding-top: 24px; font-size: 12.5px; color: var(--mid); }

/* Social icons */
.social-row { display: flex; gap: 12px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--sand); color: var(--charcoal); transition: background .15s, color .15s, transform .15s; }
.social-icon svg { display: block; margin: auto; }
.social-icon:hover { background: var(--accent); color: var(--white); border-color: var(--accent); transform: translateY(-2px); }

/* Social icons in the top nav */
.nav-social { display: flex; align-items: center; gap: 8px; }
.nav-social .social-icon { width: 32px; height: 32px; }
.nav-social .social-icon svg { width: 16px; height: 16px; }
@media (max-width: 980px) { .nav-social { display: none; } }

/* Team page */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; padding: 24px; text-align: center; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; background: var(--accent-light); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 13px; }
.team-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.team-bio { color: var(--mid); font-size: 14px; }

/* Blog page */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; overflow: hidden; }
.blog-image { height: 180px; background: var(--accent-light); background-size: cover; background-position: center; }
.blog-body { padding: 22px; }
.blog-meta { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.blog-body h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.blog-body p { color: var(--mid); font-size: 14px; }
@media (max-width: 860px) { .team-grid, .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid, .blog-grid { grid-template-columns: 1fr; } }

/* Legal / content pages */
.page-header { background: var(--charcoal); color: var(--cream); padding: 72px 0 56px; }
.page-header-gradient { background: linear-gradient(135deg, #2B6654 0%, #1f4c3e 55%, #143528 100%); position: relative; }
.page-header-gradient::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 32px); pointer-events: none; }
.page-header h1 { font-family: var(--serif); font-size: 40px; font-weight: 600; }
.page-header p { color: #C9C7C0; margin-top: 10px; font-size: 15px; }
.legal { max-width: 800px; margin: 0 auto; padding: 64px 32px 96px; }
.legal h2 { font-family: var(--serif); font-size: 24px; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--mid); font-size: 15px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent); text-decoration: underline; }
.review-flag { background: #FDF3E7; border: 1px solid #E9C89B; border-radius: 12px; padding: 16px 20px; margin-bottom: 32px; font-size: 14px; color: #7a5a2e; }
.review-flag strong { color: #5a4220; }
.tbc { background: #FBE9E9; color: #9a3535; padding: 1px 7px; border-radius: 5px; font-weight: 500; font-size: 0.92em; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .dest-grid, .how-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 30px; }
}
@media (max-width: 560px) {
  .dest-grid, .how-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 28px; }
}
