/* ============================================================
   Vivek Admission Consultancy — Shared Design System
   Modern • Trustworthy • Premium • Student Focused
   Color Palette:
     Primary:    #134E4A (Deep Teal / Pine)
     Secondary:  #6B8F7B (Sage Green)
     Accent:     #E8DCC4 (Warm Cream / Linen Sand)
     Highlight:  #E07A5F (Terracotta / Coral)
     Background: #F2F4F7 (Modern Cool Grey / Off-White)
     Text:       #1F2937 (Slate 800 Charcoal)
   ============================================================ */

:root {
  /* Design System Palette */
  --primary:        #134E4A;
  --primary-deep:   #0D3835;
  --primary-light:  #1B635F;
  --primary-glow:   rgba(19, 78, 74, 0.16);

  --secondary:      #6B8F7B;
  --secondary-deep: #547363;
  --secondary-soft: rgba(107, 143, 123, 0.15);

  --accent:         #E8DCC4;
  --accent-soft:    #F5EFE4;
  --accent-border:  #D9CFBA;

  --highlight:      #E07A5F;
  --highlight-deep: #C66248;
  --highlight-soft: #F09A83;
  --highlight-glow: rgba(224, 122, 95, 0.20);

  --paper:          #F2F4F7;
  --paper-soft:     #E5E9F0;
  --white:          #FFFFFF;
  --ink:            #1F2937;
  --ink-deep:       #111827;

  /* Theme Aliases (consistent with template classes) */
  --terra:          #134E4A;   /* Primary deep teal accent */
  --terra-deep:     #0D3835;   /* Deep hover */
  --terra-soft:     #6B8F7B;   /* Sage secondary */
  --coral:          #E07A5F;   /* Highlight coral */
  --coral-deep:     #C66248;

  --pine:           #134E4A;   /* Dark band teal */
  --pine-deep:      #0C2B29;   /* Deepest dark teal */

  --brass:          #134E4A;   /* Primary button color */
  --brass-2:        #0D3835;
  --brass-light:    #6B8F7B;
  --brass-glow:     rgba(19, 78, 74, 0.16);

  --muted:          #4B5563;
  --muted-dark:     #9CA3AF;   /* Muted text on dark surfaces */

  --wa:             #25D366;
  --wa-hover:       #1EBE5D;

  --line:           #DCE2E8;
  --line-light:     rgba(31, 41, 55, 0.08);
  --line-dark:      rgba(255, 255, 255, 0.16);

  --shadow-sm:      0 2px 8px rgba(19, 78, 74, 0.05);
  --shadow-md:      0 12px 30px rgba(19, 78, 74, 0.08);
  --shadow-lg:      0 20px 48px rgba(19, 78, 74, 0.12);

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;

  --serif:          "Fraunces", Georgia, "Times New Roman", serif;
  --sans:           "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; transition: color .2s ease; }
::selection { background: rgba(19, 78, 74, 0.22); color: var(--ink); }

/* selected text stays readable on dark / solid-color surfaces */
.announce ::selection,
.enquire ::selection,
.cta-band ::selection,
.office-band ::selection,
.site-footer ::selection,
.bg-pine ::selection,
.wa-float ::selection {
  background: rgba(224, 122, 95, 0.45);
  color: #FFFFFF;
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- scroll-reveal (activated by JS) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
              transform .7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- branded scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-soft); }
::-webkit-scrollbar-thumb {
  background: #B8C5CF;
  border-radius: 6px;
  border: 2px solid var(--paper-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

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

section { scroll-margin-top: 90px; }

/* ---------- typography ---------- */

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary);
  display: block;
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-dark::before { background: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
}
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.55rem);
  margin: 0 0 1rem;
}
.section-head p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }

.lead {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--ink);
}
.muted { color: var(--muted); }

/* long-form prose */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.4rem; color: var(--muted); line-height: 1.85; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose p em { font-family: var(--serif); color: var(--terra); }
.prose h2 {
  font-size: 1.55rem;
  margin: 3.2rem 0 1.1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; margin: 0 0 1.8rem; }
