/* ==========================================================================
   St. A.R.B's School — Design System
   Style: Bright & Friendly (derived from school logo + building colours)
   Fonts: Poppins (headings) + Inter (body)
   ========================================================================== */

:root {
  /* Brand */
  --primary:        #1F3C88;   /* Deep school blue — logo ribbon + building */
  --primary-hover:  #162C66;
  --primary-light:  #EEF3FF;
  --secondary:      #F5B60D;   /* Logo ring yellow */
  --secondary-hover:#DDA108;
  --accent:         #E03C31;   /* Building red */
  --green:          #3FA34D;   /* Building green */

  /* Surfaces */
  --background:     #FAFBFD;
  --surface:        #FFFFFF;
  --surface-alt:    #F3F6FB;

  /* Text */
  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #8A93A2;
  --border:         #E5E9F0;

  /* System */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, .06), 0 1px 2px rgba(17, 24, 39, .04);
  --shadow:    0 6px 20px rgba(31, 60, 136, .08);
  --shadow-lg: 0 18px 46px rgba(31, 60, 136, .14);
  --container:  1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ═══ PROFESSIONAL RESET & FOUNDATION ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; font-size: inherit; line-height: inherit; }
::selection { background-color: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.015em;
}

a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-hover); }

/* ═══ LAYOUT ═══ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 74px 0; }
.section--alt { background: var(--surface-alt); }
.section--tight { padding: 54px 0; }

.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 7px 15px; border-radius: 100px;
  margin-bottom: 15px;
}

.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 14px; }
.section-head p { font-size: 1.03rem; color: var(--text-secondary); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .96rem;
  padding: 13px 26px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: all .22s var(--ease); text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(31,60,136,.24); }
.btn--primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(31,60,136,.3); }
.btn--accent { background: var(--secondary); color: #3A2A00; box-shadow: 0 4px 14px rgba(245,182,13,.3); }
.btn--accent:hover { background: var(--secondary-hover); color: #3A2A00; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); background: var(--primary-light); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

/* ═══ TOP BAR ═══ */
.topbar { background: var(--primary); color: #DCE5FA; font-size: .855rem; padding: 9px 0; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: center; }
.topbar a { color: #DCE5FA; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.topbar a:hover { color: var(--secondary); }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

/* ═══ HEADER / NAV ═══ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0; position: relative; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand__name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.14rem; color: var(--primary); line-height: 1.15; letter-spacing: -.02em; }
.brand__tag { font-size: .705rem; color: var(--text-muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .93rem;
  color: var(--text-secondary); padding: 9px 13px; border-radius: var(--radius-sm);
  transition: all .2s var(--ease); display: block;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--primary); background: var(--primary-light); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none; background: var(--primary-light); border: none;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  cursor: pointer; align-items: center; justify-content: center; color: var(--primary);
}
.nav__toggle svg { width: 24px; height: 24px; }

/* ═══ HERO ═══ */
.hero { position: relative; overflow: hidden; background: var(--primary); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(15,30,72,.95) 0%, rgba(31,60,136,.86) 46%, rgba(31,60,136,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0 84px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(245,182,13,.16); border: 1px solid rgba(245,182,13,.45);
  color: var(--secondary); font-family: 'Poppins', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.35rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 span { color: var(--secondary); }
.hero__motto { font-family: 'Poppins', sans-serif; font-size: 1.16rem; font-weight: 600; color: var(--secondary); margin-bottom: 14px; }
.hero p { color: #D5DEF4; font-size: 1.075rem; max-width: 610px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* ═══ HIGHLIGHT STRIP ═══ */
.strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; align-items: center; gap: 13px; padding: 26px 20px; border-right: 1px solid var(--border); }
.strip__item:last-child { border-right: none; }
.strip__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); }
.strip__icon svg { width: 22px; height: 22px; }
.strip__item h4 { font-size: .97rem; margin-bottom: 1px; }
.strip__item p { font-size: .83rem; color: var(--text-muted); }

/* ═══ SPLIT (image + text) ═══ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; position: relative; z-index: 1; }
.split__media::before {
  content: ''; position: absolute; inset: auto -16px -16px auto;
  width: 55%; height: 55%; border-radius: var(--radius-lg);
  background: var(--secondary); opacity: .22; z-index: 0;
}
.split h2 { font-size: clamp(1.65rem, 3.6vw, 2.3rem); margin-bottom: 16px; }
.split p + p { margin-top: 14px; }

.tick-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.tick-list svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--green); margin-top: 2px; }

/* ═══ CARDS ═══ */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFDBF5; }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); margin-bottom: 16px; }
.card__icon svg { width: 25px; height: 25px; }
.card__icon.is-yellow { background: #FEF6DF; color: #B58202; }
.card__icon.is-red    { background: #FDECEB; color: var(--accent); }
.card__icon.is-green  { background: #E9F6EB; color: #2E7D3A; }
.card h3 { font-size: 1.09rem; margin-bottom: 8px; }
.card p { font-size: .93rem; }

/* Stage cards (academics) */
.stage {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stage:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stage__top { padding: 20px 22px; color: #fff; }
.stage__top span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .88; }
.stage__top h3 { color: #fff; font-size: 1.16rem; margin-top: 3px; }
.stage__body { padding: 20px 22px 24px; }
.stage__body p { font-size: .92rem; }
.stage--1 .stage__top { background: var(--primary); }
.stage--2 .stage__top { background: var(--green); }
.stage--3 .stage__top { background: var(--accent); }
.stage--4 .stage__top { background: #B58202; }

/* ═══ GALLERY ═══ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #E9EDF5; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(10,20,50,.9), transparent);
  color: #fff; font-family: 'Poppins', sans-serif; font-size: .87rem; font-weight: 600;
}
.gallery .span-2 { grid-column: span 2; }
.gallery .row-2 { grid-row: span 2; }

/* ═══ VALUES BAND ═══ */
.values { background: linear-gradient(135deg, var(--primary) 0%, #142a63 100%); color: #fff; }
.values h2 { color: #fff; }
.values .section-head p { color: #C3CFEC; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values__item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px 22px; }
.values__item h3 { color: var(--secondary); font-size: 1.05rem; margin-bottom: 8px; }
.values__item p { color: #C3CFEC; font-size: .93rem; }
.values__sanskar { text-align: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.1rem, 3vw, 1.55rem); color: var(--secondary); margin-bottom: 10px; }

/* ═══ CTA BAND ═══ */
.cta-band { background: var(--secondary); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 44px 0; }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); color: #362700; margin-bottom: 6px; }
.cta-band p { color: #5C4602; font-weight: 500; }
.cta-band .btn--primary { background: #1B2340; }
.cta-band .btn--primary:hover { background: #0B1024; }

/* ═══ CONTACT CARDS ═══ */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card__icon { width: 52px; height: 52px; margin: 0 auto 15px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: .93rem; color: var(--text-secondary); word-break: break-word; }
.contact-card a:hover { color: var(--primary); }

/* ═══ FORM ═══ */
.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-panel--green { background: linear-gradient(160deg, #2E7D3A 0%, #256730 100%); border-color: rgba(255,255,255,.16); }
.form-panel--green h2, .form-panel--green .form-label { color: #fff; }
.form-panel--green .form-sub { color: #D6EBDA; }

.field { margin-bottom: 18px; }
.form-label { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .87rem; margin-bottom: 7px; color: var(--text-primary); }
.form-label .req { color: var(--accent); }
.form-panel--green .form-label .req { color: #FFD666; }

.input, .textarea, .select {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-primary);
  font-size: .97rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #A9B2C1; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31,60,136,.12); }
.form-panel--green .input, .form-panel--green .textarea, .form-panel--green .select { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.32); color: #fff; }
.form-panel--green .select option { color: #111827; }
.form-panel--green .input::placeholder, .form-panel--green .textarea::placeholder { color: #CFE6D4; }
.form-panel--green .input:focus, .form-panel--green .textarea:focus, .form-panel--green .select:focus { background: rgba(255,255,255,.2); border-color: #FFD666; box-shadow: 0 0 0 4px rgba(255,214,102,.22); }
.textarea { min-height: 118px; resize: vertical; }

/* Opt-in checkbox — required */
.optin {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 16px; border-radius: var(--radius-sm);
  background: var(--surface-alt); border: 1.5px solid var(--border);
  margin-bottom: 20px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.optin:hover { border-color: var(--primary); }
.form-panel--green .optin { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.form-panel--green .optin:hover { border-color: #FFD666; }
.optin input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px; flex-shrink: 0; margin-top: 1px;
  border: 2px solid #9AA5B6; border-radius: 5px; background: #fff;
  cursor: pointer; position: relative; transition: all .18s var(--ease);
}
.optin input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
.optin input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.form-panel--green .optin input[type="checkbox"]:checked { background: var(--secondary); border-color: var(--secondary); }
.form-panel--green .optin input[type="checkbox"]:checked::after { border-color: #2B3A00; }
.optin span { font-size: .89rem; line-height: 1.55; color: var(--text-secondary); }
.form-panel--green .optin span { color: #EAF6EC; }
.optin span .req { color: var(--accent); font-weight: 700; }
.form-panel--green .optin span .req { color: #FFD666; }

.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-panel--green .form-note { color: #C6E2CB; }
.form-panel--green .form-note a { color: #FFD666; text-decoration: underline; }

.form-status { display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #EAF7EC; color: #1E5C2A; border: 1px solid #BFE3C6; }

/* ═══ MAP ═══ */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--surface-alt); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-placeholder { display: grid; place-items: center; min-height: 300px; text-align: center; padding: 40px 24px; color: var(--text-muted); }
.map-placeholder svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--primary); opacity: .5; }

/* ═══ LEGAL / POLICY PAGES ═══ */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, #142a63 100%); color: #fff; padding: 62px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.85rem, 4.4vw, 2.7rem); margin-bottom: 12px; }
.page-hero p { color: #C3CFEC; max-width: 660px; }
.breadcrumb { font-size: .85rem; color: #A9BAE2; margin-bottom: 14px; }
.breadcrumb a { color: #A9BAE2; }
.breadcrumb a:hover { color: var(--secondary); }

.legal { max-width: 880px; margin: 0 auto; }
.legal__meta { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 34px; font-size: .92rem; }
.legal h2 { font-size: 1.28rem; margin: 38px 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--border); scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.03rem; margin: 22px 0 8px; color: var(--primary); }
.legal p { margin-bottom: 13px; font-size: .98rem; }
.legal ul, .legal ol { margin: 0 0 16px 24px; }
.legal li { margin-bottom: 8px; font-size: .98rem; }
.legal strong { color: var(--text-primary); font-weight: 600; }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 38px; }
.toc h4 { font-size: .95rem; margin-bottom: 12px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 6px; font-size: .93rem; }

.callout { background: #FEF6DF; border: 1px solid #F3DB9B; border-left: 4px solid var(--secondary); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; }
.callout p { margin-bottom: 0; font-size: .94rem; color: #5C4602; }

/* ═══ FOOTER ═══ */
.footer { background: #0E1B3D; color: #A9B6D4; padding: 58px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.footer__brand strong { font-family: 'Poppins', sans-serif; color: #fff; font-size: 1.1rem; display: block; line-height: 1.2; }
.footer__brand span { font-size: .72rem; color: var(--secondary); letter-spacing: .05em; text-transform: uppercase; }
.footer p { font-size: .91rem; color: #97A5C6; }
.footer h4 { color: #fff; font-size: .86rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 17px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer address a { color: #A9B6D4; font-size: .93rem; font-style: normal; }
.footer ul a:hover, .footer address a:hover { color: var(--secondary); }
.footer address { font-style: normal; display: grid; gap: 12px; font-size: .93rem; }
.footer address div { display: flex; gap: 10px; align-items: flex-start; }
.footer address svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--secondary); }
.footer__motto { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(245,182,13,.1); border: 1px solid rgba(245,182,13,.25); color: var(--secondary); font-family: 'Poppins', sans-serif; font-size: .88rem; font-weight: 600; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: .86rem; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a { color: #A9B6D4; }
.footer__bottom a:hover { color: var(--secondary); }

/* ═══ FLOATING WHATSAPP ═══ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,.42);
  transition: transform .22s var(--ease);
}
.wa-float:hover { transform: scale(1.09); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ═══ REVEAL ANIMATION ═══ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: none; }
  .strip__item:nth-child(1), .strip__item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .split { gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute; inset: calc(100% + 11px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 0 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1rem; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; }
  .gallery .span-2 { grid-column: span 2; }
  .gallery .row-2 { grid-row: span 1; }
  .section { padding: 56px 0; }
  .hero__inner { padding: 68px 0 62px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-right: none; border-bottom: 1px solid var(--border); }
  .strip__item:last-child { border-bottom: none; }
  .grid--4, .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-panel { padding: 24px 20px; }
  .brand__name { font-size: 1rem; }
  .brand img { width: 46px; height: 46px; }
  .hero__actions .btn { width: 100%; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .span-2 { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .map-wrap iframe { height: 300px; }
}

/* ═══ PRINT (policy pages) ═══ */
@media print {
  .header, .topbar, .footer, .wa-float, .breadcrumb, .toc { display: none; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { background: none; color: #000; padding: 0 0 20px; }
  .page-hero h1, .page-hero p { color: #000; }
}
