/*
 * KM Creative Tailor & Academy — responsive layer
 * Breakpoint-specific styles live here; base styles remain in their component stylesheets.
 * Extracted from the original public and admin stylesheets to keep responsiveness centralized.
 */
/* Responsive rules extracted from assets/css/style.css */
@media (max-width: 1200px) {
  .nav-phone { display: none; }
}

@media (max-width: 1100px) {
  .nav-links a:not(.btn) { font-size: 13px; margin: 0 9px; }

  .hero-features { justify-content: center; }
  .hero-img { max-width: 80%; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .promo { padding-left: 24px; }
}

@media (max-width: 992px) {
  .hamburger { display: grid; }
  .nav-desktop-cta { display: none; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0;
    background: #fff; padding: 6px 24px 24px;
    box-shadow: 0 12px 24px rgba(27,42,65,.10);
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .nav-mobile-cta { display: inline-flex; width: 100%; margin: 18px 0 0; }
}

@media (max-width: 1000px) {
  .about { aspect-ratio: auto; display: block; }
  .about-media {
    position: relative; inset: auto;
    height: min(88vw, 440px); overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }
  .about-img { width: auto; max-width: none; height: 100%; aspect-ratio: 2 / 1; object-fit: fill; }
  .about-inner { margin-top: -8px; }
  .about-content { margin: 0; width: 100%; padding: 0 20px 48px; }
  .about-eyebrow { font-size: 12px; margin-bottom: 14px; }
  .about-eyebrow::before { width: 28px; }
  .about-title { margin-bottom: 14px; }
  .about-title span { font-size: clamp(24px, 5.6vw, 38px); white-space: normal; }
  .about-desc { font-size: 14.5px; margin-bottom: 22px; }
  .about-grid { gap: 12px; margin-bottom: 24px; }
  .about-card { gap: 14px; padding: 16px 18px; }
  .about-icon { width: 52px; height: 52px; font-size: 20px; }
  .about-card h3 { font-size: 16px; }
  .about-card p { font-size: 12.5px; }

  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .course-img { height: 160px; }
}

@media (max-width: 900px) {
  /* hero: image on top, content below */
  .hero-main { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-img {
    position: relative; width: 100%; max-width: 100%; height: 300px;
    object-position: 68% center;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .hero-inner { padding: 0 20px 20px; margin-top: -30px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-strip { padding: 0 20px 48px; }
  .hero-features { display: grid; grid-template-columns: repeat(2, 1fr); }
  .feature { border-radius: 16px; padding: 8px 12px 8px 8px; }

  /* stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { justify-content: flex-start; }
  .stat::after { display: none !important; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n/**/+2) { border-bottom: 1px solid var(--line); }

  /* sections */
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: center; }
  .head-btn { position: static; margin-top: 6px; }
  .promo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .academy::before,
  .academy::after { height: 26vw; }

  .course-body { padding: 12px; }
  .course-body h3 { font-size: 14px; }
  .course-body li { font-size: 11.5px; }
  .course-duration { font-size: 13px; padding: 8px; }
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-btn-wrap .btn { width: 100%; }

  .service-body { padding: 14px 14px 20px; }
  .service-body h3 { font-size: 15px; }
  .service-body li { font-size: 12px; }

  /* promo: text on top, image below */
  .promo-grid .promo { flex-direction: column; align-items: stretch; aspect-ratio: auto; min-height: 0; padding: 22px 18px 0; }
  .promo-grid .promo-content { max-width: 100%; }
  .promo-grid .promo-content h3 { font-size: 22px; }
  .promo-grid .promo-content li { font-size: 13px; }
  .promo-grid .promo-img { position: relative; inset: auto; width: calc(100% + 36px); height: 230px; margin: 4px -18px 0; overflow: hidden; }
  .promo-grid .promo-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: 82% center;
    transform: scale(1.08);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
  }
  .promo-grid .promo:hover .promo-img img { transform: scale(1.08); }
}

@media (max-width: 480px) {
  .logo img { height: 48px; }
  .nav-inner { padding: 0 16px; }

  .hero-img { height: 240px; }
  .hero-buttons .btn { width: 100%; }
  .hero-features { gap: 8px; }
  .f-icon { width: 34px; height: 34px; }
  .f-text { font-size: 11px; }

  .stats-inner { grid-template-columns: 1fr; }
  .stat { border: none !important; justify-content: flex-start; }
  .stat-icon { width: 46px; height: 46px; font-size: 18px; }
  .stat-text strong { font-size: 26px; }
  .stat-text small { font-size: 11px; }

  .course-more .btn { width: 100%; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
}

@media (max-width: 760px) {
  .service-grid,
  .course-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 6px;
    padding: 8px 6px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .service-grid::-webkit-scrollbar,
  .course-grid::-webkit-scrollbar { display: none; }

  .service-card,
  .course-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .service-grid .reveal,
  .course-grid .reveal {
    opacity: 1;
    transform: none;
  }

  .service-img { height: 190px; }
  .course-img  { height: 170px; }
}

@media (max-width: 760px) {
  .slider-dots {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; margin: 2px 0 10px;
  }
  .slider-dots button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px;
    background: #d9d2c9; cursor: pointer;
    transition: width .3s ease, background .3s ease;
  }
  .slider-dots button.active { width: 36px; background: var(--pink); }
}

@media (max-width: 1100px) {
  .gallery-tabs { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .gallery::before,
  .gallery::after { height: 26vw; }

  .gallery-tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    padding: 4px 2px 12px; scrollbar-width: none; gap: 8px;
  }
  .gallery-tabs::-webkit-scrollbar { display: none; }
  .gallery-tab { flex-shrink: 0; padding: 9px 16px; font-size: 12.5px; }

  .gallery-grid {
    display: flex; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 6px;
    padding: 8px 6px 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
  .gallery-item::after { display: none; }

  .gallery-more .btn { width: 100%; }

  .lb-btn { width: 42px; height: 42px; font-size: 15px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lb-img { max-width: 94vw; max-height: 74vh; }
}

@media (max-width: 992px) {
  .t-card { padding: 26px 24px 24px; }
  .t-text { font-size: 14.5px; }
}

@media (max-width: 760px) {
  .testimonials { padding: 50px 0 56px; }
  .t-eyebrow { font-size: 11.5px; letter-spacing: 4px; gap: 10px; }
  .t-eyebrow::before, .t-eyebrow::after { width: 28px; }

  .t-track { --gap: 14px; }
  .t-card { flex: 0 0 100%; }

  .t-dots {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; margin-top: 4px;
  }
  .t-dots button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px;
    background: #d9d2c9; cursor: pointer;
    transition: width .3s ease, background .3s ease;
  }
  .t-dots button.active { width: 36px; background: var(--pink); }
}

@media (max-width: 992px) {
  .cta-box { grid-template-columns: 1fr; padding: 44px 36px; gap: 30px; }
  .cta-location { padding: 26px 24px; }
}

@media (max-width: 640px) {
  .cta { padding: 10px 0 56px; }
  .cta-box { padding: 36px 22px; border-radius: 22px; text-align: center; }
  .cta-desc { margin-left: auto; margin-right: auto; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .cta-points { justify-content: center; }
}

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 640px) {
  .contact { padding: 50px 0 56px; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; align-self: stretch; }
  .contact-map iframe { height: 260px; }

  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

/* Responsive rules extracted from assets/css/academy.css */
@media (max-width: 1200px) {
  .ach-script-a, 
}

@media (max-width: 1000px) {
  .ach { flex-direction: column; align-items: stretch; min-height: 0; padding: calc(var(--nav-h) + 30px) 0 0; }
 
  .ach-inner { order: 1; }
  .ach-photo {
    order: 2; position: relative; width: 100%; height: 340px; margin-top: 34px;
  }
  .ach-photo img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
            mask-image: linear-gradient(180deg, transparent 0, #000 30%);
    object-position: center 30%;
  }
  .ach-mstats { display: flex; gap: 12px; margin-top: 30px; }
  .ach-mstat {
    flex: 1; display: flex; flex-direction: column; align-items: center; padding: 14px 8px; text-align: center;
    border-radius: 16px; background: rgba(255,255,255,.85); box-shadow: 0 8px 20px rgba(214,17,95,.12);
  }
  .ach-mstat i { font-size: 20px; color: var(--pink); margin-bottom: 4px; }
  .ach-mstat strong { font-family: var(--font-head); font-size: 20px; color: var(--navy); line-height: 1.1; }
  .ach-mstat small { font-size: 11.5px; color: var(--text); }
}

@media (max-width: 560px) {
  .ach-feats { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 10px; }
  .ach-feats li { width: auto; font-size: 12.5px; }
  .ach-feats span { width: 62px; height: 62px; font-size: 23px; }
  .ach .ac-actions .btn { width: 100%; justify-content: center; }
  .ach-photo { height: 260px; }
}

@media (max-width: 400px) {
  .ach-feats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ach-feats li { font-size: 13.5px; }
  .ach-feats span { width: 70px; height: 70px; }
  .ach-mstats { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ach-badge { animation: none; }
}

@media (max-width: 1200px) {
  .ac-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-float { left: -30px; }
  .ac-seal { right: -14px; }
}

@media (max-width: 1000px) {
  .ac-hero-inner { grid-template-columns: 1fr; gap: 54px; }
  .ac-art { max-width: 400px; }
  .ac-float { left: -8px; bottom: 30px; max-width: 250px; }
  .ac-stats { max-width: 100%; }
  .ac-why-inner { grid-template-columns: 1fr; gap: 44px; }
  .ac-income-grid, .ac-admit-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-show-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .ac-steps { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
  .ac-steps::before { top: 38px; bottom: 38px; left: 37px; right: auto; border-top: 0; border-left: 2px dashed var(--gold); }
  .ac-step { display: flex; align-items: flex-start; gap: 18px; text-align: left; padding: 0; }
  .ac-step-ic { margin: 0; flex: 0 0 76px; }
  .ac-step p { margin: 0 0 8px; max-width: none; }
  .ac-step > h3, .ac-step > p, .ac-step > em { margin-left: 0; }
}

@media (max-width: 700px) {
  .ac-sec { padding: 56px 0; }
  .ac-feats { grid-template-columns: 1fr; }
  .ac-show-head { flex-direction: column; align-items: flex-start; }
  .ac-checks { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .ac-checks li { font-size: 14.5px; gap: 10px; }
  .ac-checks i { flex-basis: 28px; width: 28px; height: 28px; font-size: 11px; }
  .ac-stats { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .ac-stat { padding: 0; }
  .ac-stat + .ac-stat { border-left: 0; border-top: 1px solid rgba(214,17,95,.2); padding-top: 12px; }
  .ac-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .ac-grid, .ac-income-grid, .ac-admit-grid { grid-template-columns: 1fr; }
  .ac-seal { width: 92px; height: 92px; right: -4px; top: 50px; font-size: 11.5px; }
  .ac-float { max-width: 220px; padding: 10px 14px 10px 10px; left: 0; }
  .ac-float img { flex-basis: 46px; width: 46px; height: 46px; }
  .ac-float strong { font-size: 13.5px; }
  .ac-float small { font-size: 11.5px; }
  .ac-checks { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-float, .ac-seal { animation: none; }
  .ac-card, .ac-card-img img, .ac-show-grid img, .ac-faq-a, .ac-faq-q i { transition: none; }
}

/* Responsive rules extracted from assets/css/auto-scroll.css */
@media (max-width: 760px) {
  .km-auto-scroll-track.service-grid,
  .km-auto-scroll-track.course-grid {
    gap: 14px;
    padding: 8px 6px 20px;
    animation-duration: 30s;
  }

  .km-auto-scroll-track.service-grid > .service-card,
  .km-auto-scroll-track.course-grid > .course-card {
    flex-basis: min(82vw, 340px);
    width: min(82vw, 340px);
  }

  .academy-home-track {
    gap: 16px;
    animation-duration: 32s;
  }

  .academy-home-track > .academy-home-card {
    flex-basis: min(82vw, 360px);
    width: min(82vw, 360px);
  }

  .academy-home-card .ac-card-body {
    padding: 17px;
  }

  .academy-home-card .ac-card-body h3 {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .km-auto-scroll-track.service-grid,
  .km-auto-scroll-track.course-grid,
  .academy-home-track {
    animation: none;
    transform: none;
  }

  .km-auto-scroll,
  .academy-home-scroll {
    overflow-x: auto;
  }
}

/* Responsive rules extracted from assets/css/contact.css */
@media (max-width: 1100px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-split { grid-template-columns: 1fr; }
  .find-grid { grid-template-columns: 1fr; align-items: stretch; }
  .side-sketch { right: 10px; }
}

@media (max-width: 900px) {
  .ct-hero { padding-bottom: 0; }
  .ct-hero-text { max-width: 100%; }
  .ct-hero-img { position: relative; width: 100%; height: 280px; margin-top: 24px; }
  .ct-hero-img img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%);
            mask-image: linear-gradient(180deg, transparent 0, #000 28%);
  }
  .bottom-grid { grid-template-columns: 1fr; gap: 40px; }
  .avail-sketch { height: 200px; right: 0; bottom: -20px; opacity: .5; }
}

@media (max-width: 700px) {
  .ct-side { grid-template-columns: 1fr; }
  .side-photo { min-height: 0; height: 320px; }
  .side-lead { max-width: none; }
  .studio-card { grid-template-columns: 1fr; }
  .studio-flower { height: 90px; }
}

@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .ct-form-card { padding: 26px 18px 24px; }
  .ct-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .avail-sketch { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .info-card, .faq-a, .faq-q i, .field input, .field select, .field textarea { transition: none; }
}

/* Responsive rules extracted from assets/css/dynamic.css */
@media(max-width:600px){.km-admission-grid{grid-template-columns:1fr}.km-admission-grid .full{grid-column:auto}}

/* Responsive rules extracted from assets/css/gallery.css */
@media (hover: none) {            /* touch screens: no hover, so always show a light caption */
  .gl-cap { opacity: 1; background: linear-gradient(180deg, transparent 62%, rgba(27,42,65,.78) 100%); padding: 12px; }
  .gl-title { font-size: 13.5px; }
  .gl-tag { display: none; }
}

@media (max-width: 1200px) { .gl-grid { column-count: 3; } }

@media (max-width: 1000px) {
  .gl-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .gl-collage { height: 300px; }
  .gl-hero-art { max-width: 560px; }
  .gl-filter-inner { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 12px; padding-bottom: 10px; }
  .gl-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gl-tabs::-webkit-scrollbar { display: none; }
  .gl-count { text-align: left; }
  .gl-cta-art { display: none; }
  .gl-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .gl-grid { column-count: 2; column-gap: 12px; }
  .gl-item { margin-bottom: 12px; border-radius: 12px; }
  .gl-lb { padding: 24px 12px 70px; }
  .gl-lb-prev, .gl-lb-next { top: auto; bottom: 16px; transform: none; }
  .gl-lb-prev { left: calc(50% - 56px); }
  .gl-lb-next { right: calc(50% - 56px); }
}

@media (max-width: 520px) {
  .gl-section { padding: 40px 0 54px; }
  .gl-collage { height: 240px; gap: 10px; }
  .gl-chips { gap: 14px 18px; }
  .gl-sticker { font-size: 20px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .gl-item, .gl-lb.open { animation: none; }
  .gl-open img, .gl-cap, .gl-zoom, .gl-tab { transition: none; }
}

/* Responsive rules extracted from assets/css/lehenga.css */
@media (max-width: 1100px) {
  .lh-grid { grid-template-columns: repeat(2, 1fr); }
  .lh-craft-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 960px) {
  .lh-hero-inner { grid-template-columns: 1fr; gap: 54px; }
  .lh-art { max-width: 380px; }
  .lh-float { left: -10px; }
  .lh-steps { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
  .lh-steps::before { top: 38px; bottom: 38px; left: 37px; right: auto; border-top: 0; border-left: 2px dashed var(--gold); }
  .lh-step { display: flex; align-items: flex-start; gap: 18px; text-align: left; padding: 0; }
  .lh-step-ic { margin: 0; flex: 0 0 76px; }
  .lh-step p { margin: 0; max-width: none; }
  .lh-step div, .lh-step h3 { padding-top: 6px; }
}

@media (max-width: 760px) {
  .lh-sec { padding: 56px 0; }
  .lh-feats { grid-template-columns: 1fr; }
  .lh-look-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 12px; }
  .lh-look-item:first-child { grid-column: span 2; grid-row: span 1; }
  .lh-look-head { flex-direction: column; align-items: flex-start; }
  .lh-lb { padding: 24px 12px 76px; }
  .lh-lb-prev, .lh-lb-next { top: auto; bottom: 18px; transform: none; }
  .lh-lb-prev { left: calc(50% - 56px); }
  .lh-lb-next { right: calc(50% - 56px); }
}

@media (max-width: 560px) {
  .lh-grid { grid-template-columns: 1fr; }
  .lh-pills { grid-template-columns: 1fr; }
  .lh-trust { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .lh-trust div { flex-direction: column; text-align: center; gap: 8px; }
  .lh-seal { width: 82px; height: 82px; right: -4px; font-size: 10px; }
  .lh-float { left: 0; bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .lh-float, .lh-seal, .lh-lb.open { animation: none; }
  .lh-card, .lh-card-img img, .lh-look-item img, .lh-faq-a, .lh-faq-q i { transition: none; }
}

/* Responsive rules extracted from assets/css/services.css */
@media (max-width: 1200px) {
  .sv-why-art { display: none; }
}

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card.reveal:nth-child(n) { transition-delay: 0s; }
  .custom-inner { grid-template-columns: 1fr 1.4fr; }
  .custom-art.right { display: none; }
}

@media (max-width: 900px) {
  .sv-hero { padding-bottom: 0; }
  .sv-hero-text { max-width: 100%; }
  .sv-hero-img { position: relative; width: 100%; height: 280px; margin-top: 22px; }
  .sv-hero-img img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
            mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  }
  .sv-hero-script { right: 5%; top: 18%; font-size: 26px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-item { border: 0; background: rgba(255,255,255,.7); border-radius: 14px; padding: 20px 14px; }

  .steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .step-arrow { display: none; }

  .sv-gal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; gap: 14px; }
  .custom-inner { grid-template-columns: 1fr; text-align: center; }
  .custom-art { display: none; }
  .custom-text p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; gap: 54px; }
  .sv-gal-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .sv-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .sv-gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .svc-body { padding-left: 98px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-img img, .sv-gal-grid img, .faq-a, .faq-q i { transition: none; }
}

/* Responsive rules extracted from admin/assets/admin.css */
@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell{grid-template-columns:205px minmax(0,1fr)}}

@media(max-width:760px){.admin-shell{grid-template-columns:1fr}.admin-side{padding:12px;gap:12px}.admin-nav{display:flex;overflow:auto}.admin-nav a{white-space:nowrap}.admin-side-foot{display:none}.admin-top{height:62px}.stats-grid{grid-template-columns:1fr 1fr}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.page-heading{flex-direction:column}.admin-content{padding:16px}.stat-card{padding:15px}.stat-card strong{font-size:23px}}

@media(max-width:420px){.stats-grid{grid-template-columns:1fr}}


/* =====================================
   MOBILE HERO BACKGROUND FIX
===================================== */

@media (max-width: 767px) {

    .hero {
        position: relative;
        isolation: isolate;
        min-height: 100svh;
        height: auto;
        overflow: hidden;

        /* Fit background to screen */
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    /* Background blur and soft overlay */
    .hero::before {
        content: "";
        position: absolute;
        inset: -8px;
        z-index: -1;

        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);

        background: rgba(255, 248, 243, 0.48);
        pointer-events: none;
    }

    /* Keep hero content clear */
    .hero > * {
        position: relative;
        z-index: 1;
    }

}