/* =========================================================
   Combined stylesheet: shared Resonance styles + Kurnool page styles
   Shared styles are kept first; Kurnool-specific overrides follow.
   ========================================================= */

/* =========================================================
   Resonance Residential Colleges — Landing Page
   Fonts: Poppins (body/UI), Oswald (display headings)
   Telugu glyphs fall back to Noto Sans Telugu
   Design widths: 1440 desktop / 375 mobile
   ========================================================= */

:root {
  /* Palette */
  --navy: #011D42;
  --navy-700: #0B2D5B;
  --navy-600: #123A6E;
  --teal-deep: #1C4A4C;
  --lime: #B5D04B;
  --lime-600: #A3BE3A;
  --lime-100: #E7F0C3;
  --lime-50: #F1F6DC;
  --cream: #F5F4EF;
  --ice: #F4F7FB;
  --white: #FFFFFF;
  --ink: #011D42;
  --text: #3C4A5E;
  --muted: #6B7787;
  --line: #E4E8EE;
  --field: #F3F6FA;
  --ach-blue: #E7EEF7;
  --lime-soft: #EEF4D8;
  --navy-panel: #13284F;

  /* Type */
  --ff-body: "Poppins", "Noto Sans Telugu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-display: "Oswald", "Noto Sans Telugu", "Poppins", sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: 80px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --section-y: 120px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .35s;

  --shadow-sm: 0 1px 2px rgba(1, 29, 66, .04), 0 4px 14px rgba(1, 29, 66, .05);
  --shadow-md: 0 10px 30px rgba(1, 29, 66, .10);
  --shadow-lg: 0 24px 60px rgba(1, 29, 66, .18);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-pad {
  padding-block: var(--section-y);
}

.center {
  text-align: center;
}

.bg-white {
  background: var(--white);
}

.bg-cream {
  background: var(--cream);
}

.bg-ice {
  background: var(--ice);
}

.bg-navy {
  background: var(--navy);
}

.bg-lime {
  background: var(--lime);
}

.bg-lime-soft {
  background: var(--lime-soft);
}

.text-white {
  color: var(--white) !important;
}

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(28px, 2.2vw + 8px, 40px);
  line-height: 1.15;
  letter-spacing: .2px;
  color: var(--ink);
}

.hl-lime {
  color: var(--lime);
}

.h2-center {
  text-align: center;
  max-width: 1100px;
  margin-inline: auto;
}

.kicker {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

.kicker-center {
  text-align: center;
}

.kicker-lime {
  color: var(--lime);
}

.label-caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 28px 0 16px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  will-change: transform;
}

.btn::after {
  /* soft sheen sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(1, 29, 66, .25);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-navy {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
}

.btn-navy:hover {
  --btn-bg: var(--navy-700);
}

.btn-lime {
  --btn-bg: var(--lime);
  --btn-fg: var(--navy);
  font-weight: 600;
}

.btn-lime:hover {
  --btn-bg: #C2DA5C;
  box-shadow: 0 10px 24px rgba(181, 208, 75, .35);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.link-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.link-arrow span {
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover::before {
  transform: scaleX(1);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- Lists ---------- */
.tick-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.tick-list li+li {
  margin-top: 12px;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: url("../assets/icons/tick-icon-green.svg") center / contain no-repeat;
}

.tick-list.tick-blue li::before {
  background-image: url("../assets/icons/tick-mark-blue.svg");
  top: -1px;
  height: 22px;
}

.tick-list.sm li {
  font-size: 14px;
}

.tick-list.sm li+li {
  margin-top: 10px;
}

.tick-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 12px;
}

.tick-list.two-col li+li {
  margin-top: 0;
}

.dot-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
}

.dot-list li+li {
  margin-top: 10px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(1, 29, 66, .08);
}

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

.logo img {
  width: 210px;
  height: auto;
  transition: transform var(--dur) var(--ease);
}

.logo:hover img {
  transform: scale(1.02);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(181, 208, 75, .35);
  background: rgba(181, 208, 75, .10);
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(181, 208, 75, .6);
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(181, 208, 75, .55);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(181, 208, 75, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(181, 208, 75, 0);
  }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  padding-block: 72px 80px;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(42, 92, 86, .55), transparent 60%),
    linear-gradient(105deg, var(--navy) 0%, #0D2D4F 55%, var(--teal-deep) 100%);
  overflow: hidden;
  scroll-margin-top: 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.hero-title {
  margin: 22px 0 24px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(30px, 2.3vw + 10px, 46px);
  line-height: 1.32;
  color: var(--white);
  letter-spacing: -.2px;
}

.hero-title .hl {
  color: var(--lime);
  white-space: nowrap;
}

.hero-points li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}

.hero-points li+li {
  margin-top: 14px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(181, 208, 75, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M14 7L8.5 12.5L6 10' stroke='%23B5D04B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 1px solid rgba(181, 208, 75, .35);
}

.hero-media {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1400 / 678;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.hero-media:hover img {
  transform: scale(1.03);
}

/* ---------- Lead form ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.form-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

.lead-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.field label span {
  color: #D14343;
  margin-left: 2px;
}

.field input,
.field select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--field);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field input:hover,
.field select:hover {
  border-color: #CBD3DE;
}

.field input:focus,
.field select:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(181, 208, 75, .28);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: #D14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, .12);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform var(--dur) var(--ease);
}

.select-wrap:focus-within::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--navy);
}

.select-wrap select {
  padding-right: 40px;
  cursor: pointer;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form .btn {
  justify-self: start;
  margin-top: 6px;
  min-width: 170px;
}

.lead-form .btn.is-sent {
  --btn-bg: var(--lime);
  --btn-fg: var(--navy);
}

/* ---------- 3. Results ---------- */
.results-grid {
  display: grid;
  grid-template-columns: 317px minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 56px;
  align-items: stretch;
}

.merit-card {
  background: var(--navy);
  border-radius: 32px;
  padding: 40px 24px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.merit-card::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 208, 75, .14), transparent 70%);
  pointer-events: none;
}

.merit-num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 118px;
  line-height: .95;
  color: var(--lime);
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.merit-line {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

.merit-next {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--lime);
}

.merit-en {
  margin-top: auto;
  padding-top: 40px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
}

.merit-te {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}

.ach-title {
  font-family: var(--ff-body);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 4.4px;
  color: var(--ink);
  margin: 14px 0 22px;
}