.prose ul li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: .85rem;
  color: var(--muted);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .6rem;
  height: .6rem;
  border: 1.5px solid var(--terra);
  border-radius: 1px;
  transform: rotate(45deg);
}
.prose a { color: var(--terra-deep); }
.prose a:hover { color: var(--terra); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.8rem;
  border: 1.5px solid transparent;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

/* Primary Button (Deep Teal) */
.btn-primary,
.btn-brass {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-brass:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #FFFFFF;
}

/* Secondary Button (Sage Green) */
.btn-secondary,
.btn-sage {
  background: var(--secondary);
  color: #FFFFFF;
  border-color: var(--secondary);
}
.btn-secondary:hover,
.btn-sage:hover {
  background: var(--secondary-deep);
  border-color: var(--secondary-deep);
  color: #FFFFFF;
}

/* Highlight / Apply Button (Coral Terracotta) */
.btn-highlight,
.btn-apply,
.btn-coral {
  background: var(--highlight);
  color: #FFFFFF;
  border-color: var(--highlight);
}
.btn-highlight:hover,
.btn-apply:hover,
.btn-coral:hover {
  background: var(--highlight-deep);
  border-color: var(--highlight-deep);
  color: #FFFFFF;
}

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-deep); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--white); border-color: var(--secondary); }
.btn-wa { background: var(--wa); color: #FFFFFF; }
.btn-wa:hover { background: var(--wa-hover); color: #FFFFFF; }

/* shine sweep on primary buttons */
.btn-primary, .btn-brass, .btn-apply, .btn-highlight, .btn-wa { position: relative; overflow: hidden; }
.btn-primary::after, .btn-brass::after, .btn-apply::after, .btn-highlight::after, .btn-wa::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left .55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover::after, .btn-brass:hover::after, .btn-apply:hover::after, .btn-highlight:hover::after, .btn-wa:hover::after { left: 130%; }

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.btn-ghost:hover,
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Badges & Labels from design system */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .85rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
}
.badge-popular { background: var(--primary); color: #FFFFFF; }
.badge-top { background: var(--secondary); color: #FFFFFF; }
.badge-new { background: var(--highlight); color: #FFFFFF; }
.badge-pill {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.link-arrow {
  font-weight: 600;
  font-size: .95rem;
  color: var(--terra-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-bottom-color: var(--terra); gap: .7rem; }

/* ============================================================
   Announcement strip + Header
   ============================================================ */

.announce {
  background: var(--pine-deep);
  color: var(--paper);
  font-size: .82rem;
  letter-spacing: .02em;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.announce .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  text-align: center;
}
.announce a {
  color: var(--terra-soft);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.announce a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header .container { max-width: 1280px; }
.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(19, 78, 74, 0.10);
  background: rgba(255, 255, 255, 0.99);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
}

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.brand-logo {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-footer .brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border-color: var(--line-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  background: var(--white);
}
.brand-name { line-height: 1.15; min-width: 0; }
.brand-name strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.88rem, 3.8vw, 1.15rem);
  color: var(--primary);
  line-height: 1.15;
  white-space: normal;
  max-width: 200px;
}
.brand-name strong em { font-style: italic; color: var(--secondary); }
.brand-name span {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav Pill Wrapper & Items (Floating asymmetric style from image) */
.nav-pill-wrapper {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  background: var(--primary);
  border-radius: 50px;
  padding: .35rem .6rem;
  box-shadow: 0 4px 18px rgba(19, 78, 74, 0.18);
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
}
.site-nav > ul > li { display: flex; align-items: center; }
.site-nav > ul > li > a:not(.btn),
.site-nav .sub-toggle {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  padding: .48rem 1.05rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  white-space: nowrap;
  letter-spacing: .01em;
  transition: all .2s ease;
  cursor: pointer;
}
.site-nav > ul > li > a:not(.btn):hover,
.site-nav > ul > li > a.active,
.site-nav .sub-toggle:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.16);
}

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 50px;
  padding: .65rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
  white-space: nowrap;
}
.nav-phone-pill svg { width: 16px; height: 16px; fill: currentColor; }
.nav-phone-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Keep the full desktop header inside the content frame on compact laptops. */
@media (max-width: 1280px) and (min-width: 1061px) {
  .head-inner { gap: 1rem; }
  .site-nav > ul > li > a:not(.btn),
  .site-nav .sub-toggle { padding-left: .72rem; padding-right: .72rem; }
  .nav-phone-pill { padding-left: .9rem; padding-right: .9rem; }
}

/* Breadcrumbs (Horizontal modern line) */
.breadcrumbs {
  padding: .85rem 0;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs ol,
.crumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: .86rem;
  color: var(--muted);
}
.breadcrumbs li,
.crumbs li,
.crumbs span {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: .5rem;
  color: var(--muted);
  font-weight: bold;
}
.breadcrumbs a,
.crumbs a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}
.breadcrumbs a:hover,
.crumbs a:hover {
  color: var(--primary);
}

/* ---------- Admissions Dropdown ---------- */
.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
  padding: .4rem 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  letter-spacing: .01em;
  transition: color .2s ease;
}
.sub-toggle:hover { color: var(--terra); }
.sub-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -1rem;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2.5px solid var(--terra);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .6rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s cubic-bezier(0.16, 1, 0.3, 1),
              transform .22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility .22s ease;
  pointer-events: none;
  z-index: 120;
}
.sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.has-sub.open .sub-menu,
.has-sub.hovered .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.has-sub.open .sub-toggle,
.has-sub.hovered .sub-toggle { color: var(--terra); }
.has-sub.open .sub-toggle::after,
.has-sub.hovered .sub-toggle::after { transform: rotate(-135deg) translateY(0); }

.sub-menu a {
  display: flex;
  align-items: center;
  padding: .7rem 1.4rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.sub-menu a:hover,
.sub-menu a.active {
  background: var(--paper-soft);
  color: var(--terra-deep);
  padding-left: 1.65rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero Section (Home)
   ============================================================ */

.hero {
  position: relative;
  min-height: clamp(460px, 72vh, 620px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(12, 43, 41, 0.40), rgba(12, 43, 41, 0.68)),
    url("../images/campus_students.jpg") center 35% / cover no-repeat;
  overflow: hidden;
}
/* soft fade into the page below */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: clamp(2.6rem, 7vh, 4.5rem) 1.5rem 3.5rem;
}
/* soft dark tint behind the headline so the colored text always pops */
.hero-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 115%;
  height: 160%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(8, 30, 28, 0.72) 0%,
    rgba(8, 30, 28, 0.36) 55%,
    transparent 80%);
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
}
.hero-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  color: #FFFFFF;
  margin: 0 0 .7rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: .005em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
.hero-inner h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-since {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: #F2F4F7;
  letter-spacing: .01em;
}
.hero-since::before,
.hero-since::after {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: rgba(232, 220, 196, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.3rem;
  justify-content: center;
}

/* Three simple blocks: help / offer / advantages */
.hero-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hero-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--terra);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.hero-block h2 {
  font-size: 1.25rem;
  margin-bottom: .9rem;
}
.hero-block ul { list-style: none; }
.hero-block li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .6rem;
  font-size: .93rem;
  color: var(--muted);
}
.hero-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 700;
}

/* Editorial stats */
.hero-stats {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 2.2rem 1rem; text-align: center; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--terra);
  line-height: 1;
}
.stat span {
  display: block;
  font-size: .84rem;
  color: var(--muted);
  margin-top: .5rem;
}

/* ============================================================
   General Sections & Cards
   ============================================================ */

.section {
  padding: clamp(4rem, 7.5vw, 6rem) 0;
}
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-soft { background: var(--paper-soft); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.grid-2-wide { grid-template-columns: 1.1fr .9fr; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* Image frames */
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--white);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.img-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-card:hover img { transform: scale(1.05); }
.img-card-body { padding: 1.6rem 1.8rem; }
.img-card-body h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.img-card-body p { color: var(--muted); font-size: .94rem; margin-bottom: 1.1rem; }

/* Warm service cards (homepage) */
.svc-warm {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.svc-warm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-warm .svc-q {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-size: 1.7rem;
  line-height: 1;
}
.svc-warm h3 { font-size: 1.3rem; margin: .9rem 0 .5rem; }
.svc-warm p { color: var(--muted); font-size: .93rem; margin-bottom: 1.2rem; }

/* Warm pull-quote */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 26ch;
  border-left: 4px solid var(--terra);
  padding-left: 1.6rem;
  margin: 2.4rem 0;
}
.pullquote cite {
  display: block;
  font-family: var(--sans);
  font-size: .86rem;
  font-style: normal;
  color: var(--muted);
  margin-top: .8rem;
}

/* Facts list (warm editorial) */
.facts { display: flex; flex-direction: column; gap: 1.2rem; }
.fact {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.3rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.fact:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.fact .k {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--primary);
  font-weight: 600;
  min-width: 90px;
  flex-shrink: 0;
  line-height: 1.2;
}
.fact p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  flex: 1;
}
.fact p small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: .3rem;
  font-size: .88rem;
}

