/* =========================================================
   Dev Nautics ERP — theme stylesheet
   Design tokens mirror the original React/Tailwind site so
   the visual identity carries over 1:1.
   ========================================================= */

:root {
  --background: 210 40% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --primary: 216 100% 43%;
  --primary-foreground: 0 0% 100%;
  --secondary: 214 40% 96%;
  --muted: 214 32% 94%;
  --muted-foreground: 215 18% 42%;
  --accent: 199 92% 60%;
  --success: 160 84% 39%;
  --destructive: 0 72% 51%;
  --border: 214 25% 88%;
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.rail { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.rail-wide { max-width: 90rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .rail, .rail-wide { padding: 0 2rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid hsl(var(--primary) / .2);
  background: hsl(var(--primary) / .06);
  color: hsl(var(--primary));
  border-radius: 999px; padding: .3rem .8rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
}
.pill {
  display: inline-flex; border-radius: 999px; padding: .35rem .8rem;
  background: rgba(255,255,255,.16); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
}

.muted { color: hsl(var(--muted-foreground)); }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; line-height: 1.65; color: hsl(var(--muted-foreground)); max-width: 42rem; }
.mt-sm { margin-top: .5rem; } .mt-md { margin-top: 1rem; } .mt-lg { margin-top: 1.75rem; }
.mt-xl { margin-top: 2.5rem; } .mt-xxl { margin-top: 3.5rem; }

.glass-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 30px -12px rgba(0,87,217,.25);
  backdrop-filter: blur(16px);
}

.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    linear-gradient(hsl(var(--border) / .7) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / .7) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; border-radius: .9rem; padding: 0 1.5rem;
  font-size: .9rem; font-weight: 600; border: none; transition: all .2s ease;
}
.btn--primary { background: hsl(var(--primary)); color: #fff; box-shadow: 0 10px 25px -8px hsl(var(--primary) / .5); }
.btn--primary:hover { background: hsl(var(--primary) / .9); transform: translateY(-1px); }
.btn--ghost { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); }
.btn--ghost:hover { border-color: hsl(var(--primary) / .4); color: hsl(var(--primary)); }
.btn--light { background: #fff; color: hsl(var(--primary)); }
.btn--light:hover { opacity: .9; }
.btn--outline-light { border: 1px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--success { background: hsl(var(--success)); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1rem; height: 1rem; }

/* Icons */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon--xs { width: .85rem; height: .85rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.6rem; height: 1.6rem; }
.icon--success { color: hsl(var(--success)); }
.icon--primary { color: hsl(var(--primary)); }
.icon--muted { color: hsl(var(--primary) / .3); }
.icon--star { color: hsl(var(--accent)); fill: hsl(var(--accent)); }
.icon--chevron { transition: transform .2s ease; margin-left: auto; }

/* ---------- Header ---------- */
.site-header-wrap { position: sticky; top: 0; z-index: 50; }
.topbar { display: none; background: hsl(var(--primary)); color: #fff; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 2.25rem; font-size: .75rem; }
.topbar__inner span:first-child { display: flex; align-items: center; gap: .5rem; }
.topbar__contact { display: flex; gap: 1.25rem; }
.topbar a:hover { text-decoration: underline; }

.site-header { background: hsl(var(--background) / .85); backdrop-filter: blur(16px); border-bottom: 1px solid hsl(var(--border)); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }

.logo { display: flex; align-items: center; gap: .65rem; }
.logo__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .8rem; background: hsl(var(--primary)); color: #fff; box-shadow: 0 8px 20px -6px hsl(var(--primary) / .5); }
.logo__mark .icon { width: 1.2rem; height: 1.2rem; }
.logo__text { line-height: 1.2; }
.logo__name { display: block; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .95rem; }
.logo__sub { display: block; font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: hsl(var(--muted-foreground)); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; flex-wrap: wrap; }
.nav__list a { display: inline-block; padding: .5rem .7rem; border-radius: .6rem; font-size: .875rem; font-weight: 500; color: hsl(var(--foreground) / .75); }
.nav__list a:hover, .nav__list .current-menu-item > a { color: hsl(var(--primary)); }

.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.hide-mobile { display: none; }
.menu-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .8rem; border: 1px solid hsl(var(--border)); background: transparent; color: hsl(var(--foreground) / .7); }

.mobile-nav { position: fixed; inset: 0; z-index: 60; background: hsl(var(--background)); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.mobile-nav__list { display: flex; flex-direction: column; gap: .25rem; padding-top: 1rem; padding-bottom: 3rem; }
.mobile-nav__list a { padding: .85rem 1rem; border-radius: .8rem; font-weight: 500; font-size: 1rem; }
.mobile-nav__list a:hover { background: hsl(var(--secondary)); }
.mobile-nav__call { display: inline-flex; margin-top: .75rem; }

@media (min-width: 1024px) { .topbar { display: block; } .hide-mobile { display: inline-flex; } }
@media (min-width: 1280px) { .nav { display: flex; } .menu-toggle { display: none; } .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 5rem; }
.hero__glow { position: absolute; top: -10rem; right: -10rem; width: 32rem; height: 32rem; border-radius: 50%; background: hsl(var(--accent) / .18); filter: blur(80px); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.hero__title { font-size: 2.5rem; font-weight: 800; line-height: 1.05; margin-top: 1.5rem; }
.hero__title .highlight { color: hsl(var(--primary)); }
.hero .lead { margin-top: 1.75rem; font-size: 1.125rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__cta--center { justify-content: center; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 1.5rem .5rem; margin-top: 2rem; font-size: .9rem; color: hsl(var(--muted-foreground)); }
.hero__checks li { display: flex; align-items: center; gap: .5rem; }

.hero__media { position: relative; }
.hero__image-card { padding: .5rem; overflow: hidden; }
.hero__image-card img { border-radius: .8rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.hero__float { position: absolute; display: none; border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: 0 15px 35px -10px rgba(0,0,0,.15); padding: .9rem 1.1rem; }
.hero__float--1 { bottom: -1.5rem; left: -1rem; width: 14rem; }
.hero__float--2 { top: 2rem; right: -.75rem; }
.hero__float-num { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800; color: hsl(var(--primary)); margin: .1rem 0; }
.hero__float-success { font-size: .8rem; font-weight: 600; color: hsl(var(--success)); margin: 0; }
@media (min-width: 640px) { .hero__float--1 { display: block; } }
@media (min-width: 768px) { .hero__float--2 { display: block; } }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 1fr; } .hero__title { font-size: 3.75rem; } }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--card) / .6); padding: 3rem 0; }
.stats__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; text-align: left; }
.stats__grid--inline { border: none; padding: 0; }
.stat__value, .stats__grid--inline .stat__value { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.25rem; color: hsl(var(--primary)); margin: 0; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4,1fr); } }

