/* ==========================================================================
   Water Factory — stylesheet
   ========================================================================== */

:root {
  --navy: #0B2545;
  --navy-light: #123C69;
  --blue: #1476C4;
  --cyan: #1DBBE0;
  --cyan-light: #2FD3E8;
  --teal: #0FB9B1;
  --bg: #F3FAFD;
  --bg-alt: #EAF5FA;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-light: #5B6B79;
  --border: #E1EEF3;
  --amber: #FFB020;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 30px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.16);
  --radius: 18px;
  --radius-sm: 10px;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--text-light); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-cyan { color: var(--cyan); }
.hide-sm { }

.grid { display: grid; gap: 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.eyebrow.center { display: block; text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { font-size: 16px; }
.section-head.light h2, .section-head.light .eyebrow { color: var(--white); }
.section-head.light p { color: rgba(255,255,255,.75); }
.sample-note { font-size: 13px; font-style: italic; opacity: .7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ic { font-size: 18px; line-height: 1; }
.btn-primary { background: var(--cyan); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--cyan-light); }
.btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--navy); color: var(--navy); width: 100%; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-whatsapp { background: #25D366; color: var(--white); box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- header ----------
   Floats transparently over the hero banner; gains a solid background once
   scrolled. Uses position:fixed (not sticky) since html/body run
   overflow-x:hidden, which can break position:sticky in some browsers. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  padding: 22px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--white); transition: color .3s ease; }
.site-header.scrolled .brand { color: var(--navy); }
.brand-logo { width: 42px; height: 26px; flex-shrink: 0; transition: transform .3s ease; }
.brand:hover .brand-logo { transform: scale(1.1) rotate(-3deg); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: inherit; display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-light); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,.85); position: relative; padding: 6px 0; transition: color .2s ease; }
.site-header.scrolled .main-nav a { color: var(--navy-light); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--cyan); transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--white); }
.site-header.scrolled .main-nav a.active { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; position: relative; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .25s ease, background .3s ease; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 150px 0 170px;
  overflow: hidden;
}

/* full-bleed photo slider used as the hero background, square-chop transition */
.hero-slider { position: absolute; inset: 0; z-index: 0; background: #09213D; }
.hs-base, .hs-tiles { position: absolute; inset: 0; }
.hs-base { background-size: cover; background-position: center; }
.hs-tiles { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); }
.hs-tile {
  background-repeat: no-repeat; background-size: 600% 400%;
  transform: scale(0); opacity: 0; transform-origin: center;
  transition: transform .55s cubic-bezier(.65,0,.35,1), opacity .5s ease;
}
.hs-tile.show { transform: scale(1); opacity: 1; }

.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(6,20,40,.92) 0%, rgba(8,26,51,.82) 38%, rgba(11,37,69,.55) 68%, rgba(11,37,69,.35) 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; background: rgba(29,187,224,.14); animation: float 9s ease-in-out infinite; }
.b1 { width: 120px; height: 120px; top: 10%; left: 6%; animation-delay: 0s; }
.b2 { width: 70px; height: 70px; top: 60%; left: 12%; animation-delay: 1.5s; }
.b3 { width: 160px; height: 160px; top: 15%; right: 8%; animation-delay: .8s; }
.b4 { width: 50px; height: 50px; top: 75%; right: 20%; animation-delay: 2.2s; }
.b5 { width: 90px; height: 90px; bottom: 5%; left: 40%; animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }

.hero-inner { position: relative; z-index: 2; }
.hero-text { max-width: 620px; }
.hero-text .eyebrow { color: var(--cyan-light); }
.hero-text h1 { font-size: clamp(34px, 5vw, 54px); color: var(--white); }
.hero-lead { font-size: 17px; color: rgba(255,255,255,.85); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-badges li { font-size: 13px; color: rgba(255,255,255,.75); }
.hero-badges strong { color: var(--cyan-light); display: block; font-family: var(--font-head); font-size: 15px; }

.hs-dots { position: absolute; z-index: 2; left: 50%; bottom: 108px; transform: translateX(-50%); display: flex; gap: 8px; }
.hs-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; padding: 0; transition: width .2s ease, background .2s ease; }
.hs-dot.active { background: var(--cyan); width: 22px; border-radius: 5px; }

.hero-float-contact {
  position: absolute; z-index: 3; left: 24px; bottom: 116px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  max-width: 60%;
}
.hf-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none;
  color: var(--white); padding: 0; font-size: 13px; font-weight: 500;
  white-space: nowrap; text-shadow: 0 1px 8px rgba(6,20,40,.55);
  transition: transform .25s ease, color .25s ease;
}
.hf-chip i { color: var(--cyan-light); font-size: 15px; }
a.hf-chip:hover { transform: translateY(-2px); color: var(--cyan-light); }
.hf-chip-accent { font-weight: 600; }