.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ach-card {
  background: var(--white);
  border: 1px solid #E1E5EE;
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: default;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ach-card:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(181, 208, 75, .35);
}

.ach-card:hover .ach-label {
  color: var(--ink);
}

.ach-wide {
  grid-column: 1 / -1;
  min-height: 136px;
}

.ach-num {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ach-label {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.results-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.results-cta p {
  font-size: clamp(22px, 1.2vw + 14px, 32px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- 4. Course ---------- */
.course-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.course .h2 {
  font-size: clamp(30px, 2.6vw + 8px, 48px);
}

.course .body-te {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.85;
}

.course .btn {
  margin-top: 32px;
}

.course-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1200 / 970;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform .9s var(--ease-out);
}

.img-zoom:hover img,
.campus-card:hover .img-zoom img,
.infra-card:hover .img-zoom img {
  transform: scale(1.05);
}

/* ---------- 5. Programs ---------- */
.programs {
  position: relative;
  overflow: hidden;
}

.programs::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 208, 75, .10), transparent 70%);
  pointer-events: none;
}

.program-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.program-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 32px;
  background: var(--lime);
}

.program-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.program-head span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .8;
}

.program-body {
  padding: 30px 32px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-body h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.program-te {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.program-body .tick-list {
  margin-top: 22px;
  margin-bottom: 28px;
}

.program-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
}

.pill-dark {
  color: var(--lime);
  border: 1px solid rgba(181, 208, 75, .45);
  background: rgba(181, 208, 75, .06);
}

.pill-light {
  color: #3E5A0A;
  border: 1px solid rgba(160, 190, 60, .55);
  background: #EEF6CF;
}

.pill-light .badge-dot {
  background: #8DB02A;
}

/* ---------- 5A. National legacy ---------- */
.legacy-title {
  margin: 22px 0 10px;
  font-family: var(--ff-body);
  font-size: clamp(30px, 2.2vw + 10px, 44px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
}

.legacy-lead {
  max-width: 1240px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.legacy-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
}

.legacy-cell {
  padding: 26px 26px 28px;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .4s var(--ease);
}

.legacy-cell:nth-child(4n) {
  border-right: 0;
}

.legacy-cell:nth-child(n+5) {
  border-bottom: 0;
}

.legacy-cell:not(.is-lime):hover {
  background: rgba(255, 255, 255, .05);
}

.legacy-num {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(38px, 2.6vw + 14px, 58px);
  line-height: 1.05;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.legacy-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

.legacy-cell.is-lime {
  background: var(--lime);
}

.legacy-cell.is-lime .legacy-num,
.legacy-cell.is-lime .legacy-label {
  color: var(--navy);
}

.legacy-brand {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  color: var(--lime);
}

/* ---------- 5B. Telugu states ---------- */
.states-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: 56px;
  align-items: center;
}

.states-title {
  margin: 20px 0 16px;
  font-size: clamp(32px, 2.6vw + 10px, 52px);
  line-height: 1.18;
}

.states-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  max-width: 600px;
}

.states-tag {
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.states-tag em {
  font-size: 20px;
  color: var(--muted);
}

.states-tag strong {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
}

.states-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.state-card {
  padding: 26px 26px 28px;
  min-height: 156px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #E1E5EE;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.state-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.state-card:not(.is-dark):hover {
  background: var(--lime);
  border-color: var(--lime);
}

.state-card:not(.is-dark):hover .state-label {
  color: var(--ink);
}

.state-num {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(34px, 1.8vw + 14px, 46px);
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.state-label {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.state-card.is-dark {
  background: #0B1C3B;
  border-color: #0B1C3B;
  min-height: 186px;
  justify-content: flex-end;
}

.state-card.is-dark .state-num {
  font-size: clamp(52px, 3.6vw + 14px, 80px);
  line-height: 1;
  color: var(--lime);
}

.state-card.is-dark .state-label {
  color: rgba(255, 255, 255, .82);
}

/* ---------- 6. Campuses ---------- */
.campus-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.campus-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.campus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.campus-media {
  aspect-ratio: 1854 / 720;
}

.campus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-body {
  padding: 28px 32px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.campus-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.campus-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.campus-body .tick-list {
  margin-top: 20px;
}

.campus-ach {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--ach-blue);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}

.campus-ach strong {
  color: var(--ink);
  font-weight: 600;
}

.campus-body .link-arrow {
  margin-top: auto;
  padding-top: 24px;
  align-self: flex-start;
}

.campus-body .link-arrow::before {
  bottom: -4px;
}

/* ---------- 7. Advantages ---------- */
.advantages .kicker {
  margin-bottom: 10px;
}

.adv-grid {
  margin: 48px auto 48px;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.adv-card {
  position: relative;
  padding: 36px 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--line);
  border-radius: 6px;
  transition: background-color .45s var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.adv-index {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #A7B0BD;
  transition: color var(--dur) var(--ease);
}

.adv-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
}

.adv-icon img {
  position: absolute;
  inset: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.adv-icon .i-green {
  opacity: 0;
  transform: scale(.85) rotate(-8deg);
}

.adv-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.adv-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.adv-card.is-active,
.adv-card:hover {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-600) 100%);
  border-color: var(--navy);
  border-bottom-color: var(--lime);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.adv-card.is-active h3,
.adv-card:hover h3 {
  color: var(--lime);
}

.adv-card.is-active p,
.adv-card:hover p {
  color: rgba(255, 255, 255, .88);
}

.adv-card.is-active .adv-index,
.adv-card:hover .adv-index {
  color: rgba(255, 255, 255, .5);
}

.adv-card.is-active .i-blue,
.adv-card:hover .i-blue {
  opacity: 0;
  transform: scale(.85) rotate(8deg);
}

.adv-card.is-active .i-green,
.adv-card:hover .i-green {
  opacity: 1;
  transform: none;
}

/* When hovering the grid, only the hovered card is highlighted */
.adv-grid:hover .adv-card.is-active:not(:hover) {
  background: var(--white);
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.adv-grid:hover .adv-card.is-active:not(:hover) h3 {
  color: var(--ink);
}

.adv-grid:hover .adv-card.is-active:not(:hover) p {
  color: var(--text);
}

.adv-grid:hover .adv-card.is-active:not(:hover) .adv-index {
  color: #A7B0BD;
}

.adv-grid:hover .adv-card.is-active:not(:hover) .i-blue {
  opacity: 1;
  transform: none;
}

.adv-grid:hover .adv-card.is-active:not(:hover) .i-green {
  opacity: 0;
}

/* ---------- 8. Residential ---------- */
.residential .h2 {
  margin-bottom: 10px;
}

.res-intro {
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.res-card {
  padding: 28px 28px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.res-card:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 208, 75, .45);
}

.res-media {
  aspect-ratio: 1058 / 624;
  border-radius: 4px;
  margin-bottom: 26px;
}

.res-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-card:hover .res-media img {
  transform: scale(1.05);
}

.res-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 18px;
}

.res-card .dot-list li {
  font-size: 15px;
  padding-left: 18px;
}

.res-card .dot-list li+li {
  margin-top: 12px;
}

.res-card .dot-list li::before {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  transform: rotate(45deg);
  top: .6em;
}

.res-note {
  margin-top: 28px;
  padding: 26px 32px;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(90deg, rgba(181, 208, 75, .12), rgba(42, 92, 86, .45));
  border: 1px solid rgba(181, 208, 75, .2);
}

.res-note-en {
  font-size: 19px;
  font-weight: 600;
  color: var(--lime);
  line-height: 1.6;
}

.res-note-te {
  margin-top: 6px;
  font-size: 17px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.7;
}

/* ---------- 8A. Real students ---------- */
.achievers {
  overflow: hidden;
}

.ach-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 524px);
  gap: 40px;
  align-items: center;
}

.ach-kicker {
  font-size: clamp(20px, 1vw + 12px, 30px);
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 14px;
}

.ach-heading {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(52px, 5vw + 14px, 92px);
  line-height: 1.1;
  color: var(--white);
}

.video-box {
  position: relative;
  justify-self: end;
  width: min(100%, 524px, calc((100svh - 140px) * .8));
  aspect-ratio: 4 / 5;
  background: #EEF2FA;
  overflow: hidden;
}

.video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--navy);
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: rgba(1, 29, 66, .12);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.video-play:hover {
  background: rgba(1, 29, 66, .25);
}

.video-play:hover .play-btn {
  transform: scale(1.08);
}

.video-box.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  box-shadow: 0 0 0 10px rgba(181, 208, 75, .25);
  animation: pulse-ring 2.4s var(--ease) infinite;
  transition: transform var(--dur) var(--ease);
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 0 10px rgba(181, 208, 75, .25);
  }

  50% {
    box-shadow: 0 0 0 16px rgba(181, 208, 75, .12);
  }
}