/* Services rows */
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.service-row p { color: var(--muted); max-width: 60ch; font-size: .96rem; }

/* Streams grid */
.stream-card {
  padding: 2rem 2.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stream-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--terra);
}
.stream-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--terra);
  margin-bottom: .7rem;
  display: block;
}
.stream-card h3 { font-size: 1.28rem; margin-bottom: .7rem; }
.stream-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }

/* Steps / process */
.steps-wrap { display: flex; flex-direction: column; gap: 1.4rem; }
.step-card {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.6rem;
  padding: 1.8rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.step-card:hover { border-color: var(--terra); transform: translateY(-2px); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--terra);
  font-weight: 500;
  line-height: 1;
}
.step-card h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.step-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Ghost-numbered steps (editorial) */
.steps { display: flex; flex-direction: column; gap: 1.4rem; }
.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.step:last-child { border-bottom: none; }
.step .idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--terra);
  font-weight: 500;
}
.step h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Ghost-numbered editorial steps (homepage) */
.editorial-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.editorial-step { position: relative; padding-top: 3rem; }
.editorial-step::before {
  content: attr(data-n);
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--terra);
  position: absolute;
  top: 0;
  left: 0;
}
.editorial-step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.editorial-step p { font-size: .87rem; color: var(--muted); }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--terra);
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--terra-deep);
  font-family: var(--serif);
  font-size: 1.05rem;
}
.author-info strong { display: block; font-size: .94rem; color: var(--ink); }
.author-info span { display: block; font-size: .82rem; color: var(--muted); }

/* FAQs accordion */
.faq-wrap { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--terra); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--terra);
  transition: transform .2s ease;
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  display: none;
  padding: 0 1.8rem 1.5rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  display: block;
  animation: faq-open .32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Enquiry Form & Modal
   ============================================================ */

.enquire {
  background: var(--pine-deep);
  color: var(--paper);
  position: relative;
}
.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: flex-start;
}
.enquire-grid > * { min-width: 0; }
.enquire-intro h2 { color: #FFFFFF; font-size: clamp(2rem, 3.2vw, 2.6rem); margin: 1rem 0 1.2rem; }
.enquire-intro p { color: var(--muted-dark); font-size: 1.03rem; line-height: 1.7; }
.bg-soft .enquire-intro h2,
.bg-white .enquire-intro h2,
section:not(.enquire) .enquire-intro h2 {
  color: var(--terra) !important;
}
.bg-soft .enquire-intro p,
.bg-white .enquire-intro p,
section:not(.enquire) .enquire-intro p {
  color: var(--muted) !important;
}

.enquire-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 1px solid var(--line-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: #0d0d0d;
}
.enquire-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
  transform-origin: 50% 12%;
}

.enquire-links {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.enquire-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s ease;
}
.enquire-links a:hover { color: var(--terra-soft); }
.enquire-links span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra-soft);
  width: 100px;
  flex: none;
}

.form {
  background: var(--white);
  color: var(--ink);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--terra);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--ink);
}
.field label em { color: var(--terra); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  transition: all .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brass-glow);
}
.field textarea { min-height: 100px; resize: vertical; }
.form-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .9rem;
  text-align: center;
}
.form-success {
  display: none;
  background: #F0F7EF;
  border: 1px solid #C9E2C4;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: .92rem;
  color: #2C5E33;
}

/* Floating WhatsApp — circular button with popup bubble */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .8rem;
}
.wa-pop {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.35rem 1.2rem;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transform-origin: bottom right;
  transition: opacity .3s cubic-bezier(0.16, 1, 0.3, 1),
              transform .3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility .3s ease;
}
.wa-float.open .wa-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-pop-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  padding-right: 1.4rem;
}
.wa-pop-text {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}
.wa-pop-btn {
  margin-top: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--wa);
  color: #FFFFFF;
  border-radius: 50px;
  padding: .6rem 1.15rem;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.wa-pop-btn svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.wa-pop-btn:hover { background: var(--wa-hover); color: #FFFFFF; transform: translateY(-1px); }
.wa-pop-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: color .2s ease;
}
.wa-pop-close:hover { color: var(--terra); }
.wa-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--wa);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(31, 168, 85, 0.4);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-btn:hover {
  background: var(--wa-hover);
  transform: translateY(-3px) scale(1.05);
}
.wa-btn svg { width: 30px; height: 30px; fill: currentColor; }
/* subtle ping ring */
.wa-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes wa-ping {
  0%   { transform: scale(1); opacity: .55; }
  80%, 100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-btn::after { animation: none; }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 98;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--paper);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover {
  background: var(--terra);
  color: #FFFFFF;
  transform: translateY(-3px);
}
.back-top svg { width: 18px; height: 18px; fill: currentColor; }

/* Small circular call button — mobile only, bottom-left */
.m-call-btn {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 98;
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  place-items: center;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.m-call-btn:hover {
  background: var(--terra);
  color: #FFFFFF;
  transform: translateY(-3px);
}
.m-call-btn svg { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 768px) {
  .m-call-btn { display: grid; }
  .back-top { bottom: 88px; }
}

/* ============================================================
   Contact Page
   ============================================================ */

.contact-block h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin: 2.2rem 0 1rem;
}
.contact-block h3:first-child { margin-top: 0; }
.addr { font-style: normal; color: var(--ink); max-width: 38ch; line-height: 1.8; }
.addr strong { font-family: var(--serif); font-weight: 600; }

.numbers { border-top: 1px solid var(--line); margin-top: 1rem; }
.num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.num-row span { color: var(--muted); font-size: .86rem; }
.num-row a { text-decoration: none; font-weight: 500; }
.num-row a:hover { color: var(--terra-deep); }

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }
.map-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-size: .9rem;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.map-cap a { color: var(--terra-deep); font-weight: 600; text-decoration: none; }
.map-cap a:hover { text-decoration: underline; }

