/* Shining Stars — shared styles */
:root {
  --navy: #13306b;
  --navy-dark: #0b1f47;
  --yellow: #fbb038;      /* Wix site accent orange */
  --yellow-dark: #f09c17;
  --yellow-soft: #fff1da;
  --ink: #242323;
  --muted: #5f6360;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --line: #e6e6e6;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(19, 48, 107, 0.1);
  --max: 1160px;
  --head: "Lora", Georgia, serif;
  --body: "Lora", Georgia, serif; /* Wix site uses a serif for body text too */
  --ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Gentle cross-fade between pages (Chrome/Edge/Safari; other browsers just load normally) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-shapes { background: #fff url("../images/bg-shapes.png") center / cover no-repeat; }
.section-doodles { background: #fff url("../images/bg-doodles.png") center / cover no-repeat; }
.center { text-align: center; }
.page-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .45em; } /* in-page title on pages without a banner */
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--navy); background: var(--yellow-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 800; font-size: 1rem;
  padding: 13px 28px; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--navy); color: #fff; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--navy-dark); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.btn-yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header { border-bottom: 0; box-shadow: 0 1px 0 rgba(0,0,0,.04); }

/* Scroll progress bar along the bottom of the sticky header */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: var(--yellow);
  transform: scaleX(0); transform-origin: left center; will-change: transform;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100px; max-width: 1520px; }
.logo img { height: 54px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; align-items: center; }
.nav a {
  display: block; padding: 8px 18px; text-decoration: none;
  font-family: var(--ui); color: #242323; font-weight: 600; font-size: 16px;
}
.nav a:hover { color: var(--yellow); }
/* Current page: orange text with a matching underline */
.nav a[aria-current="page"] { color: var(--yellow); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
/* "Programs" dropdown: Tuitions + Crafts & Hobby appear on hover / keyboard focus */
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { /* small ▾ hint that there's more */
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .2s;
}
.nav .has-sub:hover > a::after, .nav .has-sub:focus-within > a::after { transform: rotate(225deg); vertical-align: -1px; }
.nav .sub-menu {
  display: block; position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60;
  min-width: 210px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
}
.nav .sub-menu::before { /* invisible bridge so the menu doesn't close while the mouse crosses the gap */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav .has-sub:hover > .sub-menu, .nav .has-sub:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s, transform .18s;
}
.nav a:focus { outline: none; }
.nav a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 8px; }
.nav .sub-menu a { padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.nav .sub-menu a:hover { background: var(--yellow-soft); color: var(--navy); }
.nav .sub-menu a[aria-current="page"] { text-underline-offset: 5px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-inner { height: 78px; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .nav a { padding: 12px; }
  /* Phone menu: no dropdown; Tuitions and Crafts & Hobby are always listed, indented under Programs */
  .nav .has-sub > a::after { display: none; }
  .nav .sub-menu, .nav .has-sub:hover > .sub-menu, .nav .has-sub:focus-within > .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; transition: none;
    min-width: 0; padding: 0 0 0 20px; box-shadow: none; background: none; border-radius: 0;
  }
  .nav .sub-menu::before { display: none; }
  .nav .sub-menu a { font-size: 15px; }
  .logo img { height: 42px; }
}

/* Hero slideshow */
.hero { position: relative; height: 700px; overflow: hidden; background: #e9ecf2; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: translateX(100%); visibility: hidden;
  transition: transform .8s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .8s;
}
.slide.active { transform: translateX(0); visibility: visible; transition: transform .8s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.active { transition: none; } }
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(40, 44, 66, .38); }
.slide .container { position: relative; }
.slide-content { margin-left: 53%; max-width: 460px; }
.slide-content h1, .slide-content h2 {
  font-family: var(--head); font-weight: 700; font-size: 50px; line-height: 1.2; margin: 0 0 22px;
}
.slide-content p { font-family: var(--head); font-size: 20px; line-height: 1.5; margin: 0 0 38px; }
.slide-content h1, .slide-content h2, .slide-content p { color: #fff; }
.slide-btn {
  display: inline-block; font-family: var(--head); font-size: 16px;
  color: #fff; background: var(--yellow); text-decoration: none; border-radius: 999px;
  padding: 14px 50px; transition: background .2s ease;
}
.slide-btn:hover { background: var(--yellow-dark); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: none; border: 0; padding: 12px; cursor: pointer; color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.hero-arrow svg { width: 22px; height: 40px; display: block; }
.hero-arrow:focus { outline: none; }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.hero-prev { left: 90px; }
.hero-next { right: 90px; }
@media (max-width: 1100px) {
  .slide-content { margin-left: 45%; }
  .hero-prev { left: 16px; } .hero-next { right: 16px; }
}
@media (max-width: 860px) {
  .hero { height: 560px; }
  .slide::before { background: rgba(40, 44, 66, .5); }
  .slide-content { margin: 0 auto; padding: 0 40px; text-align: center; }
  .slide-content h1, .slide-content h2 { font-size: 36px; }
  .slide-content p { font-size: 18px; }
}

/* Page banner (inner pages) */
.page-banner {
  background: var(--navy) url("../images/bg-geometry.jpg") center / cover no-repeat;
  position: relative; padding: 90px 0; text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.86); }
.page-banner .container { position: relative; }
.page-banner h1 { margin: 0; }
.page-banner p { margin: 10px 0 0; color: var(--muted); font-size: 1.1rem; }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { aspect-ratio: 9 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); flex: 1; }
.card-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--navy);
  font-family: var(--head); font-weight: 900; display: grid; place-items: center; margin-bottom: 14px;
}
.card .more { font-weight: 800; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* Forms */
.form-wrap {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; max-width: 760px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .form-actions { text-align: right; } /* submit button sits on the right */
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-wrap { padding: 26px 20px; } }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #d4d8e0;
  border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19,48,107,.12); }
