/* ==========================================================================
   Marcus Andrew Photography — marcusandrewphotography.com
   Static rebuild (no WordPress). Design tokens extracted from original site.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Cocogoose Pro'; src: url('../fonts/CocogoosePro-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cocogoose Pro'; src: url('../fonts/CocogoosePro-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cocogoose Pro'; src: url('../fonts/CocogoosePro-Italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cocogoose Pro'; src: url('../fonts/CocogoosePro-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cocogoose Pro'; src: url('../fonts/CocogoosePro-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #34485F;          /* dark slate navy — CTA bands, button text   */
  --heading: #023A51;       /* deep petrol — headings on light            */
  --text: #59667D;          /* body copy                                  */
  --accent: #00B1E2;        /* sky blue — borders, underlines, hovers     */
  --accent-deep: #198FD9;
  --bg: #FFFFFF;            /* page background (#main --content_bg_color) */
  --bg-alt: #E6E7E8;        /* alt section background                     */
  --white: #FFFFFF;
  --font-display: 'Cocogoose Pro', Arial, Helvetica, sans-serif;
  --font-body: 'Cocogoose Pro', 'MS Sans Serif', Geneva, sans-serif;
  --font-ui: 'Manrope', Geneva, sans-serif;
  --container: 1710px;   /* 1650px content + 2 x 30px gutter */
  --header-h: 100px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.008em;
  color: var(--text);
  background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
}
h1 { font-size: 58px; line-height: 1.16; letter-spacing: -0.05em; }
h2 { font-size: 48px; line-height: 1.20; letter-spacing: -0.03em; }
h3 { font-size: 36px; line-height: 1.30; letter-spacing: -0.02em; }
h4 { font-size: 24px; line-height: 1.42; letter-spacing: -0.016em; }
h5 { line-height: 1.40; }
h6 { line-height: 1.50; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 30px; }
.text-center { text-align: center; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 3px solid var(--accent);
  padding: 13px 29px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1.2;
}
.btn:hover { background: var(--accent); color: var(--white); border-color: #FFFFFF; }
.btn--sm { font-size: 14px; padding: 10px 22px; }
.btn--filled { background: var(--accent); color: var(--white); }
.btn--filled:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header .container {
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-header .logo img { height: 56px; width: auto; }
.site-header .logo .logo-dark { display: none; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.008em;
  color: var(--white);
  white-space: nowrap;
}
.site-header .logo { margin-right: 24px; flex-shrink: 0; }
.main-nav a:hover { color: var(--white); }
.main-nav .nav-cta {
  border: 2px solid var(--accent); background: #FFFFFF; color: var(--navy);
  font-family: var(--font-ui); font-weight: 600;
  font-size: 14px; line-height: 17px; padding: 13px 29px;
}
.main-nav .nav-cta:hover { background: var(--accent); color: var(--white); border-color: #FFFFFF; }

/* dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' \25BE'; font-size: 11px; }
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  min-width: 220px;
  padding: 0;
  box-shadow: none;
  margin-top: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s cubic-bezier(.42, .01, .58, 1);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  display: block; padding: 12px 20px;
  color: #212934 !important; font-size: 14px; font-weight: 400;
  border-bottom: 1px solid #E2E2E2;
}
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: #F9F9FB; color: #212934 !important; }
@media (min-width: 1201px) {
  .has-dropdown:hover::before, .has-dropdown:focus-within::before {
    content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 24px; z-index: 30;
  }
}

/* Header is transparent and floats over hero / title-bar photo on EVERY page;
   goes fixed + navy only once scrolled (data-transition-offset="115"). */
.site-header.scrolled {
  position: fixed;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.site-header.scrolled .container { height: 80px; }
.site-header.scrolled .logo img { height: 48px; }
.main-nav a.u-line { text-decoration: underline; text-underline-offset: 4px; }

/* Avada "slant" section separator: 99px band, flat accent fill,
   triangle (100,0)(100,100)(0,0) — full-width at top, tapering to bottom-left. */
.swoosh {
  height: 99px;
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.swoosh-wrap { background: var(--bg-alt); }
/* The slant sits in normal flow directly after the runway. Because the hero's
   bottom lands exactly on the runway's bottom when the pin releases, the slant
   meets the video flush — no overlap, no white gap — and it stays off-screen
   while the hero is pinned so it never covers the video at load.
   (The white gap Marcus saw was the hero being sized in svh; it is dvh now.) */

/* hamburger */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--white); transition: .25s; }

/* ---------- Hero (home) — cinematic scroll-scrubbed intro ----------
   .hero-pin is a tall runway; .hero sticks to the viewport while you scroll
   through it. JS scrubs the video push-in, veil and headline off that progress,
   then the page releases underneath. Falls back to a plain full-screen hero
   when JS is off or the visitor prefers reduced motion. */
/* The runway sits BEHIND the sticky hero; tint it so any sliver exposed by a
   viewport-height change reads as part of the hero rather than a white gap. */
.hero-pin { position: relative; height: 200vh; height: 200svh; background: var(--navy); }
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  /* dvh, not svh: on phones the URL bar retracts mid-scroll and the viewport
     GROWS — an svh-sized hero then leaves a white strip under the video that the
     slant appears to "catch up" to. dvh keeps the hero flush with the viewport. */
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero video, .hero .hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: 50% 55%;
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at center center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
  background-color: rgba(10,16,24,0);
  will-change: background-color;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px; max-width: 1240px;
  will-change: transform, opacity;
}

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; z-index: 3;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
  transition: opacity .3s;
}
.scroll-cue::after {
  content: ''; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: rgba(255,255,255,.9);
  animation: cue-drift 1.8s ease-in-out infinite;
}
@keyframes cue-drift {
  0%   { transform: translateY(0);    opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* Static fallback: no pin, no scrub */
.no-hero-scrub .hero-pin { height: auto; }
.no-hero-scrub .hero { position: relative; height: 100vh; height: 100svh; }
.no-hero-scrub .scroll-cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero { position: relative; height: 100vh; height: 100svh; }
  .scroll-cue { display: none; }
  .scroll-cue::after { animation: none; }
}
@media (max-width: 760px) { .hero-pin { height: 170vh; height: 170svh; } }
.hero-content h1 { color: var(--white); margin-bottom: 18px; }
.hero-content h1 .u { white-space: nowrap; text-decoration: underline; text-decoration-color: #00B4E5; }
.hero-content p { color: var(--white); font-size: 26px; line-height: 36px; margin-bottom: 34px; }

/* ---------- Serving strip ---------- */
.serving { padding: 20px 30px 30px; text-align: center; }
.serving h2 { font-size: 48px; }

/* ---------- Service cards (home) ---------- */
.services { padding: 20px 0 80px; }
.services .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.svc { display: flex; flex-direction: column; }
.svc-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 2px 4px -1px rgba(0,0,0,.05);
  background-size: cover; background-position: center center;
}
.svc-body { padding: 96px 0; width: 100%; text-align: center; }
.svc-body h3 {
  color: #fff; font-size: 50px; line-height: 1.42; letter-spacing: -0.02em;
  margin: 20px 0;
  text-shadow: 4px 4px 5px rgba(68,68,68,.75);
}
.svc-text { text-align: center; padding: 20px 0 0; }
.svc-desc { color: var(--text); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); text-align: center; padding: 65px 30px 80px; }
.cta-band > .container { max-width: none; width: 48.01%; padding: 0; }
.cta-band h2 { color: var(--white); margin: 0 0 20px; }
.cta-band .btn { margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); padding: 80px 0 90px; }
.testimonials h2 { text-align: center; margin-bottom: 46px; color: #34485F; }
.t-slider { max-width: none; margin: 0; text-align: center; padding: 0; position: relative; }
.t-stack { position: relative; transition: height ease-in-out .5s; }
.t-slide {
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; pointer-events: none; transition: opacity ease-in-out .5s;
}
.t-slide.active { position: relative; opacity: 1; pointer-events: auto; z-index: 1; }
.t-img { display: block; width: 150px; height: auto; max-height: none; margin: 0 auto 24px; }
.t-slide blockquote {
  font-size: 18px; line-height: 30px; letter-spacing: 2px;
  font-style: italic; color: #4A4E57;
  background: #F9F9FB; padding: 1.25em 1.5em;
}
.t-author { margin-top: 24px; font-size: 18px; line-height: 1.7; letter-spacing: 2px; font-weight: 400; color: #4A4E57; }
.t-author strong { font-weight: 700; }
.t-dots { display: flex; justify-content: center; gap: 9.6px; margin-top: 22.4px; }
.t-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid #4A4E57; background: transparent;
  cursor: pointer; padding: 0; transition: background .2s;
}
.t-dots button.active, .t-dots button:hover { background: #4A4E57; }

/* ---------- Recent work / Instagram (matches Smash Balloon layout) ---------- */
.igrid-section { background: var(--bg-alt); padding: 80px 0; }
.igrid-section h2 { margin-bottom: 34px; text-align: center; color: #34485F; }
.ig-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ig-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ig-handle { font-family: var(--font-ui); font-weight: 700; color: var(--heading); font-size: 15px; }
.ig-bio { font-size: 12.5px; color: #A7AEB9; line-height: 1.5; }
.igrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 0 auto 30px; }
.igrid a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; }
.igrid img { width: 100%; height: 100%; object-fit: cover; }
.ig-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ig-play svg { width: 42px; height: 42px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
.ig-badge { position: absolute; top: 10px; right: 10px; pointer-events: none; }
.ig-badge svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
.ig-btns { display: flex; justify-content: center; gap: 10px; }
.btn-loadmore, .btn-follow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: #fff;
  padding: 9px 18px; border-radius: 4px; line-height: 1.4;
}
.btn-loadmore { background: #1B2733; }
.btn-loadmore:hover { background: #2d3c4d; color: #fff; }
.btn-follow { background: #408BD1; }
.btn-follow:hover { background: #3379bc; color: #fff; }

/* ---------- Photo title bar ---------- */
.titlebar {
  position: relative;
  padding: 150px 30px 100px;
  text-align: center;
  background-color: #E0ECF0;
  background-size: cover; background-position: center;
}
.titlebar::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%); }
.titlebar h1 { position: relative; z-index: 1; color: var(--white); font-size: 58px; line-height: 1.16; margin: 0 0 40px; padding: 0; }

/* Avada fusion-bg-parallax: direction "up", |velocity| 0.3, non-touch only */
.titlebar[data-parallax] { overflow: hidden; z-index: 1; }
.titlebar[data-parallax] > .parallax-inner {
  position: absolute; top: 0; left: 0; width: 100%;
  z-index: -1; pointer-events: none; will-change: transform;
  background-color: #E0ECF0;
  background-position: center center; background-repeat: no-repeat; background-size: cover;
}

/* Videography title bar is a looping muted video, not a still */
.titlebar--video { overflow: hidden; }
.titlebar--video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.titlebar--video::after { z-index: 1; }
.titlebar--video h1 { z-index: 2; }

/* ---------- Generic page sections ---------- */
.page-section { padding: 80px 0; }
.page-section.alt  { background: var(--white); }
.page-section.tint { background: var(--bg-alt); }
.page-section--video { padding: 20px 0 60px; }
.page-section--vs    { padding: 20px 0; }
.page-section--terms { padding: 20px 0; }
.page-section--faq   { padding: 80px 0 100px; }
.section-intro { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.section-intro h2 { margin-bottom: 18px; }

/* ---------- Galleries (photography) — 1/3 copy left, 2/3 gallery right ---------- */
.gallery-block { padding: 60px 0; background: var(--white); }
.gallery-block.alt { background: var(--bg-alt); }
.gallery-block.tight { padding: 20px 0; }
.gallery-block .container {
  display: grid;
  grid-template-columns: 24% 1fr;
  column-gap: 9%;
  align-items: center;
}
.gallery-block .g-copy  { grid-column: 1; }
.gallery-block .gallery { grid-column: 2; }
.gallery-block h2 { text-align: left; margin: 0 0 20px; font-size: 58px; line-height: 1.16; letter-spacing: -0.05em; }
.gallery-block .g-desc { max-width: none; margin: 0; padding: 0; text-align: left; font-size: 15px; line-height: 1.7; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: none; margin: 0; padding: 0; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 12, 18, .94);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 40px; line-height: 1; padding: 16px; opacity: .8; font-family: Arial, sans-serif;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Videography ---------- */
/* Avada row widths 50/50, 33/33/33, 50/50 -> 6 tracks: span 3 = 50%, span 2 = 33.33%. */
.video-grid { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 4%; row-gap: 40px; }
.video-grid > .video-item { grid-column: span 3; }
.video-grid > .video-item:nth-child(n+3):nth-child(-n+5) { grid-column: span 2; }
.video-item h4 { text-align: center; margin: 0 0 32px; white-space: pre-line; line-height: 1.42; }
.video-item video { width: 100%; background: #000; }
.video-item.vertical video { max-height: 640px; margin: 0 auto; width: auto; max-width: 100%; }
.video-row-vertical { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 4%; row-gap: 40px; align-items: start; }

/* ---------- Before / After slider ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4%; row-gap: 70px; }
.ba { position: relative; overflow: hidden; aspect-ratio: 3 / 2; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 50%); }

/* 3px white guide line that BREAKS 19px either side of centre to meet the ring */
.ba .ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px;
  background: transparent; cursor: ew-resize; z-index: 2; touch-action: none;
}
.ba .ba-handle::before, .ba .ba-handle::after {
  content: ''; position: absolute; left: 0; width: 3px; background: #fff;
  box-shadow: 0 0 12px rgba(51,51,51,.5);
}
.ba .ba-handle::before { top: 0; bottom: calc(50% + 19px); }
.ba .ba-handle::after  { bottom: 0; top: calc(50% + 19px); }

/* 44px outer ring, transparent fill, two arrows */
.ba .ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 1000px;
  border: 3px solid #fff; background: transparent;
  box-shadow: 0 0 12px rgba(51,51,51,.5); cursor: ew-resize;
}
.ba .ba-knob::before, .ba .ba-knob::after {
  content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent;
}
.ba .ba-knob::before { left: 50%;  border-right-color: #fff; transform: translate(-130%, -50%); }
.ba .ba-knob::after  { right: 50%; border-left-color:  #fff; transform: translate(130%, -50%); }

/* ---------- FAQ vertical tabs (Avada .fusion-tabs.vertical-tabs.classic) ---------- */
.vtabs { display: flex; align-items: flex-start; max-width: none; margin: 0 0 50px; border: 0; background: transparent; }
.vtabs-nav {
  flex: 0 0 auto; position: relative; left: 1px;
  background: var(--white);
  border: 1px solid #E2E2E2; border-right: 0;
}
.vtabs-nav button {
  display: block; width: 100%; text-align: left; cursor: pointer; white-space: nowrap;
  background: #F9F9FB;
  border: 0; border-left: 3px solid transparent;
  margin-bottom: 1px;
  padding: 10px 35px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.42; letter-spacing: -0.016em;
  color: var(--heading);
  transition: background .2s;
}
.vtabs-nav button:last-child { margin-bottom: 0; }
.vtabs-nav button::before { content: '\203A\00a0\00a0'; color: #747474; font-size: 16px; }
.vtabs-nav button:hover, .vtabs-nav button.active { background: var(--white); }
.vtabs-nav button.active { border-left-color: var(--accent); }
.vtabs-panels { flex: 1 1 auto; min-width: 0; }
.vtab-panel {
  display: none; border: 1px solid #E2E2E2; background: var(--white);
  padding: 30px; font-size: 15px; line-height: 1.7; letter-spacing: 0.008em;
}
.vtab-panel.active { display: block; }

/* ---------- About (Behind the lens) ---------- */
.about { background: var(--bg-alt); padding: 110px 0; }
.about .about-logo { width: 230px; height: auto; margin-bottom: 16px; }
.about .about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  column-gap: 8%; row-gap: 36px;
  align-items: center;
  max-width: 1304px;
}
.about h2 { font-size: 58px; line-height: 1.16; letter-spacing: -0.05em; margin-bottom: 22px; }
.about p { font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.about img.portrait { border-radius: 0; box-shadow: none; }
.about .sig { font-family: var(--font-display); font-weight: 600; color: var(--heading); font-size: 18px; line-height: 1.5; letter-spacing: -0.005em; margin-top: 26px; }
.about .sig small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text); font-size: 14px; line-height: 24px; letter-spacing: 0.008em; }

/* ---------- Pricing: 3-across package cards ---------- */
.packages { background: var(--bg-alt); padding: 56px 0 72px; }
.packages > .container > h2 { text-align: center; margin-bottom: 48px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 64px; row-gap: 40px; max-width: 1420px; margin: 0 auto; }
.pkg {
  background: var(--white); border-radius: 8px;
  box-shadow: 15px 15px 20px 0 rgba(0,0,0,.16);
  padding: 16px 16px 34px; text-align: center; display: flex; flex-direction: column;
}
.pkg-img img { width: 100%; border-radius: 12px; }
.pkg-body { padding: 26px 18px 0; display: flex; flex-direction: column; flex: 1; }
.pkg-body .inc-title { font-family: var(--font-body); font-weight: 700; color: var(--text); font-size: 18px; line-height: 1.7; margin: 12px 0 18px; }
.pkg-includes { list-style: none; margin: 0 0 26px; }
.pkg-includes li { margin-bottom: 0; color: var(--text); font-size: 18px; line-height: 1.7; }
table.price-table { width: 100%; margin: 0 auto 30px; border-collapse: collapse; table-layout: fixed; font-size: 14px; letter-spacing: .008em; }
table.price-table th, table.price-table td { text-align: center; padding: 0 10px; color: var(--text); line-height: 1.7; }
table.price-table th { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0; padding-bottom: 20px; }
.pkg .btn { margin-top: auto; align-self: center; }

/* ---------- A la carte: +/- accordion toggles ---------- */
.alacarte { background: var(--white); padding: 72px 0; }
.alacarte h2.cat { text-align: center; font-size: 58px; line-height: 1.16; letter-spacing: -0.05em; margin: 72px 0 36px; }
.alacarte h2.cat:first-of-type { margin-top: 0; }
.alacarte .cat-intro { max-width: 1000px; margin: 0 auto 34px; }
.acc-list { max-width: 1080px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid #F2F3F5; }
.acc-q {
  display: flex; align-items: center; gap: 18px; width: 100%;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 10px 0;
  font-family: Arial, Helvetica, sans-serif; font-weight: 700;
  font-size: 16px; line-height: 1.42; letter-spacing: -0.016em; color: #141617;
  transition: color .2s;
}
.acc-item:not(.open) .acc-q:hover { color: #00B1E2; }
.acc-ico {
  flex: 0 0 auto; width: 25px; height: 25px; border-radius: 0;
  background: #212934; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400; font-family: Arial, Helvetica, sans-serif; transition: background .2s;
}
.acc-ico::before { content: '+'; }
.acc-item:not(.open) .acc-q:hover .acc-ico { background: #00B1E2; }
.acc-item.open .acc-ico { background: #00B1E2; }
.acc-item.open .acc-ico::before { content: '\2212'; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner {
  padding: 10px 0 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px; line-height: 1.7; letter-spacing: 0.008em; color: #141617;
}
.acc-a-inner p { margin-bottom: 10px; }
.acc-a-inner .price { font-family: inherit; font-weight: 700; font-size: inherit; color: inherit; }
.acc-a-inner ul { list-style: none; margin: 4px 0 0; }
.acc-a-inner li { margin-bottom: 4px; }

/* ---------- iGuide ---------- */
.iguide-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.iguide-intro h2 { text-align: center; grid-column: 1 / -1; margin-bottom: 10px; color: #34485F; }
.iguide-intro .ig-col-img img { border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,.14); margin-bottom: 22px; }
.iguide-intro .ig-col-tour { position: relative; width: 100%; height: 0; padding-bottom: 57%; overflow: hidden; }
.iguide-intro .ig-col-tour iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Avada content-boxes, icon-on-side: 40px icon at the heading's left, copy indented. */
.iguide-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  column-gap: 9.6%; row-gap: 40px;
  padding: 0 8.64%;
  max-width: none; margin: 0;
  text-align: left;
}
.iguide-features > div { position: relative; background: #fff; padding: 35px 35px 55px 95px; }
.iguide-features img { position: absolute; left: 35px; top: 35px; width: 40px; height: 40px; object-fit: contain; margin: 0; }
.iguide-features h4 { margin: 0 0 15px; color: #34485F; line-height: 1.42; }
.iguide-features p { margin: 0; }
.iguide-list { max-width: 720px; margin: 8px 0 0; text-align: left; }
.iguide-list li { list-style: none; padding-left: 26px; position: relative; margin-bottom: 8px; }
.iguide-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-family: Arial, sans-serif; }

/* ---------- Terms ---------- */
.terms-body h2 { font-size: 24px; font-weight: 600; line-height: 1.42; letter-spacing: -0.016em; color: var(--heading); margin: 32px 0; }
.terms-body h2:first-child { margin-top: 0; }
.terms-body p { line-height: 1.7; margin-bottom: 20px; }

/* ---------- Footer (navy, three 33.33% columns, middle empty) ---------- */
.site-footer { background: var(--navy); padding: 0; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
  width: 100%; max-width: 1716px; margin: 0 auto;
  padding: 60px 0;
}
.site-footer .footer-grid > :first-child { padding: 20px 14.4% 20px 5.76%; }
.site-footer .footer-grid > :last-child  { grid-column: 3 / 4; padding: 0 5.76%; }
.site-footer h5 { font-size: 20px; line-height: 1.16; letter-spacing: 0; color: #FFFFFF; margin: 10px 0 20px; }
.footer-grid p, .footer-grid a, .footer-grid li { font-size: 15px; line-height: 1.7; color: #FFFFFF; }
.footer-grid > div:first-child p { font-size: 14px; line-height: 30px; }
.site-footer a:hover { color: var(--accent-deep); }
.site-footer ul { list-style: none; margin: 10px 0 20px; }
.site-footer li { margin-bottom: 6px; }
.site-footer li a { text-decoration: underline; text-underline-offset: 3px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-social-icons { display: flex; gap: 14px; margin-top: 6px; }
.footer-social-icons a { display: inline-flex; }
.footer-social-icons svg { width: 24px; height: 24px; }
.copyright { background: var(--white); padding: 10px 0; }
.copyright-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.copyright span {
  font-family: var(--font-ui); font-weight: 500;
  font-size: 14px; line-height: 22px; color: var(--navy);
}
.copyright .back-top {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: var(--navy);
  background: var(--white); border: 2px solid var(--accent); padding: 9px 20px;
}
.copyright .back-top:hover { background: var(--accent); color: var(--white); }

/* ---------- Reveal animation (Avada .fusion-animated parity) ---------- */
@keyframes fadeInDown  { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft  { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { 0% { opacity: 0; transform: translateX(20px);  } 100% { opacity: 1; transform: translateX(0); } }

.reveal { opacity: 0; }
.reveal.in {
  animation-name: fadeInDown;
  /* Avada compiles `.do-animate .fusion-animated{animation-duration:1s}`, which
     overrides every data-animationduration on the page (1.5 / 2.0 never apply). */
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}
.reveal-down.in  { animation-name: fadeInDown; }
.reveal-left.in  { animation-name: fadeInLeft; }
.reveal-right.in { animation-name: fadeInRight; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; animation: none; }
}

/* ---------- Responsive ---------- */

/* Avada large/medium boundary: the desktop header exists ONLY above 1200px. */
@media (max-width: 1200px) {
  .site-header, .site-header.scrolled {
    position: static; background: #023A51; box-shadow: none;
  }
  .site-header .container,
  .site-header.scrolled .container { height: 96px; position: relative; }
  body.subpage { padding-top: 0; }
  .site-header .logo img,
  .site-header.scrolled .logo img { height: 33px; }
  .nav-toggle { display: block; }
  .nav-toggle span { background: var(--white); }

  .main-nav {
    position: absolute; top: calc(100% + 26px); left: 0; right: 0; z-index: 105;
    display: block; background: #E6E7E8;
    max-height: 0; overflow: hidden;
    transition: max-height .3s cubic-bezier(.42,.01,.58,1);
    box-shadow: none;
  }
  .main-nav.open {
    max-height: calc(100vh - 122px);
    max-height: calc(100dvh - 122px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .main-nav > a, .main-nav .has-dropdown > a, .main-nav .nav-cta {
    display: flex; align-items: center; justify-content: center;
    min-height: 72px; padding: 0 1.5em;
    font-family: var(--font-ui); font-weight: 600; font-size: 18px; line-height: 1.4;
    letter-spacing: 0;
    color: #34485F !important; text-align: center;
    background: #E6E7E8; border: 0; border-bottom: 1px solid #FFFFFF;
  }
  .main-nav .has-dropdown { position: relative; }
  .main-nav .has-dropdown > a::after { position: absolute; right: 36px; font-size: 11px; transition: transform .2s ease; }
  .has-dropdown.open > a::after { transform: rotate(180deg); }
  .main-nav .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: #E6E7E8; box-shadow: none; min-width: 0; padding: 0;
    display: none; translate: none; margin-top: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a {
    display: flex; align-items: center; justify-content: center;
    min-height: 72px; padding: 0 1.5em;
    font-family: var(--font-ui); font-weight: 600;
    font-size: 18px !important; color: #34485F !important;
    background: #E6E7E8; border-bottom: 1px solid #FFFFFF;
  }
  .dropdown a:last-child { border-bottom: 0; }
  .main-nav a:hover, .dropdown a:hover, .has-dropdown.open > a,
  .main-nav .nav-cta:hover { background: #FFFFFF; color: #00B1E2 !important; }

  .services .grid { grid-template-columns: 1fr; }
  .svc-body h3 { font-size: 70px; }

  .gallery-block .container { grid-template-columns: 1fr; row-gap: 40px; }
  .gallery-block .g-copy, .gallery-block .gallery { grid-column: 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .vtabs { display: block; margin-bottom: 30px; }
  .vtabs.is-accordion .vtabs-nav { background: transparent; border: 0; left: 0; }
  .vtabs.is-accordion .vtabs-panels { display: none; }
  .vtabs.is-accordion .vtabs-nav button {
    white-space: normal; font-size: 19px; padding: 14px 15px; margin-bottom: 0;
    background: #F9F9FB; border-left: 0; border-top: 3px solid transparent;
    border-bottom: 1px solid #E2E2E2;
  }
  .vtabs.is-accordion .vtabs-nav button.active { background: #FFFFFF; border-top-color: var(--accent); }
  .vtabs.is-accordion .vtab-panel { border: 1px solid #E2E2E2; border-top: 0; }

  .iguide-features { column-gap: 7.68%; padding: 0 3.84%; }
  .cta-band > .container { width: 65.34%; }
}

/* Avada responsive typography: flat above 1000px, then
   size = F - 0.42*(F - 22.5)*(1200px - 100vw)/840. */
@media (max-width: 1000px) {
  h1, .titlebar h1, .gallery-block h2, .alacarte h2.cat, .about h2 {
    font-size: calc(58px - 14.91 * (1200px - 100vw) / 840);
  }
  h2, .serving h2 { font-size: calc(48px - 10.71 * (1200px - 100vw) / 840); }
  h3 { font-size: calc(36px - 5.67 * (1200px - 100vw) / 840); }
  h4, .terms-body h2 { font-size: calc(24px - 0.63 * (1200px - 100vw) / 840); }
  .svc-body h3 { font-size: calc(70px - 19.95 * (1200px - 100vw) / 840); }
}

@media (max-width: 800px) {
  .igrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .titlebar { padding: 110px 24px 80px; }
  .titlebar h1 { margin-bottom: 30px; }
  .pkg-body { padding: 26px 22px 30px; }
  .iguide-list { columns: 1; }
  .hero-content p { font-size: 26px; line-height: 1.35; }
  .hero-pin { height: 170vh; height: 170svh; }
}

/* Avada "small" breakpoint: every flex column goes 100% here. */
@media (max-width: 640px) {
  .titlebar h1 { margin-top: 70px; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 560px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid > .video-item,
  .video-grid > .video-item:nth-child(n+3):nth-child(-n+5) { grid-column: 1 / -1; }
  .video-row-vertical { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .iguide-intro { grid-template-columns: 1fr; }
  .iguide-features { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; column-gap: 0; padding: 0; }
  .about .about-grid { grid-template-columns: 1fr; }
  .about img.portrait { max-width: 420px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr; }
  .cta-band > .container { width: 100%; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr; gap: 36px; align-items: start;
    width: auto; max-width: none; margin: 0; padding: 48px 24px;
  }
  .site-footer .footer-grid > :first-child,
  .site-footer .footer-grid > :last-child { grid-column: auto; padding: 0; }

  .services, .testimonials, .igrid-section,
  .page-section, .page-section.alt, .page-section.tint,
  .page-section--video, .page-section--vs, .page-section--terms,
  .page-section.alt.page-section--faq,
  .packages, .alacarte, .about,
  .gallery-block, .gallery-block.alt, .gallery-block.tight {
    padding-top: 36px; padding-bottom: 32px;
  }
  .serving { padding: 36px 24px 32px; }
  .cta-band { padding: 36px 24px 32px; }
}

@media (max-width: 480px) {
  .igrid { grid-template-columns: 1fr; }
  .igrid a:nth-child(n+4) { display: none; }
}

/* Original sets status_css_animations = "desktop": touch UAs never animate. */
@media (hover: none) and (pointer: coarse) {
  .reveal, .reveal.in { opacity: 1; animation: none; }
}
