/* ============================================================
   SOROJINI SARANGI NURSING COLLEGE (SSNC)
   Master Stylesheet — premium / minimal
   Palette: deep teal · golden yellow · warm cream
   ============================================================ */

/* ---- Fonts (self-hostable; swap to local files for production) ---- */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap");

:root {
  /* Brand palette */
  --teal: #0e6e64;
  --teal-dk: #094a43;
  --teal-darker: #063630;
  --yellow: #f2b705;
  --yellow-dk: #d9a300;
  --cream: #f7f3ea;
  --cream-dk: #efe8d8;
  --green-pale: #e3eeec;
  --ink: #1a2422;
  --grey: #6b7472;
  --grey-light: #9aa3a0;
  --white: #ffffff;
  --line: #e1dccf;

  /* Type */
  --display: "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Spacing rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows — soft ambient only */
  --shadow-sm:
    0 1px 3px rgba(9, 74, 67, 0.06), 0 4px 14px rgba(9, 74, 67, 0.05);
  --shadow-md:
    0 6px 24px rgba(9, 74, 67, 0.09), 0 2px 6px rgba(9, 74, 67, 0.06);
  --shadow-lg: 0 18px 50px rgba(9, 74, 67, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--teal-dk);
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
h4 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 1rem;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink);
  opacity: 0.92;
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}

.section-label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
  display: block;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(56px, 9vw, 120px);
}
.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}
.bg-cream {
  background: var(--cream);
}
.bg-cream-dk {
  background: var(--cream-dk);
}
.bg-pale {
  background: var(--green-pale);
}
.bg-teal {
  background: var(--teal);
  color: var(--cream);
}
.bg-teal h1,
.bg-teal h2,
.bg-teal h3 {
  color: var(--white);
}
.center {
  text-align: center;
}
.measure {
  max-width: 62ch;
}
.measure-narrow {
  max-width: 48ch;
}
.mx-auto {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--yellow);
  color: var(--teal-darker);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dk);
  border-color: var(--yellow-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.5);
}
.btn-ghost-light:hover {
  background: var(--cream);
  color: var(--teal-dk);
}
.btn-lg {
  padding: 1.05em 2em;
  font-size: 1.05rem;
}
@media (max-width: 430px) {
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .btn-lg {
    padding: 0.95em 1.4em;
    font-size: 1rem;
  }
}
.link-arrow {
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: 0.2s;
}
.link-arrow:hover {
  gap: 0.7em;
  color: var(--teal-dk);
}

/* ---------- Top navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  transition: 0.3s ease;
}
.nav--solid {
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 210;
}
.nav__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: none;
}
.nav__brand-text {
  line-height: 1.05;
}
.nav__brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--teal-dk);
}
.nav__brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__menu > li {
  position: relative;
}
.nav__menu > li > a {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 10px;
  transition: 0.2s;
}
.nav__menu > li > a:hover {
  color: var(--teal);
  background: rgba(14, 110, 100, 0.07);
}
.nav__has-drop > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 0.4em;
  opacity: 0.6;
}
.nav__drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s;
  border: 1px solid var(--line);
}
.nav__menu > li:hover .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__drop a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: 0.18s;
}
.nav__drop a:hover {
  background: var(--green-pale);
  color: var(--teal-dk);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 210;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal-dk);
  transition: 0.3s;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero__title {
  margin-bottom: 1.4rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  max-width: 46ch;
  margin-bottom: 2rem;
  color: var(--ink);
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__media {
  position: relative;
}
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 12%;
}
.hero__badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
}
.hero__badge-num {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--teal);
}
.hero__badge-txt {
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--grey);
  font-weight: 500;
}
/* ribbon motif */
.ribbon {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
  z-index: -1;
}
.ribbon--hero {
  top: -60px;
  right: -120px;
  width: 620px;
  height: 620px;
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust__item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  transition: 0.2s;
}
.trust__item:hover {
  transform: translateY(-2px);
}
.trust__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 11px;
  background: var(--green-pale);
  display: grid;
  place-items: center;
  color: var(--teal);
}
.trust__icon svg {
  width: 24px;
  height: 24px;
}
.trust__label {
  font-size: 0.9rem;
  line-height: 1.35;
}
.trust__label b {
  display: block;
  color: var(--teal-dk);
  font-weight: 600;
}
.trust__label span {
  color: var(--grey);
  font-size: 0.82rem;
}

