:root {
  --pink: #df087d;
  --pink-dark: #b80063;
  --blush: #fff1f7;
  --ink: #171317;
  --muted: #6c6269;
  --line: #eadde4;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 20px 55px rgb(43 12 29 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.65 var(--sans); }
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.07; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4rem); letter-spacing: -.035em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.section { width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding: 100px 0; }
.kicker, .eyebrow { display: block; margin-bottom: 1rem; color: var(--pink); font-size: .78rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

.site-header { position: sticky; z-index: 30; top: 0; height: 100px; background: rgb(255 255 255 / 94%); border-bottom: 1px solid rgb(223 8 125 / 12%); backdrop-filter: blur(16px); }
.header-inner { width: min(1180px, calc(100% - 40px)); height: 100%; margin: auto; display: grid; grid-template-columns: 255px 1fr 215px; align-items: center; gap: 30px; }
.brand img { width: 245px; height: auto; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 0; }
.main-nav > a, .nav-dropdown > button { position: relative; padding: .75rem 1.35rem; border: 0; background: transparent; cursor: pointer; font-size: 1.02rem; white-space: nowrap; }
.main-nav > a:not(:last-child)::after, .nav-dropdown::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 26px; background: var(--pink); transform: translateY(-50%); }
.main-nav a:hover, .main-nav a.active, .nav-dropdown > button:hover { color: var(--pink); }
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; display: grid; top: calc(100% + 12px); left: 0; min-width: 235px; padding: .65rem; background: white; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-7px); transition: .2s ease; }
.dropdown-menu a { padding: .7rem .85rem; }
.dropdown-menu a:hover { background: var(--blush); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.search-open { display: flex; align-items: center; gap: .65rem; min-height: 46px; padding: 0 1rem; color: var(--pink); background: transparent; border: 1.5px solid var(--pink); border-radius: 6px; cursor: pointer; text-align: left; }
.search-open span { opacity: .65; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: calc(100vh - 100px); overflow: hidden; background: #e79daf; }
.slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 70px 60px; text-align: center; color: white; opacity: 0; visibility: hidden; background-image: linear-gradient(rgb(22 0 11 / 18%), rgb(22 0 11 / 22%)), var(--bg); background-size: cover; background-position: center; transition: opacity .7s ease, visibility .7s; }
.slide.active { opacity: 1; visibility: visible; }
.hero-content { max-width: 760px; text-shadow: 0 2px 20px rgb(57 0 29 / 25%); }
.hero-content p { margin-bottom: .4rem; font-size: 1.2rem; font-weight: 600; }
.hero h1, .hero h2 { margin-bottom: 1rem; color: white; font-size: clamp(4rem, 8vw, 7.2rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 2rem; color: white; background: var(--pink); border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.button:hover { background: var(--pink-dark); transform: translateY(-2px); }
.button.light { color: var(--pink); background: white; }
.slider-prev, .slider-next { position: absolute; z-index: 2; top: 50%; border: 0; color: white; background: transparent; font-size: 3rem; cursor: pointer; transform: translateY(-50%); }
.slider-prev { left: 24px; } .slider-next { right: 24px; }
.slider-dots { position: absolute; z-index: 3; bottom: 24px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.active { background: white; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.category-tile { position: relative; min-height: 470px; padding: 35px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: white; background-image: linear-gradient(transparent 35%, rgb(29 2 17 / 78%)), var(--bg); background-position: center; background-size: cover; }
.category-tile::before { content: ""; position: absolute; inset: 0; background: rgb(223 8 125 / 18%); opacity: 0; transition: .35s; }
.category-tile:hover::before { opacity: 1; }
.category-tile span, .category-tile small { position: relative; }
.category-tile span { font: 700 2rem/1.05 var(--serif); }
.category-tile small { margin-top: 1rem; font-size: .9rem; font-weight: 600; }
.story-grid { width: 100%; max-width: none; margin: 0; padding: 150px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(390px, auto) minmax(390px, auto); gap: 130px 30px; align-items: center; background: #fff url('/assets/images/fondo-home.jpg') center / cover no-repeat; }
.story-grid > div { padding: 25px 0; display: flex; flex-direction: column; justify-content: center; background: transparent; }
.story-grid > div:first-child { grid-column: 9 / 13; grid-row: 1; }
.story-grid > div:last-child { grid-column: 3 / 9; grid-row: 2; color: var(--ink); }
.story-grid > figure:first-of-type { grid-column: 3 / 9; grid-row: 1; }
.story-grid > figure:last-of-type { grid-column: 9 / 13; grid-row: 2; }
.story-grid h2 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.story-grid p { color: var(--muted); font-size: 1.06rem; }
.story-grid > div:last-child p { color: var(--muted); }
.story-grid figure { margin: 0; min-height: 390px; box-shadow: 0 22px 55px rgb(61 15 39 / 14%); }
.story-grid img { width: 100%; height: 100%; object-fit: cover; }
.text-link { margin-top: 1rem; color: var(--pink); font-weight: 700; }
.shop-banner { margin: 30px auto 100px; width: min(1180px, calc(100% - 48px)); padding: 70px 30px; text-align: center; color: white; background: linear-gradient(115deg, rgb(223 8 125 / 90%), rgb(43 9 28 / 78%)), url('/assets/images/polvo-rosa.jpg') center/cover; }
.shop-banner p { margin-bottom: .4rem; }
.shop-banner a { font: 700 clamp(1.8rem, 4vw, 3.6rem) var(--serif); }

.page-hero { min-height: 510px; display: grid; place-items: center; padding: 80px 24px; color: white; text-align: center; background-image: linear-gradient(rgb(28 0 15 / 48%), rgb(28 0 15 / 48%)), var(--bg); background-position: center; background-size: cover; }
.page-hero > div { max-width: 820px; }
.page-hero h1 { margin: .4rem 0 1.2rem; }
.page-hero p { font-size: 1.14rem; }
.page-hero .kicker { color: white; }
.course-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card { min-height: 275px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); transition: .25s ease; }
.course-card:hover { border-color: var(--pink); box-shadow: var(--shadow); transform: translateY(-3px); }
.course-card h2 { margin: .7rem 0; font-size: clamp(2rem, 3vw, 3rem); }
.course-card p { color: var(--muted); }
.course-card > a { color: var(--pink); font-weight: 700; }
.course-card > a span { margin-left: .3rem; transition: .2s; }
.course-card:hover > a span { margin-left: .7rem; }
.course-date { color: var(--pink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cta-band { padding: 85px 24px; text-align: center; color: white; background: var(--pink); }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { margin-bottom: 1.5rem; }

.course-hero { width: min(1260px, 100%); min-height: 630px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--blush); }
.course-hero > div { padding: clamp(45px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.course-hero h1 { margin: 1.3rem 0; font-size: clamp(3.2rem, 5.5vw, 5.8rem); }
.course-hero img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { margin-bottom: 3rem; color: var(--muted); font-size: .9rem; }
.facts { width: min(1180px, calc(100% - 48px)); margin: -40px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px; color: white; background: var(--ink); box-shadow: var(--shadow); }
.facts div { min-height: 86px; padding: 10px 24px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #42363d; }
.facts div:last-child { border: 0; }
.facts span { color: #beadb6; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.facts strong { margin-top: .35rem; font-size: 1.08rem; }
.course-detail { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; }
.course-detail h2 { max-width: 600px; }
.topic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; padding: 0; list-style: none; }
.topic-list li { padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.topic-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.course-detail aside { align-self: start; padding: 38px; background: var(--blush); }
.course-detail aside h3 { font: 700 2rem/1.1 var(--serif); }
.course-body { width: min(1240px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 42px; align-items: start; background: #faf7f9; }
.course-main-copy { min-width: 0; }
.course-summary { margin-bottom: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: 0 16px 45px rgb(43 12 29 / 7%); }
.course-summary div { min-height: 125px; padding: 25px 28px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-summary div:nth-child(2n) { border-right: 0; }
.course-summary div:nth-last-child(-n + 2) { border-bottom: 0; }
.course-summary span { margin-bottom: .4rem; color: var(--pink); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.course-summary strong { font-size: 1.05rem; line-height: 1.5; }
.course-info-section { margin-bottom: 24px; padding: clamp(28px, 4vw, 48px); overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: 0 16px 45px rgb(43 12 29 / 6%); }
.course-info-section h2 { position: relative; margin: 0 0 2rem; padding-bottom: 1.1rem; font-size: clamp(2rem, 3.3vw, 3rem); }
.course-info-section h2::after { content: ""; position: absolute; bottom: 0; left: 0; width: 58px; height: 4px; background: var(--pink); }
.course-info-section h3 { margin: 2rem 0 .75rem; color: var(--pink-dark); font: 700 1.3rem/1.25 var(--serif); }
.course-info-section p { max-width: 760px; margin-bottom: 1rem; color: #4d454a; }
.course-info-section p:has(> strong:only-child) { margin: 1.8rem 0 .4rem; color: var(--ink); font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.course-info-section ul, .course-info-section ol { margin: 1.2rem 0 1.7rem; padding: 0; display: grid; gap: 0; list-style: none; counter-reset: course-list; }
.course-info-section li { position: relative; min-height: 52px; padding: .8rem .5rem .8rem 2.3rem; border-bottom: 1px solid var(--line); color: #413a3e; }
.course-info-section ul li::before { content: "✓"; position: absolute; left: .2rem; top: .78rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; color: white; background: var(--pink); border-radius: 50%; font-size: .72rem; font-weight: 700; }
.course-info-section ol li { counter-increment: course-list; }
.course-info-section ol li::before { content: counter(course-list, decimal-leading-zero); position: absolute; left: 0; top: .78rem; color: var(--pink); font-size: .78rem; font-weight: 700; }
.course-info-section blockquote { margin-block: 2rem; }
.course-introduction { border-left: 5px solid var(--pink); }
.course-enrolment-card { position: sticky; top: 122px; padding: 34px; color: white; background: var(--ink); box-shadow: 0 22px 60px rgb(28 8 19 / 20%); }
.course-enrolment-card .kicker { color: #ff66b6; }
.course-enrolment-card h2 { margin-bottom: 1rem; color: white; font-size: 2.35rem; }
.course-enrolment-card p { color: #d6ccd2; }
.course-enrolment-card ul { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.course-enrolment-card li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid #3f333a; }
.course-enrolment-card li::before { content: "✓"; position: absolute; left: 0; color: #ff66b6; }
.course-enrolment-card .button { width: 100%; }
.course-phone { display: block; margin-top: 1.2rem; color: #ff8ac7; text-align: center; font-size: .9rem; font-weight: 600; }

.page-heading { padding-bottom: 45px; }
.page-heading h1 { margin-bottom: 1rem; }
.page-heading p { max-width: 650px; color: var(--muted); font-size: 1.1rem; }
.school-intro, .school-method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; padding-top: 30px; }
.school-intro img, .school-method img { width: 100%; min-height: 560px; object-fit: cover; }
.school-intro h2, .school-method h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
blockquote { margin: 2rem 0 0; padding: 1.5rem 0 1.5rem 2rem; border-left: 4px solid var(--pink); color: var(--pink-dark); font: 600 1.35rem/1.45 var(--serif); }
.school-method { grid-template-columns: 1fr 1fr; padding-top: 70px; }
.school-full, .school-image { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; padding-top: 25px; }
.school-full > img { position: sticky; top: 120px; width: 100%; max-height: 680px; object-fit: cover; }
.school-image { grid-template-columns: 1.25fr .75fr; align-items: center; padding-top: 30px; }
.school-image img { width: 100%; min-height: 460px; object-fit: cover; }
.school-image h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.imported-page-content > h2:first-child { display: none; }
.imported-page-content h2, .imported-page-content h3 { margin: 2.7rem 0 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.imported-page-content p { margin-bottom: 1.15rem; }
.imported-page-content ul, .imported-page-content ol { padding-left: 1.4rem; }
.opening-hours { margin-top: 35px; padding: 22px; background: var(--blush); }
.opening-hours .eyebrow { margin-bottom: .35rem; }
.opening-hours p { margin: 0; }

.gallery { padding-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 12px; }
.gallery button { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--blush); }
.gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.045); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 40px; background: rgb(0 0 0 / 90%); cursor: zoom-out; }
.lightbox img { max-width: 95vw; max-height: 88vh; }
.lightbox button { position: absolute; top: 18px; right: 28px; border: 0; color: white; background: transparent; font-size: 3rem; cursor: pointer; }
.news-grid { padding-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid article { min-height: 330px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.news-grid article > span { color: var(--pink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-grid h2 { margin: 1rem 0; font-size: 2rem; }
.news-grid p { color: var(--muted); }
.news-grid a { margin-top: auto; color: var(--pink); font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.contact-layout h1 { margin-bottom: 1rem; }
.contact-layout > div > p { max-width: 520px; color: var(--muted); font-size: 1.08rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; margin-top: 45px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-cards a { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-cards span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; }
.contact-cards strong { display: block; margin-top: .35rem; font-size: .95rem; }
.contact-form { padding: clamp(30px, 5vw, 60px); background: var(--blush); }
.contact-form label { display: grid; gap: .45rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #d8c6cf; border-radius: 2px; background: white; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgb(223 8 125 / 10%); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto; margin-top: .35rem; }
.check a { color: var(--pink); text-decoration: underline; }
.form-message { margin-bottom: 1rem; padding: 1rem; background: white; border-left: 4px solid var(--pink); }
.form-message.success { border-color: #18834b; }
.hp { position: absolute; left: -10000px; }

.legal { max-width: 900px; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.legal nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 2rem 0 4rem; }
.legal nav a { padding: .55rem .9rem; color: var(--pink); border: 1px solid var(--pink); }
.legal section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal section h2 { font-size: 2.5rem; }
.legal-note { padding: 1rem; background: #fff5d9; border-left: 4px solid #e3ae17; }
.not-found { min-height: 550px; text-align: center; }

.site-footer { color: white; background: var(--ink); }
.footer-main { width: min(1180px, calc(100% - 48px)); min-height: 260px; margin: auto; display: grid; grid-template-columns: .8fr 1fr 1.1fr .7fr; gap: 45px; align-items: center; }
.footer-title { color: var(--pink); font: 700 2.2rem var(--serif); }
.footer-main .eyebrow { margin-bottom: .45rem; }
.socials { display: flex; gap: 10px; justify-content: flex-end; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #68535f; border-radius: 50%; font-weight: 700; }
.socials a:hover { background: var(--pink); border-color: var(--pink); }
.footer-bottom { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; color: #9f9098; border-top: 1px solid #362c32; font-size: .82rem; }
.back-top { position: fixed; z-index: 20; right: 25px; bottom: 25px; width: 54px; height: 54px; display: grid; place-items: center; color: white; background: var(--pink); border-radius: 50%; font-size: 1.5rem; box-shadow: var(--shadow); }

.search-modal[hidden] { display: none; }
.search-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding: 14vh 24px 40px; background: rgb(20 8 15 / 92%); }
.search-close { position: absolute; right: 30px; top: 20px; border: 0; color: white; background: transparent; font-size: 3rem; cursor: pointer; }
.search-box { width: min(760px, 100%); }
.search-box label { display: block; margin-bottom: 1rem; color: white; font: 700 clamp(2rem, 5vw, 4rem) var(--serif); }
.search-box input { width: 100%; padding: 1rem 0; color: white; border: 0; border-bottom: 2px solid var(--pink); background: transparent; font-size: 1.2rem; outline: 0; }
.search-results { display: grid; margin-top: 1rem; background: white; }
.search-results a { padding: .9rem 1rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.search-results a:hover { color: var(--pink); background: var(--blush); }
.search-results p { padding: 1rem; margin: 0; color: var(--muted); }

@media (max-width: 1050px) {
  .site-header { height: 82px; }
  .header-inner { grid-template-columns: 220px 1fr auto; }
  .brand img { width: 210px; }
  .search-open { width: 48px; justify-content: center; }
  .search-open span { display: none; }
  .main-nav > a, .nav-dropdown > button { padding-inline: .78rem; font-size: .9rem; }
  .hero { min-height: calc(100vh - 82px); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-tile { min-height: 420px; }
  .contact-layout { gap: 45px; }
}

@media (max-width: 760px) {
  .section { width: min(100% - 32px, 1180px); padding: 70px 0; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.7rem); }
  .header-inner { width: calc(100% - 28px); grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-toggle { width: 46px; height: 46px; padding: 11px; display: grid; align-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); }
  .main-nav { position: fixed; inset: 82px 0 0; padding: 35px 24px; display: none; align-items: stretch; justify-content: flex-start; flex-direction: column; background: white; overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown > button { width: 100%; padding: 1rem 0; display: block; text-align: left; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .main-nav > a::after, .nav-dropdown::after { display: none; }
  .dropdown-menu { position: static; display: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.open .dropdown-menu { display: grid; }
  .hero { min-height: 680px; }
  .slide { padding-inline: 30px; background-position: 58% center; }
  .hero h1, .hero h2 { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .category-grid { grid-template-columns: 1fr; }
  .category-tile { min-height: 390px; }
  .story-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 0; width: 100%; padding: 70px 24px; background-position: 38% center; }
  .story-grid > div:first-child, .story-grid > div:last-child, .story-grid > figure:first-of-type, .story-grid > figure:last-of-type { grid-column: 1; grid-row: auto; }
  .story-grid > div { padding: 45px 28px; background: rgb(255 255 255 / 92%); }
  .story-grid figure { min-height: 340px; box-shadow: none; }
  .shop-banner { width: 100%; margin-bottom: 70px; }
  .course-list, .course-hero, .course-detail, .school-intro, .school-method, .contact-layout { grid-template-columns: 1fr; }
  .course-body { width: min(100% - 32px, 1240px); grid-template-columns: 1fr; gap: 20px; padding-top: 45px; }
  .course-enrolment-card { position: static; }
  .course-summary { grid-template-columns: 1fr; }
  .course-summary div, .course-summary div:nth-child(2n), .course-summary div:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .course-summary div:last-child { border-bottom: 0; }
  .course-info-section { padding: 28px 22px; }
  .course-hero img { min-height: 380px; }
  .course-hero > div { padding: 60px 25px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 0; width: 100%; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div { border-bottom: 1px solid #42363d; }
  .topic-list { grid-template-columns: 1fr; }
  .course-detail { gap: 35px; }
  .school-intro, .school-method { gap: 35px; }
  .school-full, .school-image { grid-template-columns: 1fr; gap: 35px; }
  .school-full > img { position: static; max-height: 560px; }
  .school-intro img { order: 2; }
  .school-intro img, .school-method img { min-height: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; width: 100%; }
  .gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: auto; grid-row: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-cards, .form-row { grid-template-columns: 1fr; }
  .contact-form { margin-inline: -16px; }
  .footer-main { grid-template-columns: 1fr; padding: 60px 0; gap: 30px; }
  .socials { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}

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