/* St. Tran Van Thien School - site styles
   Loaded after Bootstrap (kept for the events calendar include). */

:root {
  --navy: #14305c;
  --navy-deep: #0b1f3f;
  --navy-soft: #e9eef6;
  --gold: #c9a24a;
  --gold-text: #8a6417;
  --gold-soft: #f6eed9;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #1b2434;
  --muted: #5a6578;
  --line: #e7e1d5;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 63, .06), 0 4px 14px rgba(11, 31, 63, .05);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 63, .35);
  --header-h: 86px;
  --serif: "Source Serif 4", "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-deep);
  margin: 0;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: rgba(20, 48, 92, .35); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); text-decoration-color: currentColor; }

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

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem;
  font: 600 .98rem/1.2 var(--sans);
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 48, 92, .7); }
.button-primary:hover { background: var(--navy-deep); color: #fff; }
.button-ghost { background: transparent; color: var(--navy); border-color: rgba(20, 48, 92, .28); }
.button-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, #102a52 0%, var(--navy-deep) 100%);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -12px rgba(11, 31, 63, .65); }
.site-header .wrap { width: min(1400px, 100% - 2.5rem); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 62px; height: 62px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font: 600 1.4rem/1.15 var(--serif); color: #fff; white-space: nowrap; }
.brand-tag { font-size: .8rem; margin-top: .15rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.site-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; gap: .4rem; padding: .55rem .6rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600; letter-spacing: .01em; color: #dbe3f0; text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-nav a i { font-size: 1rem; line-height: 1; color: var(--gold); }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav a.active { color: #fff; background: rgba(201, 162, 74, .2); }

.button-login { padding: .6rem 1.1rem; font-size: .92rem; white-space: nowrap; background: var(--gold); color: var(--navy-deep); box-shadow: none; }
.button-login:hover { background: #dcb962; color: var(--navy-deep); }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* Tablets and small laptops: menu moves to its own row under the bar */
@media (min-width: 700px) and (max-width: 1419.98px) {
  :root { --header-h: 150px; }
  .header-inner { flex-wrap: wrap; row-gap: 0; min-height: 0; }
  .brand, .button-login { margin-block: .75rem; }
  .site-nav { order: 5; flex: 0 0 100%; border-top: 1px solid rgba(255, 255, 255, .14); padding: .3rem 0; }
  .site-nav ul { justify-content: space-between; gap: 0; }
  .site-nav a { flex-direction: column; gap: .2rem; padding: .4rem .5rem; font-size: .84rem; }
  .site-nav a i { font-size: 1.1rem; }
}

@media (max-width: 699.98px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin-top: 3px;
    background: var(--navy-deep); border-bottom: 3px solid var(--gold);
    box-shadow: 0 24px 40px -24px rgba(11, 31, 63, .7);
    display: none; padding: .5rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { gap: .8rem; padding: .95rem .5rem; font-size: 1.02rem; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .site-nav a i { font-size: 1.15rem; }
  .site-nav a.active { background: none; color: var(--gold); }
  .site-nav a:hover { background: rgba(255, 255, 255, .06); }
}
@media (max-width: 575.98px) {
  :root { --header-h: 66px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.02rem; }
  .brand-tag { display: none; }
  .button-login span { display: none; }
  .button-login { padding: .65rem .8rem; }
  .header-inner { gap: .6rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-cream { background: var(--cream); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--gold); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.hero .eyebrow { letter-spacing: .09em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem);
  background:
    radial-gradient(60rem 30rem at 95% -10%, rgba(201, 162, 74, .2), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.08; letter-spacing: -.02em; }
.hero h1 span { display: block; color: var(--navy); }
.hero-sub { margin: 1rem 0 0; font: 500 1.15rem/1.4 var(--serif); font-style: italic; color: var(--gold-text); }
.hero-lead { margin: 1.4rem 0 0; font-size: 1.12rem; color: #3d4759; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-motto {
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none;
  margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line);
  font: 600 1.05rem/1.3 var(--serif); color: var(--navy-deep);
}
.hero-motto li { display: flex; align-items: baseline; gap: .45rem; }
.hero-motto li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); align-self: center; margin-right: .65rem; }
.hero-motto small { font: 500 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: -1.1rem -1.1rem 1.6rem 1.6rem;
  border: 1.5px solid var(--gold); border-radius: calc(var(--radius) + 8px); opacity: .7;
}
.hero-media img {
  position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 45% center;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero-chip {
  position: absolute; left: -1.25rem; bottom: 1.75rem;
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.15rem; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.hero-chip i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); font-size: 1.25rem; }
.hero-chip strong { display: block; font: 600 1.02rem/1.25 var(--serif); color: var(--navy-deep); }
.hero-chip span { font-size: .85rem; color: var(--muted); }

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin: 1.5rem 1.1rem 0 0; }
  .hero-chip { left: .9rem; bottom: .9rem; }
}

/* ---------- Mission ---------- */
.mission {
  background:
    radial-gradient(50rem 26rem at 0% 0%, rgba(201, 162, 74, .16), transparent 60%),
    var(--navy-deep);
  color: #d5deec;
}
.mission-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mission h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 1.25rem; }
.mission .eyebrow { color: var(--gold); }
.goal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.goal-list li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.3rem; border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  font: 600 1.1rem/1.3 var(--serif); color: #fff;
}
.goal-list i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(201, 162, 74, .16); color: var(--gold); font-size: 1.25rem; }

@media (max-width: 991.98px) { .mission-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .goal-list { grid-template-columns: 1fr; } }