/* ---------- Marquee ---------- */
.marquee-wrap { border-bottom: 1px solid hsl(var(--border)); padding: 1.5rem 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: hsl(var(--muted-foreground)); margin: 0 0 1.25rem; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 32s linear infinite; padding-right: 3rem; }
.marquee__track span { white-space: nowrap; font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 600; color: hsl(var(--foreground) / .35); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--card { background: hsl(var(--card) / .5); }
.section--primary { background: hsl(var(--primary)); color: #fff; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }

.section-heading { max-width: 42rem; }
.section-heading--center { margin: 0 auto; text-align: center; }
.section-heading h2 { font-size: 1.9rem; font-weight: 700; }
.section-heading p { margin-top: 1rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .section-heading h2 { font-size: 2.3rem; } }

/* Why us */
.why-us { display: grid; gap: 3rem; }
.why-us__list { border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.why-us__item { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid hsl(var(--border)); }
.why-us__item:last-child { border-bottom: none; }
.why-us__num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem; color: hsl(var(--primary) / .6); }
.why-us__item h3 { font-size: 1.1rem; }
@media (min-width: 1024px) { .why-us { grid-template-columns: .9fr 1.1fr; } }

/* Card grids */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .card-grid--2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3,1fr); } }

.service-card, .service-card--static {
  display: block; height: 100%; border-radius: 1rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 1.5rem; transition: all .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / .4); box-shadow: 0 20px 35px -15px hsl(var(--primary) / .15); }
.service-card__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .8rem; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.service-card h2, .service-card h3 { margin-top: 1.1rem; font-size: 1rem; font-weight: 600; }
.service-card__more { display: inline-flex; align-items: center; gap: .25rem; margin-top: .75rem; font-size: .85rem; font-weight: 600; color: hsl(var(--primary)); opacity: 0; transition: opacity .2s; }
.service-card:hover .service-card__more { opacity: 1; }