/* ============================================================
   Page Hero (Inner Subpages)
   ============================================================ */

/* Sub-page hero — clean editorial masthead, text only (no image) */
.page-hero {
  position: relative;
  color: var(--ink);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(2.8rem, 4.5vw, 3.8rem);
  background:
    radial-gradient(1100px 460px at 88% -20%, rgba(226, 105, 63, 0.10), transparent 62%),
    linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .container { position: relative; }
/* decorative diamond ornaments — subtle, CSS-only */
.page-hero .container::before,
.page-hero .container::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 4px;
  pointer-events: none;
}
.page-hero .container::before {
  right: clamp(24px, 6vw, 72px);
  width: 112px;
  height: 112px;
  border: 1.5px solid rgba(193, 59, 31, 0.22);
}
.page-hero .container::after {
  right: calc(clamp(24px, 6vw, 72px) + 30px);
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(193, 59, 31, 0.13);
}
.page-hero .eyebrow,
.page-hero .eyebrow.on-dark {
  color: var(--terra);
  font-size: 1.05rem;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 1rem 0 1.1rem;
  line-height: 1.08;
  color: var(--ink);
  max-width: 18ch;
  text-shadow: none;
}
.page-hero .lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 54ch;
  line-height: 1.75;
  text-shadow: none;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 2.2rem;
}
.crumbs a { color: var(--terra); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .page-hero .container::before,
  .page-hero .container::after { display: none; }
}

.bg-pine {
  background: var(--pine);
  color: var(--paper);
}
.bg-pine h2, .bg-pine h3 { color: #FFFFFF; }
.bg-pine p { color: var(--muted-dark); }
.bg-pine .step { border-color: var(--line-dark); }
.bg-pine .step .idx { color: var(--terra-soft); }
.bg-pine .step h3 { color: #FFFFFF; }
.bg-pine .step p { color: var(--muted-dark); }
.bg-pine .eyebrow.on-dark { color: var(--terra-soft); }

.founder-note {
  border: 1px solid var(--line);
  padding: 2.4rem 2.2rem;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--white);
}
.founder-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--terra);
}
.founder-note p {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}
.founder-note footer {
  margin-top: 1.3rem;
  font-size: .88rem;
  color: var(--muted);
}
.founder-note footer strong {
  display: block;
  color: var(--terra-deep);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
}

.check {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.check li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  font-size: .95rem;
}
.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 700;
}

/* Rows layout for services / streams */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 2rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.row:first-child { border-top: 1px solid var(--line); }
.row .no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--terra);
}
.row h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.row p { color: var(--muted); font-size: .96rem; max-width: 60ch; }
.row-meta { margin-top: .9rem; }

