:root {
  --navy: #0f1f3d;
  --navy-deep: #0a1830;
  --teal: #4ec5b0;
  --teal-dark: #2a9d87;
  --ink: #14202e;
  --slate: #5a6b7e;
  --mist: #f4f7f9;
  --line: #e3e9ee;
  --white: #ffffff;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 19px; color: var(--navy); }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.brand span b { color: var(--teal-dark); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { background: var(--teal-dark); color: #fff !important; padding: 10px 18px; border-radius: 8px; font-size: 14px !important; transition: background .15s; }
.nav-cta:hover { background: var(--navy); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 28px; border-radius: 9px; font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; border: none; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--teal-dark); color: #fff; }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(15,31,61,0.18); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, #06122a 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(78,197,176,0.18), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; padding: 80px 0 90px; position: relative; z-index: 2; }
.hero h1 { font-size: 52px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.lead { font-size: 19px; color: #c3d0e0; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.35); aspect-ratio: 3/4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust bar ---------- */
.trust { background: var(--mist); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.trust-item .ic { color: var(--teal-dark); font-size: 20px; display: inline-flex; }

/* ---------- Sections ---------- */
section.pad { padding: 84px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 600; color: var(--teal-dark); margin-bottom: 12px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 38px; color: var(--navy); margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--slate); }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15,31,61,0.10); border-color: transparent; }
.svc-ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(78,197,176,0.14); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.svc-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 9px; }
.svc-card p { font-size: 15px; color: var(--slate); }