.video-label {
  font-family: var(--ff-display);
  font-size: clamp(16px, .6vw + 12px, 22px);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
}

.ach-panel {
  margin-top: 40px;
  padding: 34px 0 34px 28px;
  border-radius: var(--radius);
  background: var(--navy-panel);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.ach-panel+.ach-panel {
  margin-top: 22px;
}

.ach-panel h3 {
  font-size: clamp(22px, 1vw + 14px, 32px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  padding-right: 28px;
}

.ach-panel>p {
  margin: 4px 0 16px;
  font-size: 15px;
  color: var(--lime);
  padding-right: 28px;
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  padding-right: 10px;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.achiever {
  width: 137px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition: transform var(--dur) var(--ease);
}

.achiever img {
  width: 100%;
  height: auto;
  aspect-ratio: 274 / 366;
  object-fit: cover;
}

.achiever:hover {
  transform: translateY(-4px);
}

.story-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.story-cta p {
  font-size: clamp(26px, 1.4vw + 14px, 40px);
  font-weight: 600;
  color: var(--white);
}

/* ---------- 9. Infrastructure ---------- */
.infra .h2 {
  margin-bottom: 40px;
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.infra-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.infra-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.infra-card figure {
  aspect-ratio: 1878 / 624;
}

.infra-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-body {
  padding: 26px 30px 30px;
}

.infra-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.infra-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.infra-body .te {
  margin-top: 6px;
  color: var(--ink);
}

/* ---------- 10. Holistic ---------- */
.hol-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hol-card {
  text-align: center;
  padding: 36px 22px 34px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hol-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  transition: transform .5s var(--ease-out);
}

.hol-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.hol-card:hover img {
  transform: translateY(-3px) scale(1.08);
}

.hol-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.hol-card p {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- 11. Why ---------- */
.why-kicker {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.why-title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: clamp(26px, 1.2vw + 14px, 34px);
}

.why-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 26px 26px 28px;
  border-radius: var(--radius);
  background: var(--lime);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.why-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.why-card p {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.why-card:hover h3 {
  color: var(--lime);
}

.why-card:hover p {
  color: var(--white);
}

/* ---------- 12. Final ---------- */
.final {
  background:
    radial-gradient(800px 500px at 100% 100%, rgba(42, 92, 140, .45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0A2B57 60%, #17457A 100%);
  scroll-margin-top: 76px;
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.final-content {
  padding-top: 24px;
}

.final-title {
  margin: 22px 0 20px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(36px, 3.4vw + 8px, 62px);
  line-height: 1.12;
  color: var(--lime);
}

.final-te {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
}

.seats-chip {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(181, 208, 75, .35);
  background: rgba(181, 208, 75, .08);
  color: var(--lime);
  font-size: 14px;
  font-weight: 500;
}

.final .btn-lime {
  margin-top: 18px;
  display: flex;
  width: max-content;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block: 28px;
  text-align: center;
}

.footer-inner img {
  width: 150px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.footer-links li+li::before {
  content: "|";
  margin: 0 8px;
  color: var(--muted);
}

.footer-links a {
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--lime-600);
}

/* =========================================================
   Scroll reveal (progressive enhancement — only when JS runs)
   ========================================================= */
.js .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color .45s var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.js .reveal.reveal-right {
  translate: 28px 0;
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

.js .reveal.is-visible[data-delay="1"] {
  transition-delay: 90ms, 90ms, 0s, 0s, 0s, 0s, 0s;
}

.js .reveal.is-visible[data-delay="2"] {
  transition-delay: 180ms, 180ms, 0s, 0s, 0s, 0s, 0s;
}

.js .reveal.is-visible[data-delay="3"] {
  transition-delay: 270ms, 270ms, 0s, 0s, 0s, 0s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee {
    overflow-x: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
    --section-y: 96px;
  }

  .hero-grid,
  .results-grid,
  .course-grid,
  .final-grid,
  .states-grid,
  .ach-hero {
    grid-template-columns: 1fr;
  }

  .merit-num {
    font-size: 104px;
  }

  .merit-en {
    padding-top: 28px;
  }

  .legacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy-cell:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, .1);
  }

  .legacy-cell:nth-child(2n) {
    border-right: 0;
  }

  .legacy-cell:nth-child(n+5) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .legacy-cell:nth-child(n+7) {
    border-bottom: 0;
  }

  .states-cards {
    max-width: 620px;
  }

  .ach-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-box {
    justify-self: center;
    width: min(100%, 480px, calc((100svh - 120px) * .8));
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-media {
    margin-top: 32px;
  }

  .results-grid {
    row-gap: 40px;
  }

  .course-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .res-grid {
    grid-template-columns: 1fr 1fr;
  }

  .res-grid .res-card:last-child {
    grid-column: 1 / -1;
  }

  .hol-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-grid {
    gap: 44px;
  }
}

@media (max-width: 860px) {

  .program-grid,
  .campus-grid,
  .infra-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-y: 72px;
    --radius-lg: 18px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    height: 64px;
  }

  .logo img {
    width: 156px;
  }

  .btn-sm {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero {
    padding-block: 40px 48px;
    scroll-margin-top: 64px;
  }

  .final {
    scroll-margin-top: 64px;
  }

  .badge {
    font-size: 10.5px;
    letter-spacing: 1.4px;
    padding: 7px 12px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.38;
    margin: 18px 0 20px;
  }

  .hero-points li {
    font-size: 14.5px;
  }

  .hero-media {
    margin-top: 26px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .form-title {
    font-size: 18px;
  }

  .form-sub {
    font-size: 13px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

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

  .h2 {
    font-size: 28px;
  }

  .kicker {
    font-size: 15px;
  }

  .results-grid {
    row-gap: 32px;
  }

  .merit-card {
    padding: 30px 24px 32px;
    border-radius: 28px;
  }

  .merit-num {
    font-size: 86px;
  }

  .merit-line {
    margin-top: 14px;
    font-size: 25px;
  }

  .merit-next {
    margin-top: 8px;
    font-size: 16px;
  }

  .merit-en {
    padding-top: 26px;
    font-size: 16px;
    line-height: 1.6;
  }

  .merit-te {
    font-size: 15px;
    line-height: 1.7;
  }

  .ach-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ach-title {
    font-size: 21px;
    letter-spacing: 4.5px;
    margin: 0 0 22px;
  }

  .ach-grid {
    gap: 14px;
  }

  .ach-card {
    padding: 26px 20px 22px;
    min-height: 150px;
    border-radius: 16px;
    gap: 10px;
  }

  .ach-num {
    font-size: 34px;
  }

  .ach-label {
    font-size: 13px;
  }

  .results-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }

  .results-cta p {
    font-size: 20px;
    line-height: 1.6;
  }

  .results-cta .btn {
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
  }

  .course .h2 {
    font-size: 30px;
  }

  .tick-list.two-col {
    grid-template-columns: 1fr;
  }

  .course .btn {
    width: 100%;
  }

  .program-grid,
  .campus-grid {
    margin-top: 32px;
    gap: 20px;
  }

  .program-head {
    padding: 18px 20px;
  }

  .program-head h3 {
    font-size: 18px;
  }

  .program-body {
    padding: 22px 20px 26px;
  }

  .program-body h4 {
    font-size: 16px;
  }

  .program-body .btn {
    width: 100%;
    align-self: stretch;
  }

  .campus-body {
    padding: 22px 20px 24px;
  }

  .campus-body h3 {
    font-size: 18px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
    margin: 32px 0;
    gap: 12px;
  }

  .adv-card {
    padding: 26px 22px;
  }

  .adv-icon {
    margin-bottom: 18px;
  }

  .advantages .btn {
    width: 100%;
  }

  .legacy-title {
    font-size: 30px;
  }

  .legacy-lead {
    font-size: 15px;
  }

  .legacy-cell {
    padding: 20px 16px;
    min-height: 112px;
  }

  .legacy-num {
    font-size: 34px;
    white-space: normal;
  }

  .legacy-label {
    font-size: 13px;
  }

  .legacy-brand {
    font-size: 24px;
  }

  .pill {
    font-size: 12.5px;
    padding: 7px 14px;
  }

  .states-title {
    font-size: 32px;
  }

  .states-lead {
    font-size: 15px;
  }

  .states-tag em,
  .states-tag strong {
    font-size: 17px;
  }

  .states-content .btn {
    width: 100%;
  }

  .states-cards {
    gap: 12px;
  }

  .state-card {
    padding: 20px 16px;
    min-height: 130px;
  }

  .state-card.is-dark {
    min-height: 160px;
  }

  .state-num {
    font-size: 30px;
  }

  .state-card.is-dark .state-num {
    font-size: 44px;
  }

  .state-label {
    font-size: 13px;
  }

  .res-intro {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .res-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .res-card {
    padding: 18px 18px 24px;
  }

  .res-card h3 {
    font-size: 18px;
  }

  .res-card .dot-list li {
    font-size: 14px;
  }

  .res-note {
    padding: 20px 18px;
    text-align: left;
  }

  .res-note-en {
    font-size: 15px;
  }

  .res-note-te {
    font-size: 14px;
  }

  .ach-heading {
    font-size: 50px;
  }

  .ach-kicker {
    font-size: 19px;
  }

  .play-btn {
    width: 60px;
    height: 60px;
  }

  .ach-panel {
    margin-top: 28px;
    padding: 24px 0 24px 18px;
  }

  .ach-panel h3 {
    font-size: 20px;
    padding-right: 18px;
  }

  .ach-panel>p {
    font-size: 13px;
    padding-right: 18px;
  }

  .achiever {
    width: 118px;
  }

  .story-cta {
    margin-top: 36px;
    gap: 16px;
  }

  .story-cta p {
    font-size: 26px;
    text-align: center;
  }

  .infra .h2 {
    margin-bottom: 28px;
  }

  .infra-grid {
    gap: 16px;
  }

  .infra-card figure {
    aspect-ratio: 16 / 7;
  }

  .infra-body {
    padding: 20px;
  }

  .infra-body h3 {
    font-size: 18px;
  }

  .hol-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hol-card {
    padding: 24px 12px;
    border-radius: 16px;
  }

  .hol-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .hol-card h3 {
    font-size: 13.5px;
  }

  .hol-card p {
    font-size: 13px;
  }

  .why-kicker {
    font-size: 16px;
  }

  .why-title {
    font-size: 26px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .why-card {
    padding: 20px;
  }

  .why-card h3,
  .why-card p {
    font-size: 15px;
  }

  .final-title {
    font-size: 36px;
  }

  .final-te {
    font-size: 15px;
  }

  .final .btn-lime {
    width: 100%;
  }
}

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

  .merit-num {
    font-size: 76px;
  }

  .ach-grid {
    grid-template-columns: 1fr;
  }
}

/* Divider between consecutive navy sections */
.bg-navy+.bg-navy {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* ---------- English content v2 adjustments ---------- */
.hero-content>.hero-title:first-child {
  margin-top: 0;
}

.ach-title {
  text-transform: uppercase;
}

.campus-desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}

.section-sub {
  margin: 12px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
}

.hol-card p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.legacy-cell.is-brand .legacy-label {
  color: var(--lime);
  opacity: .85;
}

.legacy-brand {
  font-size: 26px;
}

@media (max-width: 640px) {
  .section-sub {
    font-size: 15px;
  }

  .campus-desc {
    font-size: 14px;
  }

  .hol-card p {
    font-size: 12.5px;
  }

  .legacy-brand {
    font-size: 20px;
  }
}

.results-cta {
  flex-wrap: nowrap;
}

.results-cta p {
  flex: 1 1 auto;
  font-size: clamp(20px, .9vw + 12px, 26px);
}

.results-cta .btn {
  flex-shrink: 0;
}

.merit-en {
  font-size: 16px;
  line-height: 1.6;
}

.state-num {
  text-transform: none;
}

@media (max-width: 640px) {
  .results-cta {
    flex-wrap: wrap;
  }

  .results-cta p {
    font-size: 20px;
  }
}

/* =========================================================
   Kurnool page-specific styles and overrides
   ========================================================= */

/* =========================================================
   Resonance Kurnool Residential — page-specific styles
   Builds on styles.css (shared Resonance LP design system)
   ========================================================= */

.center-head {
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}

.ksec-head {
  margin-bottom: 44px;
}

.ksec-kicker {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.ksec-kicker.kicker-lime {
  color: var(--lime);
}

.ksec-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.ksec-lead.on-dark {
  color: rgba(255, 255, 255, .86);
}

.h2 {
  text-transform: none;
}

/* ---------- Hero ---------- */
.khero {
  position: relative;
  padding-block: 72px 96px;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(42, 92, 86, .55), transparent 60%),
    linear-gradient(105deg, var(--navy) 0%, #0D2D4F 55%, var(--teal-deep) 100%);
  overflow: hidden;
}

.khero::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 208, 75, .12), transparent 70%);
  pointer-events: none;
}

.khero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.khero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: rgba(255, 255, 255, .78);
}

.khero-eyebrow span:first-child {
  color: var(--lime);
}

.khero-eyebrow span:first-child::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: rgba(255, 255, 255, .35);
}

.khero-title {
  margin: 22px 0 18px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(40px, 3.6vw + 10px, 66px);
  line-height: 1.08;
  color: var(--white);
}

.khero-sub {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--lime);
}

.khero-text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .86);
  max-width: 600px;
}

.khero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
}

.khero-actions .btn {
  min-height: 52px;
  padding-inline: 28px;
}

.khero-admit {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .7);
}

.khero-visual {
  position: relative;
}

.khero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}

.khero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.khero-visual:hover .khero-media img {
  transform: scale(1.03);
}

.path-card {
  position: absolute;
  left: -32px;
  bottom: 112px;
  width: min(330px, 80%);
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.path-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--muted);
  margin-bottom: 12px;
}

