/*
 * site.css: the only stylesheet for tropicalislandgrocers.co.uk.
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing (custom properties)
 *   2. Fonts         @font-face for self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        container, sections
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         page-specific rules: "=== Page: <path> ==="
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (from the original Elementor kit; media queries can't use custom properties):
 *   mobile  ≤ 767px    tablet 768px–1024px    desktop ≥ 1025px
 *
 * Values come from the original's Elementor kit (post-8), the page CSS (posts 22, 19, 65, 245, 10, 69, 83, 87)
 * and computed styles of the live site. Same App4 template family as northwaytakeaway.co.uk.
 */

/* ============ 1. Tokens ============ */
:root {
  /* Colours (Elementor global colours) */
  --color-primary: #00a652;      /* green: buttons, green band, mobile menu, badge */
  --color-secondary: #fef100;    /* yellow: popup date */
  --color-text: #000000;
  --color-accent: #454545;       /* body copy, footer, inactive slider dots */
  --color-muted: #888888;
  --color-white: #ffffff;
  --color-border: #dddddd;
  --color-bg-alt: #f8f8f8;       /* contact cards */

  /* Typography */
  --font-heading: "Passion One", "Arial Black", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --text-h1: 4.5rem;             /* 72px; 64px tablet; 48px mobile */
  --text-h2: 3rem;               /* 48px; 40px tablet and mobile */
  --text-h3: 2rem;               /* 32px: card titles */
  --text-popup: 32px;            /* popup offer lines: 24px tablet, 20px mobile */
  --text-body: 1.25rem;          /* 20px */
  --text-small: 1rem;            /* 16px */
  --leading-h1: 1.4;
  --leading-h2: 1.6;
  --leading-body: 1.8;

  /* Spacing and shape */
  --gutter: 32px;                /* section side padding */
  --container: 1080px;           /* Elementor boxed width (1024 tablet, 767 mobile) */
  --section-pad: 128px;          /* 80px mobile */
  --column-gap: 80px;            /* 48px tablet */
  --radius-button: 3px;
  --radius-card: 16px;
  --radius-image: 24px;

  /* Motion */
  --duration: 300ms;
  --ease: ease;
}
@media (max-width: 1024px) {
  :root { --text-h1: 64px; --text-h2: 40px; --text-popup: 24px; --container: 1024px; --column-gap: 48px; }
}
@media (max-width: 767px) {
  :root { --text-h1: 48px; --text-popup: 20px; --container: 767px; --section-pad: 80px; }
}