.industry-grid { display: grid; gap: 1px; background: hsl(var(--border)); border: 1px solid hsl(var(--border)); border-radius: 1rem; overflow: hidden; }
.industry-card { background: hsl(var(--background)); padding: 1.75rem; transition: background .2s; }
.industry-card:hover { background: hsl(var(--primary) / .05); }
.industry-card h3 { margin-top: .9rem; font-size: 1.1rem; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(3,1fr); } }

/* Training overview */
.training-overview { display: grid; gap: 2.5rem; align-items: center; }
.training-overview h2 { margin-top: 1.1rem; font-size: 1.8rem; }
.training-overview__text { margin-top: 1.1rem; max-width: 34rem; color: rgba(255,255,255,.85); }
.check-grid { display: grid; gap: .6rem; margin-top: 1.75rem; grid-template-columns: 1fr; }
.check-grid li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.training-overview__media { border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
.training-overview__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .training-overview { grid-template-columns: 1fr 1fr; } }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; }
.testimonial blockquote { flex: 1; margin: 1rem 0 0; font-size: 1rem; line-height: 1.65; }
.testimonial figcaption { margin-top: 1.5rem; border-top: 1px solid hsl(var(--border)); padding-top: 1rem; }
.testimonial__name { font-weight: 600; font-size: .9rem; margin: 0; }
.stars { display: flex; gap: .15rem; margin-top: .5rem; }

/* Two column layout (FAQ + form) */
.two-col { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr .9fr; } }

/* FAQ */
.faq { border: 1px solid hsl(var(--border)); border-radius: 1rem; overflow: hidden; background: hsl(var(--card)); }
.faq__item { border-bottom: 1px solid hsl(var(--border)); }
.faq__item:last-child { border-bottom: none; }
.faq__item summary { display: flex; align-items: center; gap: 1rem; list-style: none; padding: 1.25rem 1.5rem; font-weight: 600; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { color: hsl(var(--primary)); }
.faq__item[open] .icon--chevron { transform: rotate(180deg); }
.faq__item p { padding: 0 1.5rem 1.5rem; margin: 0; color: hsl(var(--muted-foreground)); font-size: .9rem; line-height: 1.65; }

/* Lead form */
.lead-form { padding: 1.5rem; }
.lead-form h3 { font-size: 1.25rem; }
.lead-form__grid { display: grid; gap: 1.1rem; margin-top: 1.25rem; grid-template-columns: 1fr; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid hsl(var(--border)); border-radius: .8rem; padding: .75rem 1rem;
  font: inherit; background: hsl(var(--background)); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .15); }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form__submit { margin-top: 1.5rem; width: 100%; }
.lead-form-success { padding: 2rem; text-align: center; }
.lead-form-success h3 { margin-top: 1rem; }
.link-strong { color: hsl(var(--primary)); font-weight: 600; }
.form-error { background: hsl(var(--destructive) / .1); color: hsl(var(--destructive)); border-radius: .8rem; padding: .75rem 1rem; font-size: .875rem; margin-top: 1rem; }
@media (min-width: 640px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } .lead-form { padding: 2rem; } .lead-form__submit { width: auto; } }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: 3.5rem 1.5rem; }
.final-cta h2 { font-size: 1.9rem; }
.final-cta .lead { margin: 1rem auto 0; }
@media (min-width: 640px) { .final-cta { padding: 3.5rem 4rem; } }

