/* Tokens and fonts live in vv-tokens.css, which is enqueued before this file.
   The --vv-red/--vv-blue/--vv-text… names used below are deprecated aliases
   that map onto the Figma palette roles (docs/design-system/color.md). */

body, p, li, a, input, textarea, select {
  font-family: var(--vv-sans);
  color: var(--vv-text);
}

h1, h2, h3, h4, .vv-h2, .vv-h3 {
  font-family: var(--vv-serif);
  font-weight: 500;
  color: var(--vv-text);
  margin: 0 0 0.5em;
}

.vv-eyebrow {
  font-family: var(--vv-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vv-red);
  margin-bottom: 0.5em;
}

/* CTA links — underline grows from left on hover/focus, matching the live site's understated motion */
.vv-cta-link {
  position: relative;
  display: inline-block;
  font-family: var(--vv-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vv-red);
  padding-bottom: 4px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
.vv-cta-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--vv-red);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease, background-color 0.25s ease;
}
.vv-cta-link:hover, .vv-cta-link:focus-visible { color: var(--vv-red-dark); }
.vv-cta-link:hover::after, .vv-cta-link:focus-visible::after { background: var(--vv-red-dark); transform: scaleX(1.06); }
.vv-cta-link-btn { font: inherit; }

/* ---------- Site header ---------- */
.vv-site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.vv-header-row1 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.vv-hamburger {
  background: none; border: none; font-size: 22px; cursor: pointer; color: var(--vv-text);
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
/* GeneratePress gives native <button>s a dark hover/focus background — the header
   buttons use the same light hover as the dropdown items instead. */
.vv-hamburger:hover, .vv-hamburger:focus {
  background: var(--vv-bg); color: var(--vv-text); border-radius: 3px;
}
.vv-logo {
  font-family: var(--vv-serif); font-size: 20px; font-weight: 500;
  color: var(--vv-text); text-decoration: none; letter-spacing: 0.02em;
}
.vv-book-btn {
  border: 1px solid var(--vv-red); background: var(--vv-red); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 2px; white-space: nowrap; text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.vv-book-btn:hover { background: var(--vv-red-dark); border-color: var(--vv-red-dark); color: #fff; }

.vv-header-row2 {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  padding: 14px 32px; border-top: 1px solid rgba(0,0,0,0.06);
}
.vv-nav-link {
  background: none; border: none; cursor: pointer;
  font-family: var(--vv-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--vv-text); text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 0; position: relative;
}
.vv-nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--vv-red);
  transition: width 0.25s ease;
}
.vv-nav-link:hover, .vv-nav-link:focus-visible { color: var(--vv-red); }
.vv-dropdown-toggle:hover, .vv-dropdown-toggle:focus {
  background: var(--vv-bg); color: var(--vv-red); border-radius: 3px;
}
.vv-nav-link:hover::after, .vv-nav-link:focus-visible::after { width: 100%; }
.vv-has-dropdown { position: relative; }
.vv-caret { font-size: 10px; transition: transform 0.2s ease; }
.vv-has-dropdown.is-open .vv-caret { transform: rotate(180deg); }
.vv-dropdown {
  display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,0.12); border-radius: 4px;
  padding: 10px 0; min-width: 180px; z-index: 10;
}
.vv-has-dropdown.is-open .vv-dropdown { display: block; }
.vv-dropdown a {
  display: block; padding: 10px 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--vv-text); text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease;
}
.vv-dropdown a:hover { color: var(--vv-red); background: var(--vv-bg); }

/* Floating "Get 10% off" side tab */
.vv-offer-tab {
  position: fixed; right: 0; top: calc(55% + 220px); transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--vv-blue); color: #fff; border: none; cursor: pointer;
  font-family: var(--vv-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 18px 8px; border-radius: 0 6px 6px 0; z-index: 90;
  transition: background-color 0.25s ease, padding-right 0.25s ease;
}
.vv-offer-tab:hover { background: var(--vv-red); padding-right: 12px; }