textarea { min-height: 130px; resize: vertical; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Stars under the review form's Rating dropdown */
.rating-stars { margin-top: 8px; min-height: 28px; font-size: 24px; line-height: 1; letter-spacing: 3px; color: #d8d8d8; }
.rating-stars .on { color: var(--yellow); }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b42318; }

/* Tuitions */
.subject-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.subject { scroll-margin-top: 100px; }
.subject h2 span { display: block; font-family: var(--body); font-size: 1.05rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; columns: 2; column-gap: 28px; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 6px; break-inside: avoid; }
.checklist li::before { content: "★"; position: absolute; left: 0; color: var(--yellow); }
@media (max-width: 520px) { .checklist { columns: 1; } }
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.materials div { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .materials { grid-template-columns: 1fr; } }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 18, 40, .92); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer;
}
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Testimonials: continuously gliding, endlessly looping strip (driven by main.js) */
.reviews-carousel { position: relative; display: flex; align-items: center; gap: 16px; }
.reviews {
  --gap: 24px; --per-view: 3;
  flex: 1; min-width: 0; display: flex; gap: var(--gap);
  align-items: flex-start;
  /* No scroll-snap and no scroll-behavior: smooth. The JS glide sets scrollLeft every
     frame, and either of those would fight it (snapping back / animating each step). */
  overflow-x: auto;
  padding: 14px 4px 24px; /* room for the card shadows */
  scrollbar-width: none; overscroll-behavior-x: contain;
  /* Soft fade at both edges so cards drift in and out instead of being cut off */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.reviews::-webkit-scrollbar { display: none; }
.reviews:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: var(--radius); }
.review {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  display: flex; flex-direction: column;
  margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px;
  outline: 2px solid transparent; outline-offset: 0; transition: outline-color .15s;
}
/* Hover/keyboard focus: outline the card so it's clear which one you're on */
.review:hover, .review:focus-visible { outline-color: var(--yellow); }
/* Every card is the same height: the review text is held to 5 lines
   (the length of Aditi Goyal's review on desktop). Longer reviews are cut off
   with a fade and a "Read more" label, and open in full in a pop-up when clicked. */
.review blockquote {
  --lines: 5;
  position: relative; margin: 0; height: calc(var(--lines) * 1.65em); overflow: hidden;
}
.review blockquote p:last-child { margin-bottom: 0; }
.review.is-truncated { cursor: pointer; }
/* Cut-off reviews: the last line fades out (no text is covered), and
   "Read more" sits in the card's bottom-right corner, on the name row */
.review.is-truncated blockquote::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.65em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
/* The label lives in the card's own bottom-right corner (inside the extra bottom
   padding every card gets), so it never competes with a long name for space */
.review { position: relative; padding-bottom: 46px; }
.review.is-truncated::after {
  content: "Read more \203A"; position: absolute; right: 24px; bottom: 16px;
  font-family: var(--head); font-size: 15px; font-weight: 700; line-height: 1; color: var(--yellow-dark);
}
.review.is-truncated:hover::after { text-decoration: underline; text-underline-offset: 3px; }
.review p { color: var(--ink); }

