/* ============================================================
   EBISU Document Processes Services — corporate website
   Design system: blue & white telecommunications aesthetic
   ============================================================ */

:root {
  --blue: #0072CE;
  --navy: #003B70;
  --ink: #172B4D;
  --white: #FFFFFF;
  --pale: #F2F8FD;
  --cyan: #00B8D9;
  --gray: #F5F7FA;
  --body: #536579;
  --border: #DCE7F2;
  --shadow-sm: 0 1px 3px rgba(23, 43, 77, .07);
  --shadow-md: 0 6px 24px rgba(23, 43, 77, .09);
  --shadow-lg: 0 16px 48px rgba(0, 59, 112, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  --header-h: 76px;
  --accred-h: 36px;
  --header-total: 112px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-total) + 12px); }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul[role="list"] { list-style: none; }
a { color: var(--blue); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 114, 206, .32);
}
.btn-primary:hover { background: #005fae; box-shadow: 0 8px 24px rgba(0, 114, 206, .4); }

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: #C4D7EA;
}
.btn-ghost:hover { background: var(--pale); border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 2.5px;
  color: var(--navy);
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .4px;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 9px 13px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue); background: var(--pale); }

.primary-nav { display: flex; align-items: center; gap: 14px; }
.nav-cta { white-space: nowrap; }

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

/* ---------- Accreditation strip (header) ---------- */
.accreditation {
  background: linear-gradient(90deg, #EAF4FC 0%, #F7FBFE 50%, #EAF4FC 100%);
  border-bottom: 1px solid var(--border);
}
.accreditation-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-height: var(--accred-h, 36px);
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}
.accreditation-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.accreditation-logo {
  height: 20px;
  width: auto;
  flex-shrink: 0;
}
.accreditation-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--blue);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #EAF4FC 0%, #F7FBFE 55%, var(--white) 100%);
  color: var(--ink);
  overflow: hidden;
  padding: 60px 0 68px;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 114, 206, .12) 0%, rgba(0, 184, 217, .07) 42%, rgba(255, 255, 255, 0) 70%);
}
.hero-network {
  width: 100%;
  height: 100%;
  opacity: .9;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow-blue { color: var(--blue); }

.hero .eyebrow { color: var(--blue); }

.hero h1 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--navy);
  margin-bottom: 16px;
}
.hero-accent { color: var(--blue); }

.hero-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
  max-width: 52ch;
}
.hero-desc {
  font-size: 15.5px;
  color: var(--body);
  max-width: 52ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { display: flex; justify-content: center; }
.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 59, 112, .18);
  border: 6px solid var(--white);
  outline: 1px solid var(--border);
  max-width: 460px;
  width: 100%;
  aspect-ratio: 5 / 4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--pale); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.4px;
  line-height: 1.2;
}
.section-lead { margin-top: 14px; font-size: 17px; }

.subhead {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}
.subhead-spaced { margin-top: 56px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.about-copy p { margin-bottom: 16px; font-size: 16.5px; }
.about-copy strong { color: var(--ink); }
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pale), #E1F0FB);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-card-icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.info-card p { font-size: 14px; }

