/* ==========================================================================
   VIMS Homepage — custom design (not part of the vendor template)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  --red: #e92128;
  --red-dark: #c81820;
  --ink: #1a1a1a;
  --ink-soft: #55585c;
  --line: #e7e7ea;
  --bg-soft: #f7f7f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(20, 20, 20, 0.08);
  --container: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

section { position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(233, 33, 40, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

.pad { padding: 96px 0; }
@media (max-width: 767px) { .pad { padding: 56px 0; } }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark-outline { border-color: var(--ink); color: var(--ink); }
.btn-dark-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.logo img { height: 48px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.header-phone .icn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(233,33,40,0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.header-phone strong { display: block; font-size: 15px; color: var(--ink); }
.header-phone span { color: var(--ink-soft); font-size: 12px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 18px;
  align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 991px) {
  .main-nav { position: fixed; top: 86px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 30px 24px; gap: 6px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.3s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  padding: 150px 0 110px;
  overflow: hidden;
  background: #0c0c10 url("../img/aviation/logistics.webp") center 60% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,10,0.94) 0%, rgba(10,10,12,0.82) 38%, rgba(10,10,12,0.42) 68%, rgba(233,33,40,0.28) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.hero-tagline-wrap { min-height: 3.4em; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  transition: opacity 0.4s ease;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 17.5px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 30px; }
.hero-stats div strong { display: flex; align-items: baseline; font-size: 30px; font-weight: 700; line-height: 1; }
.hero-stats div > span { font-size: 13px; color: rgba(255,255,255,0.72); }
.stat-suffix { font-size: 0.6em; font-weight: 700; margin-left: 1px; }

@media (max-width: 767px) {
  .hero { padding: 130px 0 90px; background-position: 70% center; }
  .hero-stats { gap: 28px; }
}

/* ===== Stat strip ===== */
.stat-strip {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -46px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-strip div {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-strip div:last-child { border-right: none; }
.stat-strip strong { display: flex; align-items: baseline; justify-content: center; font-size: 30px; font-weight: 700; line-height: 1; color: var(--red); }
.stat-strip div > span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 767px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div:nth-child(2) { border-right: none; }
}

/* ===== Streams ===== */
.streams { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stream-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.stream-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.stream-card .icn {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(233,33,40,0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 22px;
}
.stream-card h3 { font-size: 22px; }
.stream-card p { color: var(--ink-soft); margin-top: 10px; line-height: 1.7; }
.stream-card ul { margin: 18px 0 26px; }
.stream-card ul li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14.5px; }
.stream-card ul li i { color: var(--red); margin-top: 3px; }
.stream-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 767px) { .streams { grid-template-columns: 1fr; } }

/* ===== Why us ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { padding: 32px 26px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.why-card .icn {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px;
}
.why-card h3 { font-size: 18px; }
.why-card p { color: var(--ink-soft); margin-top: 8px; font-size: 14.5px; line-height: 1.7; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== Process ===== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process-step { position: relative; padding: 30px 24px; text-align: center; }
.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 18px;
}
.process-step h3 { font-size: 17px; }
.process-step p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; line-height: 1.6; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 23px; left: calc(50% + 46px); width: calc(100% - 46px);
  border-top: 2px dashed var(--line);
}
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .process-step::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ===== Courses ===== */
.filter-row { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-row button {
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-row button.active, .filter-row button:hover { border-color: var(--red); color: var(--red); background: rgba(233,33,40,0.06); }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); }
.course-card.hide { display: none; }
.course-card .thumb { position: relative; height: 200px; overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 30px;
}
.course-card .body { padding: 22px; }
.course-card h3 { font-size: 16.5px; line-height: 1.4; }
.course-card a.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--red); }
@media (max-width: 900px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .course-grid { grid-template-columns: 1fr; } }