.path-list {
  display: grid;
  gap: 8px;
}

.path-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--lime-soft);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.path-list a span {
  transition: transform var(--dur) var(--ease);
}

.path-list a:hover {
  background: var(--navy);
  color: var(--lime);
}

.path-list a:hover span {
  transform: translateX(4px);
}

.khero-note {
  margin: -56px 24px 0 auto;
  position: relative;
  width: min(420px, 88%);
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(1, 29, 66, .92);
  border: 1px solid rgba(181, 208, 75, .35);
  backdrop-filter: blur(6px);
}

.khero-note-en {
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
}

.khero-note-te {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}

/* ---------- Merit band + achievements ---------- */
.kmerit-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 44px 52px;
  border-radius: 32px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.kmerit-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 208, 75, .16), transparent 70%);
}

.kmerit-figure {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.kmerit-band .merit-num {
  font-size: clamp(88px, 7vw + 20px, 140px);
}

.kmerit-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(24px, 1.4vw + 12px, 34px);
  line-height: 1.1;
  color: var(--white);
}

.kmerit-next {
  margin-top: 8px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(20px, 1vw + 12px, 26px);
  color: var(--lime);
}

.kmerit-text {
  position: relative;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, .15);
  display: grid;
  gap: 14px;
}

.kmerit-text p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .88);
}

