/* E-densurf · edensurfsrilanka.com
   Brand: cream paper, burnished gold, warm ink, deep lagoon. */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #FAF8F3;
  --paper-2: #F2ECE0;
  --line: #E4DCCB;
  --gold: #B08A3E;
  --gold-dark: #8C6A28;
  --gold-soft: #D9C08A;
  --ink: #2B2420;
  --muted: #6E6459;
  --sea: #0E4A57;
  --sea-2: #0A3640;
  --white: #fff;
  --wa: #1FA855;
  --display: "Cormorant", Georgia, "Times New Roman", serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(43, 36, 32, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--body); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0 0 .4em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 6.4vw, 82px); }
h2 { font-size: clamp(34px, 4.4vw, 54px); }
h3 { font-size: clamp(25px, 2.4vw, 30px); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 62ch; }
section { padding: clamp(64px, 9vw, 110px) 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: var(--white); backdrop-filter: blur(6px); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.btn--wa:hover { background: #178a45; border-color: #178a45; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand span { white-space: nowrap; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--gold-dark); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--gold-dark); }
.nav-links .btn { padding: 11px 18px; font-size: 14px; color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .btn { margin-top: 14px; width: 100%; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: var(--white); overflow: hidden; padding: 0; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 36, .78) 0%, rgba(10, 30, 36, .45) 42%, rgba(10, 30, 36, 0) 70%), linear-gradient(0deg, rgba(10, 30, 36, .55), rgba(10, 30, 36, 0) 45%); }
.hero .wrap { position: relative; z-index: 2; padding: 120px 0 72px; }
.hero h1 { max-width: 12ch; color: var(--white); }
.hero h1 em { color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,.9); max-width: 46ch; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 700px) {
  .hero { min-height: 92vh; }
  .hero picture img { object-position: 60% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(10, 30, 36, .88) 0%, rgba(10, 30, 36, .55) 45%, rgba(10, 30, 36, .1) 75%); }
  .hero .wrap { padding: 100px 0 44px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* Trust strip */
.trust { background: var(--ink); color: var(--paper); padding: 22px 0; }
.trust ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.why-card .num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--gold); margin-bottom: 12px; }
.why-card h3 { font-size: 24px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev .split-media { order: -1; }
.split-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.split-media img, .split-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } .split-media { aspect-ratio: 4 / 3.4; } }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Boards */
.boards { background: var(--paper-2); }
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; }
.board { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.board-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sea); }
.board-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--paper-2); color: var(--gold-dark); margin-bottom: 14px; }
.board p.desc { color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 10px 0 24px; border-top: 1px solid var(--line); }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { padding-right: 12px; }
.specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.price-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; }
.price { flex: 1 1 160px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.price small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price strong { display: block; white-space: nowrap; font-family: var(--display); font-size: clamp(24px, 2.5vw, 31px); font-weight: 600; line-height: 1.1; color: var(--ink); }
.price span { font-size: 13px; color: var(--muted); }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 22px; }
@media (max-width: 860px) { .board-grid { grid-template-columns: 1fr; } }

/* Buy / rent */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.offer { border-radius: 24px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: var(--white); }
.offer--dark { background: var(--sea); color: var(--white); border-color: var(--sea); }
.offer--dark .eyebrow { color: var(--gold-soft); }
.offer--dark .checks li::before { background-color: var(--gold-soft); }
.offer h3 { font-size: clamp(30px, 3vw, 38px); }
.offer .from { font-family: var(--display); font-size: 22px; margin: 6px 0 18px; }
.offer .from strong { font-size: 40px; font-weight: 600; }
@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } }

/* Products (sea scooter / eFoil) */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.prod { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.prod-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.prod-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.prod-body ul.meta { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-body ul.meta li { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--paper-2); }
@media (max-width: 860px) { .prod-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { background: var(--sea-2); color: var(--white); }
.steps .lead { color: rgba(255,255,255,.78); }
.steps .eyebrow { color: var(--gold-soft); }
.step-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step-list li { counter-increment: s; border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; }
.step-list li::before { content: "0" counter(s); display: block; font-family: var(--display); font-size: 40px; color: var(--gold-soft); line-height: 1; margin-bottom: 14px; }
.step-list h3 { font-size: 23px; color: var(--white); }
.step-list p { font-size: 14.5px; color: rgba(255,255,255,.78); margin: 0; }
@media (max-width: 1000px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; } }

/* Support band */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.support-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.support-card h3 { font-size: 24px; }
.support-card p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* Ride teaser */
.teaser { position: relative; color: var(--white); overflow: hidden; border-radius: 28px; min-height: 420px; display: grid; align-items: end; }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 30, 36, .85), rgba(10, 30, 36, .1) 70%); }
.teaser-body { position: relative; z-index: 2; padding: clamp(28px, 5vw, 56px); max-width: 640px; }
.teaser-body h2 { color: var(--white); }
.teaser-body p { color: rgba(255,255,255,.9); }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--display); font-size: 32px; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Quote form */
.quote { background: var(--paper-2); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
form.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form-actions .btn { flex: 1 1 100%; } }

/* Ride page */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pack { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; }
.pack--feat { border: 2px solid var(--gold); position: relative; }
.pack--feat .badge { position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pack h3 { font-size: 30px; margin-bottom: 4px; }
.pack .who { color: var(--muted); font-size: 15px; }
.pack .amount { font-family: var(--display); font-size: 48px; font-weight: 600; line-height: 1; margin: 18px 0 4px; }
.pack .amount small { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--muted); }
.pack .per { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.pack .btn { margin-top: auto; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.info { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.info h3 { font-size: 26px; }
.info ul { margin: 0; padding-left: 20px; color: var(--muted); }
.info li { margin-bottom: 8px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.page-hero { position: relative; color: var(--white); overflow: hidden; min-height: 70vh; display: grid; align-items: end; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% 45%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 30, 36, .85) 0%, rgba(10, 30, 36, .35) 50%, rgba(10, 30, 36, .05) 80%); }
.page-hero .wrap { position: relative; z-index: 2; padding: 120px 0 60px; }
.page-hero h1 { color: var(--white); max-width: 14ch; }
.page-hero h1 em { color: var(--gold-soft); }
.page-hero .lead { color: rgba(255,255,255,.92); }
.page-hero .eyebrow { color: var(--gold-soft); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(250, 248, 243, .8); padding: 60px 0 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--paper); margin: 0 0 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 12px; filter: brightness(1.15); }
.legal { border-top: 1px solid rgba(250, 248, 243, .15); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: rgba(250, 248, 243, .55); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