/* CTA band — high-contrast terracotta */
.cta-band {
  background: var(--terra);
  color: #FFFFFF;
  padding: clamp(4rem, 7.5vw, 5.5rem) 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: #FFFFFF; margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 52ch; margin: 0 auto 2rem; }
.cta-band .eyebrow.on-dark { color: #FFE3D3; }
.cta-band .hero-actions { justify-content: center; }

/* FAQ list (details/summary pages) */
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.6rem;
  transition: all .2s ease;
}
.faq details[open] { border-color: var(--terra); }
.faq summary {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .a {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}
.faq .a a { color: var(--terra-deep); }
.faq .a a:hover { color: var(--terra); }

/* Contact links */
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Office band (homepage) */
.office-band {
  background: var(--pine-deep);
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.office-band .photo-frame { border: 1px solid var(--line-dark); }
@media (max-width: 900px) {
  .office-band { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
}
.site-footer .brand-mark { background: transparent; color: var(--paper); border-color: var(--terra-soft); }
.site-footer .brand-name strong { color: #FFFFFF; }
.site-footer .brand-name strong em { color: var(--terra-soft); }
.site-footer .brand-name span { color: var(--muted-dark); }
.site-footer p { color: var(--muted-dark); font-size: .93rem; margin-top: 1.1rem; max-width: 34ch; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--terra-soft);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a {
  color: var(--muted-dark);
  text-decoration: none;
  font-size: .93rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-col address {
  font-style: normal;
  color: var(--muted-dark);
  font-size: .93rem;
  line-height: 1.8;
}
.footer-col address a { display: inline-block; margin-top: .4rem; color: var(--terra-soft); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--muted-dark);
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: #FFFFFF !important;
    border-bottom: 3px solid var(--primary);
    padding: 1.2rem 1.2rem 1.8rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    border-radius: 0 0 24px 24px;
    z-index: 9999;
  }
  .site-nav.open > ul {
    display: flex;
    animation: nav-in .28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes nav-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }
  .site-nav > ul > li {
    display: block;
    width: 100%;
    margin-left: 0 !important;
  }
  .site-nav > ul > li > a:not(.btn),
  .site-nav .sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937 !important;
    background: transparent !important;
    text-decoration: none;
  }
  .site-nav > ul > li > a:not(.btn):hover,
  .site-nav > ul > li > a.active,
  .site-nav .sub-toggle:hover {
    color: var(--primary) !important;
    background: rgba(19, 78, 74, 0.08) !important;
  }
  .site-nav .nav-cta { margin-top: 1.2rem; margin-left: 0 !important; }
  .site-nav .nav-cta a.btn { width: 100%; padding: .85rem 1.5rem; }

  .sub-menu {
    position: static;
    display: none;
    border: none;
    border-left: 3px solid var(--primary);
    border-top: none;
    box-shadow: none;
    background: #F3F7F5 !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding: .4rem .8rem;
    border-radius: 0 12px 12px 0;
    margin: .3rem 0 .5rem .5rem;
    flex-direction: column;
    gap: .2rem;
  }
  .has-sub.open .sub-menu,
  .has-sub.hovered .sub-menu { display: flex; }
  .sub-menu a {
    padding: .6rem .8rem !important;
    font-size: .92rem !important;
    font-weight: 500 !important;
    color: #1F2937 !important;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    border-bottom: none !important;
  }
  .sub-menu a:hover,
  .sub-menu a.active {
    background: rgba(19, 78, 74, 0.12) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 900px) {
  .hero-blocks { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-2-wide { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .editorial-steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .enquire-grid { grid-template-columns: minmax(0, 1fr); }

  /* Show hero photo above on mobile view */
  .hero-split-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-split-grid > .photo-frame,
  .hero-split-grid > .hero-img-col {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  /* Responsive Fact / Stat Cards on mobile */
  .facts { gap: 1rem; }
  .fact {
    flex-direction: column;
    gap: .4rem;
    padding: 1.1rem 1.3rem;
  }
  .fact .k {
    min-width: auto;
    font-size: 1.55rem;
  }
}

@media (max-width: 640px) {
  /* Hero: tighter band on phones */
  .hero { min-height: 400px; }
  .hero-inner { padding: 2.2rem 1.25rem 3rem; }
  .hero-blocks { gap: 1.1rem; }

  /* Announcement bar: strictly one line, dark background kept */
  .announce { font-size: .74rem; padding: .45rem 0; }
  .announce .container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    gap: .4rem;
  }
  .announce .container > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
  }
  .announce .container > span:nth-child(2),
  .announce .container > a { flex: none; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.6rem .6rem; }
  .row { grid-template-columns: 3rem 1fr; gap: 1.2rem; }
  .service-row { grid-template-columns: 1fr; }

  /* Single-column footer on phones */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .6rem; }

  /* Tighten the map and contact rows */
  .map-wrap iframe { height: 320px; }
  .num-row { flex-wrap: wrap; }

  /* Office band breathes less on small screens */
  .office-band { padding: 1.8rem 1.4rem; }

  /* Hero caption spans the photo width */
  .hero-caption { left: 12px; right: 12px; max-width: none; padding: .6rem .9rem; font-size: .78rem; }

  .faq-question, .faq-answer { padding-left: 1.3rem; padding-right: 1.3rem; }
}

@media (max-width: 480px) {
  /* Header: keep brand + toggle on one line */
  .head-inner { height: 68px; gap: .75rem; }
  .brand { gap: .6rem; }
  .brand-logo { width: 38px; height: 38px; border-radius: 10px; }
  .brand-name strong { font-size: .98rem; }
  .brand-name span { display: none; }
  .nav-toggle { width: 40px; height: 40px; }

  /* Buttons: let long labels wrap instead of overflowing */
  .btn { padding: .8rem 1.2rem; font-size: .9rem; white-space: normal; }

  .hero-inner h1 { font-size: clamp(1.9rem, 8.5vw, 2.7rem); }
  .stat strong { font-size: 1.8rem; }
}

/* ============================================================
   Interactive Course Finder (homepage widget)
   ============================================================ */

.cf-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}
.cf-top { padding: 1.6rem 1.9rem 1.1rem; }
.cf-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--secondary);
  background: var(--paper-soft);
  border-radius: 50px;
  padding: .3rem .8rem;
  margin-bottom: .9rem;
}
.cf-title h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .35rem; color: var(--ink); }
.cf-title p { color: var(--muted); font-size: .95rem; }
.cf-progress {
  height: 4px;
  background: var(--paper-soft);
}
.cf-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cf-body { padding: 1.6rem 1.9rem 2rem; }
.cf-step { display: none; }
.cf-step.in { display: block; transition: opacity .35s ease; }
.cf-q {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin-bottom: 1.1rem;
  color: var(--ink);
}
.cf-opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem;
}
.cf-opt {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink);
  transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
}
.cf-opt:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.cf-opt .cf-ico {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: .45rem;
}
.cf-opt .cf-opt-t { font-weight: 600; font-size: .98rem; }
.cf-opt .cf-opt-s { font-size: .82rem; color: var(--muted); }
.cf-opt .cf-opt-t:empty, .cf-opt .cf-opt-s:empty { display: none; }
.cf-opt.picked {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 10px 24px var(--primary-glow);
}
.cf-opt.picked .cf-opt-t { color: #FFFFFF; }
.cf-opt.picked .cf-opt-s { color: rgba(255, 255, 255, .88); }
.cf-opt.picked .cf-ico { color: var(--accent); }

/* results */
.cf-recs { display: flex; flex-direction: column; gap: .9rem; }
.cf-rec {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease;
}
.cf-rec:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.cf-rec-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--primary);
  line-height: 1;
  flex: none;
}
.cf-rec h4 { font-size: 1.12rem; margin-bottom: .3rem; color: var(--ink); }
.cf-rec p { color: var(--muted); font-size: .9rem; margin-bottom: .55rem; max-width: 62ch; }
.cf-rec-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.cf-rec-link:hover { text-decoration: underline; }
.cf-tip {
  margin-top: 1.2rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .88rem;
  padding: .9rem 1.1rem;
  line-height: 1.6;
}
.cf-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}
.cf-restart { margin-top: 1.25rem; }
.cf-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.cf-link-btn:hover { color: var(--primary); }
.cf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.9rem 1.6rem;
}
.cf-count { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

@media (max-width: 600px) {
  .cf-opts { grid-template-columns: 1fr 1fr; }
  .cf-body { padding: 1.3rem 1.2rem 1.6rem; }
  .cf-top { padding: 1.3rem 1.2rem .9rem; }
  .cf-foot { padding: 0 1.2rem 1.3rem; }
  .cf-opt { padding: .9rem 1rem; }
}
@media (max-width: 380px) {
  .cf-opts { grid-template-columns: 1fr; }
}

/* ============================================================
   Micro-interactions
   ============================================================ */

.btn:active { transform: translateY(0) scale(.98); }
.btn-outline-light { transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); }