.kach-title {
  margin: 64px 0 24px;
  text-align: center;
}

.kach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kach-wide {
  grid-column: span 2;
}

.kach-note {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Programs ---------- */
.programs .ksec-head {
  margin-bottom: 48px;
}

.programs .program-grid {
  margin-top: 0;
}

.kprog-num {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--ink);
}

.kprog-title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 1vw + 14px, 30px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.kprog-tag {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.program-body .label-caps {
  margin: 22px 0 14px;
}

.program-body .tick-list {
  margin-top: 0;
  margin-bottom: 22px;
}

.kprog-close {
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--lime-soft);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Residential experience ---------- */
.kexp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.kexp-intro .h2 {
  font-size: clamp(30px, 2.4vw + 10px, 46px);
}

.kexp-media {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}

.kexp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kexp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.exp-card {
  padding: 28px 24px 30px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.exp-card:nth-child(even) {
  transform: translateY(32px);
}

.exp-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  transition: transform var(--dur) var(--ease);
}

.exp-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.exp-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.exp-card:hover {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.exp-card:hover img {
  transform: rotate(-6deg) scale(1.06);
}

/* ---------- Academic system ---------- */
.advantages .adv-grid {
  margin-top: 0;
}

.adv-card {
  background: var(--white);
}

.adv-index {
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: .5px;
  top: 16px;
}

/* ---------- Safe space ---------- */
.ksafe-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

.ksafe-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 400px;
}

.ksafe-mosaic figure {
  border-radius: var(--radius);
}

.ksafe-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ksafe-mosaic .m1 {
  grid-row: 1 / 3;
}

.fac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fac-card {
  padding: 28px 24px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.fac-card:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 208, 75, .45);
}

