/* Tropical Skies of Ceylon — site styles */
:root {
  --ink: #12302f;
  --ink-soft: #46605f;
  --deep: #0d4b4f;
  --deep-2: #083437;
  --sea: #1a7f83;
  --sand: #f6efe4;
  --sand-2: #ede2d0;
  --accent: #e0703a;
  --accent-2: #c95d29;
  --leaf: #4f8a5b;
  --line: #e2dccf;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(18, 48, 47, .06), 0 8px 24px rgba(18, 48, 47, .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16.5px/1.65 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 1.2em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.kicker { font: 600 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .8em; }
.kicker a { color: inherit; }
.lead { font-size: 1.18rem; max-width: 46ch; }
.lead-dark { font-size: 1.15rem; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-2); color: var(--white); }
.btn-outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-outline:hover { background: var(--deep); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--deep); }
.btn-sm { padding: .65em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--deep); white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); }
.brand-mark { width: 38px; height: 38px; color: var(--accent); }
.brand strong { display: block; font: 650 1.2rem/1 var(--serif); color: var(--deep); }
.brand small { display: block; font: 500 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: .55em .8em; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--sand); color: var(--deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Image placeholders */
.ph { width: 100%; background:
  linear-gradient(135deg, rgba(13,75,79,.10), rgba(224,112,58,.10)),
  repeating-linear-gradient(45deg, var(--sand) 0 14px, var(--sand-2) 14px 28px);
  display: grid; place-items: center; color: var(--deep); text-align: center; }
.ph-label { font: 500 .78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 6px; border: 1px dashed rgba(13,75,79,.35); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-img, .page-hero-img { position: absolute !important; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; aspect-ratio: auto !important; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,52,55,.15) 0%, rgba(8,52,55,.35) 45%, rgba(8,52,55,.82) 100%); }
.hero-text { padding: 140px 0 72px; }
.hero h1, .page-hero h1 { color: var(--white); max-width: 16ch; }
.hero .kicker, .page-hero .kicker { color: #ffc49f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero-quote { margin: 0; font: italic 500 1.05rem/1.5 var(--serif); opacity: .9; max-width: 40ch; }
.hero-quote cite { display: block; font: 500 .85rem var(--sans); font-style: normal; opacity: .8; margin-top: 4px; }
.hero .ph-label, .page-hero .ph-label { position: absolute; top: 96px; right: 20px; }
.page-hero { position: relative; color: var(--white); min-height: 380px; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.page-hero-text { padding: 120px 0 48px; }
.page-hero .lead { color: rgba(255,255,255,.92); }

.trust-bar { background: var(--deep); color: rgba(255,255,255,.88); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 18px 0; font-size: .95rem; }
.trust-inner b { color: var(--white); font-family: var(--serif); font-size: 1.15rem; margin-right: 4px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding-bottom: 0; }
.section-sand { background: var(--sand); }
.section-deep { background: var(--deep); color: rgba(255,255,255,.86); }
.section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep .kicker { color: #ffc49f; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-lead { max-width: 75ch; color: var(--ink-soft); margin-bottom: 32px; }
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > div:first-child .ph, .split > div:first-child img { border-radius: var(--radius-lg); }
.split-form { align-items: start; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18,48,47,.06), 0 16px 36px rgba(18,48,47,.12); }
.card-media { position: relative; display: block; overflow: hidden; }
.card-media img { aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform .5s; }
.act-card .card-media img { aspect-ratio: 4/3; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.95); color: var(--deep); font: 600 .78rem/1 var(--sans); padding: .55em .8em; border-radius: 999px; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--sea); }
.card-body > p:not(.tags) { color: var(--ink-soft); font-size: .96rem; }
.card-body .link-arrow { margin-top: auto; }
.card-body ul { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .7em; }
.tags span { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--leaf); background: #eef5ef; padding: .3em .65em; border-radius: 999px; }
.is-hidden { display: none !important; }

