/* =========================================================
   Inter-Brains English 株式会社 corporate site stylesheet
   Theme: Navy & Silver — refined, premium, education leadership
   ========================================================= */

:root{
  --navy-950:#060f22;
  --navy-900:#0a1830;
  --navy-800:#0f2247;
  --navy-700:#16305f;
  --navy-600:#1f3f78;
  --navy-500:#2c5296;
  --silver-300:#c7cdd6;
  --silver-200:#dde1e7;
  --silver-100:#eef0f3;
  --silver-050:#f6f7f9;
  --white:#ffffff;
  --ink:#1b2433;
  --muted:#5c6779;
  --gold-accent:#a9b3c4; /* soft metallic accent, not gold-yellow, keep navy/silver family */
  --star:#3a5a99;
  --shadow-lg: 0 30px 60px -20px rgba(10,24,48,.35);
  --shadow-md: 0 12px 30px -10px rgba(10,24,48,.25);
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1180px;
  --ff-serif: "Noto Serif JP", "Shippori Mincho", serif;
  --ff-sans: "Noto Sans JP", "Inter", -apple-system, sans-serif;
}

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

html{scroll-behavior:smooth;}

body{
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--white);
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

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

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

section{position:relative;}

h1,h2,h3,h4{
  font-family: var(--ff-serif);
  color: var(--navy-900);
  font-weight:600;
  letter-spacing:.02em;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--ff-serif);
  font-size:.78rem;
  letter-spacing:.28em;
  text-transform:uppercase;
  color: var(--navy-600);
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";
  width:26px;height:1px;
  background: var(--navy-500);
  display:inline-block;
}

.section-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 56px;
}
.section-head h2{
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  margin-bottom:16px;
}
.section-head p{
  color: var(--muted);
  font-size:1rem;
}

.section-pad{padding: 110px 0;}
@media (max-width: 768px){ .section-pad{padding: 72px 0;} }

