/* =========================================================================
   Andrew Kim Korean School — styles (EDUTECH-inspired education theme)
   ========================================================================= */
:root {
  --blue: #1857b8;
  --blue-dark: #103f87;
  --blue-700: #1e64d0;
  --accent: #ff7a45;          /* warm coral accent */
  --accent-dark: #ef5f27;
  --teal: #18b8a6;
  --ink: #1b2430;
  --body: #4a5568;
  --muted: #7b8794;
  --line: #e6eaf0;
  --bg-soft: #f5f8fc;
  --bg-soft2: #eef3fb;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(20, 40, 80, .08);
  --shadow-lg: 0 18px 50px rgba(20, 40, 80, .14);
  --maxw: 1180px;
  --head-font: 'Poppins', 'Noto Sans KR', sans-serif;
  --body-font: 'Noto Sans KR', 'Poppins', sans-serif;
}
:lang(ko) { --head-font: 'Noto Sans KR', 'Poppins', sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--head-font); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: .2s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 880px; }
.center { text-align: center; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }
code { background: var(--bg-soft2); padding: 1px 6px; border-radius: 5px; font-size: .85em; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-family: var(--head-font); font-weight: 600; font-size: .95rem;
  padding: .8em 1.6em; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: .22s; line-height: 1; text-align: center;
}
.btn-sm { padding: .55em 1.15em; font-size: .85rem; }
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(239,95,39,.3); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: #fff; color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* ---- sections ---- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0 0 28px; }
.kicker { display: inline-block; color: var(--accent); font-family: var(--head-font); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.kicker.light { color: #ffd9c7; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 14px rgba(20,40,80,.06); }
.topbar { background: var(--blue-dark); color: #dce6f7; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info a { color: #dce6f7; }
.topbar-info a:hover { color: #fff; }
.topbar-actions .lang-toggle { color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.35); padding: 3px 12px; border-radius: 30px; }
.topbar-actions .lang-toggle:hover { background: rgba(255,255,255,.15); }

.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--head-font); font-size: 1.18rem; color: var(--ink); font-weight: 700; }
.brand-text small { color: var(--muted); font-size: .72rem; max-width: 230px; }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 12px 14px; font-family: var(--head-font); font-weight: 600; font-size: .96rem; color: var(--ink); border-radius: 8px; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--blue); }
.main-nav > ul > li.active > a { background: var(--bg-soft2); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .6; }

.has-sub { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 230px; border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; border: 1px solid var(--line);
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .9rem; color: var(--body); }
.submenu li a:hover { background: var(--bg-soft); color: var(--blue); }
.nav-cta { margin-left: 8px; }
.nav-lang { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s; }

/* =========================================================================
   Hero slider
   ========================================================================= */
.hero { position: relative; height: clamp(460px, 72vh, 660px); overflow: hidden; background: var(--blue-dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 6s ease; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,33,67,.82), rgba(16,33,67,.45) 60%, rgba(16,33,67,.25)); }
.hero-content { position: relative; color: #fff; max-width: 660px; }
.hero-content h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.3rem); margin-bottom: .4em; }
.hero-content p { font-size: clamp(1rem, 1.6vw, 1.25rem); color: #e7eefc; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: .2s; }
.hero-dots button.active { background: var(--accent); border-color: var(--accent); width: 30px; border-radius: 8px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 1.8rem; cursor: pointer; transition: .2s; backdrop-filter: blur(3px); }
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 22px; } .hero-arrow.next { right: 22px; }

