/* ==========================================================
   Doon Imperial  Residential School: site styles
   Palette taken from the Grow Tall crest
   ========================================================== */
:root {
  --ink: #1F1E1C;
  /* crest charcoal */
  --gold: #B98A2E;
  /* crest gold */
  --gold-deep: #84611D;
  /* gold for text on light backgrounds */
  --forest: #1E3A2F;
  /* Doon valley green */
  --paper: #FAF8F4;
  --line: #E3DDD0;
  --muted: #5B5850;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Segoe UI", system-ui, sans-serif;
  --deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;

  --wrap: 1180px;
  --space: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* An inline SVG with no width set will expand to fill its container.
   Icons are always small, so cap them unless a rule says otherwise. */
.site-footer svg,
.footer-contact-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

a {
  color: var(--gold-deep);
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .5em;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  font-size: clamp(26px, 3vw, 34px);
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.lead {
  font-size: 1.2em;
  color: var(--ink);
}

.section-title {
  margin-bottom: 48px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1.5px solid var(--gold);
  background: var(--ink);
  color: #F4E9D2;
  font: 500 15px/1 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 30, 28, .96);
  border-bottom: 1px solid rgba(185, 138, 46, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #F4E9D2;
  font: 600 22px/1 var(--serif);
}

.brand:hover {
  color: #F4E9D2;
}

.brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  color: #DCD3C2;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  width: 42px;
  height: 38px;
  padding: 8px 7px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: border-color .2s ease, background-color .2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(185, 138, 46, .15);
  border-color: #F4E9D2;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #F4E9D2;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slides img.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 17, .85) 0%, rgba(20, 19, 17, .25) 55%, rgba(20, 19, 17, .1) 100%);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(48px, 8vw, 96px);
}

.hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 700;
  margin-bottom: 16px;
}

.motto {
  font-size: clamp(18px, 2vw, 22px);
  color: #EBDDBF;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
}

.motto span {
  font-family: var(--deva);
  font-size: 1.25em;
  color: var(--gold);
}

/* Hero flag: points to AI learning */
.hero-flag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 28px;
  padding: 10px 18px 10px 10px;
  background: rgba(20, 19, 17, .7);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: #F4E9D2;
  text-decoration: none;
  font-size: 15px;
  backdrop-filter: blur(4px);
  transition: background .2s, color .2s;
}

.hero-flag strong {
  background: var(--gold);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.hero-flag:hover {
  background: var(--gold);
  color: var(--ink);
}

.hero-flag:hover strong {
  background: var(--ink);
  color: var(--gold);
}

/* Two pills under the hero flag, styled to match it exactly */
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
}

.hero-tags li {
  padding: 13px 28px;
  background: rgba(20, 19, 17, .7);
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: #FFF4DC;
  font: 700 19px/1 var(--sans);
  letter-spacing: .03em;
  text-shadow: 0 1px 14px rgba(185, 138, 46, .7);
  backdrop-filter: blur(4px);
  transition: background .2s, color .2s, transform .2s;
}

.hero-tags li:hover {
  background: var(--gold);
  color: var(--ink);
  text-shadow: none;
  transform: translateY(-2px);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-block: var(--space);
}

.pillars article {
  border-top: 2px solid var(--gold);
  padding-top: 24px;
}

.pillars h2 {
  font-size: 34px;
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.35;
  color: var(--gold-deep);
}