/* ---------- Panels (activities) ---------- */
.activity-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem; align-items: start; }
.activity-stack { display: grid; gap: 1.5rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 2.6vw, 2rem); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.panel-head h3 { font-size: 1.45rem; }
.panel-head h3 small { display: block; margin-top: .25rem; font: 500 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-size: .8rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.panel-note { color: var(--muted); margin-bottom: 1.1rem; }

.timetable { list-style: none; margin: 0; padding: 0; }
.timetable li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.timetable .class-name { display: flex; align-items: center; gap: .85rem; font: 600 1.12rem/1.3 var(--serif); color: var(--navy-deep); }
.timetable .class-name i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--navy-soft); color: var(--navy); font-size: 1.1rem; }
.timetable time, .timetable .class-time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy); white-space: nowrap; }

.doc-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.doc-link {
  display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--cream);
  text-decoration: none; color: var(--ink); font-weight: 500; line-height: 1.35;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.doc-link:hover { border-color: var(--gold); background: #fff; color: var(--navy-deep); transform: translateY(-1px); }
.doc-link .bi-file-earmark-pdf { font-size: 1.6rem; color: #b3261e; flex: none; }
.doc-link .doc-go { margin-left: auto; color: var(--muted); flex: none; }
.doc-link small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }

@media (max-width: 991.98px) { .activity-grid { grid-template-columns: 1fr; } }
@media (max-width: 479.98px) {
  .timetable li { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .timetable .class-time { padding-left: calc(40px + .85rem); }
}

/* Events calendar (markup comes from junos/pages/events.php) */
.calendar-panel .event-list .event-item { border-bottom-color: var(--line); }
.calendar-panel .event-list .event-row { padding: .8rem .35rem; gap: .9rem; color: inherit; cursor: pointer; }
.calendar-panel .event-list .event-row:hover { background: var(--cream); }
.calendar-panel .event-list .calendar-icon { width: 50px; flex: none; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.calendar-panel .event-list .calendar-month { background: var(--navy); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 0; }
.calendar-panel .event-list .calendar-day { font: 600 1.25rem/1.5 var(--serif); color: var(--navy-deep); }
.calendar-panel .event-list .event-title { font-family: var(--serif); font-size: 1.05rem; color: var(--navy-deep); }
.calendar-panel .event-list .event-when { color: var(--muted); }
.calendar-panel .event-list .badge.bg-primary { background-color: var(--gold-soft) !important; color: var(--gold-text); font-family: var(--sans); font-weight: 600; }
.calendar-panel .event-list .event-chevron { flex: none; width: .55rem; height: .55rem; margin-right: .4rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.calendar-panel .event-list .event-chevron::before { content: none; }
.calendar-panel .event-list .event-row[aria-expanded="true"] .event-chevron { transform: rotate(225deg); }
.calendar-panel .event-list .event-details { color: #3d4759; }
.calendar-empty { color: var(--muted); display: flex; align-items: center; gap: .6rem; }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.program-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(11, 31, 63, .4); }
.program-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-soft); }
.program-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.program-card:hover img { transform: scale(1.04); }
.program-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.program-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .5rem; }
.program-card h3 { font-size: 1.45rem; margin-bottom: .75rem; }
.program-card p { color: #3d4759; font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; font-weight: 600; text-decoration: none; }
.text-link i { transition: transform .2s; }
.text-link:hover i { transform: translate(2px, -2px); }

@media (max-width: 991.98px) { .program-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639.98px) { .program-grid { grid-template-columns: 1fr; } }

/* ---------- Rules ---------- */
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; list-style: none; margin: 0; padding: 0; counter-reset: rule; }
.rule-grid li { counter-increment: rule; border-top: 2px solid var(--navy-deep); padding: 1.4rem 0 2rem; }
.rule-grid li::before { content: "0" counter(rule); display: block; font: 600 .95rem/1 var(--serif); color: var(--gold-text); letter-spacing: .08em; margin-bottom: 1.1rem; }
.rule-grid h3 { display: flex; align-items: center; gap: .65rem; font-size: 1.35rem; margin-bottom: .7rem; }
.rule-grid h3 i { color: var(--navy); font-size: 1.2rem; }
.rule-grid p { color: #3d4759; font-size: .98rem; }

@media (max-width: 1099.98px) { .rule-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .rule-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.team-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 13 / 16; background: var(--navy-soft); box-shadow: var(--shadow-sm); }
.team-grid img { width: 100%; height: 100%; object-fit: cover; }
.team-grid h3 { font-size: 1.25rem; margin: 1.1rem 0 .3rem; }
.team-role { font-weight: 500; color: var(--navy); margin: 0; line-height: 1.4; }
.team-role-en { font-size: .88rem; color: var(--muted); margin: .1rem 0 0; }

@media (max-width: 991.98px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: stretch; }
.contact-info { background: var(--navy-deep); color: #d5deec; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(201, 162, 74, .16); color: var(--gold); font-size: 1.2rem; }
.contact-list span { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9fb0cb; margin-bottom: .15rem; }
.contact-list a, .contact-list address { color: #fff; font-style: normal; margin: 0; line-height: 1.5; text-decoration-color: rgba(255, 255, 255, .35); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-deep); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 48, 92, .12); }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.form-status { font-size: .95rem; font-weight: 500; margin: 0; }
.form-status.is-ok { color: #1c6b3c; }
.form-status.is-error { color: #b3261e; }

@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9b7cf; padding: 3.5rem 0 1.75rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong { font: 600 1.25rem/1.2 var(--serif); color: #fff; }
.site-footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d5deec; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; margin: 0; line-height: 1.7; }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; }

@media (max-width: 767.98px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .nav-toggle, .contact-form, .hero-actions { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
