/* ==========================================================================
   OM SRI HARI JOTHIDAM — Dr. Om Sakthi Raja
   Clean, light design system shared by every page
   --------------------------------------------------------------------------
   1. Tokens          5. Page intro & sections   9.  Booking
   2. Base            6. Cards & grids           10. Dialogs, drawer, search
   3. Buttons & type  7. Home                    11. Motion & responsive
   4. Header, footer  8. Content blocks          12. Language, reviews, coming soon
   ========================================================================== */

/* 1. TOKENS — brand colours and fonts live here
   ========================================================================== */
:root {
  --bg: #f9f7f2;
  --white: #ffffff;
  --text: #17152a;
  --muted: #686575;
  --line: #e8e4db;
  --line-strong: #d9d3c6;

  --brand: #2e2352;        /* deep indigo / plum */
  --brand-700: #221a3f;
  --brand-50: #f3f0f8;
  --brand-100: #e7e1f1;
  --gold: #b08d4f;         /* muted gold — icons, rules and decoration */
  --gold-text: #8a6d35;    /* same hue, darkened for text (AA on the page and on white) */
  --gold-deep: #755c2c;
  --gold-soft: #f4ecdd;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-tamil: "Noto Serif Tamil", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(23, 21, 42, 0.04);
  --shadow: 0 1px 2px rgba(23, 21, 42, 0.04), 0 12px 32px -20px rgba(23, 21, 42, 0.22);

  --container: 1200px;
  --gutter: clamp(16px, 5vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
ul.container { padding-inline: var(--gutter); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible, .cta-card :focus-visible { outline-color: var(--gold-soft); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 600; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* 3. TYPE & BUTTONS
   ========================================================================== */
.eyebrow { margin-bottom: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.h1, .h2, .h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 1.1; }
.h2 { font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.75rem); line-height: 1.15; }
.h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); line-height: 1.25; }
.lead { margin-top: 18px; max-width: 36em; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.7; color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--outline { border-color: var(--line-strong); color: var(--text); background: var(--white); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--gold { background: var(--gold-text); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn-row--center { justify-content: center; margin-top: 24px; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); color: var(--text); transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--brand-50); color: var(--brand); }
.icon-btn--outline { border: 1px solid var(--line-strong); background: var(--white); }
.icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--brand); }
.link-more .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }

.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #7d6334; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; }
.placeholder { color: var(--muted); font-style: italic; }

/* 4. HEADER & FOOTER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -20px rgba(23, 21, 42, 0.5); }
/* the header spans a little wider than the 1200px content so the nav, the
   language switch and the booking button can sit on one line */