/* ---------- Before/After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ba-pair { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-imgs figure { position: relative; }
.ba-imgs img { width: 100%; height: 240px; object-fit: cover; }
.ba-imgs figcaption { position: absolute; left: 10px; top: 10px; background: rgba(15,31,61,0.85); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 6px; letter-spacing: 0.03em; }
.ba-imgs figcaption.after { background: var(--teal-dark); }
.ba-cap { padding: 16px 20px; font-size: 15px; color: var(--slate); }
.ba-cap b { color: var(--navy); }

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-grid figure { border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-grid figure:hover img { transform: scale(1.05); }

/* ---------- Crew / colleges ---------- */
.crew { background: var(--navy); color: #fff; }
.crew .section-head h2 { color: #fff; }
.crew .section-head p { color: #b9c6d6; }
.college-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 760px; margin: 0 auto; }
.col-badge { border-radius: 11px; min-height: 92px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.35; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--teal-dark), #1f8a76); color: #fff; text-align: center; }
.cta-band h2 { font-size: 36px; margin-bottom: 14px; }
.cta-band p { font-size: 18px; color: #e7fbf6; margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #aab9cb; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand { display: flex; align-items: center; gap: 11px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 19px; color: #fff; margin-bottom: 14px; }
.foot-brand img { width: 36px; height: 36px; border-radius: 8px; }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-family: 'Sora', sans-serif; font-weight: 600; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; font-size: 14.5px; }
footer a:hover { color: var(--teal); }
.foot-contact a { display: flex; align-items: center; gap: 9px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Booking page ---------- */
.book-hero { background: var(--navy); color: #fff; text-align: center; padding: 64px 0 56px; }
.book-hero h1 { font-size: 42px; margin-bottom: 14px; }
.book-hero p { font-size: 18px; color: #c3d0e0; max-width: 560px; margin: 0 auto; }
.cal-embed { min-height: 700px; padding: 40px 0; }
.cal-embed iframe { width: 100%; min-height: 700px; border: 0; border-radius: 14px; }

/* ---------- Page hero (services/gallery) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: 42px; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: #c3d0e0; max-width: 600px; }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.svc-row:nth-child(even) .svc-row-img { order: -1; }
.svc-row-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 18px 40px rgba(15,31,61,0.12); }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h3 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.svc-row p { font-size: 16.5px; color: var(--slate); margin-bottom: 16px; }
.svc-row ul { list-style: none; }
.svc-row li { font-size: 15.5px; color: var(--ink); margin-bottom: 8px; padding-left: 26px; position: relative; }
.svc-row li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 380px; }
  .hero h1 { font-size: 40px; }
  .svc-grid, .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc-row:nth-child(even) .svc-row-img { order: 0; }
  .college-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 30px; }
  .svc-grid, .gal-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 14px; }
  .college-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Inline SVG icons ---------- */
.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.svc-ic .icon { width: 26px; height: 26px; vertical-align: middle; }
.trust-item .ic .icon { width: 20px; height: 20px; vertical-align: middle; }
.foot-contact a .icon { width: 17px; height: 17px; }
.nav-toggle .icon { width: 26px; height: 26px; vertical-align: middle; }

/* ---------- Crew about two-col ---------- */
@media (max-width: 760px) {
  .crew-about-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
*, *::before, *::after { cursor: none !important; }

#cv-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform .12s ease;
}
#cv-cursor svg { width: 100%; height: 100%; display: block; }

/* dirty pane default */
#cv-cursor .pane-dirty { display: block; }
#cv-cursor .pane-clean { display: none; }
#cv-cursor .squeegee   { display: none; }

/* hover state */
#cv-cursor.hovering .pane-dirty { display: none; }
#cv-cursor.hovering .pane-clean { display: block; }
#cv-cursor.hovering .squeegee   { display: block; }
#cv-cursor.hovering { transform: translate(-50%,-50%) scale(1.18); }

/* click pulse */
#cv-cursor.clicking { transform: translate(-50%,-50%) scale(0.88); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV SCROLL SHADOW
   ============================================================ */
header.nav.scrolled {
  box-shadow: 0 4px 24px rgba(15,31,61,0.10);
}

/* ============================================================
   SERVICE CARD HOVER GLOW
   ============================================================ */
.svc-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(46,157,135,0.14), 0 2px 8px rgba(15,31,61,0.08);
  border-color: var(--teal-dark);
}
.svc-card:hover .svc-ic {
  background: var(--teal-dark);
  color: #fff;
  transition: background .18s, color .18s;
}

/* ============================================================
   BEFORE/AFTER SLIDER
   ============================================================ */
.ba-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4/3;
  user-select: none;
  box-shadow: 0 18px 40px rgba(15,31,61,0.14);
}
.ba-slider-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider-wrap .img-before { z-index: 1; }
.ba-slider-wrap .img-after  { z-index: 2; clip-path: inset(0 50% 0 0); transition: clip-path .05s linear; }
.ba-slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize !important;
}
.ba-slider-handle::before {
  content: "◀ ▶";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.ba-label.before { left: 14px; background: rgba(15,31,61,0.82); color: #fff; }
.ba-label.after  { right: 14px; background: var(--teal-dark); color: #fff; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
#cv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,40,0.94);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#cv-lightbox.open { display: flex; }
#cv-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
#cv-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer !important;
  line-height: 1;
  opacity: .7;
}
#cv-lightbox-close:hover { opacity: 1; }
#cv-lightbox-prev, #cv-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 36px;
  cursor: pointer !important;
  opacity: .6;
  padding: 12px;
  user-select: none;
}
#cv-lightbox-prev:hover, #cv-lightbox-next:hover { opacity: 1; }
#cv-lightbox-prev { left: 16px; }
#cv-lightbox-next { right: 16px; }
.gal-grid figure { cursor: pointer !important; }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
#mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--teal-dark);
  color: #fff;
  text-align: center;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 -4px 20px rgba(15,31,61,0.18);
  text-decoration: none;
}
#mobile-cta:hover { background: var(--navy); }
@media (max-width: 760px) {
  #mobile-cta { display: block; }
  body { padding-bottom: 60px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
}
.testi-card::before { content: "\201C"; font-size: 64px; color: var(--teal-dark); line-height: .8; font-family: Georgia, serif; display: block; margin-bottom: 8px; }
.testi-card p { font-size: 15.5px; color: var(--ink); margin-bottom: 18px; line-height: 1.6; }
.testi-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.testi-loc  { font-size: 13px; color: var(--slate); }
.testi-stars { color: #f5a623; font-size: 15px; margin-bottom: 10px; }
@media (max-width: 760px) { .testi-grid { grid-template-columns: 1fr; } }