/* ===== Placements ===== */
.placement-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; align-items: stretch; }
.placement-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.placement-photo img { width: 100%; }
.placement-cta {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 30px; min-height: 220px;
}
.placement-cta i { font-size: 32px; color: var(--red); margin-bottom: 14px; }
.placement-cta p { color: var(--ink-soft); font-size: 14.5px; }
.placement-cta a { color: var(--red); font-weight: 600; }
@media (max-width: 900px) { .placement-grid { grid-template-columns: 1fr; } }

/* ===== Partners ===== */
.partner-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; background: var(--white);
}
.partner-box strong { display: block; font-size: 19px; }
.partner-box span { font-size: 12.5px; color: var(--red); font-weight: 600; }
@media (max-width: 767px) { .partner-row { grid-template-columns: 1fr 1fr; } }

/* ===== Testimonials ===== */
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.testi-card {
  flex: 0 0 min(360px, 85vw); scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px;
}
.testi-card .stars { color: var(--red); font-size: 14px; margin-bottom: 12px; }
.testi-card p.quote { color: var(--ink); font-size: 15px; line-height: 1.7; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-card .who .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(233,33,40,0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.testi-card .who strong { display: block; font-size: 14.5px; }
.testi-card .who span { font-size: 12.5px; color: var(--ink-soft); }

/* ===== CTA / Enquiry ===== */
.enquiry {
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.enquiry h2 { font-size: clamp(24px, 3vw, 32px); }
.enquiry p { color: rgba(255,255,255,0.75); margin-top: 12px; line-height: 1.7; }
.enquiry .contact-lines { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.enquiry .contact-lines a { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.enquiry .contact-lines i { color: var(--red); width: 20px; }
.enquiry form { background: var(--white); border-radius: var(--radius); padding: 30px; }
.enquiry form input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 16px; margin-bottom: 14px; font-family: inherit; font-size: 14px; color: var(--ink);
}
.enquiry form input:focus { outline: none; border-color: var(--red); }
.enquiry form button { width: 100%; justify-content: center; }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; padding: 34px; border-radius: 18px; } }

/* ===== Footer ===== */
.site-footer { background: #14161a; color: rgba(255,255,255,0.7); padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-grid p { font-size: 14px; line-height: 1.8; }
.footer-grid ul li { margin-bottom: 12px; font-size: 14px; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-grid .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-grid .contact-line i { color: var(--red); margin-top: 3px; }
.footer-logo img { height: 44px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 50px; padding-top: 24px;
  text-align: center; font-size: 13px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Reveal-on-scroll ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Inner-page components
   ========================================================================== */

/* ---- Page hero (About / Courses / Placements / Gallery / Contact / FAQ) ---- */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 150px 0 60px;
  background: #0c0c10;
  overflow: hidden;
}
.page-hero.has-photo { background-size: cover; background-position: center; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0c0c10 0%, #14161c 60%, rgba(233,33,40,0.35) 130%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero .crumbs { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.65); }
.page-hero .crumbs a { color: rgba(255,255,255,0.65); }
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero .crumbs span { color: var(--red); font-weight: 600; }

/* ---- Split section (image + text, both orders) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-media.stack { position: relative; }
.split-media.stack img.accent {
  position: absolute; width: 45%; border: 6px solid var(--white); border-radius: 12px;
  box-shadow: var(--shadow); bottom: -30px; right: -20px;
}
.split-body p { color: var(--ink-soft); line-height: 1.8; margin-top: 16px; }
.split-body ul { margin-top: 18px; }
.split-body ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; }
.split-body ul li i { color: var(--red); margin-top: 4px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: -1; }
}

/* ---- Pills tabs (Mission / Vision / Institution) ---- */
.pill-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.pill-tabs button {
  border: 2px solid var(--line); background: var(--white); color: var(--ink-soft);
  font-weight: 600; font-size: 14.5px; padding: 12px 26px; border-radius: 100px; cursor: pointer;
  display: flex; align-items: center; gap: 10px; transition: all 0.2s ease;
}
.pill-tabs button.active, .pill-tabs button:hover { border-color: var(--red); color: var(--red); background: rgba(233,33,40,0.06); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Feature icon list (used by mission/vision/institution) ---- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; color: var(--ink-soft); }
.check-list li i { color: var(--red); margin-top: 4px; flex-shrink: 0; }

/* ---- Course detail hero info card ---- */
.course-hero { position: relative; color: var(--white); padding: 150px 0 90px; background-size: cover; background-position: center; overflow: hidden; }
.course-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(8,8,10,0.92) 0%, rgba(10,10,12,0.75) 45%, rgba(233,33,40,0.3) 100%); z-index:1; }
.course-hero .container { position: relative; z-index: 2; }
.course-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: start; }
.course-hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; }
.course-hero .crumbs { margin: 14px 0 26px; font-size: 14px; color: rgba(255,255,255,0.65); }
.course-hero .crumbs a { color: rgba(255,255,255,0.65); }
.course-hero .crumbs span { color: var(--red); font-weight: 600; }
.enquire-card { background: var(--white); border-radius: var(--radius); padding: 28px; color: var(--ink); }
.enquire-card h3 { font-size: 18px; margin-bottom: 16px; }
.enquire-card input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; font-family: inherit; font-size: 14px; }
.enquire-card input:focus { outline: none; border-color: var(--red); }
.enquire-card button { width: 100%; justify-content: center; }
@media (max-width: 900px) { .course-hero-grid { grid-template-columns: 1fr; } }