.site-header__inner { max-width: 1400px; height: 100%; display: flex; align-items: center; gap: 24px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 32px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.brand__tagline { margin-top: 4px; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { margin-inline: auto; min-width: 0; }
.nav__list { display: flex; gap: clamp(16px, 1.8vw, 28px); }
.nav__link { position: relative; padding-block: 8px; font-size: 0.94rem; font-weight: 500; color: var(--muted); transition: color 0.2s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.site-header.is-compact .nav { display: none; }
.site-header.is-compact .menu-btn { display: inline-grid; }

.site-footer { background: var(--text); color: #c9c6d3; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: start; gap: 40px; padding-block: 56px 40px; }
.footer-logo { display: inline-block; width: min(280px, 100%); border-radius: 12px; overflow: hidden; }
.footer-logo img { width: 100%; height: auto; }
.site-footer__brand p { margin-top: 16px; max-width: 26em; font-size: 0.92rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tagline { color: #9b97a8; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 40px; }
.footer-nav a { font-size: 0.94rem; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.social svg { width: 18px; height: 18px; }
.social a:hover { background: #fff; color: var(--text); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.84rem; color: #9b97a8; }
.site-footer__motto { font-family: var(--font-tamil); color: var(--gold); }

/* 5. PAGE INTRO & SECTIONS
   ========================================================================== */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.page-intro { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-intro__text { max-width: 760px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 28px; font-size: 0.86rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* 6. CARDS & GRIDS
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > li { display: flex; }
.card { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.icon-badge { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.icon-badge svg { width: 24px; height: 24px; }

.svc-card { display: flex; flex-direction: column; padding: 28px; }
.svc-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card h3, .feature h3 { margin-top: 22px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.svc-card p, .feature p { margin-top: 10px; font-size: 0.94rem; line-height: 1.65; color: var(--muted); }
.svc-card .link-more { margin-top: auto; padding-top: 22px; }
.feature { padding: 28px; }

/* 7. HOME
   ========================================================================== */
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); overflow-x: clip; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero__title { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.5rem); }
.hero__highlight { margin-top: 20px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); color: var(--gold-text); }
.hero .lead { margin-top: 20px; }

.portrait { position: relative; justify-self: center; width: min(100%, 480px); }
.portrait__pattern {
  position: absolute; inset: -12% -14%; z-index: -1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(176, 141, 79, 0.16) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); box-shadow: 0 30px 60px -40px rgba(23, 21, 42, 0.5); }
.portrait__tag { position: absolute; left: -24px; bottom: 32px; display: flex; flex-direction: column; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); line-height: 1.35; }
.portrait__tag strong { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.portrait__tag span { font-size: 0.82rem; color: var(--muted); }

.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__list li { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; padding-block: 26px; font-size: 0.95rem; font-weight: 600; }
.trust__list li > span { min-width: 0; overflow-wrap: anywhere; }
.trust__list li + li { border-left: 1px solid var(--line); }
.trust__list .icon { width: 22px; height: 22px; color: var(--gold); }

/* 8. CONTENT BLOCKS
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.split__media--portrait img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.split__text p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.02rem; }
.split__text .h2 + p { margin-top: 22px; }
.split__text .btn { margin-top: 36px; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.highlights li { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.highlights .icon { width: 22px; height: 22px; color: var(--gold); }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--brand); color: #fff; }
.cta-card .h2 { color: #fff; }
.cta-card p { margin-top: 12px; font-size: 1.08rem; color: #d6d1e5; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.pull-quote { max-width: 760px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.5; color: var(--brand); }

.timeline { position: relative; margin-top: 32px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 26px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); }
.timeline h3 { font-size: 1rem; font-weight: 700; }
.timeline p { margin-top: 4px !important; font-size: 0.95rem !important; }

.message { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; padding: clamp(28px, 4vw, 48px); }
.message__mark { width: 40px; height: 40px; color: var(--gold); }
.message p { margin-top: 14px; max-width: 60em; color: var(--muted); }
.message__sign { font-family: var(--font-serif); font-style: italic; color: var(--brand) !important; }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.process li { position: relative; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.process__num { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); }
.process__icon { width: 26px; height: 26px; margin-top: 18px; color: var(--brand); }
.process h3 { margin-top: 14px; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; }
.process p { margin-top: 8px; font-size: 0.94rem; color: var(--muted); }
.process--inline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.process--inline h3 { margin-top: 8px; font-size: 1.05rem; }

.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout .btn { margin-top: 32px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color 0.2s var(--ease); }
.faq details[open] { border-color: var(--brand-100); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(90deg); color: var(--brand); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }
.faq a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Testimonials — the review cards and the feedback form live in section 12 */

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { display: grid; gap: 12px; }
.info-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.info-list h2 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.info-list a, .info-list p { font-weight: 600; }
.info-list a[href]:hover { color: var(--brand); }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card .h3 { margin-bottom: 24px; }
.map { position: relative; min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 600; }
.req { color: #b3261e; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-size: 0.96rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { font-size: 0.82rem; font-weight: 600; color: #a4262c; }
.field__error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-foot small { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.form-success { display: flex; gap: 14px; margin-top: 24px; padding: 18px 20px; border: 1px solid #cfe5cf; border-radius: 12px; background: #f1f8f1; color: #1f5a2a; }
.form-success svg { width: 24px; height: 24px; flex: none; }
.form-success strong { display: block; }
.form-error { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-sm); background: #fbeeee; color: #8e1f1f; font-size: 0.88rem; font-weight: 600; }
.is-shaking { animation: shake 0.4s var(--ease); }

/* 9. BOOKING
   ========================================================================== */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 32px; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--muted); transition: all 0.25s var(--ease); }
.stepper__num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); }
.stepper__label { font-size: 0.9rem; font-weight: 600; }
.stepper li.is-done { color: var(--text); }
.stepper li.is-active { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.booking-main { display: grid; gap: 24px; }
.bk-card { padding: clamp(22px, 3vw, 32px); }
.bk-card__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; }
.bk-card__title span { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); }
.bk-card__hint { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.88rem; color: var(--muted); }
.bk-card__hint:last-child { margin: 16px 0 0; }
.bk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-option { position: relative; cursor: pointer; }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option__card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; height: 100%; padding: 18px; border: 1px solid var(--line-strong); border-radius: 12px; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.service-option__icon { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--gold); }
.service-option__card strong { font-size: 0.98rem; }
.service-option__card span { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.service-option:hover .service-option__card { border-color: var(--brand-100); }
.service-option input:checked + .service-option__card { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand); }
.service-option input:focus-visible + .service-option__card { outline: 2px solid var(--brand); outline-offset: 3px; }

.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calendar__head .icon-btn { width: 36px; height: 36px; }
.calendar__month { font-weight: 700; }
.calendar__weekdays, .calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.calendar__weekdays span { padding-block: 6px; font-size: 0.74rem; font-weight: 600; color: var(--muted); }
.calendar__grid { gap: 4px; }
.cal-day { display: grid; place-items: center; width: 100%; max-width: 42px; aspect-ratio: 1; margin-inline: auto; border-radius: 10px; font-size: 0.9rem; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.cal-day:hover:not(:disabled) { background: var(--brand-50); }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day[aria-pressed="true"] { background: var(--brand); color: #fff; font-weight: 700; }
.cal-day:disabled { color: #c3bfb6; cursor: not-allowed; }
.cal-day--blank { visibility: hidden; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { min-height: 44px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-size: 0.88rem; font-weight: 600; white-space: nowrap; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease); }
.slot:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.slot[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.slot:disabled { color: #c3bfb6; background: var(--bg); text-decoration: line-through; cursor: not-allowed; }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; }
.summary__title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; }
.summary dl { display: grid; margin: 20px 0 24px; }
.summary dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.summary dt { font-size: 0.88rem; color: var(--muted); }
.summary dd { min-width: 0; max-width: 100%; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.summary dd.is-empty { font-weight: 500; font-style: italic; color: var(--muted); }
.summary select { max-width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); font-size: 0.9rem; }
.summary__fee { border-bottom: 0 !important; }
.summary__fee dd { font-family: var(--font-serif); font-size: 1.2rem; color: var(--brand); }
.summary__fee dd.is-placeholder { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.summary__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.84rem; color: var(--muted); }
.confirm-list { display: grid; gap: 10px; margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--bg); text-align: left; font-size: 0.92rem; }
.confirm-list div { display: flex; justify-content: space-between; gap: 16px; }
.confirm-list dt { color: var(--muted); }
.confirm-list dd { font-weight: 700; text-align: right; }

/* 10. DIALOGS, DRAWER, SEARCH, BACK TO TOP
   ========================================================================== */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--text); box-shadow: 0 40px 80px -30px rgba(23, 21, 42, 0.45); overflow: auto; }
.modal::backdrop, .drawer::backdrop { background: rgba(23, 21, 42, 0.45); }
.modal[open] { animation: fade-up 0.3s var(--ease); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; }
.modal__body { padding: 32px 28px; text-align: center; }
.modal__body > p { color: var(--muted); }
.success-mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.success-mark svg { width: 28px; height: 28px; }
.modal__body h3 { margin: 16px 0 8px; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; }
.modal__body h3:focus { outline: none; }
.modal--search { margin-top: 12vh; width: min(640px, calc(100% - 32px)); }
.search { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); }
.search > .icon { width: 20px; height: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; padding: 12px 4px; border: 0; font-size: 1.05rem; }
.search input:focus { outline: none; }
.search-results { max-height: 50vh; overflow: auto; margin: 0; padding: 8px; list-style: none; }
.search-results a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; }
.search-results a:hover, .search-results a:focus-visible { background: var(--bg); }
.search-results span { font-size: 0.86rem; color: var(--muted); }
.search-results .empty { padding: 16px 14px; color: var(--muted); }

.drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); height: 100dvh; max-height: none; max-width: none; margin: 0; padding: 20px 24px 28px; border: 0; background: var(--white); overflow-y: auto; }
.drawer[open] { display: flex; flex-direction: column; gap: 24px; animation: slide-in 0.3s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer__search { display: none; align-items: center; gap: 10px; width: 100%; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--muted); font-family: inherit; font-size: 0.95rem; text-align: left; cursor: pointer; }
.drawer__search:hover { border-color: var(--brand); color: var(--brand); }
.drawer__search .icon { flex: none; width: 18px; height: 18px; }
.drawer__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 1.3rem; }
.drawer__links a[aria-current="page"] { color: var(--brand); }
.drawer__contact { display: grid; gap: 4px; }
.drawer__contact a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 600; }
.drawer__contact .icon { color: var(--gold); }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--brand); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* 11b. FOOTER CONTACT · GALLERY · LIGHTBOX
   ========================================================================== */