/* =========================================================================
   Feature cards
   ========================================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px; box-shadow: var(--shadow); transition: .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon { font-size: 2.6rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.25rem; }
.features.section { margin-top: -70px; position: relative; z-index: 5; padding-bottom: 0; }
.features .feature-card { background: #fff; }

/* ---- welcome ---- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.welcome-media { position: relative; }
.welcome-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.welcome-badge { position: absolute; right: -14px; bottom: -22px; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 18px 26px; text-align: center; box-shadow: var(--shadow-lg); }
.welcome-badge strong { display: block; font-family: var(--head-font); font-size: 2rem; }
.welcome-badge span { font-size: .82rem; }
.welcome-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---- stats ---- */
.stats { background: linear-gradient(120deg, var(--blue), var(--blue-700)); color: #fff; padding: 64px 0; text-align: center; }
.stats .kicker.light { display: block; margin-bottom: 26px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: var(--head-font); font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat span { color: #d6e2f8; font-size: .95rem; }

/* ---- course / class cards ---- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: block; color: inherit; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-thumb { height: 150px; background-size: cover; background-position: center; position: relative; }
.course-age { position: absolute; left: 12px; bottom: 12px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 11px; border-radius: 30px; }
.course-body { padding: 20px 22px; }
.course-body h3 { font-size: 1.2rem; margin-bottom: .4em; color: var(--ink); }
.course-body p { font-size: .9rem; color: var(--body); margin-bottom: .8rem; }
.course-link { color: var(--accent); font-weight: 600; font-size: .85rem; }
.course-card.static { cursor: default; }

/* ---- two-col (notices + gallery) ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.notice-list { list-style: none; margin: 0 0 20px; padding: 0; }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a { display: flex; gap: 16px; padding: 14px 0; color: var(--ink); align-items: baseline; }
.notice-list a:hover .notice-title { color: var(--blue); }
.notice-date { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.notice-title { font-weight: 500; }
.pin { font-style: normal; margin-right: 5px; }
.gallery-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-mini-item { display: block; aspect-ratio: 1/1; border-radius: 10px; background-size: cover; background-position: center; transition: .25s; }
.gallery-mini-item:hover { transform: scale(1.04); filter: brightness(1.05); }

/* ---- CTA banner ---- */
.cta-banner { background: linear-gradient(120deg, var(--accent), #ff9d6e); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .2em; }
.cta-inner p { color: #fff; opacity: .95; margin: 0; }

/* =========================================================================
   Page hero (inner pages)
   ========================================================================= */
.page-hero { position: relative; background: var(--blue-dark) url('/img/hero/hero-2.svg') center/cover; color: #fff; padding: 70px 0; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,33,67,.85), rgba(16,33,67,.55)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-bottom: .3em; }
.page-hero p { color: #dce6f7; max-width: 720px; margin: 0; }
.breadcrumb { margin-top: 14px; font-size: .85rem; color: #cdd9ef; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---- prose / greeting / mission ---- */
.prose-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.prose-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.prose h2 { font-size: 1.9rem; }
.greeting-card { position: relative; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 44px 46px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.greeting-mark { position: absolute; top: 10px; right: 30px; font-size: 6rem; color: var(--bg-soft2); font-family: Georgia, serif; line-height: 1; }
.greeting-sign { margin-top: 18px; font-weight: 700; color: var(--ink); font-family: var(--head-font); }
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.mission-item { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 22px 24px; }
.mission-num { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--head-font); font-weight: 700; }
.mission-item p { margin: 0; }

/* ---- timeline ---- */
.timeline { position: relative; margin: 0; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 30px 26px; }
.timeline-item::before { content: ''; position: absolute; left: -8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline-year { font-family: var(--head-font); font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.timeline-body p { margin: 0; }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo { height: 230px; background-size: cover; background-position: center; }
.team-body { padding: 22px; text-align: center; }
.team-role { color: var(--accent); font-weight: 600; font-size: .85rem; }
.team-body p { font-size: .9rem; margin-top: .6rem; }

/* ---- check list ---- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--teal); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }

/* ---- forms ---- */
.form { margin-top: 18px; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-section { font-size: 1.1rem; color: var(--blue); border-bottom: 2px solid var(--bg-soft2); padding-bottom: 8px; margin: 26px 0 18px; }
.form-section:first-of-type { margin-top: 0; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.field label em, .checkbox em { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,87,184,.12); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; margin: 8px 0 22px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }

/* ---- alerts ---- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .92rem; }
.alert-info { background: var(--bg-soft2); color: var(--blue-dark); border: 1px solid #d4e1f5; }
.alert-success { background: #e8f8f0; color: #1f7a4d; border: 1px solid #bcecd2; }
.alert-error { background: #fdecec; color: #c0392b; border: 1px solid #f6c7c2; }
.alert.big { font-size: 1.05rem; padding: 22px; text-align: center; }
.alert-info .btn { margin-left: 8px; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-ic { font-size: 1.3rem; }
.contact-map, .footer-map { width: 100%; border: 0; border-radius: var(--radius-sm); min-height: 220px; }
.contact-map { min-height: 260px; }

/* ---- notices board ---- */
.notice-board { list-style: none; padding: 0; margin: 0; }
.notice-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 16px; background: #fff; transition: .2s; }
.notice-row:hover { box-shadow: var(--shadow); }
.notice-row.pinned { border-color: #ffd6c4; background: #fff8f4; }
.notice-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.notice-row-head h3 { font-size: 1.15rem; margin: 0; }
.notice-row p { margin: 10px 0 0; color: var(--body); }

/* ---- gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: .25s; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.gallery-item figcaption { padding: 14px 16px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.gallery-item { cursor: pointer; }
.gallery-item .gallery-img { position: relative; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; background: rgba(255,0,0,.85); color: #fff; border-radius: 50%; font-size: 1.4rem; transition: .2s; }
.gallery-item.video:hover .play-btn { transform: scale(1.1); background: #ff0000; }
.gallery-mini-item { position: relative; }
.mini-play { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(255,0,0,.85); color: #fff; border-radius: 50%; font-size: .7rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,16,28,.92); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lb-content { max-width: 1000px; width: 100%; display: flex; justify-content: center; }
.lb-img { max-width: 100%; max-height: 86vh; border-radius: 8px; }
.lb-video { width: 100%; max-width: 960px; aspect-ratio: 16/9; }
.lb-video iframe { width: 100%; height: 100%; border-radius: 8px; }
.lb-frame { width: 94vw; max-width: 1300px; height: 88vh; }
.lb-frame iframe { width: 100%; height: 100%; border-radius: 8px; background: #fff; }
.lightbox .lb-content { max-width: none; }

/* newsletter actions / flipbook cover */
.news-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.news-cover.clickable { cursor: pointer; }
.news-open { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; background: rgba(24,87,184,.85); color: #fff; border-radius: 50%; font-size: 1.5rem; opacity: 0; transition: .2s; }
.news-cover.clickable:hover .news-open { opacity: 1; }
.lb-close { position: absolute; top: 20px; right: 26px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lb-close:hover { background: rgba(255,255,255,.3); }

/* ---- newsletter ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-cover { aspect-ratio: 3/4; background-size: cover; background-position: center; position: relative; }
.news-year { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; padding: 4px 12px; border-radius: 30px; font-size: .8rem; font-weight: 600; }
.news-body { padding: 20px 22px; }

/* ---- empty / calendar ---- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-ic { font-size: 3.4rem; margin-bottom: 12px; }
.calendar-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.calendar-sub { text-align: center; margin-top: 20px; }

.doc-info { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 26px; }
.doc-info h3 { font-size: 1.1rem; }

.error-page { padding: 110px 0; }
.error-code { font-size: 6rem; color: var(--blue); font-family: var(--head-font); margin: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: #11203b; color: #b9c6db; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 40px; padding: 64px 22px 44px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand strong { color: #fff; font-family: var(--head-font); font-size: 1.1rem; }
.footer-logo { width: 40px; height: 40px; }
.footer-about p { font-size: .9rem; line-height: 1.8; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col ul a { color: #b9c6db; font-size: .92rem; }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact li { font-size: .9rem; margin-bottom: 8px; }
.footer-contact span { display: inline-block; min-width: 64px; color: #7e90ad; }
.footer-contact a { color: #b9c6db; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; color: #8294b1; }

/* ---- to-top ---- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0; visibility: hidden; transition: .25s; z-index: 90; box-shadow: var(--shadow-lg); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .feature-grid, .cards-grid, .team-grid, .gallery-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .welcome-grid, .prose-grid, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .prose-media { order: -1; }
  .features.section { margin-top: 0; padding-top: 84px; }
  .brand-text small { display: none; }
}
@media (max-width: 860px) {
  .topbar-info span:nth-child(2) { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 84%; max-width: 340px; height: 100vh; background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.15); padding: 80px 18px 30px; overflow-y: auto; transition: right .3s; z-index: 200; }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a { padding: 14px 12px; border-radius: 8px; justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .25s; }
  .has-sub.open .submenu { max-height: 400px; }
  .has-sub:hover .submenu { opacity: 1; }
  .nav-cta { margin: 12px 0 0; } .nav-cta a { width: 100%; }
  .nav-lang { display: block; margin-top: 8px; }
  .nav-lang .lang-toggle { display: block; text-align: center; border: 1px solid var(--line); padding: 12px; border-radius: 8px; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .feature-grid, .cards-grid, .team-grid, .gallery-grid, .news-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar-info { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-arrow { display: none; }
}
