@import "tailwindcss";

:root {
  --font-body: "Nunito";
  --font-display: "Quicksand";
  --ink: #24324a;
  --muted: #667085;
  --purple: #7b4ca5;
  --purple-dark: #563079;
  --lavender: #eee5f7;
  --yellow: #f6c74a;
  --peach: #f7a38f;
  --mint: #80cbb8;
  --sky: #87c9e7;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: rgba(36, 50, 74, 0.11);
  --shadow: 0 18px 60px rgba(64, 41, 88, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body), Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.announcement {
  background: var(--purple-dark);
  color: white;
  font-size: .86rem;
  text-align: center;
  padding: 7px 20px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,249,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: var(--purple-dark); }
.brand img { width: 70px; height: 58px; object-fit: contain; }
.brand span { max-width: 150px; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .93rem; font-weight: 700; }
.nav-links a:hover { color: var(--purple); }
.mobile-nav { display: none; }
.mobile-nav summary { cursor: pointer; font-weight: 800; list-style: none; }
.mobile-panel { position: absolute; left: 20px; right: 20px; top: 84px; background: white; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--purple);
  color: white;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--purple-dark); }
.btn-light { background: white; color: var(--purple-dark); border-color: var(--line); }
.btn-yellow { background: var(--yellow); color: #3d3151; }

.hero { overflow: hidden; position: relative; padding: 76px 0 66px; background: linear-gradient(135deg, #f3ebfa 0%, #fff9e8 58%, #fff4f0 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; opacity: .55; }
.hero::before { width: 290px; height: 290px; background: var(--peach); right: -120px; top: -100px; }
.hero::after { width: 170px; height: 170px; background: var(--mint); left: -80px; bottom: -70px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.hero-grid > div:first-child { position: relative; z-index: 2; padding-right: 24px; }
.eyebrow { color: var(--purple); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--font-display), sans-serif; line-height: 1.12; letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.25rem); margin-bottom: 22px; color: var(--purple-dark); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 18px; color: var(--purple-dark); }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.lead { font-size: 1.16rem; color: #526079; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: .9rem; font-weight: 800; color: #58647a; }
.hero-visual { position: relative; min-height: 0; width: calc(100% + 50vw - 580px); margin-right: calc(580px - 50vw); padding-block: 20px; }
.hero-photo { position: relative; display: block; width: 100%; height: auto; border-radius: 0; object-fit: contain; box-shadow: none; transform: none; transform-origin: left top; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 100%); }
.float-card { position: absolute; left: 9%; bottom: 30px; max-width: 250px; padding: 14px 18px; border-left: 5px solid var(--yellow); border-radius: 0; background: rgba(47,35,67,.9); color: white; box-shadow: none; font-size: .9rem; font-weight: 800; backdrop-filter: blur(8px); }
.float-card strong { color: var(--yellow); display: block; font-size: 1.05rem; }

.section { padding: 92px 0; }
.section-soft { background: #f7f2fb; }
.section-mint { background: #eaf8f4; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-services-container { width: min(1400px, calc(100% - 40px)); }
.home-services-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.home-services-grid > .card { flex: 0 1 calc((100% - 60px) / 4); }
.home-specialty-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; border-radius: 16px; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease; }
.home-specialty-card .home-specialty-art { position: absolute; inset: 0; height: auto; margin: 0; border-radius: 15px; }
.home-specialty-card .specialty-art-icon { top: 15px; right: 16px; width: 60px; height: 60px; border-radius: 18px; }
.home-specialty-card .specialty-art-icon .specialty-icon { width: 36px; height: 36px; }
.home-specialty-card .specialty-art-labels { top: 15px; left: 16px; gap: 5px; }
.home-specialty-card .specialty-art-labels span { padding: 5px 9px; font-size: .68rem; }
.home-specialty-content { position: relative; z-index: 3; display: flex; flex: 1; flex-direction: column; padding: 90px 20px 18px; }
.home-specialty-content h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.18; }
.home-specialty-content p { font-size: .9rem; line-height: 1.45; }
.home-specialty-content .card a, .home-specialty-content a { margin-top: auto; padding-top: 12px; }
@media (hover: hover) {
  .home-specialty-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(67,48,85,.11); }
}
.specialties-more { max-width: 820px; margin: 34px auto 0; text-align: center; }
.specialties-more p { margin: 0 0 18px; color: var(--muted); font-size: 1.05rem; }
.specialties-more strong { color: var(--ink); }
.test-page-note { max-width: 860px; margin: 0 auto 34px; padding: 20px 24px; border: 1px solid #ded2eb; border-radius: 18px; background: #f8f2fc; text-align: center; }
.test-page-note span { display: inline-block; margin-bottom: 7px; color: var(--purple); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.test-page-note p { margin: 0; color: var(--muted); }
.specialties-rich-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.specialty-rich-card { display: flex; flex-direction: column; min-height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 14px 34px rgba(72, 43, 94, .07); }
.specialty-art { position: relative; height: 150px; margin: -30px -30px 24px; overflow: hidden; border-radius: 23px 23px 0 0; background: linear-gradient(135deg, var(--theme-soft), #fffdf9 58%, var(--theme-warm)); isolation: isolate; }
.specialty-art::before, .specialty-art::after { content: ''; position: absolute; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--theme-accent) 30%, transparent); opacity: .8; }
.specialty-art::before { width: 190px; height: 190px; right: -70px; top: -95px; background: color-mix(in srgb, var(--theme-warm) 65%, transparent); }
.specialty-art::after { width: 130px; height: 130px; left: -58px; bottom: -82px; background: color-mix(in srgb, var(--theme-soft) 72%, transparent); }
.specialty-art-icon { position: absolute; z-index: 2; right: 34px; top: 28px; display: grid; place-items: center; width: 94px; height: 94px; border: 1px solid rgba(255,255,255,.72); border-radius: 30px; background: rgba(255,255,255,.55); color: var(--theme-accent); transform: rotate(4deg); backdrop-filter: blur(5px); }
.specialty-art-icon .specialty-icon { width: 58px; height: 58px; color: currentColor; stroke-width: 1.45; }
.specialty-art-labels { position: absolute; z-index: 2; left: 28px; top: 30px; display: grid; gap: 9px; }
.specialty-art-labels span { width: max-content; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.76); color: var(--ink); font-family: var(--font-display); font-size: .8rem; font-weight: 800; box-shadow: 0 5px 16px rgba(67,48,85,.07); }
.specialty-art-labels span + span { margin-left: 22px; color: var(--theme-accent); }
.specialty-theme--psychology { --theme-soft: #eee5f7; --theme-warm: #f7dfe5; --theme-accent: #6d3b91; }
.specialty-theme--speech { --theme-soft: #dceef9; --theme-warm: #ffe3d8; --theme-accent: #317da8; }
.specialty-theme--photobiomodulation { --theme-soft: #fff1cf; --theme-warm: #ffe3d8; --theme-accent: #a85f3f; }
.specialty-theme--occupational { --theme-soft: #dff4ee; --theme-warm: #eee5f7; --theme-accent: #4b967f; }
.specialty-theme--learning { --theme-soft: #fff1cf; --theme-warm: #eee5f7; --theme-accent: #7d4bac; }
.specialty-theme--physio { --theme-soft: #dceef9; --theme-warm: #dff4ee; --theme-accent: #337f9f; }
.specialty-theme--nutrition { --theme-soft: #ffe3d8; --theme-warm: #dff4ee; --theme-accent: #4c927a; }
.specialty-theme--music { --theme-soft: #eee5f7; --theme-warm: #fff1cf; --theme-accent: #7441a0; }
.specialty-theme--neuro { --theme-soft: #e5e8f8; --theme-warm: #eee5f7; --theme-accent: #563079; }
.specialty-theme--neuromodulation { --theme-soft: #eee5f7; --theme-warm: #dceef9; --theme-accent: #563079; }
.specialty-theme--psychomotor { --theme-soft: #ffe3d8; --theme-warm: #fff1cf; --theme-accent: #c8705e; }
.specialty-theme--support { --theme-soft: #dff4ee; --theme-warm: #dceef9; --theme-accent: #397e73; }
.specialty-rich-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.specialty-rich-heading .card-icon { flex: 0 0 auto; margin: 0; }
.specialty-rich-heading h2 { margin: 2px 0 0; font-size: 1.42rem; }
.specialty-audience { margin: 0; color: var(--purple); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.specialty-rich-intro { margin: 0 0 22px; color: var(--muted); font-size: 1.02rem; }
.specialty-rich-card > h3 { margin: 0 0 12px; font-size: .92rem; }
.specialty-highlights { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; }
.specialty-highlights li { position: relative; padding-left: 25px; color: var(--ink); }
.specialty-highlights li::before { content: '✓'; position: absolute; left: 0; color: #308b76; font-weight: 800; }
.specialty-details { margin: auto 0 20px; padding-top: 16px; border-top: 1px solid #ebe7ef; }
.specialty-details summary { color: var(--purple); font-weight: 800; cursor: pointer; }
.specialty-details p { margin: 12px 0 0; color: var(--muted); }
.specialty-contact { align-self: flex-start; }
.card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 10px 35px rgba(67,48,85,.06); }
.card-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 20px; background: var(--lavender); }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; color: var(--purple); font-weight: 900; margin-top: 16px; }
.card:nth-child(2n) .card-icon { background: #fff1cf; }
.card:nth-child(3n) .card-icon { background: #dff4ee; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.photo-stack { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.photo-stack img { width: 100%; height: 390px; object-fit: cover; border-radius: 28px; }
.photo-stack img + img { height: 300px; margin-top: 55px; }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 13px; }
.check-list li::before { content: "✓"; color: var(--purple); background: var(--lavender); border-radius: 50%; display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 11px; font-weight: 900; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: white; border-radius: 24px; padding: 26px; border: 1px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); color: var(--purple); font: 800 1rem var(--font-display); display: block; margin-bottom: 28px; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 48%; color: var(--purple); font-size: 1.4rem; z-index: 2; }

.gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 24px; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 7px 13px; font-weight: 800; font-size: .82rem; }

.quote { background: var(--purple-dark); color: white; border-radius: 34px; padding: 44px; }
.quote h2 { color: white; }
.quote p { font-size: 1.15rem; opacity: .88; }
.reviews-section { background: linear-gradient(135deg, #fffdf9 0%, #f7f2fb 56%, #fff7df 100%); }
.reviews-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.reviews-heading .section-head { margin-bottom: 0; }
.reviews-summary { flex: 0 0 210px; display: grid; justify-items: center; gap: 3px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 35px rgba(67,48,85,.07); transition: transform .2s ease, box-shadow .2s ease; }
.reviews-summary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(67,48,85,.11); }
.reviews-summary strong { color: var(--purple-dark); font: 800 2.6rem/1 var(--font-display); }
.reviews-summary small { color: var(--muted); font-weight: 700; }
.review-stars { color: #e8a900; letter-spacing: .08em; font-size: 1.12rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 285px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: 0 10px 35px rgba(67,48,85,.06); }
.review-card::after { content: "“"; position: absolute; right: 20px; top: 5px; color: rgba(133,87,170,.10); font: 800 5rem/1 var(--font-display); }
.review-card p { position: relative; z-index: 1; margin: 0; color: #526079; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; }
.review-avatar { display: grid; place-items: center; background: var(--lavender); color: var(--purple-dark); font-weight: 900; }
.review-author div { display: grid; }
.review-author strong { color: var(--purple-dark); font-weight: 900; }
.review-author small { color: var(--muted); }
.review-source { margin-top: auto; color: var(--purple); font-size: .88rem; font-weight: 900; }
.reviews-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; }
.reviews-footer p { max-width: 760px; margin: 0; color: var(--muted); font-size: .82rem; }
.faq { display: grid; gap: 12px; max-width: 850px; margin: 0 auto; }
.faq details { background: white; border: 1px solid var(--line); padding: 20px 24px; border-radius: 18px; }
.faq summary { cursor: pointer; font: 800 1.03rem var(--font-display); color: var(--purple-dark); }
.faq details p { color: var(--muted); margin-bottom: 0; }

.cta-band { margin: 0 auto 90px; width: min(1160px, calc(100% - 40px)); background: linear-gradient(120deg, var(--purple-dark), #8557aa); color: white; border-radius: 34px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: white; margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-title-break { display: block; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .btn { width: 174px; padding-inline: 18px; }
.cta-band .btn span { display: block; width: 100%; text-align: center; }

.page-hero { padding: 70px 0; background: linear-gradient(120deg, #efe5f7, #fff7df); text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 870px; margin-inline: auto; }
.page-hero .lead { margin-inline: auto; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-row { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.service-row .card-icon { flex: 0 0 auto; margin: 0; }
.specialty-icon { width: 27px; height: 27px; color: var(--purple); }
.team-placeholder { height: 210px; border-radius: 20px; margin-bottom: 20px; display: grid; place-items: center; color: var(--purple-dark); background: linear-gradient(135deg, #e6d8f3, #fff3d6); font-size: 3rem; }
.team-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.team-card h3 { margin-bottom: 8px; }
.team-bio { line-height: 1.65; }
.team-bio strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.team-council { display: block; color: var(--purple-dark); font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; }
.contact-panel { background: white; border-radius: 28px; padding: 34px; border: 1px solid var(--line); }
.contact-list { display: grid; gap: 20px; margin-top: 24px; }
.contact-item strong { display: block; color: var(--purple-dark); }
.map { min-height: 470px; background: linear-gradient(135deg, #e3f2ed, #f1e7f8); display: grid; place-items: center; text-align: center; }

.site-footer { background: #252038; color: #efedf5; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-mascot { width: 112px; margin-bottom: 12px; }
.footer-mascot-card { position: relative; display: inline-block; isolation: isolate; transform-origin: 50% 76%; }
.footer-mascot-card::before { content: ""; position: absolute; inset: 18% 8% 10%; background: rgba(255,214,92,.34); filter: blur(28px); border-radius: 50%; opacity: .26; transform: scale(.88); transform-origin: 50% 55%; z-index: 0; }
.footer-mascot img { position: relative; z-index: 1; display: block; width: 112px; height: auto; filter: drop-shadow(0 8px 14px rgba(14,10,28,.12)); transform-origin: 50% 72%; }
.footer-mascot-arm-cover, .footer-mascot-arm-stage { position: absolute; inset: 0; pointer-events: none; }
.footer-mascot-arm-cover { z-index: 2; }
.footer-mascot-arm-cover::before, .footer-mascot-arm-cover::after { content: ""; position: absolute; inset: 0; background: #252038; }
.footer-mascot-arm-cover::before { clip-path: polygon(0 18%, 16% 18%, 18% 29%, 0 32%); }
.footer-mascot-arm-cover::after { clip-path: polygon(0 27%, 17% 24%, 24% 31%, 22% 44%, 31% 49%, 31% 58%, 22% 58%, 12% 53%, 5% 47%, 0 40%); }
.footer-mascot-arm-stage { z-index: 3; transform-origin: 28% 53%; }
.footer-mascot .footer-mascot-arm { position: absolute; inset: 0; clip-path: polygon(0 27%, 17% 24%, 24% 31%, 22% 44%, 31% 49%, 31% 58%, 22% 58%, 12% 53%, 5% 47%, 0 40%); transform-origin: 28% 53%; }
.site-footer h3 { color: white; font-size: 1rem; }
.footer-links { display: grid; gap: 9px; color: #c9c4d2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .84rem; color: #aaa3b7; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: white; box-shadow: 0 10px 30px rgba(16,133,68,.3); font-size: 1.4rem; z-index: 60; font-weight: 900; }

@keyframes mascotGreeting {
  0%, 14%, 100% { transform: translateY(0) rotate(0); }
  3% { transform: translateY(-5px) rotate(-3deg); }
  6% { transform: translateY(-3px) rotate(2.4deg); }
  9% { transform: translateY(-1px) rotate(-1.2deg); }
  12% { transform: translateY(0) rotate(.4deg); }
}
@keyframes mascotGlow {
  0%, 14%, 100% { opacity: .26; transform: scale(.88); }
  4%, 7% { opacity: .48; transform: scale(1.05); }
  11% { opacity: .34; transform: scale(.96); }
}
@keyframes mascotArmWave {
  0%, 14%, 100% { transform: rotate(0); }
  2.5% { transform: rotate(-12deg); }
  4.8% { transform: rotate(9deg); }
  7.1% { transform: rotate(-9deg); }
  9.4% { transform: rotate(6deg); }
  11.7% { transform: rotate(-3deg); }
}
@keyframes mascotArmHover {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(9deg); }
  75% { transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .footer-mascot.is-observed { opacity: 0; transform: translateY(14px) scale(.96); }
  .footer-mascot.is-observed.is-visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity .42s ease-out, transform .7s cubic-bezier(.16,1,.3,1); }
  .footer-mascot-card { animation: mascotGreeting 9s .28s ease-in-out infinite both; animation-play-state: paused; }
  .footer-mascot-card::before { animation: mascotGlow 9s .28s ease-in-out infinite both; animation-play-state: paused; }
  .footer-mascot-arm-stage { animation: mascotArmWave 9s .38s ease-in-out infinite both; animation-play-state: paused; }
  .footer-mascot.is-visible .footer-mascot-card,
  .footer-mascot.is-visible .footer-mascot-card::before,
  .footer-mascot.is-visible .footer-mascot-arm-stage { animation-play-state: running; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer-mascot.is-visible:hover .footer-mascot-arm { animation: mascotArmHover .72s ease-in-out 1; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid > div:first-child { padding-right: 0; }
  .hero { padding-top: 54px; }
  .hero-visual { width: 100vw; min-height: 0; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); padding-block: 0; }
  .hero-photo { width: 100%; height: auto; transform: none; -webkit-mask-image: none; mask-image: none; }
  .float-card { left: max(20px, calc((100vw - 860px) / 2)); bottom: 24px; }
  .cards, .specialties-rich-grid { grid-template-columns: repeat(2, 1fr); }
  .home-services-grid > .card { flex-basis: calc((100% - 20px) / 2); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .announcement { font-size: .76rem; }
  .brand span { display: none; }
  .brand img { width: 62px; }
  .section { padding: 66px 0; }
  .hero-grid { gap: 38px; }
  .hero-visual { min-height: 0; }
  .hero-photo { width: 100%; height: auto; }
  .float-card { left: 20px; bottom: 18px; max-width: 250px; font-size: .82rem; padding: 13px 15px; }
  .cards, .service-grid, .process, .specialties-rich-grid { grid-template-columns: 1fr; }
  .home-services-grid > .card { flex-basis: 100%; }
  .reviews-heading, .reviews-footer { align-items: flex-start; flex-direction: column; }
  .reviews-summary { width: 100%; }
  .reviews-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 330px); overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .review-card { min-height: 310px; scroll-snap-align: start; }
  .step::after { display: none; }
  .photo-stack { grid-template-columns: 1fr; }
  .photo-stack img, .photo-stack img + img { height: 260px; margin: 0; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 230px); }
  .cta-band { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
