/* ==========================================================
   Pink Apple Preschool - Shared Stylesheet
   Five-page responsive preschool website template
   ========================================================== */

:root {
  --pink: #ee3b72;
  --pink-dark: #c9275b;
  --pink-soft: #fff0f5;
  --yellow: #ffc94a;
  --yellow-soft: #fff8df;
  --blue: #49a7e8;
  --blue-soft: #eef8ff;
  --green: #45b97c;
  --purple: #7b61d1;
  --ink: #263238;
  --muted: #66727a;
  --white: #ffffff;
  --surface: #fffafc;
  --line: #ece6e9;
  --shadow: 0 18px 50px rgba(67, 32, 47, 0.12);
  --shadow-sm: 0 10px 28px rgba(67, 32, 47, 0.09);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--surface); }
.section-blue { background: var(--blue-soft); }
.center { text-align: center; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--pink-soft); color: var(--pink-dark);
  font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.section-title { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -0.04em; }
.section-copy { color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.center .section-copy { margin-inline: auto; }
.text-pink { color: var(--pink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 999px; padding: 13px 22px;
  font-weight: 800; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--pink), #ff6d8f); box-shadow: 0 12px 24px rgba(238,59,114,.28); }
.btn-primary:hover { box-shadow: 0 16px 30px rgba(238,59,114,.36); }
.btn-secondary { background: var(--yellow); color: #4b3700; box-shadow: 0 12px 24px rgba(255,201,74,.28); }
.btn-outline { background: var(--white); border: 2px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--pink); color: var(--pink-dark); }
.btn-sm { padding: 10px 17px; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(236,230,233,.8);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(30,20,25,.08); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; min-width: max-content; }
.brand img { width: 48px; height: 48px; }
.brand-text { line-height: 1.04; font-size: 1.08rem; }
.brand-text small { display: block; color: var(--pink); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 10px 13px; border-radius: 999px; font-weight: 750; color: #47535a; }
.site-nav a:hover, .site-nav a.active { background: var(--pink-soft); color: var(--pink-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; border: 0; background: var(--pink-soft); width: 44px; height: 44px; border-radius: 14px; font-size: 1.35rem; }

/* Hero */
.hero {
  position: relative; isolation: isolate; min-height: 690px;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(120deg, #fff8fb 0%, #fff1f5 48%, #fff8df 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero::before { width: 390px; height: 390px; background: rgba(73,167,232,.13); top: -150px; right: -90px; }
.hero::after { width: 320px; height: 320px; background: rgba(255,201,74,.18); bottom: -130px; left: -100px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; padding: 74px 0; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.06em; margin: 20px 0; }
.hero p { max-width: 620px; color: var(--muted); font-size: 1.12rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 17px; color: #4d5b61; font-weight: 700; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: "✓"; display: grid; place-items: center; width: 23px; height: 23px; background: #e7f8ef; color: #18894b; border-radius: 50%; }
.hero-visual { position: relative; min-height: 520px; }
.hero-main-image { width: 88%; height: 490px; object-fit: cover; border-radius: 48% 52% 38% 62% / 42% 40% 60% 58%; margin-left: auto; box-shadow: var(--shadow); }
.floating-card { position: absolute; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-sm); border-radius: 18px; padding: 14px 16px; font-weight: 800; animation: float 4s ease-in-out infinite; }
.floating-card span { display: block; font-size: .76rem; color: var(--muted); font-weight: 650; }
.floating-one { left: 0; top: 55px; }
.floating-two { right: -8px; bottom: 66px; animation-delay: -1.4s; }
.floating-three { left: 32px; bottom: 10px; animation-delay: -2.4s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* Page banner */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--pink-soft), var(--yellow-soft)); padding: 86px 0 72px; }
.page-banner::after { content: "ABC  123  ✦  ☁"; position: absolute; right: 5%; bottom: -10px; font-size: clamp(3rem,8vw,8rem); font-weight: 900; color: rgba(238,59,114,.07); white-space: nowrap; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--muted); font-size: .92rem; }
.breadcrumb a { color: var(--pink-dark); }
.page-banner h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.05em; margin: 18px 0 12px; max-width: 800px; }
.page-banner p { max-width: 720px; color: var(--muted); font-size: 1.1rem; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.icon-box { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; font-size: 1.65rem; margin-bottom: 19px; background: var(--pink-soft); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); }

.feature-card { transition: transform var(--transition), box-shadow var(--transition); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-card:nth-child(2) .icon-box { background: var(--yellow-soft); }
.feature-card:nth-child(3) .icon-box { background: var(--blue-soft); }
.feature-card:nth-child(4) .icon-box { background: #eefaf3; }

/* Stats */
.stats-bar { margin-top: -34px; position: relative; z-index: 5; }
.stats-wrap { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 25px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2rem; color: var(--pink); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; font-size: .9rem; }

/* Program cards */
.program-card { overflow: hidden; padding: 0; }
.program-top { padding: 28px; min-height: 175px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); position: relative; }
.program-top::before { content: attr(data-age); position: absolute; top: 22px; left: 24px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45); padding: 6px 11px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.program-card:nth-child(1) .program-top { background: linear-gradient(135deg, #ff7297, #ef3f73); }
.program-card:nth-child(2) .program-top { background: linear-gradient(135deg, #6bbaf0, #3f8fd1); }
.program-card:nth-child(3) .program-top { background: linear-gradient(135deg, #6ed29c, #36a66c); }
.program-card:nth-child(4) .program-top { background: linear-gradient(135deg, #9a82e5, #7257c3); }
.program-top .program-icon { font-size: 2.3rem; position: absolute; right: 26px; top: 25px; }
.program-body { padding: 25px 28px 29px; }
.program-list { margin: 16px 0 22px; display: grid; gap: 9px; color: var(--muted); }
.program-list li { display: flex; gap: 9px; }
.program-list li::before { content: "✓"; color: var(--green); font-weight: 900; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media > img { width: 100%; min-height: 510px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.media-badge { position: absolute; right: -16px; bottom: 30px; background: var(--yellow); padding: 18px; border-radius: 18px; font-weight: 900; box-shadow: var(--shadow-sm); max-width: 190px; }
.check-list { display: grid; gap: 13px; margin: 25px 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #4f5c62; }
.check-list li::before { content: "✓"; flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e8f8ef; color: #198c4d; font-weight: 900; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 245px 245px; gap: 16px; margin-top: 38px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 24px; cursor: zoom-in; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item:last-child { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: attr(data-caption); position: absolute; inset: auto 0 0; padding: 35px 18px 16px; color: var(--white); font-weight: 800; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(16,20,25,.88); z-index: 3000; display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1000px, 94vw); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lightbox-close { position: fixed; top: 22px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); font-size: 1.4rem; }

/* Official Instagram activity images */
.instagram-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 40px; align-items: start; }
.instagram-card { min-width: 0; overflow: hidden; border: 1px solid rgba(39, 56, 66, .1); border-radius: 26px; background: var(--white); box-shadow: var(--shadow-sm); }
.instagram-card-head { display: flex; align-items: center; gap: 12px; padding: 17px 19px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, #fff5f8); }
.instagram-card-head > span { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--pink-soft); font-size: 1.45rem; }
.instagram-card-head strong, .instagram-card-head small { display: block; }
.instagram-card-head strong { color: var(--ink); font-size: 1.04rem; }
.instagram-card-head small { color: var(--muted); margin-top: 2px; }
.instagram-embed { position: relative; height: 620px; background: #fafafa; }
.instagram-embed::before { content: "Loading Instagram photograph…"; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--muted); text-align: center; }
.instagram-embed iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border: 0; background: var(--white); }
.instagram-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding: 18px 20px; border: 1px solid rgba(39, 56, 66, .1); border-radius: 20px; background: rgba(255, 255, 255, .72); }
.instagram-gallery-footer p { max-width: 720px; color: var(--muted); font-size: .92rem; }

/* Testimonials */
.testimonial-shell { position: relative; max-width: 870px; margin: 38px auto 0; }
.testimonial { display: none; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow-sm); }
.testimonial.active { display: block; animation: fade .4s ease; }
.testimonial blockquote { font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 730; line-height: 1.55; }
.testimonial cite { display: block; margin-top: 18px; color: var(--pink-dark); font-style: normal; font-weight: 850; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #ddd3d7; }
.dot.active { background: var(--pink); width: 28px; border-radius: 999px; }
@keyframes fade { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Timeline */
.timeline { position: relative; display: grid; gap: 24px; margin-top: 35px; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--pink), var(--yellow)); border-radius: 99px; }
.timeline-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; position: relative; }
.timeline-num { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--white); font-weight: 900; border: 5px solid var(--pink-soft); z-index: 2; }
.timeline-content { padding: 4px 0 24px; }
.timeline-content h3 { margin-bottom: 6px; }
.timeline-content p { color: var(--muted); }

/* Franchise */
.franchise-hero-card { background: linear-gradient(135deg, #2f2444, #553a76); color: var(--white); border-radius: 34px; padding: 45px; box-shadow: var(--shadow); }
.franchise-hero-card p { color: #e7dff0; }
.franchise-steps { counter-reset: step; }
.franchise-step { position: relative; padding-left: 72px; }
.franchise-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--pink); color: var(--white); font-weight: 900; }
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city-tag { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-weight: 750; color: #566268; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 800; font-size: .9rem; }
.form-control { width: 100%; border: 1.5px solid #ddd4d8; border-radius: 13px; padding: 12px 14px; background: #fff; outline: none; transition: border var(--transition), box-shadow var(--transition); }
.form-control:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(238,59,114,.1); }
textarea.form-control { min-height: 125px; resize: vertical; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 13px; }
.form-status { display: none; margin-top: 15px; border-radius: 12px; padding: 12px 14px; font-weight: 750; }
.form-status.success { display: block; background: #e8f8ef; color: #177841; }
.form-status.error { display: block; background: #fff0f0; color: #b72f2f; }
.contact-list { display: grid; gap: 17px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--pink-soft); font-size: 1.2rem; }
.contact-item p { color: var(--muted); }

.map-frame { min-height: 390px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.map-frame iframe { width: 100%; height: 390px; border: 0; display: block; }
.footer-links span { line-height: 1.65; }

.map-placeholder { min-height: 340px; border-radius: 24px; background: linear-gradient(135deg, #e9f6ff, #fff4d7); border: 1px dashed #b9aeb3; display: grid; place-items: center; text-align: center; padding: 30px; }

/* FAQ */
.faq-list { max-width: 880px; margin: 38px auto 0; display: grid; gap: 13px; }
.faq-item { border: 1px solid var(--line); border-radius: 17px; background: var(--white); overflow: hidden; }
.faq-question { width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; text-align: left; font-weight: 850; color: var(--ink); }
.faq-question span:last-child { font-size: 1.3rem; color: var(--pink); transition: transform var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer p { padding: 0 22px 20px; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 260px; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

/* CTA */
.cta-band { padding: 75px 0; background: linear-gradient(135deg, var(--pink), #ff6b8e); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: "✦  ★  ☁  ✿  123  ABC"; position: absolute; inset: auto 3% -25px auto; font-size: clamp(3rem,7vw,7rem); font-weight: 900; color: rgba(255,255,255,.1); white-space: nowrap; }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; }
.cta-wrap h2 { font-size: clamp(2rem,4vw,3.3rem); line-height: 1.08; letter-spacing: -.04em; max-width: 690px; }
.cta-wrap p { margin-top: 10px; color: #ffe8ef; }

/* Footer */
.site-footer { background: #25202b; color: #f8f3fa; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 38px; }
.footer-brand p { color: #bfb5c4; margin: 18px 0; max-width: 360px; }
.footer-title { font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 9px; color: #cfc5d3; }
.footer-links a:hover { color: var(--yellow); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #38303f; transition: background var(--transition), transform var(--transition); }
.social-links a:hover { background: var(--pink); transform: translateY(-3px); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #453c4a; display: flex; justify-content: space-between; gap: 20px; color: #a89eac; font-size: .88rem; }


/* Proper WhatsApp SVG icon */
.whatsapp-icon { width: 1em; height: 1em; display: block; flex: 0 0 auto; }
.social-links .whatsapp-icon { width: 21px; height: 21px; }
.whatsapp-contact-icon { color: #25d366; }
.whatsapp-contact-icon .whatsapp-icon { width: 24px; height: 24px; }
.whatsapp-float .whatsapp-icon { width: 30px; height: 30px; }
.whatsapp-float:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38), 0 0 24px rgba(37, 211, 102, .28);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  line-height: 1;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 34px rgba(0, 0, 0, .42), 0 0 30px rgba(37, 211,102,.38); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-actions .btn { display: none; }
  .hero-grid, .split { gap: 38px; }
  .hero-main-image { width: 96%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; left: 20px; right: 20px; top: 88px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; }
  .hero { min-height: auto; }
  .hero-grid, .split, .grid-2 { grid-template-columns: 1fr; }
  .hero-grid { padding: 55px 0 75px; }
  .hero-visual { min-height: 440px; }
  .hero-main-image { height: 420px; width: 92%; margin-inline: auto; }
  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 220px 220px; }
  .instagram-grid { grid-template-columns: 1fr; max-width: 680px; }
  .instagram-gallery-footer { align-items: flex-start; flex-direction: column; }
  .gallery-item:first-child { grid-row: 1 / 2; grid-column: 1 / 3; }
  .gallery-item:last-child { grid-column: 1 / 3; }
  .cta-wrap { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand-text { font-size: .98rem; }
  .brand img { width: 43px; height: 43px; }
  .hero h1 { font-size: 3.05rem; }
  .hero-visual { min-height: 370px; }
  .hero-main-image { width: 100%; height: 350px; border-radius: 30px; }
  .floating-card { font-size: .86rem; padding: 11px 13px; }
  .floating-one { top: 18px; left: -6px; }
  .floating-two { right: -6px; bottom: 36px; }
  .floating-three { display: none; }
  .stats-bar { margin-top: -20px; }
  .stats-wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 19px 10px; }
  .stat strong { font-size: 1.55rem; }
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .split-media > img { min-height: 360px; }
  .media-badge { right: 10px; bottom: 15px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 245px); }
  .instagram-embed { height: 590px; }
  .instagram-card-head { padding: 14px; }
  .gallery-item:first-child, .gallery-item:last-child { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .franchise-hero-card, .form-card { padding: 26px; }
  .testimonial { padding: 28px 22px; }
  .whatsapp-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

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