/* Mein Lanka Tours — palette sampled from the logo */
:root {
  --lagoon: #1c6576;   /* logo teal */
  --deep: #072a33;     /* dark sections, footer */
  --saffron: #e0a63f;  /* logo amber, calls to action */
  --gold-ink: #9a6a12; /* amber dark enough for text on light backgrounds */
  --shell: #fcfbf7;    /* page background */
  --sand: #f4efe3;     /* alternate sections */
  --ink: #10242a;
  --muted: #586a70;
  --line: #e2dccd;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
  --gap: clamp(72px, 10vw, 140px);
  --r-lg: 24px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -32px rgba(7, 42, 51, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--body);
  color: var(--ink);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lagoon); text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--saffron); }
p { margin: 0; max-width: 60ch; text-wrap: pretty; }
::selection { background: var(--saffron); color: var(--deep); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--gap); }
.section--sand { background: var(--sand); }
.section--deep { background: var(--deep); color: #e6eeee; position: relative; overflow: hidden; }
.section--deep::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 166, 63, .16), transparent 65%); pointer-events: none; }
.section--deep > * { position: relative; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a:not(.btn) { color: var(--saffron); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }
.section--deep .lead { color: #a9c0c4; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 10px 14px; }

/* Small italic line above a heading */
.kicker { display: flex; align-items: center; gap: 14px; font: italic 500 1.15rem/1.2 var(--display); color: var(--gold-ink); }
.kicker::before { content: ""; width: 44px; height: 1px; background: currentColor; flex: none; }
.section--deep .kicker, .hero .kicker, .page-head .kicker { color: var(--saffron); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1.1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold { background: var(--saffron); color: var(--deep); box-shadow: 0 14px 28px -14px rgba(224, 166, 63, .9); }
.btn--gold:hover { background: #ecb654; }
.btn--teal { background: var(--deep); color: #fff; }
.btn--teal:hover { background: var(--lagoon); }
.btn--line { border-color: rgba(16, 36, 42, .28); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--deep); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: transparent over the photo at the top of a page, solid after scrolling */
site-header { display: block; position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(252, 251, 247, .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transition: background-color .3s ease, box-shadow .3s ease; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; transition: min-height .3s ease; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--lagoon); }
.brand img { height: 52px; width: auto; }
.brand .logo-light { display: none; }
.brand span { font: 700 1.2rem/1 "Montserrat", var(--body); letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; padding: 10px 13px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; padding: 13px 22px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, background-color .2s ease; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.open .menu-btn span { background: transparent; }
.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

site-header.top:not(.open) { background: transparent; backdrop-filter: none; box-shadow: none; }
site-header.top:not(.open) .bar { min-height: 96px; }
site-header.top:not(.open) .brand, site-header.top:not(.open) .nav a:not(.btn) { color: #fff; }
site-header.top:not(.open) .logo-dark { display: none; }
site-header.top:not(.open) .logo-light { display: block; }
site-header.top:not(.open) .menu-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
site-header.top:not(.open) .menu-btn span, site-header.top:not(.open) .menu-btn span::before, site-header.top:not(.open) .menu-btn span::after { background: #fff; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 28px; background: var(--shell); box-shadow: 0 30px 40px -24px rgba(7, 42, 51, .4); max-height: calc(100svh - 78px); overflow-y: auto; }
  .open .nav { display: flex; }
  .nav a:not(.btn) { padding: 15px 2px; font: 500 1.5rem/1.2 var(--display); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current] { color: var(--gold-ink); font-style: italic; }
  .nav .btn { margin: 22px 0 0; }
}
@media (max-width: 400px) { .brand span { font-size: 1.02rem; } .brand img { height: 44px; } }

/* Home hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 16s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(5, 30, 37, .9) 0%, rgba(5, 30, 37, .6) 42%, rgba(5, 30, 37, .1) 100%), linear-gradient(0deg, rgba(5, 30, 37, .75) 0%, transparent 38%), linear-gradient(180deg, rgba(5, 30, 37, .55) 0%, transparent 22%); }
@media (max-width: 700px) { .hero::before { background: linear-gradient(0deg, rgba(5, 30, 37, .9), rgba(5, 30, 37, .5)); } }
.hero .wrap { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-block: 140px 190px; }
.hero h1 { max-width: 12ch; }
.hero p:not(.kicker) { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; color: #dde9ea; }
.hero .wrap > * { animation: rise .9s var(--ease) both; }
.hero .wrap > :nth-child(2) { animation-delay: .1s; }
.hero .wrap > :nth-child(3) { animation-delay: .2s; }
.hero .wrap > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes settle { from { transform: scale(1.14); } }
.badge { position: absolute; right: var(--pad); bottom: 150px; display: grid; gap: 2px; padding: 16px 22px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(14px); color: #fff; text-decoration: none; animation: rise .9s var(--ease) .5s both; }
.badge b { font: 500 1.9rem/1 var(--display); }
.badge b span { color: var(--saffron); font-size: 1rem; letter-spacing: 3px; margin-left: 8px; vertical-align: middle; }
.badge small { color: #d5e3e4; font-size: .85rem; }
@media (max-width: 900px) { .badge { display: none; } }

/* Quick trip bar under the hero */
.quick { position: relative; z-index: 2; margin-top: -96px; }
.quick form { display: grid; grid-template-columns: 2fr 1.2fr .8fr auto; gap: 16px; align-items: end; background: #fff; border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow), 0 0 0 1px rgba(7, 42, 51, .05); }
.quick .btn { min-height: 54px; }
@media (max-width: 860px) { .quick form { grid-template-columns: 1fr 1fr; padding: 22px; } .quick form > :first-child, .quick form > .btn { grid-column: 1 / -1; } }

/* Forms */
label, legend { display: block; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
input, select, textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #bdb59e; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(28, 101, 118, .15); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form { display: grid; gap: 40px; }
.form h2 { font-size: 1.8rem; margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.hint { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.rides-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.rides-pick label { margin: 0; cursor: pointer; display: grid; gap: 4px; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; text-transform: none; letter-spacing: 0; position: relative; transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease); }
.rides-pick label:hover { transform: translateY(-2px); border-color: #bdb59e; }
.rides-pick input { position: absolute; opacity: 0; width: 0; min-height: 0; }
.rides-pick b { font: 500 1.2rem/1.2 var(--display); color: var(--ink); }
.rides-pick small { color: var(--muted); font-size: .88rem; font-weight: 500; }
.rides-pick label:has(input:checked) { border-color: var(--deep); background: var(--deep); }
.rides-pick label:has(input:checked) b { color: #fff; }
.rides-pick label:has(input:checked) small { color: var(--saffron); }
.rides-pick label:has(input:focus-visible) { outline: 3px solid var(--saffron); outline-offset: 2px; }
.panel { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow), 0 0 0 1px rgba(7, 42, 51, .05); }
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.aside { display: grid; gap: 16px; position: sticky; top: 110px; }
@media (max-width: 920px) { .aside { position: static; } }
.note { background: var(--sand); border-radius: 18px; padding: 26px; display: grid; gap: 8px; border-left: 3px solid var(--saffron); }
.note h3 { font-size: 1.25rem; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.facts div { padding: 8px 28px 8px 0; display: grid; gap: 6px; border-left: 1px solid var(--line); padding-left: 28px; }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { font: 500 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--display); color: var(--deep); }
.facts span { color: var(--muted); font-size: .98rem; }
@media (max-width: 880px) { .facts { grid-template-columns: 1fr 1fr; gap: 28px 0; } .facts div:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* Scrolling place names */
.marquee { overflow: hidden; padding-block: clamp(22px, 3vw, 38px); border-block: 1px solid var(--line); }
.marquee div { display: flex; gap: 44px; width: max-content; animation: slide 46s linear infinite; font: italic 500 clamp(2.2rem, 5.4vw, 4.6rem)/1.1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--lagoon); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--saffron); -webkit-text-stroke: 0; font-size: .5em; align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Two-column intro + list */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.duo > :first-child { display: grid; gap: 22px; position: sticky; top: 120px; }
.duo > :first-child > img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-top: 10px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo > :first-child { position: static; } }
.list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.list li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 4px 8px; padding: 30px 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.list li::before { content: "0" counter(n); grid-row: span 2; font: italic 500 1.15rem/1.6 var(--display); color: var(--gold-ink); }
.list li:hover { padding-left: 10px; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list p { color: var(--muted); grid-column: 2; }
.section--sand .list li { border-color: #d9d1bd; }

/* Example route — the road from the logo */
.route { position: relative; margin-top: 12px; }
.route svg { position: absolute; left: 0; top: 0; width: 100%; height: 120px; overflow: visible; clip-path: inset(-20px 100% -20px 0); transition: clip-path 2.4s cubic-bezier(.4, 0, .2, 1); }
.route .road { fill: none; stroke: var(--saffron); stroke-width: 14; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route .lane { fill: none; stroke: var(--deep); stroke-width: 2; stroke-dasharray: 7 9; vector-effect: non-scaling-stroke; }
.route.drawn svg { clip-path: inset(-20px 0 -20px 0); }
.route ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.route li { position: relative; padding: 154px 10px 0; text-align: center; display: grid; gap: 6px; align-content: start; }
.route li::before { content: ""; position: absolute; left: 50%; top: 30px; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #fff; border: 6px solid var(--deep); box-shadow: 0 0 0 2px var(--saffron); }
.route li:nth-child(even)::before { top: 90px; }
.route b { font: 500 1.25rem/1.2 var(--display); color: #fff; }
.route small { color: var(--saffron); font: italic 500 1rem/1 var(--display); }
.route span { color: #a9c0c4; font-size: .92rem; line-height: 1.45; }
@media (max-width: 900px) {
  .route svg { display: none; }
  .route ol { grid-template-columns: 1fr; border-left: 2px dashed var(--saffron); margin-left: 12px; }
  .route li { text-align: left; padding: 0 0 30px 34px; }
  .route li::before, .route li:nth-child(even)::before { left: -1px; top: 12px; margin-left: -12px; }
}

/* Tour tiles */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 18px; }
.tile { position: relative; grid-column: span 3; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; background: var(--deep); }
.tile--big { grid-column: span 6; grid-row: span 2; padding: 36px; }
.tile--wide { grid-column: span 6; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 30, 37, .92) 0%, rgba(5, 30, 37, .25) 55%, transparent 100%); transition: background-color .4s ease; }
.tile:hover img { transform: scale(1.08); }
.tile:hover::before { background-color: rgba(5, 30, 37, .2); }
.tile h3 { font-size: 1.55rem; color: #fff; }
.tile--big h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.tile p { font-size: .95rem; color: #d3e2e3; margin-top: 6px; }
.tile::after { content: "Book this tour"; align-self: flex-start; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; font-weight: 700; font-size: .9rem; color: var(--saffron); border-bottom: 1px solid currentColor; transition: max-height .4s var(--ease), opacity .4s ease, margin-top .4s var(--ease); }
.tile:hover::after, .tile:focus-visible::after { max-height: 30px; opacity: 1; margin-top: 14px; }
.tile--plain { background: linear-gradient(135deg, #0b3b47, var(--deep)); }
.tile--plain::before { background: none; inset: auto -70px -120px auto; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(224, 166, 63, .5); box-shadow: 0 0 0 40px rgba(224, 166, 63, .08), 0 0 0 90px rgba(224, 166, 63, .05); z-index: -1; }
.tile--plain::after { content: "See transfers"; }
@media (hover: none) { .tile::after { max-height: 30px; opacity: 1; margin-top: 14px; } }
@media (max-width: 980px) { .tiles { grid-auto-rows: 250px; } .tile, .tile--wide { grid-column: span 6; } .tile--big { grid-column: span 12; grid-row: span 1; padding: 26px; } }
@media (max-width: 560px) { .tile, .tile--wide, .tile--big { grid-column: span 12; } }

/* Vehicles */
.rides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rides > div { background: #fff; border-radius: var(--r-lg); padding: 32px 28px; display: grid; gap: 10px; align-content: start; box-shadow: 0 0 0 1px rgba(7, 42, 51, .06); transition: transform .35s var(--ease), box-shadow .35s ease; }
.rides > div:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rides b { font: 500 4.2rem/1 var(--display); color: var(--deep); display: flex; align-items: baseline; gap: 10px; }
.rides b small { font: 600 .85rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rides h3 { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.rides p { color: var(--muted); font-size: .98rem; }
.chip { justify-self: start; margin-top: 6px; padding: 6px 14px; border-radius: 999px; background: var(--sand); color: var(--gold-ink); font-weight: 700; font-size: .82rem; }
@media (max-width: 980px) { .rides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rides { grid-template-columns: 1fr; } }

/* Booking steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 12px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font: italic 500 4rem/1 var(--display); color: var(--saffron); }
.steps p { color: var(--muted); }
.section--deep .steps li { border-color: rgba(255, 255, 255, .16); }
.section--deep .steps p { color: #a9c0c4; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Ratings */
.ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.rating { background: #fff; border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: 0 0 0 1px rgba(7, 42, 51, .06); transition: transform .35s var(--ease), box-shadow .35s ease; }
.rating:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rating strong { font: 500 3.2rem/1 var(--display); color: var(--deep); }
.rating strong span { font-size: 1.05rem; color: var(--saffron); margin-left: 10px; letter-spacing: 3px; vertical-align: middle; }
.rating p { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.rating small { color: var(--muted); }
.section--deep .rating { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.section--deep .rating strong { color: #fff; }
.section--deep .rating small { color: #a9c0c4; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: clamp(24px, 3vw, 36px); padding: clamp(40px, 8vw, 110px) clamp(28px, 6vw, 90px); display: grid; gap: 22px; background: linear-gradient(95deg, rgba(5, 30, 37, .93) 0%, rgba(5, 30, 37, .7) 50%, rgba(5, 30, 37, .25) 100%), url("https://images.pexels.com/photos/18619140/pexels-photo-18619140/free-photo-of-nine-arch-bridge-in-sri-lanka.jpeg?auto=compress&cs=tinysrgb&w=1800") center 62% / cover; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 14ch; }
.cta p { color: #dbe8e9; font-size: 1.15rem; }

/* Inner page heading: photo set per page with style="--img:url(...)" */
.page-head { position: relative; color: #fff; padding-block: clamp(170px, 22vw, 250px) clamp(56px, 8vw, 100px); background: linear-gradient(180deg, rgba(5, 30, 37, .72) 0%, rgba(5, 30, 37, .5) 45%, rgba(5, 30, 37, .88) 100%), var(--img, none) center / cover, var(--deep); }
.page-head .wrap { display: grid; gap: 20px; animation: rise .9s var(--ease) both; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.page-head p { color: #d5e3e4; font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 54ch; }

/* Blocks used on inner pages */
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.block + .block { margin-top: var(--gap); }
.block:nth-of-type(even) > img { order: 2; }
.block img { border-radius: var(--r-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.block > div { display: grid; gap: 18px; }
.block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.block li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; font-weight: 500; }
.block li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 6px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); rotate: -45deg; }
@media (max-width: 820px) { .block { grid-template-columns: 1fr; } .block:nth-of-type(even) > img { order: 0; } .block img { aspect-ratio: 4 / 3; } }

/* Price table */
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px rgba(7, 42, 51, .07); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
caption { text-align: left; padding: 28px 30px 10px; font: 500 1.8rem/1.2 var(--display); }
th, td { text-align: left; padding: 18px 30px; border-top: 1px solid var(--line); vertical-align: middle; }
thead th { border-top: 0; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
tbody tr { transition: background-color .2s ease; }
tbody tr:hover { background: #faf7ee; }
tbody th { font-weight: 700; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
td a { font-weight: 700; color: var(--gold-ink); }
.tables { display: grid; gap: 26px; }
/* Phones: each row becomes a small block, so the price link is always visible */
@media (max-width: 640px) {
  table, tbody, caption { display: block; min-width: 0; }
  thead { display: none; }
  caption { padding: 22px 20px 14px; }
  tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 20px; border-top: 1px solid var(--line); }
  tbody th, tbody td { padding: 0; border: 0; }
  tbody td:nth-child(2) { grid-column: 1; color: var(--muted); font-size: .95rem; }
  tbody td:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* Gallery */
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery button { display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--sand); position: relative; break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.gallery button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 30, 37, .7), transparent 45%); opacity: .55; transition: opacity .4s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button:hover::after { opacity: 1; }
.gallery span { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font: italic 500 1.35rem/1.2 var(--display); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
dialog.lightbox::backdrop { background: rgba(4, 22, 28, .94); backdrop-filter: blur(6px); }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 16px; }
dialog.lightbox p { color: #fff; text-align: center; margin: 14px auto 0; font: italic 500 1.3rem/1.2 var(--display); }
dialog.lightbox button { position: fixed; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 880px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 28px 60px 28px 0; position: relative; font: 500 1.5rem/1.3 var(--display); transition: color .2s ease; }
.faq summary:hover { color: var(--lagoon); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font: 400 1.5rem/1 var(--body); color: var(--ink); transition: rotate .3s var(--ease), background-color .2s ease, color .2s ease; }
.faq details[open] summary::after { rotate: 45deg; background: var(--deep); color: #fff; border-color: var(--deep); }
.faq details p { padding: 0 60px 30px 0; color: var(--muted); }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list small { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-list a, .contact-list b { font: 500 1.45rem/1.3 var(--display); text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-ink); }
.map { width: 100%; height: 460px; border: 0; border-radius: var(--r-lg); display: block; box-shadow: var(--shadow); }

/* Footer */
site-footer { display: block; background: var(--deep); color: #a9c0c4; border-top: 3px solid var(--saffron); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 88px 56px; }
.foot img { width: 180px; height: auto; margin-bottom: 22px; }
.foot h2 { font: italic 500 1.3rem/1.2 var(--display); color: var(--saffron); margin-bottom: 18px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot a { color: #d2e0e2; text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: var(--saffron); }
.foot p { font-size: .98rem; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 24px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-right: 190px; /* keeps text clear of the WhatsApp button */ }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; padding-block: 64px 40px; } .legal { padding-right: 84px; } }

/* Floating WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 999px; background: #25d366; color: #06301a; font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(6, 48, 26, .6); transition: transform .2s var(--ease); }
.wa:hover { transform: translateY(-3px) scale(1.03); }
.wa svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: 17px; } }

/* Scroll reveal: js/site.js adds .rv, then .in when the element enters the screen */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .route svg { clip-path: none; }
  .rv { opacity: 1; transform: none; }
}