.fac-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
}

.fac-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 16px;
}

.fac-card .dot-list li {
  font-size: 14px;
}

.fac-card .dot-list li::before {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- Legacy / achievers ---------- */
.legacy {
  padding-top: 0;
}

.ksafe+.legacy {
  border-top: 0;
}

.legacy-title {
  margin-top: 0;
  font-weight: 600;
  line-height: 1.25;
}

.ksafe+.legacy .container {
  padding-top: 0;
}

.ksafe+.legacy .legacy-title {
  padding-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.legacy-brand {
  font-size: 24px;
}

.legacy-cell.is-brand .legacy-label {
  color: var(--lime);
  opacity: .85;
}

.kach-heading {
  font-size: clamp(44px, 4vw + 14px, 80px);
}

.achievers .center-head {
  margin-bottom: 8px;
}

.story-cta p {
  text-align: center;
}

/* ---------- Why ---------- */
.kwhy .h2 {
  font-size: clamp(30px, 2.4vw + 10px, 46px);
}

.kwhy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kwhy-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--lime);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.kwhy-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--lime);
  font-family: var(--ff-display);
  font-size: 18px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.kwhy-card:hover {
  transform: translateY(-4px);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.kwhy-card:hover .kwhy-num {
  background: var(--lime);
  color: var(--navy);
}

/* ---------- CTA band ---------- */
.kcta {
  background:
    radial-gradient(800px 500px at 100% 100%, rgba(42, 92, 140, .45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0A2B57 60%, #17457A 100%);
}

.kcta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.kcta .final-title {
  font-size: clamp(36px, 3vw + 10px, 58px);
}

.kcta-strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 10px;
}

.kcta-programs {
  margin-top: 24px;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.kcta-note {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
}

.kcta .seats-chip {
  margin-top: 18px;
  font-weight: 600;
  letter-spacing: .4px;
}

.kcta .btn-lime {
  margin-top: 18px;
  display: flex;
  width: max-content;
}

.kcta-media {
  border-radius: var(--radius-lg);
  aspect-ratio: 1200 / 970;
  box-shadow: var(--shadow-lg);
}

.kcta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Enquiry ---------- */
.kform-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.kform-info .h2 {
  font-size: clamp(32px, 2.6vw + 10px, 50px);
}

.kform-sub {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--ink);
}

.kform-list {
  margin-top: 24px;
}

.kform-list li {
  font-size: 16px;
}

.kform .form-card {
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.kform .form-title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .4px;
}

.kform .lead-form .btn {
  min-width: 200px;
}

/* ---------- Footer ---------- */
.kfooter {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
}

.kfooter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 40px;
  text-align: center;
}

.kfooter-inner img {
  width: 150px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  margin-bottom: 10px;
  box-sizing: content-box;
}

.kfooter-name {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--lime);
}

.kfooter-tag {
  font-size: 14px;
}

.kfooter-copy {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

  .khero-grid,
  .kexp-grid,
  .ksafe-top,
  .kcta-grid,
  .kform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .khero-grid {
    gap: 48px;
  }

  .path-card {
    left: 16px;
  }

  .kmerit-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kmerit-text {
    padding-left: 0;
    border-left: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .15);
  }

  .kach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kach-wide {
    grid-column: 1 / -1;
  }

  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kwhy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exp-card:nth-child(even) {
    transform: none;
  }

  .kcta-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .khero {
    padding-block: 40px 56px;
  }

  .khero-eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .khero-title {
    font-size: 40px;
  }

  .khero-sub {
    font-size: 17px;
  }

  .khero-text {
    font-size: 15px;
  }

  .khero-actions .btn {
    width: 100%;
  }

  .khero-media {
    aspect-ratio: 4 / 3.6;
  }

  .path-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -40px;
    margin-left: 0;
  }

  .path-card {
    width: calc(100% - 24px);
    margin-inline: 12px;
  }

  .khero-note {
    margin: 14px 0 0;
    width: 100%;
  }

  .ksec-kicker {
    font-size: 17px;
  }

  .ksec-lead {
    font-size: 15px;
  }

  .ksec-head {
    margin-bottom: 30px;
  }

  .kmerit-band {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .kmerit-figure {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .kmerit-band .merit-num {
    font-size: 88px;
  }

  .kmerit-text p {
    font-size: 15px;
  }

  .kach-title {
    margin-top: 44px;
  }

  .kach-grid {
    gap: 12px;
  }

  .kprog-title {
    font-size: 22px;
  }

  .kexp-cards {
    grid-template-columns: 1fr;
  }

  .ksafe-mosaic {
    height: 280px;
  }

  .fac-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .kwhy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kwhy-card {
    min-height: 0;
    font-size: 15px;
  }

  .ksafe+.legacy .legacy-title {
    padding-top: 56px;
  }

  .kach-heading {
    font-size: 44px;
  }

  .kcta .final-title {
    font-size: 36px;
  }

  .kcta .btn-lime {
    width: 100%;
  }

  .kcta-programs {
    font-size: 14px;
  }

  .kform .form-title {
    font-size: 24px;
  }
}

.program-head .kprog-num {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: 1;
  color: var(--ink);
}

.fac-icon {
  border-radius: 16px;
}

/* =========================================================
   v2 layout updates
   ========================================================= */

/* ---------- Hero with form ---------- */
.khero {
  padding-block: 64px 88px;
}

.khero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
  gap: 56px;
}

.khero-title {
  font-size: clamp(40px, 3.2vw + 10px, 60px);
}

.khero-info {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.khero-info .path-card {
  position: static;
  width: auto;
  box-shadow: none;
  padding: 16px;
}

.khero-info .path-list a {
  padding: 10px 12px;
  font-size: 14px;
}

.khero-info .khero-note {
  margin: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, .05);
}

.khero-actions {
  margin-top: 26px;
}

.khero-form {
  position: relative;
}