.footer-contact { display: grid; gap: 8px; margin-top: 18px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 0.94rem; color: #fff; transition: color 0.2s var(--ease); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); }

.gallery { columns: 3; column-gap: 24px; }
.gallery__cell { break-inside: avoid; margin-bottom: 24px; }
.gallery__item { display: block; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: zoom-in; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.gallery__item img { width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.gallery__item:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .gallery__item:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
  .gallery__item:hover img { transform: scale(1.04); }
}

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23, 21, 42, 0.98); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; animation: fade-up 0.25s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; padding: 56px 0 24px; height: 100%; justify-content: center; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__count { font-size: 0.86rem; color: #c9c6d3; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; margin-inline: auto; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: #fff; transition: background-color 0.2s var(--ease); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__btn:focus-visible { outline-color: var(--gold-soft); }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 1; }

/* 11. MOTION & RESPONSIVE
   ========================================================================== */
.anim { animation: fade-up 0.8s var(--ease) both; }
.anim-2 { animation-delay: 0.08s; }
.anim-3 { animation-delay: 0.16s; }
.anim-4 { animation-delay: 0.24s; }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease) var(--delay, 0s), transform 0.7s var(--ease) var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .stepper__label { font-size: 0.82rem; }
}

/* The brand name is long, so the inline nav needs a little more room than the other 1180px rules */
@media (max-width: 1279px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}