/* ============ 2. Fonts ============ */
/* Passion One 400 and Inter (variable), Google Fonts / SIL OFL, latin subset, self-hosted. */
@font-face { font-family: "Passion One"; src: url("/assets/fonts/passionone-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ============ 3. Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-body); line-height: var(--leading-body); color: var(--color-text); background: var(--color-white); }
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
h1 { font-family: var(--font-heading); font-size: var(--text-h1); line-height: var(--leading-h1); }
h2 { font-family: var(--font-heading); font-size: var(--text-h2); line-height: var(--leading-h2); }
h3 { font-family: var(--font-heading); font-size: var(--text-h3); line-height: 1.4; }
p { margin: 0; }
p:has(+ p) { margin-bottom: 20px; }  /* the original kit's custom CSS: only a paragraph followed by a paragraph gets a gap */
ul { margin: 0; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease), background-color var(--duration) var(--ease); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
#menu { scroll-margin-top: 0; }

/* ============ 4. Layout ============ */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: var(--section-pad) 0; }

/* ============ 5. Components ============ */

/* === Component: skip-link === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 8px 16px; background: var(--color-white); color: var(--color-text); }
.skip-link:focus { left: 16px; }

/* === Component: site-header ===
   Floating black rounded bar, sticky at the top on every device (Elementor Pro sticky, offset 0).
   The page's first section pulls up 200px under it (.page-hero margin-top: -200px), as on the original. */
.site-header { position: sticky; top: 0; z-index: 99; padding: var(--gutter); pointer-events: none; }
.site-header__bar { pointer-events: auto; display: flex; align-items: center; background: #000; border: 1px solid var(--color-border); border-radius: 10px; padding: 20px 32px; }
.site-header__logo { flex: 0 0 25%; display: flex; }
.site-header__logo img { width: 120px; height: auto; }
.site-nav { flex: 0 0 50%; display: flex; justify-content: center; }
.site-header__actions { flex: 0 0 25%; display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.site-nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 32px; }
.site-nav__list a { display: block; font-size: 1.15rem; line-height: normal; color: var(--color-white); }  /* no hover effect on the original */
.nav-toggle { flex: none; display: none; background: none; border: 0; padding: 0; width: 44px; height: 44px; margin: -4px; color: var(--color-white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 35px; height: 35px; fill: currentColor; }
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__logo, .site-header__actions { flex-basis: 50%; }
}
@media (max-width: 767px) {
  .site-header__bar { padding: 20px; }
  .site-header__logo { flex-basis: 75%; }
  .site-header__actions { flex-basis: 25%; }
  .site-header__actions .site-header__order { display: none; }
}

/* === Component: mobile-menu ===
   Green full-height panel sliding in from the right (original: Elementor popup 10, slideInRight 0.5s, 340px wide),
   dimmed backdrop, page scroll locked while open. Opened by .nav-toggle (site.js nav module). */
.mobile-menu { position: fixed; inset: 0; z-index: 1000; visibility: hidden; transition: visibility 0s linear 0.5s; }
.mobile-menu.is-open { visibility: visible; transition-delay: 0s; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 0.25); opacity: 0; transition: opacity 0.5s ease; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; width: min(340px, 100%); height: 100%; overflow-y: auto; background: var(--color-primary); box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 0.2); transform: translateX(100%); transition: transform 0.5s ease; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__close { display: flex; margin: 16px 16px 12px auto; padding: 8px; width: 48px; height: 48px; background: none; border: 0; color: var(--color-white); cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu__close svg { width: 32px; height: 32px; fill: currentColor; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(255 255 255 / 0.3); }
.mobile-menu__list a { display: block; padding: 20px 24px; border-bottom: 1px solid rgb(255 255 255 / 0.4); font-family: var(--font-heading); font-size: var(--text-h3); line-height: 1.4; color: var(--color-white); }
.mobile-menu__list a:hover, .mobile-menu__list a:focus-visible, .mobile-menu__list a[aria-current="page"] { background: var(--color-white); color: var(--color-primary); }
html.nav-open, html.nav-open body { overflow: hidden; }

/* === Component: button ===
   Kit button: green, Inter 16px, 12px 24px, 3px corners; hover white with black text and 6px corners. */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 0; border-radius: var(--radius-button); background: var(--color-primary); color: var(--color-white); font-family: var(--font-body); font-size: var(--text-small); line-height: 1.8; text-align: center; cursor: pointer; transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease), border-radius var(--duration) var(--ease); }
.button:hover, .button:focus-visible { background: var(--color-white); color: var(--color-text); border-radius: 6px; }

/* === Component: brush-button ===
   Passion One uppercase button whose shape is a paint-brush stroke (the original masked the button with
   button-bg-green.svg / button-bg-black.svg). --black: black fill (Read More). */
.brush-button { padding: 12px 24px; font-family: var(--font-heading); font-size: 20px; line-height: 36px; text-transform: uppercase;
  -webkit-mask: url("/wp-content/uploads/2024/08/button-bg-black.svg") center / contain no-repeat;
  mask: url("/wp-content/uploads/2024/08/button-bg-black.svg") center / contain no-repeat; }
.brush-button--green-mask { padding: 24px 48px;
  -webkit-mask: url("/wp-content/uploads/2024/08/button-bg-green.svg") center / 100% no-repeat;
  mask: url("/wp-content/uploads/2024/08/button-bg-green.svg") center / 100% no-repeat; }
