:root {
  --navy: #0b3f55;
  --deep-navy: #062b3b;
  --blue: #1d7fa5;
  --sea: #76c4c0;
  --foam: #eff8f5;
  --sand: #f2e6cf;
  --cream: #fbf8f1;
  --ink: #142c35;
  --muted: #61747a;
  --white: #fff;
  --line: rgba(11, 63, 85, 0.14);
  --shadow: 0 24px 80px rgba(6, 43, 59, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  height: 76px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; letter-spacing: 0.01em; }
.brand strong { font-weight: 600; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50% 50% 44% 44%;
  font-family: "Pridi", serif;
  font-size: 20px;
}
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-cta { padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; }

.hero {
  min-height: 790px;
  padding: 150px clamp(20px, 7vw, 110px) 90px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.65fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 35, 48, 0.96) 0%, rgba(7, 61, 79, 0.9) 48%, rgba(10, 82, 108, 0.68) 100%),
    url("assets/boat.jpg") center 44% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -35vw;
  width: 78vw;
  height: 56vw;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.025), 0 0 0 15vw rgba(255, 255, 255, 0.02);
  transform: rotate(-9deg);
}
.hero-water {
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  opacity: 0.1;
  background: repeating-radial-gradient(ellipse at 50% 110%, transparent 0 31px, #fff 32px 33px, transparent 34px 64px);
}
.hero-copy, .price-card { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero .eyebrow { color: #a9e2de; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Pridi", serif; font-weight: 400; line-height: 1.25; }
h1 { margin-bottom: 24px; font-size: clamp(45px, 5.5vw, 78px); letter-spacing: -0.035em; }
h1 em { color: #bce9e3; font-style: normal; font-weight: 300; }
.hero-lead { max-width: 670px; margin-bottom: 32px; color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--deep-navy); background: var(--sand); }
.button-quiet { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; }
.assurance-list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.assurance-list span { display: inline-flex; align-items: center; gap: 7px; }
.assurance-list span::before { content: "✓"; display: grid; width: 18px; height: 18px; place-items: center; color: var(--deep-navy); background: var(--sea); border-radius: 50%; font-size: 11px; font-weight: 700; }
.price-card {
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
  background: rgba(251, 248, 241, 0.96);
  box-shadow: var(--shadow);
}
.price-card > p:first-child { margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.price { color: var(--navy); font-family: "Pridi", serif; font-size: clamp(58px, 6vw, 82px); line-height: 1; }
.price span { margin-right: 4px; font-size: 28px; vertical-align: 20px; }
.price-subtitle { margin: 10px 0 28px; color: var(--muted); }
.price-card hr { margin: 0 0 20px; border: 0; border-top: 1px solid var(--line); }
.price-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 20px; }
.price-card dt, .price-card dd { padding: 8px 0; }
.price-card dt { color: var(--muted); }
.price-card dd { margin: 0; font-weight: 600; text-align: right; }
.hero-line { margin-top: 24px; padding-top: 22px; display: grid; grid-template-columns: 92px 1fr; gap: 17px; align-items: center; border-top: 1px solid var(--line); text-decoration: none; }
.hero-line img { width: 92px; height: 92px; padding: 4px; background: var(--white); border: 1px solid var(--line); }
.hero-line span { min-width: 0; display: flex; flex-direction: column; }
.hero-line small { color: var(--muted); font-size: 11px; }
.hero-line strong { color: var(--navy); font-size: 14px; line-height: 1.35; }
.hero-line b { margin-top: 5px; color: #168343; font-size: 11px; font-weight: 600; }

.trust-strip {
  max-width: 1120px;
  margin: -38px auto 0;
  padding: 24px clamp(20px, 4vw, 50px);
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 16px 55px rgba(6, 43, 59, 0.09);
}
.trust-strip div { padding: 2px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.trust-strip div:first-child { padding-left: 0; }
.trust-strip div:last-child { padding-right: 0; border: 0; }
.trust-strip strong { font-family: "Pridi", serif; font-size: 24px; font-weight: 500; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.section { padding: 120px clamp(20px, 8vw, 130px); }
.section-heading { max-width: 740px; margin-bottom: 58px; }
.section-heading h2, .photo-copy h2, .booking-intro h2, .final-cta h2 { font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -0.02em; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.service-grid article { min-height: 260px; padding: 38px; background: var(--cream); }
.number { color: var(--blue); font-family: "Pridi", serif; font-size: 13px; }
.service-grid h3 { margin: 54px 0 10px; color: var(--navy); font-family: "Pridi", serif; font-size: 24px; font-weight: 500; }
.service-grid p { margin-bottom: 0; color: var(--muted); }
.preparation { margin-top: 55px; padding: 34px 40px; display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 45px; color: var(--white); background: var(--navy); }
.preparation .eyebrow { margin-bottom: 4px; color: var(--sea); }
.preparation h3 { margin: 0; font-family: "Pridi", serif; font-size: 30px; font-weight: 400; }
.preparation ul { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.preparation li { padding-bottom: 10px; display: grid; grid-template-columns: 38px 1fr; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.preparation li:last-child { padding-bottom: 0; border: 0; }
.preparation li span { color: var(--sea); font-size: 12px; font-weight: 700; }

.photo-section { padding: 70px clamp(20px, 8vw, 130px); display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(50px, 10vw, 150px); align-items: center; background: var(--foam); }
.photo-frame { height: min(670px, 70vw); overflow: hidden; box-shadow: 28px 28px 0 var(--sand); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.photo-copy > p:not(.eyebrow) { color: var(--muted); }
blockquote { margin: 50px 0 0; padding: 24px 0 0 28px; color: var(--navy); border-left: 2px solid var(--sea); font-family: "Pridi", serif; font-size: 23px; font-weight: 300; }

.location-bar { padding: 42px clamp(20px, 8vw, 130px); display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; color: var(--white); background: var(--blue); }
.location-pin { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 50%; font-size: 27px; }
.location-bar .eyebrow { margin-bottom: 3px; color: #c4efea; }
.location-bar h2 { margin: 0; font-family: "Pridi", serif; font-size: clamp(25px, 3vw, 36px); }
.location-bar p:last-child { margin: 2px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.map-button { color: var(--navy); background: var(--white); white-space: nowrap; }

.media-section { background: var(--cream); }
.media-section .section-heading > p:last-child { max-width: 600px; color: var(--muted); }
.video-frame { position: relative; overflow: hidden; color: var(--white); background: var(--deep-navy); box-shadow: var(--shadow); }
.video-stage { position: relative; background: #031921; }
.video-frame video { width: 100%; max-height: 72vh; display: block; background: #031921; object-fit: contain; }
.video-toggle { min-width: 142px; padding: 13px 20px; position: absolute; top: 50%; left: 50%; display: flex; gap: 10px; align-items: center; justify-content: center; transform: translate(-50%, -50%); color: var(--deep-navy); border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 35px rgba(3, 25, 33, 0.3); font-weight: 700; cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.video-toggle:hover { transform: translate(-50%, -53%); background: var(--white); }
.video-stage.is-playing .video-toggle { min-width: auto; top: auto; right: auto; bottom: 16px; left: 16px; padding: 9px 14px; transform: none; opacity: 0.82; }
.video-stage.is-playing .video-toggle:hover { transform: none; opacity: 1; }
.video-toggle-symbol { color: var(--blue); }
.video-caption { padding: 17px 24px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.video-caption span { color: var(--sea); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.video-caption p { margin: 0; font-family: "Pridi", serif; font-size: 20px; }
.ceremony-gallery { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ceremony-gallery figure { margin: 0; overflow: hidden; background: var(--white); }
.ceremony-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms ease; }
.ceremony-gallery figure:hover img { transform: scale(1.025); }
.ceremony-gallery figcaption { padding: 18px 20px 20px; color: var(--navy); font-family: "Pridi", serif; font-size: 19px; }
.ceremony-gallery figcaption span { margin-bottom: 3px; display: block; color: var(--blue); font-family: "IBM Plex Sans Thai", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.media-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: right; }

.compact { margin-bottom: 42px; }
.steps ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.steps li { padding: 32px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li > span { display: grid; width: 36px; height: 36px; margin-bottom: 40px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: "Pridi", serif; }
.steps strong { color: var(--navy); font-family: "Pridi", serif; font-size: 20px; font-weight: 500; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.faq-section { padding-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 54px 24px 0; position: relative; color: var(--navy); font-family: "Pridi", serif; font-size: 21px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 21px; right: 10px; color: var(--blue); font-family: "IBM Plex Sans Thai", sans-serif; font-size: 28px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 820px; margin: -5px 0 24px; color: var(--muted); }

.booking-section { padding: 110px clamp(20px, 8vw, 130px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(50px, 9vw, 130px); color: var(--white); background: var(--deep-navy); }
.light { color: var(--sea); }
.booking-intro > p:not(.eyebrow) { max-width: 520px; color: rgba(255, 255, 255, 0.68); }
.booking-location { display: inline-block; color: var(--sea); font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.direct-contact { margin-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.direct-contact span { margin-bottom: 6px; color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.direct-contact a { font-family: "Pridi", serif; font-size: 23px; text-decoration: none; }
.booking-form { padding: clamp(28px, 5vw, 54px); color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 20px; }
.booking-form label > span { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 600; }
.date-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.date-field legend { margin-bottom: 7px; padding: 0; color: var(--navy); font-size: 14px; font-weight: 600; }
.thai-date-selects { display: grid; grid-template-columns: 0.72fr 1.45fr 1fr; gap: 6px; }
.thai-date-selects select { padding: 0 8px; }
input, select { width: 100%; height: 52px; padding: 0 14px; color: var(--ink); border: 1px solid #cbd7d8; border-radius: 2px; background: var(--white); outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 127, 165, 0.1); }
.consent { margin: 24px 0 18px; display: flex; align-items: flex-start; gap: 9px; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--navy); }
.consent span { margin: 0 !important; color: var(--muted) !important; font-size: 13px !important; font-weight: 400 !important; }
.button-submit { width: 100%; justify-content: space-between; color: var(--white); background: var(--blue); }
.button-submit:disabled { cursor: wait; opacity: 0.65; }
.form-status { min-height: 24px; margin: 12px 0 0; color: #a43e34; font-size: 13px; }
.privacy-note { margin: 3px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.honeypot { position: absolute; left: -10000px; }

.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 34px; }
.final-cta > div { display: flex; justify-content: center; align-items: center; gap: 24px; }
.final-cta .button-primary { color: var(--white); background: var(--navy); }
.line-link { color: var(--navy); font-weight: 600; text-underline-offset: 5px; }

footer { padding: 38px clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: rgba(255, 255, 255, 0.58); background: #041f2a; font-size: 12px; }
footer p { margin: 0; }
.footer-brand { color: var(--white); font-size: 14px; }
.footer-brand .brand-mark { width: 31px; height: 31px; font-size: 16px; }
.mobile-actions { display: none; }
.floating-line { padding: 11px 18px 11px 11px; position: fixed; right: 22px; bottom: 22px; z-index: 45; display: flex; align-items: center; gap: 10px; color: var(--white); background: #06c755; border-radius: 999px; box-shadow: 0 12px 32px rgba(3, 83, 37, 0.28); text-decoration: none; transition: transform 180ms ease; }
.floating-line:hover { transform: translateY(-3px); }
.floating-line span { display: grid; width: 38px; height: 38px; place-items: center; color: #06a944; background: var(--white); border-radius: 50%; font-size: 10px; font-weight: 800; }
.floating-line strong { font-size: 13px; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 31, 42, 0.82); backdrop-filter: blur(5px); }
.modal-card { max-width: 480px; padding: 46px; position: relative; z-index: 1; text-align: center; background: var(--white); box-shadow: var(--shadow); }
.modal-card h2 { margin-bottom: 12px; color: var(--navy); font-size: 34px; }
.modal-card p { color: var(--muted); }
.modal-close { position: absolute; top: 12px; right: 15px; border: 0; color: var(--muted); background: transparent; font-size: 28px; cursor: pointer; }
.success-mark { display: grid; width: 56px; height: 56px; margin: 0 auto 18px; place-items: center; color: var(--white); background: var(--sea); border-radius: 50%; font-size: 28px; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 135px; }
  .price-card { max-width: 520px; }
  .trust-strip { margin: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .preparation { grid-template-columns: 1fr; gap: 25px; }
  .service-grid article { min-height: auto; }
  .service-grid h3 { margin-top: 28px; }
  .photo-section, .booking-section { grid-template-columns: 1fr; }
  .location-bar { grid-template-columns: auto 1fr; }
  .location-bar .map-button { width: 100%; grid-column: 1 / -1; }
  .photo-frame { max-width: 600px; height: 650px; }
  .ceremony-gallery { gap: 16px; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  body { padding-bottom: 63px; }
  .site-header { height: 66px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .nav-cta { padding: 7px 13px; font-size: 12px; }
  .hero { padding: 115px 20px 72px; gap: 38px; }
  h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .assurance-list { flex-direction: column; gap: 7px; }
  .button { width: 100%; }
  .price-card { padding: 28px 24px; }
  .hero-line { grid-template-columns: 86px 1fr; }
  .hero-line img { width: 86px; height: 86px; }
  .trust-strip { padding: 0 20px; grid-template-columns: 1fr; }
  .trust-strip div, .trust-strip div:first-child, .trust-strip div:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border: 0; }
  .section { padding: 82px 20px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .photo-copy h2, .booking-intro h2, .final-cta h2 { font-size: 36px; }
  .service-grid article { padding: 28px; }
  .preparation { margin-top: 35px; padding: 28px 24px; }
  .photo-section { padding: 75px 20px; }
  .location-bar { padding: 35px 20px; grid-template-columns: 1fr; }
  .location-pin { width: 48px; height: 48px; }
  .photo-frame { height: 470px; box-shadow: 14px 14px 0 var(--sand); }
  .video-caption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .ceremony-gallery { grid-template-columns: 1fr; }
  .media-note { text-align: left; }
  blockquote { margin-top: 34px; font-size: 20px; }
  .steps ol { grid-template-columns: 1fr; }
  .faq-section { padding-top: 0; }
  .faq-list summary { font-size: 18px; }
  .steps li { padding: 24px 0; display: grid; grid-template-columns: 48px 1fr; border-right: 0; }
  .steps li > span { margin: 0; }
  .booking-section { padding: 80px 20px; }
  .booking-form { padding: 27px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .thai-date-selects { grid-template-columns: 0.7fr 1.35fr 1fr; }
  .final-cta > div { flex-direction: column; gap: 16px; }
  footer { padding: 35px 20px; flex-direction: column; align-items: flex-start; }
  .floating-line { display: none; }
  .mobile-actions { position: fixed; inset: auto 0 0; z-index: 50; height: 63px; display: grid; grid-template-columns: 1fr 0.7fr 1.15fr; box-shadow: 0 -5px 22px rgba(6, 43, 59, 0.18); }
  .mobile-actions a { display: grid; place-items: center; color: var(--white); background: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-actions a:last-child { background: var(--blue); }
  .mobile-actions .mobile-line { background: #06c755; }
  .modal-card { padding: 40px 24px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