.photo-frame img {
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-frame:hover img { transform: scale(1.045); }

.svc-warm h3 { transition: color .2s ease; }
.svc-warm:hover h3 { color: var(--primary); }
.stream-card h3 { transition: color .2s ease; }
.stream-card:hover h3 { color: var(--primary); }
.stream-card:hover { border-color: var(--secondary); }

.testimonial-card {
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.link-arrow {
  transition: border-color .2s ease, gap .2s ease, color .2s ease;
}
.link-arrow:hover { color: var(--primary); }

.hero-block,
.stat { transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease; }
.hero-block:hover { transform: translateY(-4px); }

.fact { transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease; }
.row { transition: background-color .25s ease, padding-left .25s ease; }
.row:hover { background: var(--white); padding-left: 1rem; }
.faq-item { transition: border-color .25s ease, box-shadow .25s ease; }

.editorial-step {
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease;
}
.editorial-step:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .cf-opt, .cf-rec, .photo-frame img, .btn:active,
  .svc-warm, .stream-card, .testimonial-card, .hero-block,
  .fact, .row, .faq-item, .editorial-step, .cf-card {
    transform: none !important;
    transition: none !important;
  }
}

/* form helper: invisible honeypot + optional label */
.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ============================================================
   Chat Advisor — floating conversational course guidance agent
   ============================================================ */
.chat-wrap {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chat-launcher {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(19, 78, 74, 0.40);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-launcher:hover {
  background: var(--primary-deep);
  transform: translateY(-3px) scale(1.05);
}
.chat-launcher svg { width: 30px; height: 30px; fill: currentColor; }
.chat-icon-close { display: none; }
.chat-launcher.open .chat-icon-open { display: none; }
.chat-launcher.open .chat-icon-close { display: block; }

.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 140px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .28s cubic-bezier(0.16, 1, 0.3, 1),
              transform .28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility .28s ease;
}
.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  background: var(--pine-deep);
  color: var(--paper);
  flex-shrink: 0;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: #FFFFFF;
  font-family: var(--serif);
  font-weight: 600;
  font-size: .85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chat-head-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.chat-head-txt strong { font-size: .98rem; }
.chat-head-txt span { font-size: .78rem; color: var(--accent); }
.chat-close {
  background: none;
  border: none;
  color: var(--muted-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  transition: color .2s ease;
}
.chat-close:hover { color: var(--paper); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1rem .6rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: var(--paper);
  scroll-behavior: smooth;
}
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}
.chat-msg.user {
  align-self: flex-end;
  align-items: flex-end;
}
.chat-bubble {
  padding: .6rem .85rem;
  border-radius: 16px;
  font-size: .9rem;
  line-height: 1.55;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  word-wrap: break-word;
}
.chat-msg.user .chat-bubble {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}
.chat-msg.bot .chat-bubble {
  border-bottom-left-radius: 4px;
}
.chat-bubble a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.chat-msg.user .chat-bubble a { color: var(--accent); }

.chat-q { margin: 0 0 .3rem; }
.chat-recs { display: flex; flex-direction: column; gap: .7rem; margin-top: .4rem; }
.chat-rec {
  display: flex;
  gap: .7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem .85rem;
  box-shadow: var(--shadow-sm);
}
.chat-rec-n {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--secondary);
  color: #FFFFFF;
  font-size: .85rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.chat-rec-bd { min-width: 0; }
.chat-rec-bd strong { font-size: .92rem; display: block; margin-bottom: .15rem; }
.chat-rec-bd p { font-size: .82rem; color: var(--muted); margin: 0 0 .35rem; line-height: 1.5; }
.chat-link { font-size: .84rem; font-weight: 600; color: var(--primary); }
.chat-tip {
  margin: .6rem 0 0;
  padding: .6rem .8rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  font-size: .82rem;
  color: var(--ink);
  line-height: 1.5;
}
.chat-cta { display: flex; flex-direction: column; gap: .45rem; margin-top: .75rem; }
.chat-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--wa);
  color: #FFFFFF;
  border-radius: 50px;
  padding: .65rem 1.15rem;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.chat-wa:hover { background: var(--wa-hover); color: #FFFFFF; transform: translateY(-1px); }
.chat-book { font-size: .84rem; text-align: center; color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.chat-restart {
  margin-top: .5rem;
  align-self: center;
  background: none;
  border: none;
  color: var(--muted);
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.chat-chips {
  display: none;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .65rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--line-light);
}
.chat-chip {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: .45rem .9rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.chat-chip:hover { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.chat-chip.primary { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.chat-chip.primary:hover { background: var(--primary-deep); }

.chat-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem .85rem;
  background: var(--white);
  border-top: 1px solid var(--line-light);
  flex-shrink: 0;
}
.chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--paper);
  padding: .6rem .95rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.chat-form input:focus { border-color: var(--primary); }
.chat-form button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}
.chat-form button:hover { background: var(--primary-deep); }
.chat-form button svg { width: 20px; height: 20px; fill: currentColor; }

.chat-dots { display: inline-flex; gap: 4px; padding: 2px 0; }
.chat-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .4;
  animation: chat-dot 1s ease-in-out infinite;
}
.chat-dots i:nth-child(2) { animation-delay: .18s; }
.chat-dots i:nth-child(3) { animation-delay: .36s; }
@media (max-width: 480px) {
  .chat-wrap { right: 16px; bottom: 96px; }
  .chat-panel { width: calc(100vw - 32px); }
}
.field label .opt { font-weight: 400; color: var(--muted); }

/* ============================================================
   NEW MODERN UI SYSTEM (Blocks, Cards, Collages & Showcases)
   ============================================================ */

/* ---------- Pill Badge Component ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: .38rem .95rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(19, 78, 74, 0.04);
  margin-bottom: 1.2rem;
}
.pill-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--highlight);
}
.pill-badge.dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--accent);
}
.pill-badge.dark::before { background: var(--accent); }

/* ---------- 1. Modern Split Hero Section ---------- */
.hero-modern {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 2rem;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.proof-stat strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.proof-stat span {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
  display: block;
}
.proof-avatars {
  display: flex;
  align-items: center;
}
.avatar-stack {
  display: flex;
  margin-right: .75rem;
}
.av-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  margin-left: -10px;
  background: var(--secondary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.av-circle:first-child { margin-left: 0; background: var(--primary); }
.av-circle:nth-child(2) { background: var(--secondary); }
.av-circle:nth-child(3) { background: var(--highlight); }
.proof-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
}

/* Hero Collage Right */
.hero-collage {
  position: relative;
}
.hero-img-main {
  width: 100%;
  height: clamp(380px, 50vh, 520px);
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-floating-card {
  position: absolute;
  left: -28px;
  bottom: -24px;
  width: 210px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(19, 78, 74, 0.20);
  border: 4px solid var(--white);
  background: var(--white);
}
.hero-floating-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* ---------- 2. Dark Feature Showcase Band (Deep Teal #134E4A) ---------- */
.dark-showcase {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 36px;
  padding: clamp(3rem, 6vw, 4.8rem);
  margin: 1.5rem 0 3.5rem;
  box-shadow: 0 20px 50px rgba(19, 78, 74, 0.22);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.showcase-img-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.showcase-img-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.showcase-info h2 {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  margin: .9rem 0 1.1rem;
}
.showcase-info p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.7;
}
.showcase-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.showcase-stats {
  display: flex;
  gap: 3.5rem;
}
.showcase-stat-item strong {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.showcase-stat-item span {
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: .4rem;
  display: block;
}

/* ---------- 3. Why Choose Us Pillar Cards ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.6rem 2.2rem 2.2rem;
  box-shadow: 0 4px 24px rgba(19, 78, 74, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all .28s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(19, 78, 74, 0.12);
  border-color: var(--secondary);
}
.pillar-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(19, 78, 74, 0.12);
  position: relative;
}
.pillar-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.pillar-card.featured .pillar-icon-box {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.pillar-icon-box svg { width: 32px; height: 32px; fill: currentColor; }
.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: .8rem;
  color: var(--ink);
}
.pillar-card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex: 1;
}
.pillar-btn {
  width: 100%;
  padding: .75rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: all .2s ease;
}
.pillar-btn.btn-light {
  background: var(--paper-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}
.pillar-btn.btn-light:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.pillar-btn.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border: 1px solid var(--primary);
}
.pillar-btn.btn-primary:hover {
  background: var(--primary-deep);
}

/* ---------- 4. Event & Media Video Banner ---------- */
.media-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(19, 78, 74, 0.2), rgba(12, 43, 41, 0.78)),
    url('../images/founder_advisory.jpg') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  margin: 3.5rem 0;
}
.media-card-overlay {
  background: rgba(19, 78, 74, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 1.8rem 2.2rem;
  color: #FFFFFF;
  max-width: 490px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform .2s ease, background-color .2s ease;
}
.play-btn:hover {
  transform: scale(1.08);
  background: var(--accent);
}
.media-card-overlay h3 {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: .6rem;
  line-height: 1.25;
}
.media-card-overlay .meta-badge {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- 5. Testimonials Grid (Voices From Our Global Community) ---------- */
.testi-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.8rem;
}
.testi-card-large {
  border-radius: 28px;
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  min-height: 280px;
}
.testi-card-large.dark {
  background: var(--primary);
  color: #FFFFFF;
}
.testi-card-large.dark h3 { color: #FFFFFF; font-size: 1.3rem; margin-bottom: .6rem; }
.testi-card-large.dark p { color: rgba(255, 255, 255, 0.86); font-size: .98rem; line-height: 1.7; }
.testi-card-large.light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.testi-card-large.light h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--ink); }
.testi-card-large.light p { color: var(--muted); font-size: .98rem; line-height: 1.7; }
.testi-quote-icon {
  font-size: 2.5rem;
  font-family: var(--serif);
  line-height: 1;
  margin-bottom: .8rem;
  color: var(--accent);
}
.testi-card-large.light .testi-quote-icon { color: var(--secondary); }
.testi-stars { color: #F59E0B; margin-bottom: .6rem; font-size: .95rem; }

.testi-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.testi-card-compact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, border-color .2s ease;
}
.testi-card-compact:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
}
.testi-card-compact p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }

/* ---------- 6. Admissions FAQ & Guidance Accordion Band (#134E4A) ---------- */
.admissions-faq-band {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 36px;
  padding: clamp(3rem, 6vw, 4.8rem);
  margin: 3.5rem 0;
  box-shadow: 0 20px 50px rgba(19, 78, 74, 0.22);
}
.faq-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.faq-band-head h2 { color: #FFFFFF; font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin: 0; }
.accordion-rows {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.accordion-row-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  cursor: pointer;
  transition: all .2s ease;
  color: #FFFFFF;
  text-decoration: none;
}
.accordion-row-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.row-left {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  flex: 1;
}
.row-badge {
  background: rgba(255, 255, 255, 0.16);
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  white-space: nowrap;
}
.row-q {
  font-weight: 500;
  font-size: .95rem;
  min-width: 0;
  line-height: 1.35;
}
.row-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: .9rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* ---------- 7. Split FAQ with Campus Photo ---------- */
.split-faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.split-faq-photo {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 440px;
}
.split-faq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 8. Luminous CTA Card with Ambient Glow ---------- */
.luminous-cta {
  background: radial-gradient(circle at 50% 120%, rgba(107, 143, 123, 0.24) 0%, rgba(255, 255, 255, 0.99) 70%), var(--white);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(3.5rem, 6vw, 5.5rem) 2rem;
  text-align: center;
  box-shadow: 0 16px 48px rgba(19, 78, 74, 0.08);
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
}
.luminous-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(19, 78, 74, 0.09), transparent 70%);
  pointer-events: none;
}
.luminous-cta h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  margin-bottom: 1rem;
  color: var(--ink);
}
.luminous-cta p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 2.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Responsive Adjustments for New Blocks ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .showcase-grid,
  .showcase-bottom-row,
  .split-faq-grid,
  .testi-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-card { position: static; width: 100%; margin-top: 1rem; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .testi-bottom-grid { grid-template-columns: 1fr 1fr; }
  .showcase-img-card img { height: 260px; }
}

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .testi-bottom-grid { grid-template-columns: 1fr; }
  .showcase-stats { flex-direction: column; gap: 1.5rem; }
  .nav-phone-pill { display: none; }
  .accordion-row-item { border-radius: 18px; }
}