/* ---------- Hero carousel ---------- */
.vv-hero {
  position: relative;
  height: min(62vw, 80vh);
  min-height: 520px;
  overflow: hidden;
}
.vv-hero-track { position: relative; width: 100%; height: 100%; }

/* All four slides occupy the same box. z-index (--z, set inline per slide)
   decides stacking; entrance order and final stacking are independent, so
   slide 1 can land last while still ending up on top. */
.vv-hero-slide {
  position: absolute; inset: 0;
  z-index: var(--z);
  transform: translateX(-100%);
  box-shadow: 12px 0 40px rgba(0,0,0,0.35);
}

/* Deck entrance: each slide reads its own --delay to know when to start.
   One class toggle on .vv-hero (added when it scrolls/loads into view)
   drives all four at once. Slides are opaque, full-width pushes (not a
   crossfade) — translateX(-100%) plus the container's overflow:hidden is
   what keeps a slide offscreen until its turn, so no opacity is needed.
   --delay is ordered so the slide stacked on top (highest --z, index 0)
   arrives LAST: each new slide visibly lands in front of the one before
   it, reading as a true one-by-one reveal instead of the top slide
   finishing first and hiding the rest of the deck arriving underneath it. */
@keyframes vv-deck-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.vv-hero.in-view .vv-hero-slide {
  animation: vv-deck-in 0.5s var(--delay) ease-out forwards;
}

/* Once the entrance finishes, JS hands off to an explicit active/inactive
   state — slide-switching becomes a single connected push: outgoing and
   incoming both move on the same transform-only transition, so they read as
   one strip sliding through rather than two independently fading/drifting
   layers. Opacity is only used to gate the two slides not currently involved
   in a transition (kept invisible, not animated) so they can't show through
   the gap the moment the outgoing slide clears the middle of the frame. */
.vv-hero.ready .vv-hero-slide {
  /* vv-deck-in above holds its end state via fill:forwards, which as a CSS
     animation outranks the plain transform rule below — cancel it explicitly
     or every slide stays pinned to its entrance values. */
  animation: none;
  transition: transform 0.8s ease-in-out;
  transform: translateX(0);
  opacity: 0;
  z-index: 1;
}
.vv-hero.ready .vv-hero-slide.is-active,
.vv-hero.ready .vv-hero-slide.is-exit-left,
.vv-hero.ready .vv-hero-slide.is-exit-right { opacity: 1; z-index: 5; box-shadow: none; }

/* Direction of travel: JS adds is-enter-from-* to the incoming slide with the
   transition disabled (instant snap to its off-screen start point), forces a
   reflow, then swaps to is-active on the next frame so it slides in from that
   side. The outgoing slide gets is-exit-* at the same moment and slides out
   the opposite way, so "next" always reads left-to-right and "prev" reverses it. */
.vv-hero.ready .vv-hero-slide.is-enter-from-right,
.vv-hero.ready .vv-hero-slide.is-enter-from-left { transition: none; }
.vv-hero.ready .vv-hero-slide.is-enter-from-right { transform: translateX(100%); }
.vv-hero.ready .vv-hero-slide.is-enter-from-left { transform: translateX(-100%); }
.vv-hero.ready .vv-hero-slide.is-exit-left { transform: translateX(-100%); }
.vv-hero.ready .vv-hero-slide.is-exit-right { transform: translateX(100%); }