/* ---------- Vision & Mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.vm-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.vm-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.vm-vision { background: linear-gradient(140deg, var(--navy), #00579f); color: var(--white); }
.vm-mission { background: linear-gradient(140deg, var(--blue), #1a8fe0); color: var(--white); }
.vm-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.vm-icon svg { width: 28px; height: 28px; }
.vm-card h3 {
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
  color: #A8DDF5;
}
.vm-card p { font-size: 20px; font-weight: 600; line-height: 1.5; position: relative; }

/* ---------- Culture & Values ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.culture-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.culture-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.culture-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.culture-icon svg { width: 28px; height: 28px; }
.culture-card h4 { font-size: 17.5px; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.culture-card p { font-size: 14.5px; }

.values-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.value-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #BFD9EF;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E8F3FC, #D4ECFA);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 25px; height: 25px; }
.service-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.service-card p { font-size: 14px; }

/* ---------- Experience ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.exp-card {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.exp-card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 700;
}
.exp-card p { margin-bottom: 12px; }
.exp-card strong { color: var(--navy); }

.exp-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.exp-highlights li {
  background: linear-gradient(135deg, var(--navy), #00579f);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.exp-highlights strong { font-size: 15px; }
.exp-highlights span { font-size: 13px; color: #A8DDF5; }

/* ---------- Gallery ---------- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.gallery-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--body);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.gallery-tab:hover { border-color: var(--blue); color: var(--blue); }
.gallery-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item { display: flex; flex-direction: column; }
.gallery-item[hidden] { display: none; }
.gallery-thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: block;
  width: 100%;
}
.gallery-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 4px 0;
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 20, 38, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: min(1100px, 100%); text-align: center; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.lightbox-figure figcaption { color: #C8DCF0; margin-top: 14px; font-size: 14.5px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: 20px; right: 20px; font-size: 28px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Equipment ---------- */
.equipment-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.equipment-copy p { margin-bottom: 16px; font-size: 16.5px; }
.equipment-copy strong { color: var(--ink); }
.equipment-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.equipment-photos figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.equipment-photos figure:first-child { grid-column: 1 / -1; }
.equipment-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

/* ---------- Org chart ---------- */
.org-chart {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.org-chart img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.org-chart figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
}

/* ---------- Locations ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.location-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.location-hq { border-top: 4px solid var(--blue); }
.location-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pale), #E1F0FB);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.location-icon svg { width: 24px; height: 24px; }
.location-card h3 { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.location-place { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.location-card p { font-size: 14.5px; }

/* ---------- Contact ---------- */
.section-contact {
  background: linear-gradient(140deg, var(--navy) 0%, #00579f 60%, var(--blue) 100%);
  color: var(--white);
  padding: 96px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -.4px;
}
.contact-intro p { color: #C4E0F5; font-size: 16.5px; margin-bottom: 26px; }
.contact-locations li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 15px;
  color: #D6ECFB;
}
.contact-locations strong { color: var(--white); }

.contact-form {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
  color: var(--body);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.req { color: #D64545; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--gray);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 114, 206, .14);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #D64545; background: #FDF3F3; }
.field-error { font-size: 12.5px; color: #C0392B; margin-top: 5px; }

.form-privacy {
  font-size: 12.5px;
  color: #7A8AA0;
  margin-bottom: 20px;
  line-height: 1.55;
}
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
.form-status.is-info { background: #EAF4FD; color: var(--navy); border: 1px solid #C4E0F5; }
.form-status.is-success { background: #E8F7EF; color: #1B7A47; border: 1px solid #B8E6CC; }
.form-status.is-error { background: #FDF3F3; color: #C0392B; border: 1px solid #F0C4C4; }

/* ---------- Footer ---------- */
.site-footer {
  background: #062A50;
  color: #A9C6DF;
  padding-top: 64px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.footer-name { font-weight: 700; color: var(--white); font-size: 15.5px; line-height: 1.3; }
.footer-tag { font-size: 12px; color: #6FB6E8; letter-spacing: 1px; }
.footer-desc { line-height: 1.7; max-width: 320px; }

.footer-col h3 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 9px; line-height: 1.5; }
.footer-col a { color: #A9C6DF; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.footer-portal-link { color: #6FB6E8; text-decoration: none; }
.footer-portal-link:hover { color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .info-cards { grid-template-columns: repeat(2, 1fr); }

  /* collapse nav before links wrap */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: var(--header-total);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 8px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--gray); border-radius: 0; }
  .nav-cta { margin-top: 10px; justify-content: center; }
}

@media (max-width: 920px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 520px; }
  .hero-desc { margin-bottom: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .equipment-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .vm-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-highlights { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .accreditation-inner { gap: 3px 8px; padding-top: 6px; padding-bottom: 6px; }
  .accreditation-label { font-size: 10.5px; letter-spacing: .8px; }
  .accreditation-logo { height: 17px; }
  .accreditation-name { font-size: 11.5px; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 44px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: 26px; }
  .hero-lead { font-size: 16px; }
  .hero-desc { font-size: 15px; margin-bottom: 22px; }
  .hero-photo { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 26px 20px; }
  .lightbox { padding: 60px 16px 40px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