.pillars p:last-child {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- AI learning with Chromebooks ----------
   The section parents judge the school on, so it is given more
   presence than the rest: a deeper background, a gold rule above it,
   and a soft glow behind the photo. */
.ai-lab {
  position: relative;
  background:
    radial-gradient(900px 420px at 72% 18%, rgba(185, 138, 46, .16), transparent 70%),
    linear-gradient(180deg, #171614 0%, var(--ink) 55%, #171614 100%);
  color: #E8E1D3;
  padding-block: calc(var(--space) + 16px);
  border-top: 2px solid var(--gold);
  scroll-margin-top: 72px;
  overflow: hidden;
}

/* Keyword pills: the words parents scan for, before any paragraph */
.ai-lab-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
}

.ai-lab-tags li {
  padding: 8px 16px;
  border: 1px solid rgba(185, 138, 46, .45);
  border-radius: 999px;
  font: 600 13px/1 var(--sans);
  letter-spacing: .04em;
  color: #EBDDBF;
  background: rgba(255, 255, 255, .04);
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.ai-lab-tags li:hover {
  border-color: var(--gold);
  background: rgba(185, 138, 46, .14);
  color: #fff;
}

/* The claim, filled in gold so it leads the row */
.ai-lab-tags .is-lead {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 9px 18px;
}

.ai-lab-tags .is-lead:hover {
  background: #CE9D38;
  color: var(--ink);
}

/* The two brand names get a slow gold shimmer so the eye lands
   on them. Staggered so they do not pulse in unison. */
.ai-lab-tags .is-glow,
.hero-tags .is-glow {
  position: relative;
  overflow: hidden;
  border-color: rgba(185, 138, 46, .8);
  color: #F4E9D2;
  animation: tag-pulse 3.4s ease-in-out infinite;
}

.ai-lab-tags .is-glow+.is-glow,
.hero-tags .is-glow+.is-glow {
  animation-delay: 1.7s;
}

/* A highlight that sweeps across the pill */
.ai-lab-tags .is-glow::after,
.hero-tags .is-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 248, 230, .65) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: tag-sweep 3.4s ease-in-out infinite;
}

.ai-lab-tags .is-glow+.is-glow::after,
.hero-tags .is-glow+.is-glow::after {
  animation-delay: 1.7s;
}

@keyframes tag-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 138, 46, 0);
    background: rgba(185, 138, 46, .12);
  }

  50% {
    box-shadow: 0 0 18px 2px rgba(185, 138, 46, .45);
    background: rgba(185, 138, 46, .22);
  }
}

/* The hero pills sit over a photo, so they glow harder than the
   ones further down the page. */
.hero-tags .is-glow {
  animation-name: hero-tag-pulse;
}

@keyframes hero-tag-pulse {

  0%,
  100% {
    box-shadow: 0 0 10px 0 rgba(185, 138, 46, .25);
    background: rgba(20, 19, 17, .7);
    border-color: var(--gold);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 44px 8px rgba(185, 138, 46, .8);
    background: rgba(185, 138, 46, .45);
    border-color: #F2D089;
    transform: scale(1.04);
  }
}

@keyframes tag-sweep {
  0% {
    transform: translateX(-120%);
  }

  45%,
  100% {
    transform: translateX(120%);
  }
}

.ai-lab h2 {
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 18px;
}

.ai-lab .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.35;
  color: #F0E4CA;
}

.ai-lab p {
  color: #C7BEAC;
}

.ai-lab-top {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.ai-lab-photo {
  margin: 0;
  position: relative;
}


.ai-lab-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #2A2926;
}

/* The three facts: cards, so each number reads as a claim on its own */
.ai-lab-facts {
  list-style: none;
  padding: 0;
  margin: clamp(48px, 6vw, 72px) 0 clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-lab-facts li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 28px 26px;
  border: 1px solid rgba(185, 138, 46, .3);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.ai-lab-facts li:hover {
  border-color: var(--gold);
  background: rgba(185, 138, 46, .09);
  transform: translateY(-3px);
}

.ai-lab-facts strong {
  font: 700 clamp(28px, 2.8vw, 38px)/1.1 var(--serif);
  color: var(--gold);
}

.ai-lab-facts span {
  color: #C7BEAC;
  font-size: 16px;
}

/* Skill training */
.ai-lab-skills {
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(185, 138, 46, .3);
}

.ai-lab-sub {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 32px;
}

.ai-lab-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.ai-lab-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 62px;
}

.ai-lab-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font: 700 22px/1 var(--serif);
  color: var(--gold);
}