/* ============================================================
   SCULPTED ORGANIC HERO SECTION (Exact Reference Layout)
   ============================================================ */

.hero-sculpted-wrapper {
  background: var(--paper);
  padding: 1.5rem 0 3.5rem;
}

.hero-outer-frame {
  background: #194F45;
  border-radius: 36px;
  padding: 1.2rem 1.4rem 1.4rem;
  box-shadow: 0 24px 60px rgba(19, 78, 74, 0.24);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* Top Navigation Bar embedded in Frame */
.sculpted-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.8rem 1.2rem;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  gap: 1rem;
}

.sculpted-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #FFFFFF;
  max-width: 100%;
}
.sculpted-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #111827;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}
.sculpted-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.36);
  transform-origin: center center;
  display: block;
}
.sculpted-brand-name {
  line-height: 1.18;
  min-width: 0;
}
.sculpted-brand-name strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.92rem, 3.8vw, 1.22rem);
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: normal;
  max-width: 220px;
}
.sculpted-brand-name span {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.sculpted-nav-right {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* Peanut / Dual-Bubble Button */
.peanut-btn {
  display: inline-flex;
  align-items: center;
  background: var(--highlight);
  border-radius: 50px;
  padding: 3px;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  font-size: .88rem;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.35);
}
.peanut-btn .peanut-txt {
  padding: .5rem 1.1rem .5rem 1.2rem;
  white-space: nowrap;
}
.peanut-btn .peanut-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-size: .85rem;
  transition: transform .2s ease;
}
.peanut-btn:hover {
  background: var(--highlight-deep);
  transform: translateY(-2px);
}
.peanut-btn:hover .peanut-ico {
  transform: scale(1.1) rotate(45deg);
}