.brush-button--black { background: #000; padding: 16px 64px; }

/* === Component: page-hero ===
   Full-bleed photo with a 30% dark overlay, pulled up 200px under the floating header. Text is white. */
.page-hero { position: relative; z-index: 1; margin-top: -200px; padding: 240px var(--gutter) 176px; background: #6a2a1c center top / cover no-repeat; color: var(--color-white); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgb(20 20 20 / 0.3); z-index: -1; }
.page-hero h1 { max-width: 600px; margin-inline: auto; color: var(--color-white); }
.page-hero--wide h1 { max-width: 800px; }

/* === Component: section-heading (centred H1-size H2) === */
.section-heading { max-width: 550px; margin: 0 auto; text-align: center; font-size: var(--text-h1); line-height: var(--leading-h1); }

/* === Component: text (Inter 20px copy) === */
.text { font-size: var(--text-body); line-height: var(--leading-body); }
.text--accent { color: var(--color-accent); }
.text--white { color: var(--color-white); }

/* === Component: contact-section ===
   Home and /our-story/: "Any Problems?" heading, opening times, phone; the right half held the Elementor Pro
   "Get in Touch" form, which is not rebuilt (no address, decision d1): its slot is shared/contact-card.html. */
.contact-section { padding: var(--section-pad) var(--gutter); }
.contact-section__row { width: min(100%, var(--container)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--column-gap); }
.contact-section__row > * { min-width: 0; }
.contact-section__heading { margin-bottom: 32px; }
.contact-section__label { font-size: var(--text-body); font-weight: 500; line-height: var(--leading-body); margin-bottom: 12px; }
.contact-section__hours { color: var(--color-accent); }
.contact-section__rule { width: 380px; max-width: 100%; height: 0; margin: 32px 0; border: 0; border-top: 1px solid var(--color-border); }
.contact-section__rule--last { margin: 32px 0 0; }
.contact-link { display: inline-flex; align-items: center; gap: 16px; font-size: var(--text-body); line-height: var(--leading-body); color: var(--color-text); margin-bottom: -5px; }
.contact-link svg { width: 24px; height: 24px; flex: none; }
.contact-link:hover { color: var(--color-primary); }
@media (max-width: 767px) {
  .contact-section__row { grid-template-columns: 1fr; }
  .contact-section__rule { margin: 16px 0; }
  .contact-section__rule--last { margin: 16px 0 0; }
}

/* === Component: contact-email (for a future email/contact block in the form's place; same look as the original form card) === */
.contact-email { background: var(--color-bg-alt); border-radius: var(--radius-card); padding: 48px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact-email__title { font-family: var(--font-heading); font-size: var(--text-h3); line-height: 1.4; }
.contact-email__address { font-size: var(--text-small); color: var(--color-accent); word-break: break-word; }
.contact-email .button { align-self: flex-end; }

/* === Component: map (keyless Google Maps iframe; the original desaturated it to 82%) === */
.map { display: block; width: 100%; height: 600px; border: 0; filter: saturate(82%); }
.map-full { display: block; line-height: 0; }

/* === Component: site-footer === */
.site-footer { padding: 24px var(--gutter); font-size: var(--text-small); line-height: normal; color: var(--color-accent); text-align: center; }
.site-footer p + p { margin-top: 6px; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .site-footer { text-align: start; }
}

/* === Component: order-badge ===
   Fixed bottom-right round order button inside a ring of text that turns with page scroll
   (original: Elementor popup 65 + Motion FX rotateZ over the page). Ring text now reads "Powered By OrderYOYO". */
.order-badge { position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 90; width: 104px; height: 103px; display: flex; align-items: center; justify-content: center; }
.order-badge__ring { position: absolute; inset: 0; width: 104px; height: 103px; transform: rotate(var(--badge-rotate, 0deg)); transition: transform 100ms linear; pointer-events: none; }
.order-badge__ring text { font-family: var(--font-body); font-size: 11.6px; fill: #141414; }
.order-badge__button { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--color-white); background: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.order-badge__button img { width: auto; height: 32px; }

/* === Component: event-popup ===
   "Grand Opening" popup (original Elementor popup 245): full-width bar docked at the bottom, green half + white half,
   28% dark backdrop, fadeInUp 0.4s, on every page load. q1 build default A: same look, now with a working close button.
   Native <dialog> opened by site.js (data-popup, data-popup-delay="0", data-popup-every-view). */
.event-popup { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--color-white); color: var(--color-text); box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 0.2); overflow: auto; }
.event-popup[open] { animation: popup-fade-in-up 0.4s ease both; }
.event-popup::backdrop { background: rgb(2 1 1 / 0.28); }
@keyframes popup-fade-in-up { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
.event-popup__inner { display: flex; min-height: 320px; }
.event-popup__date { flex: 0 0 42%; display: flex; flex-direction: column; justify-content: center; padding: 10px; background: var(--color-primary); text-align: center; }
.event-popup__title { font-size: var(--text-h1); line-height: var(--leading-h1); color: var(--color-white); }
.event-popup__when { font-size: var(--text-h2); line-height: var(--leading-h2); color: var(--color-secondary); }
.event-popup__offers { flex: 0 0 58%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 0 4%; }
.event-popup__offers h2 { font-size: var(--text-popup); line-height: 1.2; color: var(--color-text); }
.event-popup__close { position: absolute; top: 3.5%; right: 1.5%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -12px; padding: 0; background: none; border: 0; color: var(--color-primary); cursor: pointer; }
.event-popup__close svg { width: 20px; height: 20px; fill: currentColor; }
.event-popup__close:hover { color: var(--color-accent); }
@media (max-width: 1024px) {
  .event-popup__inner { flex-direction: column; min-height: 0; }
  .event-popup__date { flex-basis: auto; min-height: 145px; padding: 24px; }
  .event-popup__offers { flex-basis: auto; min-height: 160px; align-items: center; padding: 24px; }
  .event-popup__close svg { width: 29px; height: 29px; }
}
@media (max-width: 767px) {
  .event-popup__date { min-height: 175px; padding: 0 6%; }
  .event-popup__offers { justify-content: space-around; gap: 25px; padding: 10% 6%; text-align: center; }
  .event-popup__close { top: 2%; right: 3%; }
  .event-popup__close svg { width: 22px; height: 22px; }
}

/* === Component: slider (Swiper image carousel; original Elementor image carousel, arrows + dots outside) ===
   Slides hold 300px thumbnails centred; 3 per view on desktop, 2 on tablet, 1 on mobile (site.js reads data-swiper). */
.carousel { position: relative; width: 100%; }
.carousel .swiper { width: calc(100% - 60px); margin-inline: auto; padding-bottom: 30px; }
.carousel .swiper-slide { display: flex; justify-content: center; }
.carousel .swiper-slide img { width: 300px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 30px; }
.carousel__button { position: absolute; top: calc(50% - 15px); transform: translateY(-50%); z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 44px; padding: 0; background: none; border: 0; color: hsl(0 0% 93% / 0.9); cursor: pointer; }
.carousel__button svg { width: 25px; height: 25px; fill: currentColor; }
.carousel__button--prev { left: 0; }
.carousel__button--next { right: 0; }
.carousel .swiper-pagination { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.carousel .swiper-pagination-bullet { width: 6px; height: 6px; margin: 0 6px !important; opacity: 1; background: var(--color-accent); }
.carousel .swiper-pagination-bullet-active { background: var(--color-primary); }

/* === Component: story-split (/our-story/) ===
   White bordered text card pulled 80px up over the hero, photo on the right that sticks 200px from the top
   while the card scrolls (original: Elementor sticky, desktop + tablet). */
.story-split { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, var(--container)); margin-inline: auto; }
.story-split__card { margin-top: -80px; padding: 64px; background: var(--color-white); border: 1px solid var(--color-border); }
.story-split__media { min-width: 0; }
.story-split__media img { position: sticky; top: 200px; width: 100%; }
@media (max-width: 1024px) {
  .story-split__card { margin-top: 0; }
}
@media (max-width: 767px) {
  .story-split { grid-template-columns: 1fr; }
  .story-split__card { padding: 80px 32px; }
  .story-split__media img { position: static; }
}

/* ============ 6. Pages ============ */

/* === Page: / (home) === */
.home-hero { overflow: hidden; padding: 240px var(--gutter) 0; }
.home-hero__inner { width: min(100%, var(--container)); margin-inline: auto; padding-top: 64px; display: flex; text-align: start; }
.app-promo { flex: 0 0 33%; display: flex; gap: 24px; padding-right: 32px; }
.app-promo__text { flex: 0 1 75%; min-width: 0; margin-top: 48px; }
.app-promo__text p { color: var(--color-white); margin-bottom: 12px; }
.app-promo__text .brush-button { display: flex; width: 100%; }
.app-promo__arrow { flex: 0 1 25%; min-width: 0; }
.app-promo__arrow img { margin-top: 220px; width: 100%; max-width: 87px; }
.app-phone-col { flex: 0 0 33%; }
.app-phone { margin-bottom: -50%; background: #000; border-radius: 60px 60px 0 0; }  /* -50% of the column width: the phone runs off the bottom of the hero */
.app-phone img { width: 100%; height: 45rem; object-fit: contain; object-position: top center; border: 12px solid #000; border-radius: 50px; }
@media (max-width: 1024px) {
  .app-promo, .app-phone-col { flex-basis: 50%; }
}
@media (max-width: 767px) {
  .home-hero__inner { flex-direction: column; }
  .app-promo { flex-direction: column; align-items: center; gap: 24px; padding: 0 0 32px; }
  .app-promo__text { flex-basis: auto; width: 100%; margin-top: 0; text-align: center; }
  .app-promo__text .brush-button { display: inline-flex; width: auto; }
  .app-promo__arrow { flex: none; width: auto; }
  .app-promo__arrow img { margin-top: 12px; transform: rotate(90deg); }
  .app-phone-col { flex-basis: auto; }
}

.menu-section { padding: var(--section-pad) var(--gutter); }
.menu-section__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.menu-cards { width: 100%; display: flex; justify-content: center; gap: 64px; margin: 80px 0; }
.menu-card { flex: 0 0 25%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.menu-card__arc { margin: 16px 0 24px; width: 221px; max-width: 100%; }
.menu-card__link { display: block; margin: -56px 0 24px; }
.menu-card__photo { width: 220px; max-width: 220px; height: 220px; object-fit: cover; border-radius: 50%; }
.menu-card__name { font-size: var(--text-body); line-height: var(--leading-body); color: var(--color-accent); }
@media (max-width: 1024px) {
  .menu-cards { margin: 64px 0; gap: 32px; }
  .menu-card { flex-basis: 50%; }
  .menu-card__link { margin-top: -40px; }
}
@media (max-width: 767px) {
  .menu-card { flex-basis: 100%; }
}

.welcome { background: var(--color-primary); padding: var(--section-pad) var(--gutter) var(--section-pad) 0; }
.welcome__row { width: min(100%, var(--container)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--column-gap); align-items: center; }
.welcome__row > * { min-width: 0; }
.welcome__image img { width: calc(100% + 32px); max-width: none; height: 600px; margin-left: -32px; object-fit: cover; object-position: top center; border-radius: var(--radius-image); }
.welcome__title { font-size: 4.15rem; line-height: 1.15; color: var(--color-white); }
.welcome__text { margin: 24px 0; color: var(--color-white); }
@media (max-width: 1024px) {
  .welcome__title { font-size: 64px; }
}
@media (max-width: 767px) {
  .welcome { padding: 0 var(--gutter) var(--section-pad); }
  .welcome__row { grid-template-columns: 1fr; row-gap: 48px; }
  .welcome__image img { width: 100%; margin-left: 0; border-radius: 0 0 var(--radius-image) var(--radius-image); }
  .welcome__title { font-size: 48px; }
}

/* === Page: /contact-us/ === */
.contact-page { padding: var(--section-pad) var(--gutter); }
.contact-page__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-direction: column; gap: 64px; }
.info-cards { display: flex; gap: 64px; }
.info-card { flex: 1 1 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; background: var(--color-bg-alt); border-radius: var(--radius-card); text-align: center; }
.info-card--hours { justify-content: flex-start; }
.info-card__icon { width: 36px; height: 36px; margin-bottom: 20px; color: var(--color-text); }
.info-card__title { font-family: var(--font-heading); font-size: var(--text-h3); line-height: 1.4; }
.info-card__text { font-size: var(--text-body); line-height: var(--leading-body); }
.contact-page__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.contact-page__row > * { min-width: 0; }
.map--card { height: 500px; border-radius: var(--radius-card); }
.photo-band { min-height: 600px; background: center bottom / cover no-repeat; }
@media (max-width: 1024px) {
  .contact-page__inner { gap: 32px; }
  .info-cards { flex-wrap: wrap; gap: 32px; }
  .info-card { flex: 0 0 calc(50% - 16px); }
  .info-card--hours { flex-basis: 100%; }
  .contact-page__row { column-gap: 32px; }
}
@media (max-width: 767px) {
  .info-card { flex-basis: 100%; }
  .contact-page__row { grid-template-columns: 1fr; row-gap: 32px; }
}

/* === Page: 404 === */
.not-found { padding: var(--section-pad) var(--gutter); text-align: center; }
.not-found h2 { margin-bottom: 16px; }
.not-found__links { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ============ 7. Utilities ============ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