.ai-lab-steps h4 {
  font: 600 24px/1.2 var(--serif);
  color: #fff;
  margin: 8px 0 6px;
}

.ai-lab-steps p {
  margin: 0;
  font-size: 16px;
}

/* A line written straight to the parent reading the page */
.ai-lab-parent {
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, .05);
  font: italic clamp(19px, 2vw, 24px)/1.45 var(--serif);
  color: #F0E4CA !important;
}

.ai-lab-parent span {
  display: block;
  font: 700 12px/1 var(--sans);
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- Verse ---------- */
.verse {
  background: var(--forest);
  color: #EFE7D6;
  padding-block: var(--space);
  text-align: center;
}

.sanskrit {
  font-family: var(--deva);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.7;
  color: #D9B56A;
  margin-bottom: 32px;
}

.verse blockquote {
  margin: 0;
}

.verse blockquote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}

.verse cite {
  font-style: normal;
  font-size: 15px;
  letter-spacing: .04em;
  color: #BFB49D;
}

/* ---------- Intro / ideology ---------- */
.intro,
.ideology {
  padding-block: var(--space);
}

.intro .btn {
  margin-top: 12px;
}

.ideology {
  padding-top: 0;
}

.ideology p {
  font-size: 18px;
}

/* ---------- About features ---------- */
.about {
  background: #fff;
  padding-block: var(--space);
  border-block: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.feature+.feature {
  margin-top: clamp(56px, 8vw, 96px);
}

.feature.reverse img {
  order: 2;
}

.feature img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.feature p {
  color: var(--muted);
}

/* ---------- Recognition (UNESCO) ---------- */
.recognition {
  padding-bottom: var(--space);
  text-align: center;
}

.recognition .narrow {
  margin-inline: auto;
}

.recognition-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.recognition h2 {
  margin-bottom: 32px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 64px);
  padding-block: var(--space);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Quick action buttons */
.contact-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  min-height: 48px;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.contact-action-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-action-btn.whatsapp {
  background-color: #25D366;
  color: #fff;
}

.contact-action-btn.whatsapp:hover {
  background-color: #20BD5A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

.contact-action-btn.telephone {
  background-color: var(--ink);
  color: #F4E9D2;
  border: 1.5px solid var(--gold);
}

.contact-action-btn.telephone:hover {
  background-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(185, 138, 46, .3);
}

/* Form */
.contact-form-wrapper {
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .06);
  min-width: 0;
}

.contact-form .form-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 4px;
}

.contact-form .form-header h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 6px;
}

.contact-form .form-header p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.contact-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  /* 16px prevents iOS Safari auto-zoom */
  line-height: 1.5;
  padding: 12px 14px;
  border: 1.5px solid #D6CEBE;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-form input {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 138, 46, .22);
  outline: none;
}

.contact-form .form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.contact-form .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-size: 16px;
  font-weight: 600;
}

.form-secure-note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Partners ---------- */
.partners {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-block: var(--space);
  text-align: center;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.cert-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.cert {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  margin-inline: auto;
  border: 1px solid rgba(185, 138, 46, .25);
  border-radius: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #CFC6B4;
  font-size: 15px;
}

.site-footer a {
  color: #E6DCC8;
  text-decoration: none;
  transition: color .2s;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Admissions band */
.ft-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: 48px;
  border-bottom: 1px solid #3A3833;
}

.ft-cta h2 {
  font: 600 clamp(26px, 3vw, 36px)/1.2 var(--serif);
  color: #fff;
  margin: 0 0 6px;
}

.ft-cta p {
  margin: 0;
  color: #B5AC9A;
}

.ft-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .ft-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  font: 700 15px/1 var(--sans);
  color: #F4E9D2;
}

.site-footer .ft-btn:hover {
  background: var(--gold);
  color: var(--ink);
}

.site-footer .ft-btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.site-footer .ft-btn-gold:hover {
  background: transparent;
  color: #F4E9D2;
}

/* Main columns */
.ft-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr;
  gap: 40px clamp(32px, 4vw, 64px);
  padding-block: 56px;
}