@media (max-width: 900px) {
  .site-header__cta { display: none; }
}

@media (max-width: 960px) {
  .hero__inner, .split, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .portrait { width: min(100%, 420px); margin-top: 8px; }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list li:nth-child(3) { border-left: 0; }
  .trust__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .grid--3, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .bk-row { grid-template-columns: minmax(0, 1fr); }
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stepper li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .gallery { columns: 2; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__inner { gap: 12px; }
  .site-header [data-search-open] { display: none; }   /* search lives in the menu instead */
  .drawer__search { display: flex; }
  .brand__text { max-width: 132px; }
  .brand__tagline { display: none; }
  .brand__name { font-size: 0.9rem; line-height: 1.2; letter-spacing: 0.05em; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .btn-row .btn, .cta-card__actions, .cta-card__actions .btn { width: 100%; }
  .grid--4, .grid--3, .process, .highlights, .service-options, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .trust__list li { justify-content: flex-start; padding: 18px 4px; font-size: 0.88rem; }
  .trust__list li + li { border-left: 0; }
  .trust__list li:nth-child(2) { border-top: 0; }
  .trust__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .portrait__tag { left: 12px; bottom: 16px; }
  .process--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .stepper li { align-items: center; padding: 10px 4px; }
  .stepper__label { display: none; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary dl > div { flex-wrap: wrap; }
  .message { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer__bottom { flex-direction: column; }
  .map { min-height: 280px; }
  .gallery { columns: 1; }
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lightbox__figure { padding: 64px 12px 88px; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .back-to-top { right: 14px; bottom: 14px; }
}

/* 12. LANGUAGE SWITCH, REVIEWS, COMING SOON
   ========================================================================== */

/* Language switch — header pill and a full-width version inside the drawer */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.lang-switch__btn { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-family: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.lang-switch__btn[lang="ta"] { font-family: var(--font-tamil); font-weight: 500; letter-spacing: 0; }
.lang-switch__btn.is-active { background: var(--brand); color: #fff; }
.lang-switch__btn:not(.is-active):hover { background: var(--brand-50); color: var(--brand); }
.lang-switch__sep { color: var(--muted); font-size: 0.78rem; }
.lang-switch--block { display: flex; width: 100%; margin-top: 18px; }
.lang-switch--block .lang-switch__btn { flex: 1; min-height: 40px; }

/* Reviews ----------------------------------------------------------------- */
.review-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

/* Shown while there are no checked reviews to publish — never a fake card */
.review-empty { max-width: 720px; margin-inline: auto; padding: clamp(32px, 5vw, 56px); text-align: center; }
.review-empty__mark { width: 40px; height: 40px; margin-bottom: 18px; color: var(--gold); opacity: 0.55; }
.review-empty p { margin-top: 16px; color: var(--muted); line-height: 1.75; }
.review-empty .btn { margin-top: 28px; }

.review { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); }
.review__stars { color: var(--gold-text); font-size: 1rem; letter-spacing: 0.14em; }
.review blockquote { font-size: 1.02rem; line-height: 1.75; }
.review__who { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 10px; font-size: 0.9rem; color: var(--muted); }
.review__who strong { color: var(--text); }

.info-note { display: grid; gap: 14px; margin-top: 28px; }
.info-note li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; line-height: 1.65; color: var(--muted); }
.info-note .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }

/* Star rating input — stars fill up to the one chosen */
.rating { min-width: 0; margin: 0; padding: 0; border: 0; }
.rating legend { padding: 0; font-size: 0.88rem; font-weight: 600; }
.rating__stars { display: flex; gap: 4px; margin-top: 10px; }
.rating__star { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); color: var(--line-strong); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.rating__star input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rating__star:hover { background: var(--gold-soft); }
.rating__star:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.rating__stars:has(.rating__star:nth-child(1) input:checked) .rating__star:nth-child(-n+1),
.rating__stars:has(.rating__star:nth-child(2) input:checked) .rating__star:nth-child(-n+2),
.rating__stars:has(.rating__star:nth-child(3) input:checked) .rating__star:nth-child(-n+3),
.rating__stars:has(.rating__star:nth-child(4) input:checked) .rating__star:nth-child(-n+4),
.rating__stars:has(.rating__star:nth-child(5) input:checked) .rating__star:nth-child(-n+5) { color: var(--gold-text); }

/* Coming soon ------------------------------------------------------------- */
.soon { max-width: 720px; margin-inline: auto; padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); text-align: center; }
.soon__mark { width: 52px; height: 52px; color: var(--gold); opacity: 0.7; }
.soon__status { margin-top: 18px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.soon p { margin-top: 14px; color: var(--muted); line-height: 1.8; }

/* Tamil ------------------------------------------------------------------
   One font override feeds every component; Tamil script sits taller than
   Latin, so headings lose a little size and everything gains line-height. */
:root[data-lang="ta"] {
  --font-sans: "Noto Serif Tamil", "Manrope", system-ui, sans-serif;
  --font-serif: "Noto Serif Tamil", "Playfair Display", Georgia, serif;
}
:root[data-lang="ta"] .h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1.32; letter-spacing: 0; }
:root[data-lang="ta"] .h2 { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.25rem); line-height: 1.38; letter-spacing: 0; }
:root[data-lang="ta"] .h3 { font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.4rem); line-height: 1.5; letter-spacing: 0; }
:root[data-lang="ta"] p, :root[data-lang="ta"] li, :root[data-lang="ta"] dd, :root[data-lang="ta"] blockquote { line-height: 1.85; }
:root[data-lang="ta"] .lead { line-height: 1.9; }
:root[data-lang="ta"] .eyebrow, :root[data-lang="ta"] .soon__status { letter-spacing: 0.06em; text-transform: none; }
:root[data-lang="ta"] .brand__name { font-family: "Playfair Display", Georgia, serif; }   /* the wordmark never changes */
:root[data-lang="ta"] .brand__tagline { letter-spacing: 0.02em; text-transform: none; }
:root[data-lang="ta"] .btn { line-height: 1.4; }
:root[data-lang="ta"] .nav__link { font-size: 0.92rem; }
:root[data-lang="ta"] .stepper__label, :root[data-lang="ta"] .field label, :root[data-lang="ta"] .rating legend { line-height: 1.45; }

@media (max-width: 960px) {
  .review-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .lang-switch { padding: 2px; }
  .lang-switch__btn { min-height: 30px; padding: 0 9px; font-size: 0.74rem; }
  .lang-switch__sep { display: none; }
  .lang-switch--block .lang-switch__btn { min-height: 40px; font-size: 0.85rem; }
  .rating__star { width: 38px; height: 38px; font-size: 1.35rem; }
}

/* Long Tamil labels must wrap rather than push the page sideways */
.btn { max-width: 100%; }
:root[data-lang="ta"] .btn { white-space: normal; text-align: center; }

@media (max-width: 430px) {
  .brand__text { max-width: 124px; }
  .lang-switch__btn { padding: 0 7px; }
  .review-empty .btn, .soon .btn { width: 100%; }
}

/* Very small phones (320–360px): the header keeps the logo, the language
   switch and the menu button, at slightly reduced sizes. */
@media (max-width: 360px) {
  .brand__logo { height: 26px; }
  .brand__text { max-width: 96px; }
  .brand__name { font-size: 0.8rem; letter-spacing: 0.04em; }
  .site-header__inner { gap: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .lang-switch { padding: 2px; }
  .lang-switch__btn { min-width: 34px; min-height: 34px; padding: 0 5px; font-size: 0.7rem; }
  .breadcrumb { font-size: 0.78rem; }
  .stepper { gap: 4px; }
  .slots { gap: 8px; }
}

/* Comfortable tap targets on phones: inline links gain height without
   gaining any visible weight. */
@media (max-width: 640px) {
  .lang-switch__btn { min-width: 42px; min-height: 36px; font-size: 0.78rem; }
  .link-more, .breadcrumb a, .footer-contact a, .footer-nav a, .site-footer__bottom a { padding-block: 8px; }
  .footer-contact { gap: 2px; }
}