.khero-form .form-title,
.kform .form-title {
  font-family: var(--ff-body);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.khero-form .lead-form {
  gap: 12px;
}

/* placeholders + OTP */
.field input::placeholder {
  color: #8A94A3;
}

.field select:invalid {
  color: #8A94A3;
}

.field select option {
  color: var(--ink);
}

.otp-wrap {
  display: flex;
  gap: 10px;
}

.otp-wrap input {
  flex: 1;
  min-width: 0;
}

.otp-btn {
  flex-shrink: 0;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #C9DB86;
  background: var(--lime-50);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.otp-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.otp-btn:active {
  transform: scale(.97);
}

.otp-btn:disabled {
  opacity: .7;
  cursor: default;
  background: var(--lime-50);
}

/* ---------- Residential experience (single viewport) ---------- */
.kexp {
  padding-block: 72px;
}

.kexp-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}

.kexp-intro {
  display: flex;
  flex-direction: column;
}

.kexp-intro .h2 {
  font-size: clamp(30px, 2vw + 12px, 44px);
  line-height: 1.15;
}

.kexp-intro .ksec-kicker {
  font-size: 22px;
}

.kexp-intro .ksec-lead {
  font-size: 15px;
  line-height: 1.75;
}

.kexp-media {
  margin-top: 24px;
  flex: 1;
  min-height: 240px;
  max-height: 340px;
  aspect-ratio: auto;
  border-radius: 6px;
  box-shadow: none;
}

.kexp-cards {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 14px;
}

.exp-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  border-radius: 6px;
  background: var(--lime);
  border: 0;
}

.exp-card:nth-child(even) {
  transform: none;
}

.exp-card h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.exp-card p {
  color: var(--ink);
  font-size: 15px;
}

.exp-card:hover {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.exp-card:hover h3 {
  color: var(--lime);
}

.exp-card:hover p {
  color: rgba(255, 255, 255, .88);
}

.js .reveal.is-visible.exp-card:hover {
  transform: translateY(-4px);
}

/* ---------- Real students ---------- */
.achievers .ach-hero {
  margin-bottom: 8px;
}

.achievers .ach-heading {
  font-size: clamp(52px, 4.6vw + 14px, 92px);
  line-height: 1.05;
}

.achievers .story-cta {
  margin-top: 48px;
}

/* ---------- Lime admission band ---------- */
.kcta {
  position: relative;
  overflow: hidden;
  background: var(--lime);
}

.kcta-watermark {
  position: absolute;
  right: -10px;
  bottom: -70px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 300px;
  line-height: 1;
  color: rgba(1, 29, 66, .06);
  pointer-events: none;
  user-select: none;
}

.kcta-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.badge-on-lime {
  color: var(--navy);
  border-color: rgba(1, 29, 66, .25);
  background: rgba(255, 255, 255, .22);
  font-style: italic;
  letter-spacing: .4px;
  font-size: 14px;
}

.badge-on-lime .badge-dot {
  background: var(--navy);
  animation: none;
}

.kcta-title {
  margin: 22px 0 18px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(40px, 3.4vw + 12px, 66px);
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--navy);
}

.kcta-title span {
  display: block;
}

.kcta-title em {
  font-style: normal;
  font-weight: 400;
}

.kcta .kcta-strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.kcta-te {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--navy);
}

.kcta .kcta-btn {
  margin-top: 22px;
  min-height: 52px;
  padding-inline: 28px;
  letter-spacing: 1px;
  font-weight: 600;
}

.kcta-pills {
  display: grid;
  gap: 14px;
}

.kcta-pills li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #0B1C3B;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.kcta-pills li svg {
  flex-shrink: 0;
  color: var(--lime);
}

.kcta-pills li:hover {
  box-shadow: 0 14px 30px rgba(1, 29, 66, .25);
}

.js .reveal.is-visible.kcta-pills li:hover,
.js .kcta-pills li.reveal.is-visible:hover {
  transform: translateX(6px);
}

/* ---------- Closing: form + footer on one gradient ---------- */
.kclosing {
  background:
    radial-gradient(900px 600px at 100% 100%, rgba(42, 92, 140, .5), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0A2B57 55%, #1A4A7C 100%);
}

.kform {
  padding-top: var(--section-y);
  padding-bottom: 48px;
}

.kform-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
}

.kform-title {
  margin: 22px 0 18px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(40px, 3.4vw + 12px, 66px);
  line-height: 1.12;
  color: var(--lime);
}

.kform .kform-sub {
  margin-top: 0;
  font-size: 18px;
  letter-spacing: .4px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

.kform-te {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}

.kpill-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.kpill-list li {
  position: relative;
  padding: 7px 18px 7px 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 16px;
  color: var(--white);
  transition: background-color var(--dur) var(--ease);
}

.kpill-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: url("../assets/icons/tick-icon-green.svg") center / contain no-repeat;
}

.kpill-list li:hover {
  background: rgba(181, 208, 75, .16);
}

.kform .form-card {
  border: 0;
  box-shadow: var(--shadow-lg);
}

.kform .lead-form,
.khero-form .lead-form {
  gap: 14px;
}

.kfooter {
  background: transparent;
}

.kfooter-inner {
  padding-block: 24px 56px;
  gap: 6px;
}

.kfooter-name {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .3px;
  color: var(--lime);
}

.kfooter-tag {
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
}