.ft-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ft-brand img {
  border-radius: 8px;
}

.ft-brand span {
  font: 600 24px/1.1 var(--serif);
  color: #fff;
}

.ft-brand small {
  display: block;
  font: 400 13px/1.4 var(--sans);
  color: #9A9282;
  margin-top: 4px;
}

.ft-about p {
  margin: 0 0 14px;
  max-width: 320px;
}

.ft-about .ft-motto {
  font: italic 22px var(--serif);
  color: var(--gold);
}

.site-footer .ft-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.ft-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #4A4740;
  border-radius: 50%;
}

.site-footer .ft-social a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.ft-social svg {
  width: 18px;
  height: 18px;
}

.ft-col h2 {
  font: 700 13px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.ft-col li {
  margin-bottom: 10px;
}

.ft-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ft-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--gold);
}

.ft-contact span {
  display: grid;
  gap: 6px;
}

.ft-contact a {
  overflow-wrap: anywhere;
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 14px;
}

.site-footer .ft-link {
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  color: var(--gold);
}

.site-footer .ft-link:hover {
  color: #fff;
  border-color: #fff;
}

/* Bottom bar */
.ft-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background: #161513;
  border-top: 1px solid #2E2C28;
  font-size: 13px;
  color: #8C8576;
  text-align: center;
}

.ft-bottom p {
  margin: 0;
}

/* ---------- Floating quick contact (WhatsApp & Call) ---------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.floating-btn.whatsapp {
  background-color: #25D366;
  color: #fff;
}

.floating-btn.whatsapp:hover {
  background-color: #20BD5A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
}

.floating-btn.telephone {
  background-color: var(--ink);
  color: #F4E9D2;
  border: 1.5px solid var(--gold);
}

.floating-btn.telephone:hover {
  background-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(185, 138, 46, .4);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    gap: clamp(40px, 5vw, 72px);
  }
}

@media (max-width: 1024px) {

  .pillars,
  .ft-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    padding: 8px 20px 20px;
    border-bottom: 1px solid rgba(185, 138, 46, .35);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #34322D;
  }

  .feature,
  .ai-lab-top,
  .ai-lab-steps {
    grid-template-columns: 1fr;
  }

  .ai-lab-facts {
    grid-template-columns: 1fr;
  }

  .feature.reverse img {
    order: 0;
  }

  .partner-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-lab-photo {
    max-width: 560px;
  }

  .ai-lab-photo::before {
    inset: 12px -12px -12px 12px;
  }

  .ai-lab-facts li {
    padding: 20px 0;
  }

  .ai-lab-facts li+li {
    border-left: 0;
    border-top: 1px solid rgba(185, 138, 46, .35);
  }
}

@media (max-width: 680px) {
  .contact-form .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .floating-actions {
    bottom: 18px;
    right: 16px;
    gap: 10px;
  }

  .floating-btn {
    padding: 12px;
    border-radius: 50%;
  }

  .floating-btn .btn-text {
    display: none;
  }
}

@media (max-width: 560px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .contact-form .form-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .contact-form .btn {
    width: 100%;
  }

  .cert-wrapper {
    padding: 10px;
  }

  /* Footer: Explore + Visit side by side, the rest full width */
  .ft-main {
    gap: 36px 24px;
    padding-block: 40px;
  }

  .ft-about,
  .ft-main>.ft-col:nth-child(3) {
    grid-column: 1 / -1;
  }

  .ft-main>.ft-col:nth-child(3) {
    order: 3;
  }

  .ft-main>.ft-col:nth-child(4) {
    order: 2;
  }

  .ft-cta {
    padding-block: 36px;
  }

  .ft-cta-actions,
  .site-footer .ft-btn {
    width: 100%;
    text-align: center;
  }

  /* keep the copyright clear of the floating buttons */
  .ft-bottom {
    padding-bottom: 88px;
  }
}

@media (max-width: 480px) {
  .contact-quick-links {
    flex-direction: column;
    gap: 10px;
  }

  .contact-action-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}