.sculpted-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sculpted-nav-links a {
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s ease;
}
.sculpted-nav-links a:hover {
  color: var(--accent);
}

/* Main Light Body with Sculpted organic silhouette */
.sculpted-light-card {
  background: #E8F1EB;
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  color: var(--ink);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.sculpted-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.sculpted-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.12;
  font-weight: 500;
  color: var(--primary-deep);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}

.sculpted-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

/* Floating Segmented Search / Tab Pill Bar */
.hero-search-pill {
  background: #FFFFFF;
  border: 1px solid rgba(19, 78, 74, 0.14);
  border-radius: 50px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 10px 30px rgba(19, 78, 74, 0.09);
  max-width: 540px;
}
.search-tab {
  padding: .6rem 1.25rem;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.search-tab.active {
  background: var(--primary);
  color: #FFFFFF;
}
.search-tab.inactive {
  background: #E8F1EB;
  color: var(--primary);
}
.search-tab.inactive:hover {
  background: rgba(19, 78, 74, 0.12);
}
.hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: .5rem .8rem;
  font-size: .9rem;
  color: var(--ink);
  outline: none;
  min-width: 0;
  font-family: inherit;
}
.hero-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--highlight);
  color: #FFFFFF;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .2s ease, background-color .2s ease;
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.35);
  text-decoration: none;
}
.hero-search-btn:hover {
  background: var(--highlight-deep);
  transform: scale(1.05);
}
.hero-search-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Trustpilot / Google Reviews Star Badge */
.trust-star-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.2rem;
}
.trust-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0C2B29;
  color: #00B67A;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.trust-text {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.35;
}
.trust-text strong {
  display: block;
  color: var(--ink);
  font-size: .92rem;
}

/* Hero Right Image & Glassmorphism Card */
.sculpted-image-wrap {
  position: relative;
}
.recommended-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--primary-deep);
  margin-bottom: .6rem;
  display: block;
}
.sculpted-photo-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(19, 78, 74, 0.16);
  height: clamp(380px, 48vh, 490px);
}
.sculpted-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.glass-recommend-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(19, 78, 74, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.glass-recommend-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.glass-rating {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--accent);
  font-weight: 600;
}
.glass-recommend-card p {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  line-height: 1.4;
}

/* Bottom Dark Bar directly sculpted under light card */
.sculpted-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 1rem 0.6rem;
  flex-wrap: wrap;
}

.bottom-left-headline h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: .8rem;
  line-height: 1.15;
}
.bottom-left-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bottom-socials {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.bottom-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: .85rem;
  transition: all .2s ease;
}
.bottom-social-btn:hover {
  background: var(--highlight);
  border-color: var(--highlight);
  transform: translateY(-2px);
}

/* 4 Quick Category Cards */
.bottom-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
.category-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  text-align: center;
  text-decoration: none;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  transition: all .25s ease;
  min-width: 110px;
}
.category-tile:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.category-tile-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  display: grid;
  place-items: center;
}
.category-tile-icon svg { width: 26px; height: 26px; fill: currentColor; }
.category-tile-name {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1060px) {
  .sculpted-grid { grid-template-columns: 1fr; }
  .sculpted-bottom-bar { flex-direction: column; align-items: flex-start; }
  .bottom-categories-grid { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .sculpted-nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-outer-frame { padding: 1rem .8rem; border-radius: 24px; }
  .sculpted-light-card { padding: 1.8rem 1.2rem; border-radius: 20px; }
  .hero-search-pill { flex-wrap: wrap; border-radius: 20px; }
  .bottom-categories-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Comprehensive Mobile & Tablet View Upgrades
   ============================================================ */

/* 1. Global Viewport & Container Protections */
html, body {
  overflow-x: hidden;
  width: 100%;
}
.container {
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
}

/* 2. Responsive Tables with Smooth Touch Scrolling */
table {
  width: 100%;
  border-collapse: collapse;
}
.table-wrap,
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.2rem 0 1.8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* 3. Mobile Form Elements (Prevents iOS auto-zoom & improves touch) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 46px;
  }
  
  /* Touch target sizes */
  .btn,
  .peanut-btn,
  .nav-phone-pill {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Split FAQ Photo and Grid */
  .split-faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-faq-photo {
    min-height: 260px;
    max-height: 320px;
  }
  
  /* Floating Widget Coordinates */
  .wa-float {
    bottom: 16px;
    right: 16px;
  }
  .wa-btn {
    width: 52px;
    height: 52px;
  }
  .chat-wrap {
    bottom: 80px;
    right: 16px;
  }
  .chat-launcher {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-outer-frame {
    padding: 0.85rem 0.65rem 1.2rem;
    border-radius: 24px;
  }
  .sculpted-light-card {
    padding: 1.6rem 1rem;
    border-radius: 18px;
  }
  .sculpted-brand-logo {
    width: 42px;
    height: 42px;
  }
  .sculpted-brand-name strong {
    font-size: 0.95rem;
    max-width: 180px;
  }
  .bottom-left-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .bottom-left-actions .peanut-btn {
    width: 100%;
    justify-content: center;
  }
  .bottom-socials {
    justify-content: center;
    width: 100%;
  }
  .category-tile {
    padding: 1rem 0.6rem;
    min-height: 80px;
  }
  .category-tile-name {
    font-size: 0.78rem;
  }
}