.vv-hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.vv-hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}
.vv-hero-text { max-width: 720px; color: #fff; }
.vv-hero-text h1 {
  color: #fff; font-size: clamp(26px, 4vw, 42px); line-height: 1.25; margin-bottom: 16px; text-wrap: balance;
}
.vv-hero-sub { color: rgba(255,255,255,0.9); font-size: 15px; margin-bottom: 22px; }

/* Per-slide text reveal: image crossfades in first (the .ready transition
   above), then JS adds .vv-text-in to that slide's text block a beat later,
   staggering heading → subtext → button. */
.vv-hero-text > * { opacity: 0; transform: translateY(14px); }
.vv-hero-text.vv-text-in > * {
  animation: vv-text-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.vv-hero-text.vv-text-in > *:nth-child(1) { animation-delay: 0s; }
.vv-hero-text.vv-text-in > *:nth-child(2) { animation-delay: 0.12s; }
.vv-hero-text.vv-text-in > *:nth-child(3) { animation-delay: 0.24s; }
@keyframes vv-text-in { to { opacity: 1; transform: translateY(0); } }
.vv-hero .vv-btn-outline {
  display: inline-block; background: #fff; color: var(--vv-text); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 26px; transition: background-color 0.25s ease, color 0.25s ease;
}
.vv-hero .vv-btn-outline:hover { background: var(--vv-red); color: #fff; }

/* Arrows and dots start invisible/non-interactive; JS adds .controls-visible
   to .vv-hero once the deck's last slide finishes landing. */
.vv-hero-arrow, .vv-hero-dots {
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.vv-hero.controls-visible .vv-hero-arrow, .vv-hero.controls-visible .vv-hero-dots {
  opacity: 0.85; pointer-events: auto;
}
.vv-hero.controls-visible .vv-hero-dots { opacity: 1; }

.vv-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.25); border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  z-index: 6;
}
.vv-hero-arrow:hover { opacity: 1 !important; background: #fff; color: var(--vv-text); }
.vv-hero-prev { left: 28px; }
.vv-hero-next { right: 28px; }

.vv-hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.vv-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer;
  padding: 0; transition: background-color 0.2s ease, transform 0.2s ease;
}
.vv-dot.is-active { background: #fff; transform: scale(1.3); }

/* Heading section directly below the hero */
.vv-hero-heading {
  max-width: 980px; margin: 0 auto; text-align: center; padding: 72px 24px 56px;
}
.vv-hero-heading-h1 {
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.5; margin-bottom: 24px; text-wrap: balance;
}
.vv-hero-heading-h1 a { color: var(--vv-text); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.vv-hero-heading-h1 a:hover { color: var(--vv-red); }

/* ---------- Sections ---------- */
.vv-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}
.vv-section-head { text-align: center; margin-bottom: 48px; }
.vv-h2 { font-size: 32px; }
.vv-h3 { font-size: 26px; }

/* Destination cards — image slot is square (482x484 on the live site) */
.vv-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.vv-dest-card { display: flex; flex-direction: column; gap: 16px; }
.vv-dest-card a:first-child { display: block; overflow: hidden; border-radius: 4px; }
.vv-dest-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.vv-dest-card a:first-child:hover img { transform: scale(1.05); }
.vv-dest-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.vv-dest-card-head h4 { margin: 0; font-size: 20px; }
.vv-dest-loc { color: var(--vv-text-subtle); font-size: 13px; margin: 0; }

/* Testimonial cards (What Our Guests Say) — shared with
 * template-destination-overview.php, since this stylesheet loads sitewide. */
.vv-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.vv-testimonial-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 28px 24px;
}
.vv-testimonial-card__stars {
  color: var(--vv-red);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.vv-testimonial-card__quote {
  font-family: var(--vv-serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--vv-text);
  margin: 0 0 14px;
}
.vv-testimonial-card__source {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vv-text-subtle);
  margin: 0;
}
/* Homepage variant: horizontal scroll-snap carousel instead of a grid */
.vv-testimonial-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.vv-testimonial-carousel .vv-testimonial-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* Split sections */
.vv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.vv-split-reverse .vv-split-media { order: -1; }
.vv-split-text .vv-h2 { font-size: 28px; }

/* Photo slot — a single fixed-ratio frame (~1.23:1, matching the live site's
   Weddings/Events/Packages image containers). Multiple <img> children stack
   and crossfade rather than sitting side by side. */
.vv-photo-slot {
  position: relative;
  aspect-ratio: 1.23 / 1;
  border-radius: 4px;
  overflow: hidden;
}
/* Hidden until the slot scrolls into view: each image is clipped down to a
   0-width sliver at the left edge. vv-wipe-in below grows that sliver
   rightward, so the photo appears to wipe on rather than fade or slide.
   The clip lives on the <img>, not the .vv-photo-slot container — the
   container is what an IntersectionObserver watches to trigger the reveal,
   and a clipped observed element reports 0% intersection forever (it has
   no visible area to intersect with), so clipping it directly would make
   the reveal unable to ever trigger. */
.vv-photo-slot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  clip-path: inset(0 100% 0 0);
}
.vv-photo-slot.vv-wipe-in img {
  animation: vv-wipe-in 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes vv-wipe-in {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.vv-crossfade img {
  position: absolute; inset: 0; opacity: 0;
  animation: vv-crossfade 9s infinite;
}
.vv-crossfade img.is-active { opacity: 1; }
.vv-crossfade img:nth-child(1) { animation-delay: 0s; }
.vv-crossfade img:nth-child(2) { animation-delay: -4.5s; }
@keyframes vv-crossfade {
  0%, 44% { opacity: 1; }
  50%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

/* Story */
.vv-story { position: relative; padding: 100px 24px; color: #fff; overflow: hidden; }
.vv-story-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); z-index: 0; }
.vv-story-card {
  position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center;
}
.vv-story-card .vv-h3, .vv-story-card p { color: #fff; }
.vv-story-card .vv-cta-link { color: #fff; }
.vv-story-card .vv-cta-link::after { background: #fff; }

/* Contact */
.vv-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--vv-bg-emphasis);
  border-radius: 8px;
}
.vv-contact-links p { margin: 4px 0; }
.vv-contact-links a, .vv-contact p a { transition: color 0.2s ease; }
.vv-contact-links a:hover, .vv-contact p a:hover { color: var(--vv-red); }

/* Contact band — the vv-contact-band ACF block (docs/block-pattern-inventory.md's
 * most-repeated pattern). --card reproduces the homepage's live-verified .vv-contact
 * shape (phone/WhatsApp/email row + text CTA); --button is the centered/button-CTA
 * variant used by the simpler "Plan Your Stay" sections that don't surface contact
 * links inline. Loaded sitewide (this file) since the band appears on every page-kind. */
.vv-contact-band--card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--vv-bg-emphasis);
  border-radius: 8px;
}
.vv-contact-band__links p { margin: 4px 0; }
.vv-contact-band__links a, .vv-contact-band__copy p a { transition: color 0.2s ease; }
.vv-contact-band__links a:hover, .vv-contact-band__copy p a:hover { color: var(--vv-red); }
.vv-contact-band--button { text-align: center; }
.vv-contact-band--button h3 { font-size: 24px; }
.vv-contact-band--button .vv-contact-band__copy p { color: var(--vv-text-subtle); margin-bottom: 20px; }

/* Primary button — used by vv-contact-band's --button style and (still) by
 * .vv-dest-cta call sites not yet migrated. Sitewide since vv-contact-band
 * appears on page-kinds that don't load destination.css. */
.vv-btn {
  display: inline-block;
  background: var(--vv-red);
  color: #fff;
  font-family: var(--vv-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
}
.vv-btn:hover { background: var(--vv-red-dark); color: #fff; }

/* ---------- Newsletter CTA card (Figma node 482:48) ---------- */
.vv-newsletter-cta {
  background: #221616;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  margin: 80px auto;
}
.vv-newsletter-cta__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vv-newsletter-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 630px;
  color: #d3c7ad;
  word-break: break-word;
}
.vv-newsletter-cta__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-transform: uppercase;
}
.vv-newsletter-cta__eyebrow {
  margin: 0;
  font-family: var(--vv-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 40px;
  letter-spacing: -0.4px;
  color: inherit;
}
.vv-newsletter-cta__title {
  margin: 0;
  font-family: var(--vv-sans);
  font-weight: 600;
  font-size: 34px;
  line-height: 42px;
  letter-spacing: -1.02px;
  color: inherit;
}
.vv-newsletter-cta__desc {
  margin: 0;
  font-family: var(--vv-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: normal;
  width: 100%;
  text-transform: none;
  color: inherit;
}
.vv-newsletter-cta__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d3c7ad;
  border: 1px solid #d3c7ad;
  border-radius: 72px;
  padding: 12px;
  font-family: var(--vv-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: #221616;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.vv-newsletter-cta__btn:hover, .vv-newsletter-cta__btn:focus-visible { background: #fff; border-color: #fff; }

@media (max-width: 780px) {
  .vv-newsletter-cta__row { flex-direction: column; align-items: flex-start; }
  .vv-newsletter-cta__copy { max-width: none; }
}

/* ---------- Newsletter modal ----------
   Shared header/form/button rules below (.vv-modal-header, .vv-modal-form,
   .vv-modal-submit, etc.) are used by both this backdrop-<div> variant and
   the native-<dialog> VV Modal Block further down — only the outer panel
   (.vv-modal vs. dialog.vv-modal-dialog) differs between the two. */
.vv-modal-backdrop {
  position: fixed; inset: 0; background: rgba(20,16,14,0.55);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 20px; z-index: 200; overflow-y: auto;
}
.vv-modal-backdrop[hidden] { display: none; }
.vv-modal {
  background: #fff; border-radius: 8px; max-width: 560px; width: 100%;
  padding: 30px; position: relative;
}

/* ---------- Shared modal header (title + description + close icon) ---------- */
.vv-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 11px;
  margin-bottom: 40px;
}
.vv-modal-header__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vv-modal-title {
  font-family: var(--vv-sans); font-weight: 500; font-size: 24px; line-height: 40px;
  letter-spacing: -0.48px; color: var(--vv-text); margin: 0;
}
.vv-modal-title span { font-weight: 400; }
.vv-modal-desc {
  font-family: var(--vv-sans); font-weight: 400; font-size: 15px; line-height: 25px;
  letter-spacing: -0.3px; color: var(--vv-text-subtle); margin: 0;
}
.vv-modal-close {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 39px; height: 39px; padding: 5px; margin: -5px -5px 0 0;
  background: none; border: none; border-radius: 50%; cursor: pointer;
  color: var(--vv-text); transition: background-color 0.2s ease;
}
.vv-modal-close:hover, .vv-modal-close:focus-visible { background: var(--vv-bg); }
.vv-modal-close svg { width: 100%; height: 100%; display: block; }

/* ---------- Shared modal form ---------- */
.vv-modal-form { display: flex; flex-direction: column; gap: 20px; }
.vv-modal-form label { display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--vv-text); }
.vv-req { color: var(--vv-red); }
.vv-modal-form input, .vv-modal-form select {
  box-sizing: border-box;
  border: 1px solid #dcdcdc; border-radius: 0; padding: 10px; height: 40px; font-size: 15px;
  font-family: var(--vv-sans); background: var(--vv-bg); transition: border-color 0.2s ease;
}
.vv-modal-form input:focus, .vv-modal-form select:focus { outline: none; border-color: var(--vv-red); }

/* Native <select> reserves its own padding/arrow space regardless of the
   `padding` above, so its text sits at a different inset than a plain text
   input unless the OS chrome is stripped and redrawn ourselves. */
.vv-modal-form select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a3a3a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Chrome's <input type="date"> renders its day/month/year segments and the
   calendar-icon button as internal parts with their own default padding,
   independent of the input's own `padding` — zero those out so the visible
   text/icon insets match every other field. */
.vv-modal-form input[type="date"]::-webkit-datetime-edit { padding: 0; }
.vv-modal-form input[type="date"]::-webkit-calendar-picker-indicator { padding: 0; margin-left: 6px; }

/* Phone Number field with an attached country-code select, styled as one
   unified control. The select shows only the dial code ("+91") in its own
   closed box — its real text is transparent and a display span sits on top
   — but the dropdown list itself still shows the full "+91 (India)" option
   text, since each <option>'s color is set explicitly. */
.vv-modal-form .vv-phone-field {
  display: flex; align-items: stretch;
  box-sizing: border-box; border: 1px solid #dcdcdc; background: var(--vv-bg); height: 40px;
  transition: border-color 0.2s ease;
}
.vv-modal-form .vv-phone-field:focus-within { border-color: var(--vv-red); }
.vv-modal-form .vv-phone-field select,
.vv-modal-form .vv-phone-field input {
  box-sizing: border-box; height: 100%; border: none; background: transparent;
}
.vv-modal-form .vv-phone-field select:focus,
.vv-modal-form .vv-phone-field input:focus { outline: none; }

.vv-country-code { position: relative; flex: 0 0 auto; border-right: 1px solid #dcdcdc; }
.vv-modal-form .vv-country-code select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  width: 80px; padding: 0 26px 0 10px; color: transparent; cursor: pointer;
  font-size: 15px; font-family: var(--vv-sans);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a3a3a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.vv-country-code select option { color: var(--vv-text); }
.vv-country-code__display {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-size: 15px; font-family: var(--vv-sans); color: var(--vv-text);
  pointer-events: none; white-space: nowrap;
}
.vv-modal-form .vv-phone-field input[type="tel"] { flex: 1 1 auto; min-width: 0; padding: 0 10px; font-size: 15px; }

.vv-hint { font-size: 12px; color: var(--vv-text-subtle); font-weight: 400; margin-top: 4px; }
.vv-modal-submit {
  margin-top: 20px; width: 100%; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--vv-blue); color: var(--vv-cream); border: none; border-radius: 4px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.3px; text-transform: uppercase;
  cursor: pointer; transition: background-color 0.25s ease;
}
.vv-modal-submit:hover { background: var(--vv-red); }

/* ---------- VV Modal Block (native <dialog>) ----------
   Same visual language as .vv-modal above, on the native element so ESC,
   backdrop click, and focus trapping come from the browser, not hand-rolled
   JS. See component-architecture.md §2 pattern 2. */
dialog.vv-modal-dialog {
  border: none;
  border-radius: 8px;
  padding: 30px;
  max-width: 560px;
  width: 100%;
  margin: auto;
}
dialog.vv-modal-dialog::backdrop {
  background: rgba(20,16,14,0.55);
}
.vv-modal-dialog__inner { position: relative; }

.vv-modal-trigger-tab {
  position: fixed; right: 0; top: calc(55% + 200px); transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--vv-blue); color: #fff; border: none; cursor: pointer;
  font-family: var(--vv-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 18px 8px; border-radius: 0px 6px 6px 0px; z-index: 90;
  transition: background-color 0.25s ease, padding-right 0.25s ease;
}
.vv-modal-trigger-tab:hover { background: var(--vv-red); padding-right: 12px; }

.vv-modal-trigger-btn {
  display: inline-block; background: var(--vv-red); color: #fff; border: none; cursor: pointer;
  font-family: var(--vv-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 0px;
  transition: background-color 0.25s ease;
}
.vv-modal-trigger-btn:hover { background: var(--vv-red-dark); }

/* ---------- VV Accordion Block ---------- */
.vv-accordion { max-width: 760px; margin: 0 auto; }
.vv-accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 4px 0;
}
.vv-accordion-item__question {
  font-family: var(--vv-serif);
  font-size: 17px;
  padding: 16px 28px 16px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.vv-accordion-item__question::-webkit-details-marker { display: none; }
.vv-accordion-item__question::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  font-size: 20px;
  color: var(--vv-red);
  transition: transform 0.2s ease;
}
.vv-accordion-item[open] .vv-accordion-item__question::after {
  transform: translateY(-50%) rotate(45deg);
}
.vv-accordion-item__answer {
  padding: 0 0 18px;
  color: var(--vv-text-subtle);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.vv-site-footer {
  background: var(--vv-blue);
  color: rgba(255,255,255,0.92);
  padding: 44px 32px 0;
}
.vv-footer-top { max-width: 1200px; margin: 0 auto; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.vv-footer-eyebrow { color: #fff; opacity: 0.7; margin-bottom: 10px; }
.vv-footer-contact-row { margin: 0; font-size: 15px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vv-footer-contact-row a { color: #fff; text-decoration: none; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 6px; }
.vv-footer-contact-row a:hover { color: rgba(255,255,255,0.6); }
.vv-footer-divider { opacity: 0.3; }

.vv-footer-cols {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 0;
}
.vv-footer-heading {
  font-family: var(--vv-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; opacity: 0.6; margin: 0 0 16px;
}
.vv-footer-col a {
  display: block; color: #fff; text-decoration: none; font-size: 14.5px; margin-bottom: 12px;
  transition: color 0.2s ease;
}
.vv-footer-col a:hover { color: rgba(255,255,255,0.6); }
.vv-social-icons { display: flex; gap: 10px; }
.vv-social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease; margin: 0;
}
.vv-social-icons a:hover { transform: translateY(-2px); opacity: 0.85; }
.vv-social-icons svg { fill: var(--vv-blue); }

.vv-footer-legal {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.vv-footer-legal p { margin: 0; color: inherit; }
.vv-footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s ease; }
.vv-footer-legal a:hover { color: #fff; }

@media (max-width: 780px) {
  .vv-dest-grid, .vv-split { grid-template-columns: 1fr; }
  .vv-split-reverse .vv-split-media { order: 0; }
  .vv-hero { height: 78vh; }
  .vv-footer-cols { grid-template-columns: 1fr 1fr; }

  /* Hamburger drawer: row2 collapses to a hidden dropdown panel, toggled by
     .vv-nav-open (set via vv-site.js) rather than shown inline. */
  .vv-header-row2 {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 12px 32px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  }
  .vv-site-header.vv-nav-open .vv-header-row2 { display: flex; }
  .vv-has-dropdown { width: 100%; }
  .vv-dropdown { position: static; transform: none; box-shadow: none; padding-left: 12px; }
}

/* Pilot-only: strip GeneratePress default page chrome so the homepage
   content is edge-to-edge, matching the live site's single-column layout. */
.page-id-16 #right-sidebar,
.page-id-16 .sidebar { display: none !important; }
.page-id-16 #primary,
.page-id-16 .content-area { width: 100% !important; float: none !important; }
.page-id-16 .entry-header,
.page-id-16 .inside-article > .entry-header { display: none !important; }
.page-id-16 .inside-article { padding: 0 !important; }
.page-id-16 .site-content, .page-id-16 .site-main { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
/* GeneratePress's .entry-content:not(:first-child) rule still matches here —
   the hidden .entry-header above is still the first DOM child, display:none
   doesn't change that — so it was adding a 2em top margin regardless. */
.page-id-16 .entry-content { margin-top: 0 !important; }
.page-id-16 .entry-content > p:first-child:empty { display: none; }
body.page-id-16 { background: #fff; }
.page-id-16 .site-header, .page-id-16 .main-navigation { display: none !important; }
.page-id-16 .site-footer, .page-id-16 .site-info { display: none !important; }
.page-id-16 .vv-site-footer { display: block !important; }

@media (prefers-reduced-motion: reduce) {
  .vv-hero.in-view .vv-hero-slide { animation-duration: 0.01ms; animation-delay: 0ms; }
  .vv-hero.ready .vv-hero-slide,
  .vv-hero-arrow, .vv-hero-dots { transition-duration: 0.01ms; }
  .vv-hero-text.vv-text-in > * { animation-duration: 0.01ms; animation-delay: 0ms; }
  .vv-photo-slot.vv-wipe-in img { animation-duration: 0.01ms; }
}