.info-chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.info-chip { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 10px; padding: 14px 16px; }
.info-chip i { color: var(--red); font-size: 18px; }
.info-chip span { font-size: 13.5px; font-weight: 500; }

/* ---- Job-role tabs / grid ---- */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.role-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.role-card h3 { font-size: 16px; color: var(--red); }
.role-card ul { margin-top: 14px; }
.role-card ul li { font-size: 14px; color: var(--ink-soft); padding: 7px 0; border-top: 1px solid var(--line); }
.role-card ul li:first-child { border-top: none; }
@media (max-width: 900px) { .role-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }

/* ---- Accordion (FAQ) ---- */
.accordion-list { max-width: 800px; margin: 0 auto; }
.accordion-list.two-col { max-width: none; column-count: 2; column-gap: 24px; }
.acc-item { break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.acc-item button {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-item button i { color: var(--red); transition: transform 0.25s ease; flex-shrink: 0; }
.acc-item.open button i { transform: rotate(45deg); }
.acc-item .acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.acc-item .acc-body p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 767px) { .accordion-list.two-col { column-count: 1; } }

/* ---- Branch / contact cards ---- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.branch-card .icn { width: 46px; height: 46px; border-radius: 50%; background: rgba(233,33,40,0.08); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; }
.branch-card h4 { font-size: 17px; }
.branch-card .org { font-size: 12.5px; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.branch-card p, .branch-card a { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 10px; line-height: 1.6; }
.branch-card a:hover { color: var(--red); }
@media (max-width: 900px) { .branch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .branch-grid { grid-template-columns: 1fr; } }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.contact-form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.contact-form-card input, .contact-form-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; margin-bottom: 14px;
  font-family: inherit; font-size: 14px; color: var(--ink);
}
.contact-form-card textarea { min-height: 120px; resize: vertical; }
.contact-form-card input:focus, .contact-form-card textarea:focus { outline: none; border-color: var(--red); }
.contact-form-card button { width: 100%; justify-content: center; }

/* ---- 404 / thank-you utility pages ---- */
.utility-page { padding: 180px 0 120px; text-align: center; }
.utility-page .code { font-size: clamp(60px, 12vw, 140px); font-weight: 800; color: var(--red); line-height: 1; }
.utility-page h2 { margin-top: 10px; font-size: clamp(22px, 3vw, 30px); }
.utility-page p { margin-top: 14px; color: var(--ink-soft); max-width: 480px; margin-left: auto; margin-right: auto; }
.utility-page .btn { margin-top: 30px; }
.utility-page .icon-circle {
  width: 90px; height: 90px; border-radius: 50%; background: rgba(233,33,40,0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 20px;
}