.ripple-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: var(--white); font-size: 13px;
}
.ripple-icon i { color: var(--white); font-size: 13px; }
.ripple-icon::before, .ripple-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--cyan); opacity: 0;
  animation: hfRipple 2.4s ease-out infinite;
}
.ripple-icon::after { animation-delay: 1.2s; }
@keyframes hfRipple {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.3); opacity: 0; }
}

.hero-float-card {
  position: absolute; z-index: 2; right: 24px; bottom: 108px;
  background: var(--white); color: var(--navy);
  border-radius: var(--radius-sm); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 13px; max-width: 240px;
}
.hf-icon { font-size: 22px; }
.hero-float-card strong { display: block; font-family: var(--font-head); font-size: 14px; }
.hero-float-card small { color: var(--text-light); }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 2; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* staggered cascade for card grids as they scroll into view */
.services-grid .reveal:nth-child(3n+1), .products-grid .reveal:nth-child(3n+1), .usp-list .reveal:nth-child(2n+1) { transition-delay: 0ms; }
.services-grid .reveal:nth-child(3n+2), .products-grid .reveal:nth-child(3n+2), .usp-list .reveal:nth-child(2n) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(3n+3), .products-grid .reveal:nth-child(3n+3) { transition-delay: 240ms; }
.shorts-grid .short-card { opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .6s ease, transform .6s ease; }
.shorts-grid.visible .short-card { opacity: 1; transform: translateY(0) scale(1); }
.shorts-grid.visible .short-card:nth-child(5n+1) { transition-delay: 0ms; }
.shorts-grid.visible .short-card:nth-child(5n+2) { transition-delay: 90ms; }
.shorts-grid.visible .short-card:nth-child(5n+3) { transition-delay: 180ms; }
.shorts-grid.visible .short-card:nth-child(5n+4) { transition-delay: 270ms; }
.shorts-grid.visible .short-card:nth-child(5n+5) { transition-delay: 360ms; }

/* ---------- about / team ---------- */
.about { padding: 100px 0; background: var(--bg); overflow: hidden; }
.about-inner { display: flex; align-items: flex-start; gap: 5vw; }