.kfooter-copy {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

  .khero-grid,
  .kexp-grid,
  .kcta-grid,
  .kform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kexp-media {
    flex: none;
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .kcta-watermark {
    font-size: 200px;
  }

  .achievers .ach-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .khero-info {
    grid-template-columns: 1fr;
  }

  .khero-form .form-title,
  .kform .form-title {
    font-size: 20px;
  }

  .otp-btn {
    padding: 0 14px;
    font-size: 13px;
  }

  .kexp {
    padding-block: 56px;
  }

  .kexp-intro .ksec-kicker {
    font-size: 18px;
  }

  .kexp-cards {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .exp-card {
    padding: 22px 20px;
  }

  .exp-card h3 {
    font-size: 20px;
  }

  .achievers .ach-heading {
    font-size: 46px;
  }

  .achievers .story-cta .btn {
    width: 100%;
  }

  .kcta-title,
  .kform-title {
    font-size: 38px;
  }

  .kcta .kcta-strong {
    font-size: 17px;
  }

  .kcta-te {
    font-size: 15px;
  }

  .kcta .kcta-btn {
    width: 100%;
  }

  .kcta-pills li {
    font-size: 15px;
    padding: 16px 18px;
  }

  .kcta-watermark {
    font-size: 140px;
    bottom: -30px;
  }

  .kform .kform-sub,
  .kform-te {
    font-size: 15px;
  }

  .kpill-list li {
    font-size: 14px;
  }

  .kfooter-name {
    font-size: 20px;
  }

  .kfooter-tag {
    font-size: 13px;
  }
}

.khero-grid,
.kform-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.field select {
  padding-left: 14px;
  padding-right: 34px;
  font-size: 13.5px;
}

@media (max-width: 1024px) {

  .khero-grid,
  .kform-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .khero-info .path-card {
    margin: 0;
    width: auto;
  }
}

/* ---------- Overflow-safe grids ---------- */
.kach-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legacy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legacy-cell {
  min-width: 0;
}

.legacy-num {
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 2.4vw + 10px, 56px);
}

.legacy-brand {
  overflow-wrap: anywhere;
}

.ach-card {
  min-width: 0;
}

.ach-num {
  font-size: clamp(26px, 1.2vw + 16px, 34px);
}

.ach-label {
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {

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

@media (max-width: 640px) {
  .kach-grid {
    gap: 10px;
  }

  .kach-grid .ach-card {
    padding: 18px 14px;
    min-height: 120px;
  }

  .kach-grid .ach-num {
    font-size: 24px;
  }

  .kach-grid .ach-label {
    font-size: 12px;
    line-height: 1.5;
  }

  .kach-title {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .legacy-cell {
    padding: 18px 14px;
    min-height: 104px;
  }

  .legacy-num {
    font-size: 28px;
  }

  .legacy-label {
    font-size: 12px;
  }

  .legacy-brand {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .legacy-num {
    font-size: 24px;
  }

  .kach-grid .ach-num {
    font-size: 22px;
  }
}

/* ---------- Hero v3 (Telugu banner) ---------- */
.khero-grid {
  align-items: center;
}

.khero-eyebrow-te {
  font-size: 18px;
  letter-spacing: .3px;
  font-weight: 600;
  color: var(--white);
}

.khero-eyebrow-te span:first-child {
  color: var(--white);
}

.khero-eyebrow-te span:first-child::after {
  display: none;
}

.khero-title-te {
  font-family: var(--ff-display), "Noto Sans Telugu", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 2.8vw + 12px, 56px);
  line-height: 1.3;
}

.khero-sub {
  font-size: 22px;
}

.khero-programs {
  margin-top: 24px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.khero-programs a {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.khero-programs a:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

.khero-sep {
  color: var(--lime);
  font-weight: 600;
  font-size: 20px;
}

.khero-hostel {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.khero-hostel img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.khero-actions {
  margin-top: 28px;
}

@media (max-width: 640px) {
  .khero-eyebrow-te {
    font-size: 15px;
  }

  .khero-title-te {
    font-size: 34px;
  }

  .khero-sub {
    font-size: 18px;
  }

  .khero-programs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .khero-programs a {
    text-align: center;
    font-size: 15px;
  }

  .khero-sep {
    display: none;
  }

  .khero-hostel {
    font-size: 16px;
  }
}

/* ---------- Hero v4 (reference header) ---------- */
.khero {
  padding-block: 80px;
  background:
    radial-gradient(700px 520px at 100% 20%, rgba(42, 92, 86, .55), transparent 65%),
    var(--navy);
}

.khero::after {
  display: none;
}

.khero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 577px);
  gap: 72px;
  align-items: center;
}

.khero .badge {
  font-size: 12px;
  letter-spacing: 2.4px;
  padding: 7px 18px;
}

.kh-title {
  margin-top: 14px;
  font-family: "Noto Sans Telugu", var(--ff-body);
  font-weight: 700;
  font-size: clamp(34px, 2.4vw + 12px, 48px);
  line-height: 1.32;
  color: var(--lime);
}

.kh-sub {
  margin-top: 18px;
  font-family: var(--ff-display), "Noto Sans Telugu", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 1.6vw + 12px, 38px);
  line-height: 1.25;
  color: var(--white);
}

.kh-line {
  margin-top: 26px;
  font-size: clamp(20px, .8vw + 13px, 25px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--lime);
}

.kh-label {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3px;
  color: var(--white);
}

.kh-programs {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.kh-programs a {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.kh-programs a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
  transform: translateY(-2px);
}

.kh-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .35);
}

.kh-hostel {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--lime);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}

.khero-form {
  padding: 28px 26px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.khero-form .form-title {
  font-size: 22px;
  font-weight: 600;
}

.khero-form .form-sub {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.khero-form .lead-form {
  margin-top: 18px;
  gap: 12px;
}

.khero-form .field label {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 6px;
}

.khero-form .field input,
.khero-form .field select {
  height: 40px;
  font-size: 13px;
  border-radius: 6px;
  background: #F7FAFD;
}

.khero-form .otp-btn {
  padding: 0 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
}

.khero-form .lead-form .btn {
  min-height: 40px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .khero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .khero-form {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .khero {
    padding-block: 44px 56px;
  }

  .khero .badge {
    font-size: 10.5px;
    letter-spacing: 1.6px;
  }

  .kh-title {
    font-size: 32px;
  }

  .kh-sub {
    font-size: 26px;
  }

  .kh-line {
    font-size: 19px;
    margin-top: 18px;
  }

  .kh-programs a {
    font-size: 16px;
    padding: 8px 12px;
  }

  .kh-hostel {
    font-size: 16px;
  }

  .khero-form {
    padding: 22px 18px;
  }
}

@media (max-width: 640px) {
  .kh-sep {
    display: none;
  }
}

/* ---------- Meritto (NoPaperForms) widget container inside .form-card ---------- */
.form-card .npf_wgts {
  width: 100%;
  margin-top: 16px;
  min-height: 400px;
}

.form-card .npf_wgts iframe {
  width: 100%;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--navy);
  color: #afb3b3;
  text-align: center;
  padding: 28px 0 56px;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer nav {
  margin-top: 10px;
  font-weight: 500;
  color: #D7DDE9;
}

.site-footer a {
  transition: color .25s;
}

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

.digital-credit {
  margin: 18px auto 0;
  padding-top: 14px;
  max-width: 420px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

.digital-credit strong {
  color: #ffffff;
  font-weight: 600;
}