/* Full-review pop-up */
.review-modal {
  width: min(640px, calc(100vw - 32px)); max-height: 85vh; overflow: auto;
  border: 0; border-top: 4px solid var(--yellow); border-radius: var(--radius);
  padding: 40px 36px 32px; box-shadow: 0 20px 60px rgba(8, 18, 40, .3);
}
.review-modal::backdrop { background: rgba(8, 18, 40, .55); }
.review-modal blockquote { margin: 0 0 18px; }
.review-modal .stars { color: var(--yellow); letter-spacing: 2px; font-size: 1.2rem; margin-bottom: 14px; }
.review-modal .name { font-family: var(--head); font-weight: 700; color: var(--navy); margin: 0; }
.review-modal-close {
  position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer;
}
.review-modal-close:hover { background: var(--yellow-soft); color: var(--navy); }
.review-modal-close:focus { outline: none; }
.review-modal-close:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
html.modal-open { overflow: hidden; } /* stop the page scrolling behind the pop-up */
.reviews-arrow {
  flex: 0 0 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--navy); box-shadow: var(--shadow);
  display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s;
}
.reviews-arrow svg { width: 22px; height: 22px; }
.reviews-arrow:hover { background: var(--yellow); color: #fff; }
@media (max-width: 1000px) { .reviews { --per-view: 2; } }
@media (max-width: 640px) {
  .reviews { --per-view: 1; }
  .review { flex-basis: 88%; } /* peek at the next card so it's clear you can swipe */
  .reviews-arrow { display: none; }
}
.review .stars { color: var(--yellow); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 10px; }
.review .name { font-family: var(--head); font-weight: 700; color: var(--navy); margin: 18px 0 0; }

/* Contact info */
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-list .ico {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--yellow-soft);
  display: grid; place-items: center; color: var(--navy);
}
.info-list .ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; color: var(--navy); }
.map { width: 100%; height: 380px; border: 0; display: block; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 60px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7def0; }
.cta-band .cta-note { margin: 18px 0 0; font-size: .95rem; }
.cta-band .cta-note strong { color: #fff; font-weight: 600; user-select: all; } /* one click selects the whole address to copy */

/* Wide layout used by the homepage sections (matches the Wix page width) */
.wide { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 40px; }

/* Shared pill controls (Wix style) */
.pill-btn {
  display: inline-block; font-family: var(--head); font-size: 16px; color: #fff; text-align: center;
  background: var(--yellow); border: 0; border-radius: 999px; padding: 13px 62px;
  text-decoration: none; cursor: pointer; transition: background .2s ease;
}
.pill-btn:hover { background: var(--yellow-dark); }
.pill-btn-full { display: block; width: 100%; padding: 19px; }
.pill-input {
  display: block; width: 100%; font-family: var(--head); font-size: 18px; color: var(--ink);
  background: #fff; border: 1px solid #e3e3e3; border-radius: 30px; padding: 16px 34px; margin-bottom: 24px;
}
.pill-input::placeholder { color: #7a7f88; }
textarea.pill-input { border-radius: 22px; min-height: 150px; resize: vertical; }
.pill-input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(251,176,56,.2); }

/* Home: About Me */
.home-about { padding: 46px 0 100px; background: #fff; }
.home-about-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 600px); justify-content: space-between; align-items: start; max-width: 1634px; padding: 0 40px 0 98px; }
.home-about h2 { font-size: 36px; margin: 16px 0 34px; }
.home-about p { font-family: var(--head); font-size: 16px; line-height: 1.5; color: #242323; margin: 0 0 24px; }
.home-about .pill-btn { margin-top: 0; }
.home-about img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Home: Request more information */
.home-request { padding: 0 0 46px; background: #fff url("../images/bg-doodles.png") center top / 100% auto no-repeat; }
.home-request-grid { display: grid; grid-template-columns: minmax(0, 614px) minmax(0, 578px); justify-content: space-between; align-items: center; max-width: 1580px; padding: 0 101px 0 7px; }
.request-card { background: #fff; box-shadow: 0 0 22px rgba(0,0,0,.12); padding: 40px 58px 58px; }
.request-card h2 { font-size: 32px; margin: 0 0 30px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; }
.photo-grid img { width: 100%; aspect-ratio: 262 / 293; object-fit: cover; border-radius: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }

@media (max-width: 1400px) {
  .home-about-grid, .home-request-grid { padding: 0 40px; gap: 60px; }
}
@media (max-width: 900px) {
  .wide { padding: 0 20px; }
  .home-about-grid, .home-request-grid { grid-template-columns: 1fr; gap: 40px; }
  .request-card { padding: 30px 22px 36px; }
  .pill-input { padding: 14px 24px; }
  .photo-grid { gap: 16px; }
}

/* Footer */
.site-footer { background: #242323; color: #fff; font-family: var(--head); font-size: 16px; padding: 0 0 18px; }
.footer-inner { width: 100%; max-width: 1300px; margin: 0 auto; padding: 54px 0 0 5px; }
.footer-grid { display: grid; grid-template-columns: 535px 1fr; gap: 40px; }
@media (max-width: 1340px) { .footer-inner { padding: 54px 20px 0; } }
.site-footer h3 { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 22px; }
.site-footer p { margin: 0 0 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.social-row { display: flex; gap: 10px; }
.social {
  width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #242323;
  display: grid; place-items: center;
}
.social svg { width: 17px; height: 17px; }
/* Linked icons must beat ".site-footer a { color: #fff }", or the glyph turns white on white */
.site-footer .social { color: #242323; }
.site-footer a.social:hover { background: var(--yellow); color: #fff; }
.copyright {
  max-width: 1705px; margin: 54px auto 0; border-top: 1px solid rgba(255,255,255,.7);
  padding-top: 14px; text-align: center; font-family: "Open Sans", var(--ui); font-size: 14px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .copyright { margin: 40px 20px 0; }
}