/* photo bleeds to the true viewport edge and renders at 70% of screen width */
.about-photo {
  position: relative; flex: 0 0 auto;
  width: calc(60vw + 28px); max-width: 1128px;
  margin-left: calc(50% - 50vw);
}
.about-carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ac-track { display: flex; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.ac-slide { min-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ac-btn {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.85); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ac-btn:hover { background: var(--cyan); color: var(--white); }
.ac-prev { left: 16px; } .ac-next { right: 16px; }
.ac-dots { position: absolute; z-index: 2; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.ac-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.65); border: none; padding: 0; transition: background .2s ease, width .2s ease; }
.ac-dot:hover { background: rgba(255,255,255,.9); }
.ac-dot.active { background: var(--cyan); width: 22px; border-radius: 5px; }

.about-content { flex: 1 1 320px; max-width: 560px; padding-top: 24px; padding-right: max(24px, 4vw); }
.about-content h2 { font-size: clamp(24px, 2.6vw, 32px); }
.vision-mission { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 26px 0; }
.vm-card { background: var(--white); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vm-icon { display: inline-block; font-size: 22px; transition: transform .3s ease; }
.vm-card:hover .vm-icon { transform: scale(1.2) rotate(-6deg); }
.vm-card h3 { font-size: 16px; margin: 8px 0 6px; }
.vm-card p { font-size: 13.5px; margin: 0; }

/* ---------- services ---------- */
.services { padding: 100px 0; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.sc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--bg-alt); margin-bottom: 16px;
  transition: transform .35s ease, background .25s ease;
}
.service-card:hover .sc-icon { transform: scale(1.12) rotate(-6deg); background: var(--cyan); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; margin: 0; }

/* ---------- booking ---------- */
.booking { padding: 100px 0; background: var(--bg); }
.booking-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; align-items: start; }
.booking-info h2 { font-size: clamp(26px, 3.6vw, 34px); }
.booking-points { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.booking-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.booking-points span { color: var(--teal); font-weight: 700; }

.booking-form {
  background: var(--white); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-lg);
}
.booking-form h3 { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-family: var(--font-body); font-size: 14.5px;
  background: var(--bg); color: var(--text); transition: border-color .2s ease;
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--cyan); background: var(--white); }
.form-error { display: none; color: #E0455F; font-size: 12.5px; margin-top: 4px; }
.form-field.invalid input, .form-field.invalid select { border-color: #E0455F; }
.form-field.invalid .form-error { display: block; }
.form-success { display: none; margin-top: 16px; text-align: center; color: var(--teal); font-weight: 600; background: rgba(15,185,177,.1); padding: 12px; border-radius: var(--radius-sm); }
.form-success.show { display: block; }

/* ---------- Contact Form 7 (Contact page) ----------
   Field markup/wrapping (.form-row / .form-field) lives in the CF7 form's
   own template in wp-admin, so it reuses all the styling above as-is; these
   rules just style CF7's own validation-tip/response-output elements to
   match the old .form-error / .form-success look. */
.wpcf7-form-control.wpcf7-not-valid { border-color: #E0455F; }
.wpcf7-not-valid-tip { display: block; color: #E0455F; font-size: 12.5px; margin-top: 4px; }
.wpcf7-spinner { display: block; margin: 10px auto 0; }
.wpcf7-response-output {
  margin: 16px 0 0; text-align: center; font-weight: 600;
  padding: 12px; border-radius: var(--radius-sm); border: none !important;
}
.wpcf7-mail-sent-ok { color: var(--teal); background: rgba(15,185,177,.1); }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng, .wpcf7-aborted { color: #E0455F; background: rgba(224,69,95,.08); }

/* ---------- products ---------- */
.products { padding: 100px 0; }
.products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-align: left; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.pc-media { position: relative; height: 270px; overflow: hidden; background: var(--bg-alt); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .pc-media img { transform: scale(1.08); }
.pc-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0) 55%, rgba(11,37,69,.4) 100%);
}
.pc-badge {
  position: absolute; z-index: 2; top: 14px; right: 14px; background: var(--amber); color: var(--navy);
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}

.pc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 18px; }
.product-card p { font-size: 14px; }
.pc-features { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.pc-features li { font-size: 13.5px; color: var(--text-light); padding-left: 20px; position: relative; }
.pc-features li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pc-body .btn { margin-top: auto; }
.fine-print { text-align: center; font-size: 12.5px; color: var(--text-light); margin-top: 20px; }

/* ---------- why us ---------- */
.why-us { padding: 100px 0; background: linear-gradient(160deg, var(--navy) 0%, #0E2E52 100%); overflow: hidden; }
.why-us-grid { display: flex; align-items: center; gap: 6vw; }

.why-us-media { position: relative; flex: 0 0 auto; width: 38vw; max-width: 480px; }
.why-us-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.why-us-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 34px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--cyan); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow-lg); border: 4px solid var(--navy-light);
}
.why-us-badge strong { font-family: var(--font-head); font-size: 22px; line-height: 1.1; }
.why-us-badge span { font-size: 12px; font-weight: 600; }

.why-us-content { flex: 1 1 380px; }
.why-us-content .eyebrow { color: var(--cyan-light); }
.why-us-content h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); max-width: 480px; }
.squiggle { width: 90px; height: 14px; color: var(--cyan); margin: 6px 0 32px; }

.usp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.usp-item { display: flex; align-items: flex-start; gap: 14px; }
.usp-icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(29,187,224,.16);
  display: flex; align-items: center; justify-content: center; font-size: 21px; color: var(--white);
  transition: transform .35s ease, background .25s ease;
}
.usp-item:hover .usp-icon { transform: scale(1.12) rotate(-6deg); background: var(--cyan); }
.usp-item h3 { color: var(--white); font-size: 15.5px; margin-bottom: 4px; }
.usp-item p { color: rgba(255,255,255,.65); font-size: 13.5px; margin: 0; }

/* ---------- testimonials ---------- */
.testimonials { padding: 100px 0; }
.testimonial-slider { max-width: 720px; margin: 0 auto; overflow: hidden; border-radius: var(--radius); }
.t-track { display: flex; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.t-card {
  min-width: 100%; flex-shrink: 0; background: var(--bg); border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.t-stars { color: var(--amber); font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
.t-card p { font-size: 17px; font-style: italic; color: var(--text); max-width: 560px; margin: 0 auto 24px; }
.t-person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.t-person strong { display: block; font-size: 14.5px; color: var(--navy); }
.t-person small { color: var(--text-light); font-size: 12.5px; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.t-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); font-size: 20px; color: var(--navy); display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.t-btn:hover { background: var(--navy); color: var(--white); }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); border: none; padding: 0; transition: background .2s ease, width .2s ease; }
.t-dot:hover { background: var(--cyan-light); }
.t-dot.active { background: var(--cyan); width: 22px; border-radius: 5px; transition: width .2s ease; }

/* ---------- education / accordion ---------- */
.education { padding: 100px 0; background: var(--bg); }
.education-grid { display: flex; align-items: flex-start; gap: 6vw; }

.education-intro { flex: 0 0 320px; max-width: 340px; }
.education-intro h2 { font-size: clamp(24px, 2.6vw, 32px); }
.education-badge {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  padding: 18px 22px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.education-badge i { font-size: 30px; color: var(--cyan); }
.education-badge strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--navy); line-height: 1.1; }
.education-badge span { font-size: 12.5px; color: var(--text-light); }