/* ---------- Generic grids / cards ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 30px);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: 0.28s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--green-pale);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card__meta {
  font-style: italic;
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
  font-family: var(--display);
}
.card__facts {
  font-weight: 600;
  color: var(--teal);
  font-size: 0.9rem;
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* program card top accent */
.pcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}
.pcard:hover::before {
  transform: scaleX(1);
}

/* ---------- Section heading block ---------- */
.shead {
  margin-bottom: clamp(34px, 5vw, 56px);
  max-width: 60ch;
}
.shead.center {
  margin-inline: auto;
}
.shead p {
  color: var(--grey);
  font-size: 1.08rem;
  margin-top: 0.6rem;
}

/* ---------- Founder spotlight ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.founder__media {
  position: relative;
}
.founder__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.founder__media::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 60%;
  height: 60%;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.founder__quotemark {
  font-family: var(--display);
  font-size: 5rem;
  color: var(--yellow);
  line-height: 0.6;
  height: 0.5em;
  display: block;
}

/* ---------- Why list ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 48px;
}
.why__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why__num {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  display: grid;
  place-items: center;
}
.why__item h4 {
  margin-bottom: 0.3rem;
  color: var(--teal-dk);
}
.why__item p {
  color: var(--grey);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Mission strip ---------- */
.mission {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.mission__inner {
  max-width: 50ch;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.mission h2 {
  margin-bottom: 1rem;
}
.mission p {
  color: rgba(247, 243, 234, 0.9);
  font-size: 1.15rem;
  margin: 0;
}

/* ---------- Location callout ---------- */
.crossroad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.threes {
  display: flex;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.threes__col {
  flex: 1;
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.threes__col:last-child {
  border-right: none;
}
.threes__col b {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 0.2rem;
}
.threes__col span {
  font-size: 0.82rem;
  color: var(--grey);
}

/* ---------- Callback / lead form ---------- */
.callback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal-dk);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
  transition: 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 10px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success svg {
  width: 54px;
  height: 54px;
  color: var(--teal);
  margin-bottom: 12px;
}
.form-success h3 {
  margin-bottom: 0.4rem;
}

/* ---------- Pathways ---------- */
.pathway {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
}
.pathway h4 {
  color: var(--teal-dk);
  margin-bottom: 0.5rem;
}
.pathway p {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.pathway .tag {
  font-size: 0.78rem;
  color: var(--teal);
  font-style: italic;
  font-family: var(--display);
}

/* ---------- Final CTA ---------- */
.finalcta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.finalcta__inner {
  position: relative;
  z-index: 2;
}
.finalcta p {
  color: rgba(247, 243, 234, 0.9);
  margin-bottom: 1.8rem;
  font-size: 1.12rem;
}
.finalcta .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page banner (inner pages) ---------- */
.pbanner {
  background: var(--teal);
  color: var(--cream);
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.pbanner h1 {
  color: var(--white);
  margin-bottom: 0.6rem;
}
.pbanner p {
  color: rgba(247, 243, 234, 0.85);
  max-width: 54ch;
  margin: 0;
  font-size: 1.1rem;
}
.pbanner .crumbs {
  font-size: 0.85rem;
  color: rgba(247, 243, 234, 0.7);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.pbanner .crumbs a:hover {
  color: var(--yellow);
}

/* ---------- Quick facts ---------- */
.qfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qfacts__item {
  background: var(--white);
  padding: 24px;
}
.qfacts__item .k {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.qfacts__item .v {
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--teal-dk);
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- Document / approval cards ---------- */
.doc {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.25s;
}
.doc:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.doc__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 11px;
  background: var(--green-pale);
  color: var(--teal);
  display: grid;
  place-items: center;
}
.doc h4 {
  margin-bottom: 0.25rem;
  color: var(--teal-dk);
}
.doc .issuer {
  font-size: 0.86rem;
  color: var(--grey);
  margin-bottom: 0.6rem;
}
.doc .pending {
  font-size: 0.74rem;
  background: var(--cream-dk);
  color: var(--grey);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-weight: 600;
}

/* ---------- Message (leadership) ---------- */
.message {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.message__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.message__name {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--yellow);
  display: inline-block;
}
.message__name b {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--teal-dk);
}
.message__name span {
  font-size: 0.9rem;
  color: var(--grey);
}
.message__sign {
  height: 60px;
  margin-top: 1rem;
  opacity: 0.85;
}
.message__body p {
  font-size: 1.06rem;
}
.message__body .first::first-letter {
  font-family: var(--display);
  font-size: 3.4rem;
  float: left;
  line-height: 0.8;
  padding: 6px 12px 0 0;
  color: var(--teal);
}

/* ---------- Curriculum / info table ---------- */
.itable {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.itable td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  vertical-align: top;
}
.itable tr:last-child td {
  border-bottom: none;
}
.itable td:first-child {
  font-weight: 600;
  color: var(--teal-dk);
  background: var(--green-pale);
  width: 34%;
}

/* ---------- Steps / timeline ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
  padding-top: 54px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  display: grid;
  place-items: center;
}
.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: var(--line);
  z-index: -1;
}
.step:last-child::after {
  display: none;
}
.step h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.84rem;
  color: var(--grey);
  margin: 0;
}

/* ---------- Gallery (infra/campus) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: 0.4s;
}
.gallery figure:hover img {
  transform: scale(1.05);
}
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(6, 54, 48, 0.85));
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
}
.gallery .span-2 {
  grid-column: span 2;
}

/* ---------- Floating actions ---------- */
.floats {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  color: #fff;
  transition: 0.25s;
  cursor: pointer;
  border: none;
}
.float-btn:hover {
  transform: scale(1.08);
}
.float-btn svg {
  width: 26px;
  height: 26px;
}
.float-wa {
  background: #25d366;
}
.float-call {
  background: var(--teal);
}
.float-enq {
  background: var(--yellow);
  color: var(--teal-darker);
  width: auto;
  border-radius: var(--radius-pill);
  padding: 0 20px;
  gap: 8px;
  font-weight: 600;
  font-family: var(--body);
  font-size: 0.92rem;
}

/* ---------- Modal (enquiry + brochure) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open {
  display: flex;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 54, 48, 0.55);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  max-height: 92vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--cream-dk);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.modal__close:hover {
  background: var(--teal);
  color: #fff;
}
.modal__box h3 {
  margin-bottom: 0.3rem;
}
.modal__box .sub {
  color: var(--grey);
  font-size: 0.94rem;
  margin-bottom: 1.4rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-darker);
  color: rgba(247, 243, 234, 0.8);
  padding-top: clamp(50px, 7vw, 80px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer h5 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.1rem;
}
.footer a {
  display: block;
  padding: 5px 0;
  font-size: 0.93rem;
  transition: 0.2s;
}
.footer a:hover {
  color: var(--cream);
  padding-left: 4px;
}
.footer__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 1rem;
}
.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}
.footer__brand b {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--cream);
}
.footer__about {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer__disclo {
  border-top: 1px solid rgba(247, 243, 234, 0.15);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.82rem;
}
.footer__disclo a {
  display: inline;
  padding: 0;
}
.footer__copy {
  border-top: 1px solid rgba(247, 243, 234, 0.15);
  padding: 18px 0;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}

/* ---------- Image placeholder marker ---------- */
.imgph {
  position: relative;
}
.imgph[data-replace]::after {
  content: "REPLACE: " attr(data-replace);
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  background: rgba(242, 183, 5, 0.95);
  color: var(--teal-darker);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  pointer-events: none;
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.hide-markers .imgph[data-replace]::after {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__media {
    max-width: 440px;
    margin-inline: auto;
  }
  .founder,
  .crossroad,
  .callback,
  .message {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step {
    padding-top: 0;
    padding-left: 54px;
    text-align: left;
  }
  .step::before {
    left: 0;
    transform: none;
  }
  .step::after {
    display: none;
  }
  .qfacts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 90px 22px 30px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: 0.32s;
    overflow-y: auto;
  }
  .nav__menu.open {
    transform: translateX(0);
  }
  .nav__menu > li > a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 14px;
    display: none;
  }
  .nav__menu > li.open-sub .nav__drop {
    display: block;
  }
  .nav__has-drop > a {
    cursor: pointer;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__cta .btn-call-top {
    display: none;
  }
  .why {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery .span-2 {
    grid-column: span 2;
  }
  .qfacts {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .itable td:first-child {
    width: 42%;
  }
}