.bg-silver{background: linear-gradient(180deg, var(--silver-050) 0%, var(--white) 100%);}
.bg-navy{
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--silver-200);
}
.bg-navy h2, .bg-navy h3{ color: var(--white); }
.bg-navy .eyebrow{ color: var(--silver-300); }
.bg-navy .eyebrow::before{ background: var(--silver-300); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-size:.92rem;
  font-weight:600;
  letter-spacing:.06em;
  border:1px solid transparent;
  cursor:pointer;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  white-space:nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color:#fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color:#fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn-ghost-navy{
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn-ghost-navy:hover{ background: var(--navy-900); color:#fff; transform: translateY(-3px); }
.btn-silver{
  background: linear-gradient(135deg, var(--silver-100), var(--silver-300));
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.btn-silver:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn i{ font-size:.85em; }

/* ---------- Header ---------- */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background: rgba(8,17,35,.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{
  background: rgba(8,17,35,.94);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:86px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-logo{
  width:52px;height:52px;
  border-radius:50%;
  background:#fff;
  padding:3px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  flex-shrink:0;
}
.brand-logo img{ width:100%;height:100%;border-radius:50%;object-fit:cover; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text .brand-name{
  font-family: var(--ff-serif);
  color:#fff;
  font-size:1.02rem;
  font-weight:600;
  letter-spacing:.04em;
}
.brand-text .brand-sub{
  font-size:.62rem;
  letter-spacing:.18em;
  color: var(--silver-300);
  text-transform:uppercase;
}

.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav a{
  font-size:.9rem;
  color: var(--silver-200);
  letter-spacing:.04em;
  position:relative;
  padding:6px 0;
  transition: color .25s ease;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background: var(--silver-300);
  transition: width .3s ease;
}
.main-nav a:hover, .main-nav a.active{ color:#fff; }
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:18px; }

.nav-toggle{
  display:none;
  width:44px;height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:transparent;
  color:#fff;
  font-size:1.1rem;
  cursor:pointer;
}

@media (max-width: 980px){
  .main-nav{
    position:fixed;
    top:86px; left:0; right:0;
    background: rgba(8,17,35,.98);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    max-height:0;
    overflow:hidden;
    transition: max-height .4s ease;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .main-nav.open{ max-height:480px; }
  .main-nav a{
    width:100%;
    padding:18px 24px;
    border-top:1px solid rgba(255,255,255,.06);
  }
  .main-nav a::after{ display:none; }
  .header-cta .btn-outline{ display:none; }
  .nav-toggle{ display:flex; align-items:center; justify-content:center; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 48%, var(--navy-600) 100%);
}
.hero-bg-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.16;
  mix-blend-mode: luminosity;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,206,214,.22), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(44,82,150,.35), transparent 50%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding-top:150px;
  padding-bottom:110px;
  max-width:760px;
}
.hero .eyebrow{ color: var(--silver-300); }
.hero .eyebrow::before{ background: var(--silver-300); }
.hero h1{
  color:#fff;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height:1.45;
  margin-bottom:26px;
}
.hero h1 em{
  font-style:normal;
  background: linear-gradient(120deg, #e7eaef, #9aa6bb 60%, #cfd5df);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p{
  color: var(--silver-200);
  font-size:1.05rem;
  max-width:600px;
  margin-bottom:42px;
}
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom:70px; }

.hero-groups{
  position:relative; z-index:2;
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}
.hero-group-card{
  flex:1 1 260px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding:22px 24px;
  backdrop-filter: blur(6px);
  transition: transform .35s ease, background .35s ease;
}
.hero-group-card:hover{ transform: translateY(-6px); background: rgba(255,255,255,.1); }
.hero-group-card .tag{
  font-size:.68rem;
  letter-spacing:.2em;
  color: var(--silver-300);
  text-transform:uppercase;
  margin-bottom:8px;
  display:block;
}
.hero-group-card h4{ color:#fff; font-size:1.15rem; margin-bottom:8px; }
.hero-group-card p{ color: var(--silver-200); font-size:.86rem; margin-bottom:0; }

.scroll-cue{
  position:absolute; bottom:34px; left:50%;
  transform: translateX(-50%);
  z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color: var(--silver-300);
  font-size:.68rem;
  letter-spacing:.2em;
}
.scroll-cue span.line{
  width:1px; height:34px;
  background: linear-gradient(180deg, var(--silver-300), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine{
  0%{ transform: scaleY(0); transform-origin: top; }
  50%{ transform: scaleY(1); transform-origin: top; }
  51%{ transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Logo mark divider ---------- */
.divider-star{
  display:flex; align-items:center; justify-content:center;
  gap:14px;
  margin: 0 auto 40px;
}
.divider-star span{ width:44px; height:1px; background: var(--silver-300); }
.divider-star i{ color: var(--star); font-size:.9rem; }

/* ---------- Umbrella / group structure section ---------- */
.group-diagram{
  display:grid;
  grid-template-columns: 1fr;
  gap:0;
  align-items:center;
  justify-items:center;
  margin-top:40px;
}
.parent-node{
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color:#fff;
  border-radius: var(--radius-lg);
  padding: 34px 48px;
  text-align:center;
  box-shadow: var(--shadow-lg);
  position:relative;
  z-index:2;
  max-width:420px;
}
.parent-node img{ width:56px; margin:0 auto 14px; }
.parent-node h3{ color:#fff; font-size:1.3rem; margin-bottom:6px; }
.parent-node p{ color: var(--silver-300); font-size:.82rem; letter-spacing:.06em; margin-bottom:0; }

.connector{
  width:1px; height:56px;
  background: linear-gradient(180deg, var(--navy-600), var(--silver-300));
}
.connector-h{
  display:flex; align-items:center; width:100%; max-width:640px;
}
.connector-h .line{ flex:1; height:1px; background: var(--silver-300); }
.connector-h .node-dot{ width:8px;height:8px;border-radius:50%; background: var(--navy-600); margin:0 -4px; }

.child-nodes{
  display:grid;
  grid-template-columns: repeat(2, minmax(260px,1fr));
  gap:28px;
  margin-top:56px;
  width:100%;
  max-width:820px;
}
@media (max-width: 720px){ .child-nodes{ grid-template-columns:1fr; } }

.child-node{
  background:#fff;
  border:1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding:32px 30px;
  text-align:center;
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, box-shadow .35s ease;
}
.child-node:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.child-node .child-badge{
  width:64px;height:64px;
  border-radius:50%;
  margin:0 auto 18px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;
  color:#fff;
}
.child-badge.ouchi{ background: linear-gradient(135deg,#1f3a6e,#0a1830); }
.child-badge.latver{ background: linear-gradient(135deg,#3a5a99,#16305f); }
.child-node h4{ font-size:1.2rem; margin-bottom:10px; }
.child-node p{ color: var(--muted); font-size:.9rem; margin-bottom:18px; }

/* ---------- Service cards (home / business page) ---------- */
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:36px;
}
@media (max-width: 860px){ .service-grid{ grid-template-columns:1fr; } }

.service-card{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow-md);
  border:1px solid var(--silver-200);
  transition: transform .4s ease, box-shadow .4s ease;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-media{
  position:relative;
  height:240px;
  overflow:hidden;
}
.service-media img{
  width:100%;height:100%;object-fit:cover;
  transition: transform .6s ease;
}
.service-card:hover .service-media img{ transform: scale(1.06); }
.service-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,24,48,0) 40%, rgba(10,24,48,.78) 100%);
}
.service-media .service-label{
  position:absolute; bottom:18px; left:22px; z-index:2;
  color:#fff;
  font-family: var(--ff-serif);
  font-size:1.3rem;
  letter-spacing:.03em;
}
.service-media .service-tag{
  position:absolute; top:18px; left:22px; z-index:2;
  background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:999px;
  backdrop-filter: blur(4px);
}
.service-body{ padding:30px 30px 34px; }
.service-body p{ color: var(--muted); margin-bottom:22px; font-size:.94rem; }
.service-list{ list-style:none; margin-bottom:24px; }
.service-list li{
  display:flex; gap:10px; align-items:flex-start;
  font-size:.88rem; color: var(--ink);
  margin-bottom:10px;
}
.service-list li i{ color: var(--navy-600); margin-top:4px; }
.service-link{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:.9rem;
  color: var(--navy-800);
  border-bottom:1px solid var(--navy-800);
  padding-bottom:3px;
  transition: gap .3s ease, color .3s ease;
}
.service-link:hover{ gap:14px; color: var(--navy-600); }

/* ---------- Stats ---------- */
.stats-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:0;
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:60px;
}
@media (max-width: 860px){ .stats-row{ grid-template-columns: repeat(2,1fr); } }
.stat-item{
  padding:34px 20px;
  text-align:center;
  border-right:1px solid rgba(255,255,255,.14);
}
.stat-item:last-child{ border-right:none; }
.stat-item .num{
  font-family: var(--ff-serif);
  font-size:2.3rem;
  color:#fff;
  display:block;
  margin-bottom:6px;
}
.stat-item .label{
  font-size:.78rem;
  letter-spacing:.1em;
  color: var(--silver-300);
}

/* ---------- Values / cards ---------- */
.value-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:28px;
}
@media (max-width: 860px){ .value-grid{ grid-template-columns:1fr; } }
.value-card{
  padding:36px 28px;
  border-radius: var(--radius-lg);
  background:#fff;
  border:1px solid var(--silver-200);
  box-shadow: var(--shadow-md);
  transition: transform .35s ease;
}
.value-card:hover{ transform: translateY(-6px); }
.value-card .icon{
  width:58px;height:58px;
  border-radius:16px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:1.35rem;
  margin-bottom:20px;
}
.value-card h4{ font-size:1.1rem; margin-bottom:12px; }
.value-card p{ color: var(--muted); font-size:.9rem; margin-bottom:0; }

/* ---------- Timeline (company history) ---------- */
.timeline{ position:relative; max-width:760px; margin:0 auto; }
.timeline::before{
  content:"";
  position:absolute; left:14px; top:0; bottom:0;
  width:1px;
  background: var(--silver-300);
}
.timeline-item{
  position:relative;
  padding-left:52px;
  margin-bottom:40px;
}
.timeline-item:last-child{ margin-bottom:0; }
.timeline-item::before{
  content:"";
  position:absolute; left:8px; top:4px;
  width:14px;height:14px;
  border-radius:50%;
  background: var(--navy-800);
  border:3px solid var(--silver-100);
}
.timeline-item .t-year{
  font-family: var(--ff-serif);
  color: var(--navy-700);
  font-weight:600;
  font-size:1.05rem;
  margin-bottom:6px;
  display:block;
}
.timeline-item p{ color: var(--muted); margin-bottom:0; }

/* ---------- Message / About ---------- */
.about-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:64px;
  align-items:center;
}
@media (max-width: 900px){ .about-split{ grid-template-columns:1fr; gap:40px; } }
.about-media{ position:relative; }
.about-media img{
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-media .frame-line{
  position:absolute;
  inset:18px -18px -18px 18px;
  border:1px solid var(--silver-300);
  border-radius: var(--radius-lg);
  z-index:-1;
}
.about-text h2{ font-size: clamp(1.5rem,2.4vw,2.1rem); margin-bottom:22px; }
.about-text p{ color: var(--muted); margin-bottom:18px; }
.signature{
  margin-top:28px;
  font-family: var(--ff-serif);
  color: var(--navy-800);
  font-size:1.05rem;
}
.signature small{
  display:block;
  color: var(--muted);
  font-size:.78rem;
  letter-spacing:.05em;
  margin-top:4px;
}

/* ---------- Philosophy quote block ---------- */
.philosophy-block{
  text-align:center;
  max-width:840px;
  margin:0 auto;
}
.philosophy-block blockquote{
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height:1.9;
  color:#fff;
  margin-bottom:24px;
}
.philosophy-block cite{
  font-size:.8rem;
  letter-spacing:.14em;
  color: var(--silver-300);
  text-transform:uppercase;
}

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding:56px 50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h3{ color:#fff; font-size:1.5rem; margin-bottom:10px; }
.cta-band p{ color: var(--silver-300); margin-bottom:0; max-width:480px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-950);
  color: var(--silver-300);
  padding: 78px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand{ display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.footer-brand img{ width:54px; border-radius:50%; background:#fff; padding:3px; }
.footer-brand .fb-name{ font-family: var(--ff-serif); color:#fff; font-size:1.05rem; }
.footer-brand .fb-sub{ font-size:.68rem; letter-spacing:.16em; color: var(--silver-300); text-transform:uppercase; }
.footer-col h5{
  color:#fff;
  font-family: var(--ff-serif);
  font-size:.92rem;
  letter-spacing:.08em;
  margin-bottom:20px;
}
.footer-col ul{ list-style:none; }
.footer-col li{ margin-bottom:12px; font-size:.88rem; }
.footer-col a{ color: var(--silver-300); transition: color .25s ease; }
.footer-col a:hover{ color:#fff; }
.footer-col p{ font-size:.85rem; color: var(--silver-300); margin-bottom:10px; }
.social-row{ display:flex; gap:12px; margin-top:18px; }
.social-row a{
  width:38px;height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  display:flex; align-items:center; justify-content:center;
  transition: background .25s ease, transform .25s ease;
}
.social-row a:hover{ background: rgba(255,255,255,.12); transform: translateY(-3px); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  padding-top:26px;
  font-size:.78rem;
  color: rgba(199,205,214,.6);
}
.footer-bottom a{ color: rgba(199,205,214,.75); }
.footer-bottom a:hover{ color:#fff; }

/* ---------- Page header (sub pages) ---------- */
.page-hero{
  position:relative;
  padding-top:180px;
  padding-bottom:90px;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 85% 20%, rgba(201,206,214,.18), transparent 50%);
}
.page-hero .breadcrumb{
  position:relative; z-index:1;
  font-size:.8rem;
  color: var(--silver-300);
  margin-bottom:18px;
  letter-spacing:.05em;
}
.page-hero .breadcrumb a:hover{ color:#fff; }
.page-hero h1{
  position:relative; z-index:1;
  color:#fff;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom:16px;
}
.page-hero p{
  position:relative; z-index:1;
  color: var(--silver-200);
  max-width:600px;
}

/* ---------- Contact form ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap:56px;
}
@media (max-width: 900px){ .contact-wrap{ grid-template-columns:1fr; } }
.contact-info-card{
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding:42px 36px;
  color:#fff;
  box-shadow: var(--shadow-lg);
}
.contact-info-card h3{ color:#fff; margin-bottom:20px; font-size:1.3rem; }
.contact-info-card p{ color: var(--silver-300); margin-bottom:28px; font-size:.92rem; }
.contact-info-item{
  display:flex; gap:16px; align-items:flex-start;
  margin-bottom:24px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.contact-info-item:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.contact-info-item i{
  width:40px;height:40px;
  border-radius:50%;
  background: rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  font-size:.95rem;
}
.contact-info-item h5{ color:#fff; font-size:.92rem; margin-bottom:4px; letter-spacing:.03em; }
.contact-info-item span{ color: var(--silver-300); font-size:.86rem; }

.form-card{
  background:#fff;
  border:1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding:42px 38px;
  box-shadow: var(--shadow-md);
}
.form-row{ margin-bottom:22px; }
.form-row label{
  display:block;
  font-size:.86rem;
  font-weight:600;
  color: var(--navy-900);
  margin-bottom:8px;
  letter-spacing:.02em;
}
.form-row label .req{ color:#a4485a; margin-left:4px; font-weight:400; font-size:.78rem; }
.form-row input,
.form-row select,
.form-row textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid var(--silver-300);
  border-radius:10px;
  font-family: var(--ff-sans);
  font-size:.94rem;
  color: var(--ink);
  background: var(--silver-050);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline:none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(31,63,120,.12);
  background:#fff;
}
.form-row textarea{ resize:vertical; min-height:140px; }
.form-two{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width: 560px){ .form-two{ grid-template-columns:1fr; } }
.form-submit{ width:100%; justify-content:center; }
.form-note{ font-size:.78rem; color: var(--muted); margin-top:14px; text-align:center; }
#form-status{
  margin-top:16px;
  padding:14px 18px;
  border-radius:10px;
  font-size:.88rem;
  display:none;
}
#form-status.success{ display:block; background:#e9f3ec; color:#2f6b47; border:1px solid #bfe0c9; }
#form-status.error{ display:block; background:#fbeceb; color:#a4342b; border:1px solid #f0c6c2; }

/* ---------- Map placeholder ---------- */
.map-embed{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
  border:1px solid var(--silver-200);
}
.map-embed iframe{ width:100%; height:340px; border:0; display:block; }

/* ---------- Fade-in animation ---------- */
.fade-up{
  opacity:0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.is-visible{ opacity:1; transform:translateY(0); }

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed;
  right:26px; bottom:26px;
  width:48px;height:48px;
  border-radius:50%;
  background: var(--navy-900);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow: var(--shadow-md);
  opacity:0; pointer-events:none;
  transition: opacity .3s ease, transform .3s ease;
  z-index:900;
  border:none;
  cursor:pointer;
}
.back-to-top.show{ opacity:1; pointer-events:auto; }
.back-to-top:hover{ transform: translateY(-4px); }

/* ---------- Phone mockup (app showcase) ---------- */
.phone-mock{
  position:relative;
  width: 260px;
  height: 540px;
  margin:0 auto;
  background: linear-gradient(160deg, #10203f, #060f22);
  border-radius: 42px;
  padding:14px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.06) inset;
}
.phone-mock::before{
  content:"";
  position:absolute;
  top:14px; left:50%; transform:translateX(-50%);
  width:90px; height:18px;
  background:#060f22;
  border-radius:12px;
  z-index:3;
}
.phone-mock .phone-screen{
  width:100%; height:100%;
  border-radius:30px;
  overflow:hidden;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-950));
  position:relative;
  display:flex;
  flex-direction:column;
}
.phone-mock .phone-topbar{
  padding:30px 20px 10px;
  color: var(--silver-300);
  font-size:.62rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:8px;
}
.phone-mock .phone-topbar i{ font-size:.8rem; color:#fff; }
.phone-mock .phone-body{
  flex:1;
  background: var(--silver-050);
  margin:10px 10px 10px;
  border-radius:18px;
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.phone-mock .chat-bubble{
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-size:.72rem;
  line-height:1.5;
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(10,24,48,.08);
}
.phone-mock .chat-bubble.highlight{
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color:#fff;
}
.phone-mock .chat-bubble b{ color: var(--navy-700); }
.phone-mock .chat-bubble.highlight b{ color: var(--silver-200); }
.phone-mock .phone-progress{
  margin-top:auto;
  background:#fff;
  border-radius:12px;
  padding:12px 14px;
  font-size:.66rem;
  color: var(--muted);
}
.phone-mock .phone-progress .bar-track{
  width:100%; height:6px; border-radius:999px;
  background: var(--silver-200);
  margin-top:8px;
  overflow:hidden;
}
.phone-mock .phone-progress .bar-fill{
  width:72%; height:100%;
  border-radius:999px;
  background: linear-gradient(90deg, var(--navy-600), var(--star));
}

/* ---------- App showcase section ---------- */
.app-showcase{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:60px;
  align-items:center;
}
@media (max-width: 900px){ .app-showcase{ grid-template-columns:1fr; gap:40px; } }
.app-showcase .phone-wrap{ display:flex; justify-content:center; }
.app-store-badges{ display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; }
.store-badge{
  display:flex; align-items:center; gap:10px;
  background: var(--navy-950);
  color:#fff;
  border-radius:12px;
  padding:11px 20px;
  border:1px solid rgba(255,255,255,.14);
  transition: transform .3s ease, background .3s ease;
}
.store-badge:hover{ transform: translateY(-3px); background:#000; }
.store-badge i{ font-size:1.4rem; }
.store-badge .store-text{ display:flex; flex-direction:column; line-height:1.2; }
.store-badge .store-text small{ font-size:.58rem; letter-spacing:.06em; color: var(--silver-300); }
.store-badge .store-text span{ font-size:.92rem; font-weight:600; font-family: var(--ff-serif); }

.app-feature-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:24px;
  margin-top:50px;
}
@media (max-width: 860px){ .app-feature-grid{ grid-template-columns:1fr; } }
.app-feature-item{
  text-align:center;
  padding:30px 22px;
  border-radius: var(--radius-lg);
  background:#fff;
  border:1px solid var(--silver-200);
  box-shadow: var(--shadow-md);
}
.app-feature-item .icon{
  width:54px;height:54px;
  border-radius:50%;
  margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color:#fff;
  font-size:1.2rem;
}
.app-feature-item h4{ font-size:1.02rem; margin-bottom:8px; }
.app-feature-item p{ font-size:.86rem; color: var(--muted); margin-bottom:0; }

/* ---------- EduTech pillars (home, minimal text) ---------- */
.pillar-strip{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1px;
  background: var(--silver-200);
  border:1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  overflow:hidden;
}
@media (max-width: 860px){ .pillar-strip{ grid-template-columns: repeat(2, 1fr); } }
.pillar-item{
  background:#fff;
  padding:40px 24px;
  text-align:center;
  transition: background .3s ease;
}
.pillar-item:hover{ background: var(--silver-050); }
.pillar-item .icon{
  width:56px;height:56px;
  margin:0 auto 16px;
  border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color:#fff;
  font-size:1.3rem;
}
.pillar-item h4{ font-size:.98rem; margin-bottom:6px; }
.pillar-item p{ font-size:.8rem; color: var(--muted); margin-bottom:0; }

/* ---------- Minimal hero (reduced text) ---------- */
.hero-minimal .hero-content{ max-width:620px; }
.hero-minimal h1{ margin-bottom:18px; }
.hero-minimal p.lead{ margin-bottom:34px; font-size:.98rem; }
.hero-badge-row{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-bottom:38px;
}
.hero-badge-row span{
  font-size:.72rem; letter-spacing:.08em;
  padding:8px 16px; border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.2);
  color: var(--silver-200);
}

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.two-col-text{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
}
@media (max-width: 800px){ .two-col-text{ grid-template-columns:1fr; } }