.accordion { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.acc-item:hover { border-color: var(--cyan); box-shadow: var(--shadow-sm); }
.acc-item.active { border-color: var(--cyan); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: none; border: none; padding: 16px 20px; text-align: left; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--navy);
  transition: background .2s ease;
}
.acc-head:hover { background: var(--bg-alt); }
.acc-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-alt); color: var(--cyan); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: background .25s ease, color .25s ease;
}
.acc-item.active .acc-num { background: var(--cyan); color: var(--white); }
.acc-q { flex: 1; }
.acc-toggle { flex-shrink: 0; font-size: 19px; color: var(--teal); transition: transform .25s ease; }
.acc-item.active .acc-toggle { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item.active .acc-body { max-height: 320px; }
.acc-body p { padding: 0 20px 20px 64px; font-size: 14.5px; margin: 0; }

/* ---------- shorts ---------- */
.shorts { padding: 100px 0; }
.shorts-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.short-card {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-sm); background: var(--navy-light);
  transition: transform .25s ease, box-shadow .25s ease;
}
.short-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.short-card svg, .short-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.short-card:hover img { transform: scale(1.08); }
.short-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(8,26,51,0); transition: background .3s ease;
}
.short-card:hover::after { background: rgba(8,26,51,.25); }
.short-title {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 14px 12px 12px;
  background: linear-gradient(0deg, rgba(11,37,69,.9), transparent);
  color: var(--white); font-size: 12.5px; font-weight: 600;
}
.short-play {
  position: absolute; z-index: 2; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 16px;
  opacity: 0; transform: scale(.6);
  transition: transform .3s ease, background .25s ease, opacity .25s ease;
}
.short-card:hover .short-play { opacity: 1; transform: scale(1); background: var(--cyan); color: var(--white); }

.lightbox { position: fixed; inset: 0; background: rgba(8,20,38,.88); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; width: 100%; max-width: 380px; }
.lightbox-frame { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: #000; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: var(--white); font-size: 22px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--teal), var(--blue)); padding: 60px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip-inner h2 { color: var(--white); font-size: clamp(22px, 3vw, 30px); margin-bottom: 4px; }
.cta-strip-inner p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; font-size: 14px; transition: color .2s ease, transform .2s ease; }
.footer-col a:hover { color: var(--cyan-light); transform: translateX(4px); }
.footer-col p a { display: inline; margin-bottom: 0; }
.footer-col p a:hover { transform: none; }
.footer-col p i { margin-right: 4px; vertical-align: -1px; color: var(--cyan-light); }
.brand-footer { margin-bottom: 16px; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-col .gst { font-size: 12px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: 16px; margin: 0;
  transition: background .25s ease, transform .25s ease;
}
.social-row a:hover { background: var(--cyan); transform: translateY(-4px) scale(1.08); }

.footer-map { width: 100%; height: 260px; filter: grayscale(.2) contrast(1.05); }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* ==========================================================================
   Inner pages — About, Gallery, Contact, Blog
   ========================================================================== */

/* ---------- page hero banner ---------- */
.page-hero {
  position: relative; background: linear-gradient(150deg, var(--navy-light), var(--navy));
  color: var(--white); padding: 160px 0 90px; overflow: hidden; text-align: center;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--cyan-light); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 0; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 560px; margin: 14px auto 0; font-size: 15.5px; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 16px; }
.breadcrumb a { color: var(--cyan-light); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 13px; }

.page-section { padding: 100px 0; }
.page-section.alt { background: var(--bg); }

/* ---------- stats strip ---------- */
.stats-strip { background: var(--bg-alt); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: center; }
.stat-item i { font-size: 26px; color: var(--cyan); margin-bottom: 10px; display: inline-block; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 42px); color: var(--navy); line-height: 1.1; }
.stat-item span { font-size: 13px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.team-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.08); }
.team-body { padding: 20px 18px 24px; }
.team-body h3 { font-size: 16px; margin-bottom: 2px; }
.team-role { color: var(--teal); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; display: block; }
.team-social { display: flex; justify-content: center; gap: 8px; }
.team-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 14px; transition: background .2s ease, color .2s ease; }
.team-social a:hover { background: var(--cyan); color: var(--white); }