.mini-card { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.mini-card img { aspect-ratio: 3/2; object-fit: cover; }
.mini-card > span { display: block; padding: 14px 16px 16px; }
.mini-card b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.mini-card small { color: var(--ink-soft); }

.dest-tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.dest-tile img { aspect-ratio: 4/5; object-fit: cover; transition: transform .6s; }
.dest-tile:hover img { transform: scale(1.04); }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,52,55,.85)); }
.dest-tile > span { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.dest-tile b { display: block; font: 650 1.5rem/1.1 var(--serif); margin-bottom: 4px; }
.dest-tile small { font-size: .92rem; opacity: .9; }
.dest-tile .ph-label { position: relative; z-index: 2; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 36px; }
.why-num { font: 650 .9rem var(--sans); color: #ffc49f; letter-spacing: .1em; }
.why-item h3 { margin: .35em 0; font-size: 1.2rem; }
.why-item p { font-size: .95rem; margin: 0; }
.strength { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.strength p { color: var(--ink-soft); margin: 0; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.vm > div { background: var(--sand); padding: 22px; border-radius: var(--radius); }
.vm p { margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--deep-2), var(--sea)); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 52px 0; }
.cta-band h2 { color: var(--white); margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .9; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Filters / chips */
.filters, .jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 500 .9rem var(--sans); padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--sea); color: var(--sea); }
.chip.is-active { background: var(--deep); border-color: var(--deep); color: var(--white); }

/* Package detail */
.pkg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.pkg-aside { position: sticky; top: 100px; }
.aside-card { background: var(--sand); border-radius: var(--radius-lg); padding: 26px; }
.aside-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 16px; font-size: .95rem; }
.aside-card dt { font-weight: 600; color: var(--ink-soft); }
.aside-card dd { margin: 0; }
.itinerary { list-style: none; padding: 0; margin: 24px 0 32px; position: relative; }
.itinerary::before { content: ""; position: absolute; left: 41px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.day { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 0 0 26px; position: relative; }
.day-num { position: relative; z-index: 1; align-self: start; background: var(--deep); color: var(--white); font: 600 .78rem/1 var(--sans); padding: .7em 0; border-radius: 999px; text-align: center; letter-spacing: .03em; }
.day h3 { font-size: 1.15rem; margin: .2em 0 .35em; }
.day p, .day ul { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.day ul { padding-left: 1.1em; }
.note { background: #fff4ec; border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 6px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.gallery > * { border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; }

/* Day tours */
.tour-card details { margin: .2em 0 1em; }
.tour-card summary { cursor: pointer; font-weight: 600; color: var(--sea); list-style: none; }
.tour-card summary::-webkit-details-marker { display: none; }
.tour-card summary::before { content: "+ "; }
.tour-card details[open] summary::before { content: "– "; }
.tour-card details p, .tour-card details li { font-size: .93rem; color: var(--ink-soft); }
.stops { padding: 0; list-style: none; }
.stops li { margin-bottom: .5em; }
.stops b { color: var(--ink); display: block; }
.inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li::before { content: "✓ "; color: var(--leaf); font-weight: 700; }
.crosses li::before { content: "✕ "; color: var(--accent); font-weight: 700; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 30px; }
.dest-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); align-items: start; }
.dest-card > img, .dest-card > .ph { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.dest-card h3 { font-size: 1.2rem; margin-top: .25em; }
.dest-card h3 small { display: block; font: 500 .8rem var(--sans); color: var(--accent); margin-top: 3px; }
.dest-card ul, .dest-card p { font-size: .93rem; color: var(--ink-soft); }
.dest-card ul { margin: 0; padding-left: 1.1em; }
.species { margin-top: 48px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--white); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--deep); color: var(--white); font-weight: 600; font-size: .9rem; }
tbody tr:last-child > * { border-bottom: 0; }

/* Forms */
.form { display: grid; gap: 16px; }
.card-form { background: var(--white); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 16px; }
legend { font: 650 1.3rem var(--serif); margin-bottom: 12px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .82rem; }
input, select, textarea { font: inherit; color: var(--ink); width: 100%; padding: .8em .95em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(26,127,131,.15); }
.was-validated :invalid { border-color: #c0392b; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.span-2 { grid-column: span 2; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--sea); }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: .5em 1em; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; transition: all .15s; }
.pill input:checked + span { background: var(--deep); border-color: var(--deep); color: var(--white); }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(26,127,131,.25); }
.consent { color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: #c0392b; }
.office-cards { display: grid; gap: 16px; margin-top: 20px; }
.office-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.section-sand .office-card { border-color: var(--sand-2); }
.office-card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.office-card p { margin: 0 0 .3em; font-size: .94rem; }
.map-wrap { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--deep-2); color: rgba(255,255,255,.75); padding-top: 64px; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 44px; }
.brand-footer strong { color: var(--white); }
.brand-footer small { color: rgba(255,255,255,.6); }
.site-footer .muted { color: rgba(255,255,255,.65); margin-top: 14px; }
.social, .footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links { flex-direction: column; gap: 6px; }
.footer-links a, .social a { text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; font-size: .85rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; background: var(--white); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav a { padding: .9em .6em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .grid-3, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .pkg-layout { grid-template-columns: 1fr; }
  .pkg-aside { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .why-grid, .row-2, .row-3, .vm, .inc-exc, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .dest-card { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .itinerary::before { left: 31px; }
  .day { grid-template-columns: 64px 1fr; gap: 12px; }
  .hero-text { padding-top: 110px; }
  .trust-inner { justify-content: flex-start; }
}