/* Page hero */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--card) / .6); padding: 7rem 0 3.5rem; }
.page-hero h1 { margin-top: 1rem; max-width: 46rem; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.page-hero .lead { margin-top: 1.25rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.breadcrumbs a:hover { color: hsl(var(--primary)); }
.breadcrumbs span { display: flex; align-items: center; gap: .25rem; }
.breadcrumbs .current { color: hsl(var(--foreground)); }
@media (min-width: 640px) { .page-hero { padding: 8.5rem 0 3.5rem; } .page-hero h1 { font-size: 2.75rem; } }

/* About page */
.about-story { display: grid; gap: 3rem; }
.prose { color: hsl(var(--muted-foreground)); font-size: 1rem; line-height: 1.7; }
.prose h2 { color: hsl(var(--foreground)); font-size: 1.5rem; }
.about-story__img { border-radius: 1rem; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.mvv-card { padding: 1.75rem; }
.mvv-card h3 { font-size: 1.1rem; }
@media (min-width: 1024px) { .about-story { grid-template-columns: 1fr 1fr; } }

.timeline { border-left: 1px solid hsl(var(--border)); margin-left: .1rem; }
.timeline li { position: relative; padding: 0 0 2.2rem 2rem; }
.timeline__dot { position: absolute; left: -7px; top: .35rem; width: .85rem; height: .85rem; border-radius: 50%; border: 2px solid hsl(var(--background)); background: hsl(var(--primary)); }
.timeline__year { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem; color: hsl(var(--primary)); margin: 0; }
.timeline h3 { margin-top: .2rem; font-size: 1.1rem; }

.leadership-grid { max-width: 46rem; }
.leader-card { overflow: hidden; }
.leader-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.leader-card__body { padding: 1.1rem; }
.leader-card__name { font-weight: 600; margin: 0; }

/* Process steps */
.process-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.process-step { border: 1px solid hsl(var(--border)); border-radius: 1rem; background: hsl(var(--background)); padding: 1.25rem; }
.process-step__num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem; color: hsl(var(--primary)); margin: 0; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(3,1fr); } .process-grid--4 { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1024px) { .process-grid:not(.process-grid--4) { grid-template-columns: repeat(5,1fr); } }

/* Courses */
.course-card { display: flex; flex-direction: column; height: 100%; border: 1px solid hsl(var(--border)); border-radius: 1rem; background: hsl(var(--card)); padding: 1.75rem; transition: all .2s; }
.course-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / .4); box-shadow: 0 20px 35px -15px hsl(var(--primary) / .15); }
.course-card h2 { font-size: 1.1rem; }
.course-card__level { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: hsl(var(--primary)); margin: .2rem 0 0; }
.course-card__fee { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.5rem; margin: .6rem 0 0; }
.check-list { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.check-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* Contact page */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-row { display: flex; gap: 1rem; padding: 1.1rem; }
.contact-row__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .8rem; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); flex-shrink: 0; }
.contact-row__label { font-weight: 600; font-size: .9rem; margin: 0; }
.map-placeholder { display: grid; place-items: center; height: 14rem; border-radius: 1rem; border: 1px dashed hsl(var(--border)); background: hsl(var(--secondary) / .6); text-align: center; font-size: .9rem; color: hsl(var(--muted-foreground)); }
.map-placeholder p { margin: .5rem 0 .2rem; }
.contact-actions { display: flex; gap: .75rem; }
.contact-actions .btn { flex: 1; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

/* 404 */
.not-found { text-align: center; padding: 6rem 0; }
.not-found__code { font-family: 'Sora', sans-serif; font-size: 4.5rem; font-weight: 800; color: hsl(var(--primary)); margin: 0; }
.not-found h1 { margin-top: .5rem; font-size: 1.9rem; }
.not-found .lead { margin: 1rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--card) / .6); }
.footer__grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
.footer__tagline { margin-top: 1rem; max-width: 22rem; font-size: .9rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.footer__heading { font-weight: 600; font-size: .9rem; margin: 0; }
.footer__list { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.footer__list a:hover { color: hsl(var(--primary)); }
.footer__list--contact li { display: flex; align-items: flex-start; gap: .5rem; }
.footer__hours { padding-left: 1.5rem; }
.footer__bottom { border-top: 1px solid hsl(var(--border)); }
.footer__bottom-inner { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 0; font-size: .75rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(4,1fr); } .footer__bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Floating actions ---------- */
.floating-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.fab { display: grid; place-items: center; border-radius: 50%; border: none; text-decoration: none; }
.fab--top { width: 2.75rem; height: 2.75rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); box-shadow: 0 10px 25px -8px rgba(0,0,0,.2); color: hsl(var(--foreground)); }
.fab--top:hover { color: hsl(var(--primary)); }
.fab--top[hidden] { display: none; }
.fab--whatsapp { width: 3.5rem; height: 3.5rem; background: hsl(var(--success)); color: #fff; box-shadow: 0 15px 30px -8px rgba(16,185,129,.4); transition: transform .2s; }
.fab--whatsapp:hover { transform: scale(1.06); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