/* ---------- story timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding: 0 0 36px 58px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; box-shadow: 0 0 0 6px var(--bg);
}
.timeline-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.timeline-item p { margin: 0; font-size: 14px; }

/* ---------- gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.gf-btn {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-light); font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gf-btn:hover { border-color: var(--cyan); color: var(--navy); }
.gf-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Namespaced "wf-" so this custom photo grid never collides with
   WordPress core's own .gallery / .gallery-item shortcode classes. */
.wf-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wf-gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.wf-gallery-item.wf-gi-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.wf-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.wf-gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.wf-gallery-item:hover img { transform: scale(1.08); }
.wf-gallery-item::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(180deg, rgba(11,37,69,0) 50%, rgba(11,37,69,.6) 100%);
}
.wf-gallery-item:hover::after { opacity: 1; }
.wf-gi-caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  color: var(--white); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.wf-gallery-item:hover .wf-gi-caption { opacity: 1; transform: translateY(0); }
.wf-gi-zoom {
  position: absolute; z-index: 2; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 15px; opacity: 0; transform: scale(.7); transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
}
.wf-gallery-item:hover .wf-gi-zoom { opacity: 1; transform: scale(1); }
.wf-gallery-item.wf-gi-hidden { display: none; }

/* ---------- image lightbox ---------- */
.img-lightbox { position: fixed; inset: 0; background: rgba(8,20,38,.92); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.img-lightbox.open { display: flex; }
.il-inner { position: relative; max-width: 880px; width: 100%; }
.il-frame { border-radius: var(--radius); overflow: hidden; background: #000; }
.il-frame img { width: 100%; max-height: 74vh; object-fit: contain; display: block; background: #000; margin: 0 auto; }
.il-caption { color: rgba(255,255,255,.82); text-align: center; font-size: 13.5px; margin-top: 16px; }
.il-close { position: absolute; z-index: 3; top: -46px; right: 0; background: none; border: none; color: var(--white); font-size: 22px; }
.il-btn {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 22px; transition: background .2s ease;
}
.il-btn:hover { background: rgba(255,255,255,.28); }
.il-prev { left: -64px; } .il-next { right: -64px; }

/* ---------- contact page ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 64px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-alt); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 14px; }
.contact-card a { color: var(--text-light); transition: color .2s ease; }
.contact-card a:hover { color: var(--cyan); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 26px; }
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(.15) contrast(1.05); }

/* ---------- newsletter strip ---------- */
.newsletter-strip {
  background: linear-gradient(120deg, var(--teal), var(--blue)); border-radius: var(--radius);
  padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 64px;
}
.newsletter-strip h3 { color: var(--white); margin-bottom: 4px; font-size: 20px; }
.newsletter-strip p { color: rgba(255,255,255,.85); margin: 0; font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { padding: 13px 18px; border-radius: 999px; border: none; font-family: var(--font-body); font-size: 14px; min-width: 240px; }

/* ---------- blog listing ---------- */
.blog-featured {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center;
  background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; margin-bottom: 60px;
}
.blog-featured img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.blog-featured-body { padding: 36px 40px 36px 0; }
.blog-tag { display: inline-block; background: var(--cyan); color: var(--white); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--text-light); margin: 12px 0 18px; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.bc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-card:hover .bc-media img { transform: scale(1.08); }
.bc-media .blog-tag { position: absolute; z-index: 2; top: 14px; left: 14px; margin: 0; }
.bc-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.bc-body h3 { font-size: 17px; margin-bottom: 8px; }
.bc-body p { font-size: 13.5px; margin-bottom: 16px; }
.bc-more { margin-top: auto; font-weight: 700; color: var(--teal); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.bc-more i { transition: transform .2s ease; }
.blog-card:hover .bc-more i { transform: translateX(4px); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.page-btn {
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white);
  color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-weight: 600; font-size: 14px; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.page-btn.active, .page-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- blog single / article ---------- */
.post-hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.post-hero-meta span { display: flex; align-items: center; gap: 6px; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 56px; align-items: start; }
.post-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

.prose h2 { font-size: 23px; margin-top: 1.5em; }
.prose h3 { font-size: 17.5px; margin-top: 1.4em; }
.prose p { color: var(--text); font-size: 15.5px; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--text); font-size: 15px; }
.prose ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--cyan); background: var(--bg-alt); padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--navy);
  font-family: var(--font-head); font-size: 16px; margin: 1.6em 0;
}
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; box-shadow: var(--shadow-sm); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tag-list a { background: var(--bg-alt); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.tag-list a:hover { background: var(--cyan); color: var(--white); }

.share-row { display: flex; align-items: center; gap: 12px; margin: 0 0 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-row span { font-size: 13px; font-weight: 600; color: var(--navy); }
.share-row a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.share-row a:hover { background: var(--cyan); color: var(--white); transform: translateY(-3px); }

.author-box { display: flex; gap: 18px; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 24px 26px; margin: 40px 0; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.author-box h4 { margin: 0 0 4px; font-size: 15.5px; }
.author-box p { margin: 0; font-size: 13.5px; }

.post-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 110px; }
.sidebar-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.sidebar-card h4 { font-size: 15px; margin-bottom: 16px; }
.sidebar-post { display: flex; gap: 12px; margin-bottom: 14px; }
.sidebar-post:last-child { margin-bottom: 0; }
.sidebar-post img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.sidebar-post h5 { font-size: 13px; margin: 0 0 4px; line-height: 1.35; }
.sidebar-post h5 a:hover { color: var(--cyan); }
.sidebar-post span { font-size: 11.5px; color: var(--text-light); }
.sidebar-cats a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; color: var(--text-light); border-bottom: 1px solid var(--border); }
.sidebar-cats a:last-child { border-bottom: none; }
.sidebar-cats a:hover { color: var(--navy); }
.sidebar-cta { background: linear-gradient(150deg, var(--navy-light), var(--navy)); color: var(--white); text-align: center; }
.sidebar-cta h4 { color: var(--white); }
.sidebar-cta p { color: rgba(255,255,255,.75); font-size: 13px; margin-bottom: 16px; }

/* ---------- floating buttons ---------- */
.fab {
  position: fixed; right: 22px; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 400; border: none; transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { bottom: 22px; background: #25D366; color: var(--white); font-size: 27px; }
.fab-top { bottom: 88px; background: var(--navy); color: var(--white); font-size: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .2s ease; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; background: var(--navy); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { position: relative; width: 64px; height: 88px; display: flex; align-items: flex-end; justify-content: center; }
.preloader-drop {
  width: 40px; height: 56px;
  fill: var(--cyan);
  filter: drop-shadow(0 8px 12px rgba(29,187,224,.45));
  animation: dropFall 1.15s cubic-bezier(.55,0,.45,1) infinite;
  transform-origin: 50% 100%;
}
.preloader-ripple {
  position: absolute; bottom: 2px; width: 40px; height: 10px;
  border-radius: 50%; border: 2px solid var(--cyan);
  opacity: 0;
  animation: dropRipple 1.15s cubic-bezier(.55,0,.45,1) infinite;
}
@keyframes dropFall {
  0%   { transform: translateY(-30px) scale(1, 1); }
  45%  { transform: translateY(0) scale(1, 1); }
  55%  { transform: translateY(0) scale(1.22, .78); }
  70%  { transform: translateY(-8px) scale(.92, 1.08); }
  100% { transform: translateY(-30px) scale(1, 1); }
}
@keyframes dropRipple {
  0%, 48% { transform: scale(.3); opacity: 0; }
  58% { opacity: .7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid, .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shorts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 80vw);
    background: var(--white); flex-direction: column; align-items: flex-start; padding: 100px 30px 30px;
    box-shadow: var(--shadow-lg); transition: transform .3s ease; gap: 22px; transform: translateX(100%); }
  .main-nav.open { transform: translateX(0); }
  .main-nav a, .site-header.scrolled .main-nav a { color: var(--navy-light); }
  .main-nav a.active, .site-header.scrolled .main-nav a.active { color: var(--navy); }
  .nav-toggle { display: flex; }
  .header-cta .btn-sm { display: none; }
  .hero { padding: 130px 0 150px; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-scrim { background: linear-gradient(180deg, rgba(6,20,40,.55) 0%, rgba(6,20,40,.8) 65%, rgba(6,20,40,.92) 100%); }
  .hero-float-card { display: none; }
  .hero-float-contact { display: none; }
  .site-header { padding: 12px 16px 0; }
  .hs-dots { bottom: 96px; }
  .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .about-inner { flex-direction: column; align-items: stretch; gap: 36px; }
  .about-photo {
    /* reset desktop viewport-bleed trick */
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 0 16px;   /* horizontal breathing room for image */
  }
  .about-content { max-width: none; padding: 0 24px; }
  .vision-mission { grid-template-columns: minmax(0, 1fr); }
  .why-us-grid { flex-direction: column; align-items: stretch; gap: 56px; }
  .why-us-media { width: 100%; max-width: 340px; margin: 0 auto; }
  .why-us-content { max-width: none; }
  .why-us-content h2 { max-width: none; }
  .education-grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .education-intro { max-width: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .about { padding: 60px 0; }
  .about-photo { padding: 0 16px; }  /* keep consistent on small phones */
  .services-grid, .products-grid { grid-template-columns: minmax(0, 1fr); }
  .usp-list { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .cta-strip-inner { text-align: center; justify-content: center; }
  .booking-form { padding: 24px; }
  .why-us-badge { width: 100px; height: 100px; left: -14px; bottom: 20px; }
  .why-us-badge strong { font-size: 18px; }

  /* shorts: horizontally swipeable single row instead of wrapping to a grid */
  .shorts-grid {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px; padding: 4px 4px 12px;
    margin: 0 -24px; padding-left: 24px; padding-right: 24px;
    scrollbar-width: none;
  }
  .shorts-grid::-webkit-scrollbar { display: none; }
  .short-card { flex: 0 0 auto; width: 150px; scroll-snap-align: start; }
}

/* ---------- inner pages: responsive ---------- */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .il-prev { left: 8px; } .il-next { right: 8px; }
}

@media (max-width: 960px) {
  .page-hero { padding: 130px 0 70px; }
  .page-section { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .contact-info-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .blog-featured { grid-template-columns: minmax(0, 1fr); }
  .blog-featured img { aspect-ratio: 16 / 9; }
  .blog-featured-body { padding: 8px 28px 32px; }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-sidebar { position: static; }
}

@media (max-width: 720px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); max-width: 340px; margin: 0 auto; }
  .wf-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-gallery-item.wf-gi-wide { grid-column: span 2; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .newsletter-strip { flex-direction: column; text-align: center; padding: 32px 26px; }
  .newsletter-form { width: 100%; justify-content: center; }
  .newsletter-form input { flex: 1 1 auto; min-width: 0; }
  .author-box { flex-direction: column; text-align: center; }
  .il-prev, .il-next { top: auto; bottom: -60px; transform: none; }
  .il-prev { left: calc(50% - 58px); } .il-next { right: calc(50% - 58px); }
  .il-close { top: -40px; }
}

/* ==========================================================================
   WordPress core compatibility
   ========================================================================== */

/* wp_nav_menu() always renders <ul><li><a>; collapsing the wrapper/list-item
   boxes keeps the <a> tags as direct flex children so .main-nav's flex
   layout looks identical to the original flat markup. */
.main-nav ul, .main-nav li { display: contents; }

/* Same trick for the footer "Quick Links" / "Services" wp_nav_menu()
   columns, which also expect flat <a> children per .footer-col a rules. */
.footer-col ul, .footer-col li { display: contents; }

/* Standard WP alignment + caption classes, used by content edited in the
   block editor (single posts, pages). */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 6px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
  word-wrap: normal !important; margin: -1px; padding: 0;
}
.gallery { display: grid; gap: 12px; margin: 1.4em 0; }
.gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; }

/* Skip link — hidden until focused, first focusable element in <body>. */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 3000;
  background: var(--navy); color: var(--white); padding: 12px 18px;
  border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- post/page content (the_content(), block editor output) ----------
   Extends .prose (already used by single.php / template-about.php) with
   every element WordPress core or the block editor can output. */
.prose a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(20,118,196,.35); text-underline-offset: 2px; }
.prose a:hover { color: var(--cyan); }
.prose h4, .prose h5, .prose h6 { margin-top: 1.4em; }
.prose ol { margin: 0 0 1.2em; padding-left: 22px; color: var(--text); }
.prose ol li, .prose ul ul, .prose ol ol { margin-top: 6px; }
.prose ul ul, .prose ol ul { padding-left: 20px; margin: 6px 0 0; }
.prose ul ul li::before { content: '–'; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.prose dl { margin: 0 0 1.2em; }
.prose dt { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.prose dd { margin: 0 0 .8em; color: var(--text-light); }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 8px; }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--text-light); }
.prose code, .prose kbd { background: var(--bg-alt); border-radius: 4px; padding: .15em .4em; font-size: .92em; }
.prose pre {
  background: var(--navy); color: rgba(255,255,255,.9); padding: 20px 22px; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 1.4em 0; font-size: 13.5px; line-height: 1.6;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose mark { background: rgba(29,187,224,.25); color: inherit; padding: 0 .1em; }
.prose iframe, .prose embed, .prose video, .prose object { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; padding-top: 56.25%; margin: 1.4em 0; }
.prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-sm); }
.prose .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.prose .wp-block-column { flex: 1 1 220px; }
.prose .wp-block-button__link {
  display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px;
  background: var(--cyan); color: var(--navy); font-family: var(--font-head); font-weight: 600;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.prose .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prose .wp-block-button.is-style-outline .wp-block-button__link { background: none; border: 2px solid var(--navy); color: var(--navy); }
.prose table, .prose .wp-block-table table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px;
}
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.prose thead th { background: var(--bg-alt); font-family: var(--font-head); color: var(--navy); }
.prose tbody tr:nth-child(even) { background: var(--bg); }

/* wp_link_pages() — paginated post content ("Pages: 1 2 3"). */
.page-links { margin: 24px 0; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.page-links a { color: var(--teal); text-decoration: underline; margin: 0 4px; }

/* ---------- comments ---------- */
.comments-area { margin-top: 20px; }
.comments-title { font-size: 20px; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .children { list-style: none; margin: 0; padding-left: 44px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-list > li:last-child > .comment-body { border-bottom: none; }
.comment-author.vcard { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-author .avatar { width: 40px; height: 40px; border-radius: 50%; display: block; }
.comment-author .fn { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.comment-metadata a { color: inherit; }
.comment-content p { margin-bottom: .8em; font-size: 14.5px; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link, .comment-edit-link {
  display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--teal);
  text-decoration: none; text-transform: uppercase; letter-spacing: .03em;
}
.comment-reply-link:hover, .comment-edit-link:hover { color: var(--cyan); }
.comment-awaiting-moderation { display: block; margin-top: 8px; font-size: 12.5px; font-style: italic; color: var(--amber); }
.bypostauthor > .comment-body { position: relative; }
.pingback, .trackback { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }

.comment-respond {
  background: var(--bg); border-radius: var(--radius); padding: 28px 30px; margin-top: 12px;
}
.comment-reply-title { font-size: 18px; margin-bottom: 4px; }
.comment-reply-title small a { font-size: 13px; color: var(--teal); margin-left: 10px; }
.comment-notes, .logged-in-as { font-size: 13.5px; color: var(--text-light); margin-bottom: 16px; }
.comment-form .form-row { margin-bottom: 0; }
.comment-form p.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); margin: 12px 0; }
.comment-form p.comment-form-cookies-consent input { width: auto; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 14.5px; background: var(--white); color: var(--text);
  transition: border-color .2s ease;
}
#commentform input:focus, #commentform textarea:focus { outline: none; border-color: var(--cyan); }
#commentform label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
#commentform .form-submit { margin-top: 18px; }

/* ---------- core widgets rendered inside .sidebar-card ---------- */
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card > ul > li, .sidebar-card .menu > li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.sidebar-card > ul > li:last-child, .sidebar-card .menu > li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-card > ul > li:first-child { padding-top: 0; }
.sidebar-card a { color: var(--text-light); transition: color .2s ease; }
.sidebar-card a:hover { color: var(--navy); }
.sidebar-card .sub-menu, .sidebar-card ul ul { padding-left: 16px; margin-top: 8px; }
.sidebar-card select { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--white); font-size: 13.5px; }
.sidebar-card table { width: 100%; border-collapse: collapse; font-size: 12.5px; text-align: center; }
.sidebar-card table caption { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.sidebar-card table th, .sidebar-card table td { padding: 6px 4px; }
.sidebar-card table #today { background: var(--cyan); color: var(--white); border-radius: 6px; }
.sidebar-card table a { display: block; font-weight: 700; color: var(--teal); }
.sidebar-card .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-card .tagcloud a {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px !important; font-size: 12.5px !important; color: var(--navy);
}
.sidebar-card .tagcloud a:hover { background: var(--cyan); color: var(--white); border-color: var(--cyan); }
.sidebar-card .wp-block-search__label,
.sidebar-card label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.sidebar-card textarea.textwidget, .sidebar-card .textwidget { font-size: 13.5px; color: var(--text-light); }
.sidebar-card .textwidget img { border-radius: var(--radius-sm); }
.sidebar-card .rsswidget { color: var(--navy); font-weight: 600; }
.sidebar-card .rss-date { display: block; font-size: 12px; color: var(--text-light); margin: 2px 0 6px; }
.sidebar-card cite.rssfooter { display: block; margin-top: 10px; font-size: 12px; }
.widget-title { font-size: 15px; margin-bottom: 16px; }

/* ---------- search form (get_search_form(), core Search widget/block) ---------- */
.search-form { display: flex; gap: 10px; }
.search-form .search-field {
  flex: 1 1 auto; padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 14.5px; background: var(--white); color: var(--text);
}
.search-form .search-field:focus { outline: none; border-color: var(--cyan); }
.search-form .search-submit {
  padding: 13px 22px; border-radius: 999px; border: none; background: var(--cyan); color: var(--navy);
  font-family: var(--font-head); font-weight: 600; cursor: pointer; transition: background .2s ease;
}
.search-form .search-submit:hover { background: var(--cyan-light); }
.sidebar-card .search-form { flex-direction: column; }

/* Sticky posts + author highlight, used by core loops. */
.sticky .blog-tag::after { content: ' · Featured'; }
