:root {
  --blue: #344e8c;
  --blue-700: #263f7b;
  --blue-900: #17284d;
  --red: #cf252e;
  --red-700: #a91922;
  --white: #ffffff;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef2f9;
  --text: #17213b;
  --muted: #667085;
  --line: #dfe5ef;
  --success: #147a4b;
  --warning: #9a6700;
  --shadow: 0 18px 48px rgba(23, 40, 77, 0.10);
  --shadow-sm: 0 8px 24px rgba(23, 40, 77, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(207, 37, 46, .28); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--blue-900); color: white; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: currentColor; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.12; color: var(--blue-900); }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.04em; }
h3 { font-size: 1.28rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker { font-weight: 800; color: var(--blue); }

.topbar { background: var(--blue-900); color: rgba(255,255,255,.92); font-size: .88rem; }
.topbar-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #72d6a3; display: inline-block; margin-right: 7px; box-shadow: 0 0 0 4px rgba(114,214,163,.15); }
.status-dot.closed { background: #ff9b9f; box-shadow: 0 0 0 4px rgba(255,155,159,.15); }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(223,229,239,.8);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; border: 2px solid #e7ebf3; }
.brand-copy strong { display: block; color: var(--blue-900); font-size: 1.03rem; }
.brand-copy span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 12px; border-radius: 10px; color: #475467; font-weight: 700; font-size: .93rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--surface-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--blue-900); margin: 4px auto; border-radius: 99px; }

.btn {
  min-height: 46px; padding: 0 18px; border-radius: 13px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: white; box-shadow: 0 10px 24px rgba(207,37,46,.22); }
.btn-primary:hover { background: var(--red-700); }
.btn-secondary { background: var(--blue); color: white; box-shadow: 0 10px 24px rgba(52,78,140,.18); }
.btn-secondary:hover { background: var(--blue-700); }
.btn-light { background: white; border-color: var(--line); color: var(--blue-900); }
.btn-ghost { background: transparent; color: var(--blue); border-color: rgba(52,78,140,.22); }
.btn-sm { min-height: 40px; padding-inline: 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.icon { width: 18px; height: 18px; display: inline-block; }

.hero { position: relative; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #f5f7fb 52%, #eef2fa 100%); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -180px; border-radius: 50%; background: rgba(52,78,140,.07); }
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: 11%; bottom: -230px; border-radius: 50%; background: rgba(207,37,46,.06); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 54px; padding: 84px 0 72px; min-height: 690px; }
.hero-copy h1 span { color: var(--red); }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-notes { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #475467; font-size: .92rem; }
.hero-note { display: flex; gap: 9px; align-items: center; }
.hero-note b { color: var(--blue); }
.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-card {
  width: min(100%, 430px); background: white; padding: 30px; border-radius: 34px;
  border: 1px solid rgba(223,229,239,.9); box-shadow: var(--shadow); position: relative;
}
.hero-logo-wrap { border-radius: 28px; overflow: hidden; background: #fff; padding: 14px; border: 1px solid var(--line); }
.hero-logo-wrap img { border-radius: 22px; }
.quick-status { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-status-item { background: var(--surface-soft); border-radius: 15px; padding: 14px; }
.quick-status-item small { color: var(--muted); display: block; margin-bottom: 4px; }
.quick-status-item strong { font-size: .96rem; color: var(--blue-900); }
.floating-badge {
  position: absolute; left: -28px; top: 50px; background: var(--blue); color: white; padding: 13px 16px;
  border-radius: 16px; box-shadow: var(--shadow-sm); font-weight: 800; font-size: .9rem;
}
.floating-badge.red { left: auto; right: -34px; top: auto; bottom: 54px; background: var(--red); }

.trust-strip { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1.1rem; color: var(--blue-900); }
.trust-item span { color: var(--muted); font-size: .88rem; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 26px; }
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.discovery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.video-card { min-height: 430px; position: relative; overflow: hidden; background: linear-gradient(145deg, var(--blue-900), var(--blue)); color: white; }
.video-pattern { position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 20% 20%, white 0 3px, transparent 4px), radial-gradient(circle at 80% 60%, white 0 2px, transparent 3px); background-size: 68px 68px, 48px 48px; }
.video-card-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; background: linear-gradient(to top, rgba(17,29,57,.92), transparent 70%); }
.play-button { width: 74px; height: 74px; border-radius: 50%; background: white; color: var(--red); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 14px 30px rgba(0,0,0,.18); font-weight: 900; font-size: 1.5rem; }
.video-card h3 { color: white; font-size: 1.7rem; }
.director-card { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; background: white; }
.quote-mark { font-size: 4.5rem; line-height: .8; color: rgba(207,37,46,.2); font-family: Georgia, serif; }
.director-sign { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; display: flex; align-items: center; gap: 13px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-soft); color: var(--blue); font-weight: 900; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.gallery-item { min-height: 190px; border-radius: 20px; overflow: hidden; position: relative; background: linear-gradient(145deg, #dfe7f7, #f6f8fc); border: 1px solid var(--line); }
.gallery-illustration { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); }
.gallery-illustration svg { width: 64%; height: 64%; }
.gallery-label { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); color: var(--blue-900); padding: 8px 11px; border-radius: 10px; font-size: .84rem; font-weight: 800; }

.service-card { padding: 26px; position: relative; overflow: hidden; }
.service-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(52,78,140,.09); color: var(--blue); margin-bottom: 18px; font-size: 1.4rem; }
.service-card p { color: var(--muted); }
.service-card .more { color: var(--red); font-weight: 800; font-size: .9rem; }
.service-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -40px; bottom: -45px; border-radius: 50%; background: rgba(52,78,140,.05); }
.demo-badge { display: inline-flex; align-items: center; background: #fff7e5; color: #8a5a00; border: 1px solid #f3dfac; padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }

.schedule-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.availability-card { padding: 32px; background: linear-gradient(145deg, var(--blue-900), var(--blue)); color: white; }
.availability-card h2, .availability-card h3 { color: white; }
.availability-list { list-style: none; padding: 0; margin: 24px 0 0; }
.availability-list li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.availability-list li:last-child { border-bottom: 0; }
.hours-card { padding: 32px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 800; color: var(--blue-900); }
.open-banner { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #eaf8f1; color: var(--success); font-weight: 800; }
.open-banner.closed { background: #fff0f1; color: var(--red); }

.carousel-shell { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.carousel-slide { flex: 0 0 33.333%; padding: 0 10px; }
.advice-card { height: 100%; overflow: hidden; }
.advice-cover { min-height: 170px; padding: 22px; display: flex; align-items: flex-end; background: linear-gradient(135deg, rgba(52,78,140,.92), rgba(23,40,77,.96)); color: white; position: relative; }
.advice-cover.red { background: linear-gradient(135deg, rgba(207,37,46,.92), rgba(139,17,25,.96)); }
.advice-cover.soft { background: linear-gradient(135deg, #7290cf, #344e8c); }
.advice-cover::before { content: "+"; position: absolute; right: 20px; top: 4px; color: rgba(255,255,255,.14); font-weight: 900; font-size: 7rem; line-height: 1; }
.advice-cover h3 { color: white; position: relative; z-index: 1; }
.advice-body { padding: 22px; }
.advice-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; color: var(--muted); font-size: .8rem; }
.tag { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--blue); font-weight: 800; font-size: .75rem; }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: white; color: var(--blue); font-size: 1.15rem; }
.carousel-btn:hover { background: var(--surface-soft); }
.carousel-dots { display: flex; align-items: center; gap: 7px; margin-inline: 8px; }
.carousel-dot { width: 9px; height: 9px; border: 0; padding: 0; border-radius: 50%; background: #c8d0df; }
.carousel-dot.active { width: 28px; border-radius: 99px; background: var(--red); }

.contact-section { background: var(--blue-900); color: white; position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(255,255,255,.035); right: -150px; top: -190px; }
.contact-section h2, .contact-section h3 { color: white; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.contact-list { display: grid; gap: 13px; margin-top: 24px; }
.contact-item { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.04); }
.contact-item .circle { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.contact-form-card { background: white; color: var(--text); padding: 30px; border-radius: 26px; box-shadow: 0 22px 60px rgba(0,0,0,.17); }
.contact-form-card h3 { color: var(--blue-900); }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: #344054; font-size: .9rem; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #cfd7e5; background: white; color: var(--text); min-height: 48px;
  border-radius: 12px; padding: 11px 13px; transition: border .2s, box-shadow .2s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52,78,140,.1); outline: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--blue); }
.form-note { padding: 12px 14px; border-radius: 12px; background: #fff7e5; color: #7a5204; font-size: .85rem; border: 1px solid #f2dfb0; }
.form-success { display: none; margin-top: 16px; padding: 15px; border-radius: 13px; background: #eaf8f1; color: var(--success); font-weight: 700; }
.form-success.show { display: block; }
.file-preview { display: none; padding: 13px; border-radius: 12px; background: var(--surface-soft); color: var(--blue-900); font-size: .88rem; }
.file-preview.show { display: block; }

.map-card { min-height: 340px; overflow: hidden; position: relative; background: #e9edf5; }
.map-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(#cbd4e5 1px, transparent 1px), linear-gradient(90deg,#cbd4e5 1px,transparent 1px); background-size: 42px 42px; transform: rotate(-8deg) scale(1.2); }
.map-road { position: absolute; left: -10%; top: 46%; width: 120%; height: 58px; background: white; transform: rotate(-12deg); box-shadow: 0 0 0 2px #d8deea; }
.map-pin { position: absolute; left: 54%; top: 42%; transform: translate(-50%,-50%); width: 70px; height: 70px; border-radius: 50% 50% 50% 8px; rotate: -45deg; background: var(--red); box-shadow: 0 14px 24px rgba(207,37,46,.28); }
.map-pin::after { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: white; }
.map-label { position: absolute; left: 50%; top: 64%; transform: translateX(-50%); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 12px 16px; border-radius: 13px; text-align: center; min-width: 230px; }

.page-hero { padding: 74px 0 54px; background: linear-gradient(145deg, white, #eef2fa); border-bottom: 1px solid var(--line); }
.page-hero .inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.breadcrumbs a { color: var(--blue); font-weight: 800; }
.page-hero h1 { font-size: clamp(2.5rem,5vw,4.3rem); }
.page-hero-badge { width: 150px; aspect-ratio: 1; border-radius: 50%; background: white; border: 1px solid var(--line); padding: 12px; box-shadow: var(--shadow-sm); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.filter-btn { border: 1px solid var(--line); background: white; color: var(--muted); padding: 9px 13px; border-radius: 999px; font-weight: 800; }
.filter-btn.active { background: var(--blue); color: white; border-color: var(--blue); }
.search-input { margin-left: auto; min-width: 260px; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.article-card[hidden] { display: none; }
.article-card .advice-cover { min-height: 150px; }
.article-actions { display: flex; gap: 8px; margin-top: 18px; }

.modal { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; background: rgba(11,20,41,.72); padding: 20px; }
.modal.open { display: grid; }
.modal-dialog { width: min(720px,100%); max-height: 88vh; overflow: auto; background: white; border-radius: 24px; box-shadow: 0 26px 80px rgba(0,0,0,.35); }
.modal-head { padding: 24px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; position: sticky; top: 0; background: white; z-index: 1; }
.modal-body { padding: 26px; }
.modal-close { width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 11px; }

.appointment-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 28px; align-items: start; }
.form-card { padding: 30px; }
.side-stack { display: grid; gap: 20px; }
.info-panel { padding: 24px; }
.info-panel.blue { background: var(--blue); color: white; border: 0; }
.info-panel.blue h3 { color: white; }
.numbered-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.numbered-list li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; }
.numbered-list li::before { content: counter(step); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-weight: 900; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab-btn { border: 0; background: transparent; padding: 12px 13px; color: var(--muted); font-weight: 800; border-bottom: 3px solid transparent; }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.reference-box { display: none; padding: 22px; border-radius: 16px; background: #eaf8f1; color: var(--success); margin-top: 18px; }
.reference-box.show { display: block; }
.reference-code { font-size: 1.4rem; letter-spacing: .08em; color: var(--blue-900); }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; background: #f2f5fa; }
.admin-sidebar { background: var(--blue-900); color: white; padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand img { width: 48px; height: 48px; border-radius: 50%; }
.admin-nav { display: grid; gap: 6px; margin-top: 22px; }
.admin-nav button { text-align: left; border: 0; background: transparent; color: rgba(255,255,255,.72); border-radius: 11px; padding: 12px 13px; font-weight: 800; }
.admin-nav button:hover, .admin-nav button.active { background: rgba(255,255,255,.1); color: white; }
.admin-main { padding: 30px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.admin-top h1 { font-size: 2rem; letter-spacing: -.03em; }
.admin-note { background: #fff7e5; border: 1px solid #f1dda5; color: #7b5607; padding: 13px 15px; border-radius: 13px; margin-bottom: 22px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.stat-card small { color: var(--muted); }
.stat-card strong { display: block; font-size: 1.9rem; color: var(--blue-900); margin-top: 5px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 20px; }
.admin-actions { display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 16px; background: rgba(242,245,250,.9); backdrop-filter: blur(8px); padding: 14px; border-radius: 18px; border: 1px solid rgba(223,229,239,.9); }
.color-field { display: flex; align-items: center; gap: 12px; }
.color-field input[type="color"] { width: 50px; min-height: 44px; padding: 3px; }
.hour-row { display: grid; grid-template-columns: 120px 1fr 1fr 100px; gap: 12px; align-items: end; margin-bottom: 12px; }

.footer { background: #111e3c; color: rgba(255,255,255,.72); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 40px; }
.footer h3 { color: white; font-size: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 5000; background: var(--blue-900); color: white; padding: 14px 17px; border-radius: 13px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .3s ease; max-width: 360px; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1060px) {
  .nav-links { position: fixed; inset: 117px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .menu-toggle { display: inline-block; }
  .nav-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .carousel-slide { flex-basis: 50%; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 800px) {
  .topbar-group:last-child { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 62px 0; }
  .hero-visual { min-height: auto; }
  .floating-badge { left: 8px; }
  .floating-badge.red { right: 8px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .discovery-grid, .schedule-layout, .contact-grid, .appointment-layout { grid-template-columns: 1fr; }
  .gallery-grid, .grid-3, .article-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero .inner { grid-template-columns: 1fr; }
  .page-hero-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-nav { display: flex; overflow-x: auto; padding-bottom: 6px; }
  .admin-nav button { white-space: nowrap; }
  .hour-row { grid-template-columns: 1fr 1fr; }
  .hour-row > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .section { padding: 64px 0; }
  .topbar-inner { justify-content: center; }
  .topbar-group { justify-content: center; }
  .brand-copy span { display: none; }
  .brand { min-width: 0; }
  .brand img { width: 46px; height: 46px; }
  .nav { min-height: 70px; }
  .nav-links { inset: 108px 11px auto; }
  .hero-inner { padding-top: 48px; }
  .hero-card { padding: 18px; border-radius: 24px; }
  .floating-badge { position: static; display: inline-block; margin: 10px 4px 0 0; }
  .hero-visual { display: block; }
  .quick-status { grid-template-columns: 1fr; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .gallery-grid, .article-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .carousel-slide { flex-basis: 100%; padding-inline: 5px; }
  .contact-form-card, .form-card, .availability-card, .hours-card { padding: 22px; }
  .search-input { margin-left: 0; min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 18px 12px 80px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .admin-actions { justify-content: stretch; }
  .admin-actions .btn { flex: 1; }
  .hour-row { grid-template-columns: 1fr; }
  .hour-row > :first-child { grid-column: auto; }
}

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