/*
 * site.css: the only stylesheet for mezzoderby.co.uk (Mezzo, Derby).
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing, breakpoints (custom properties)
 *   2. Fonts         @font-face for self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        container, sections, columns
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         rare page-specific rules: "=== Page: <path> ==="
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (Elementor's, from the original; media queries can't use custom properties):
 *   mobile  ≤ 767px    tablet 768px–1024px    desktop ≥ 1025px
 *   The inner-page header collapses to the burger at ≤ 1024px; the home-page header and the
 *   footer menu collapse at ≤ 767px (as on the original).
 *
 * Editing: change tokens to restyle the site; add new components as new blocks;
 * add modifier classes (.button--outline) instead of changing a component for one page.
 */

/* ============ 1. Tokens ============ */
:root {
  /* Colours (from the original's computed styles) */
  --color-grey: #777f81;          /* brand grey: header, hero bands, buttons, footer */
  --color-grey-light: #8c9496;    /* social icon circles, inner mobile menu panel */
  --color-dark: #323232;          /* headings and body text; footer bottom bar */
  --color-muted: #7a7a7a;         /* price boxes */
  --color-field-border: #69727d;  /* form-like boxes */
  --color-white: #ffffff;
  --color-link: #0000ff;          /* the one blue in-text link on /menu/ (original custom CSS) */
  --color-review-card: #1a1a1a;   /* frozen Google review cards */
  --color-review-date: #aaaaaa;

  /* Typography: Lexend everywhere (self-hosted variable font) */
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --text-body: 1rem;              /* paragraphs 16px / 28px, weight 300; 0.9rem on mobile */
  --text-body-mobile: 0.9rem;
  --leading-body: 28px;
  --text-title: 2.875rem;         /* section titles 46px / 64px; 1.8rem / 40px on mobile */
  --leading-title: 64px;
  --text-title-mobile: 1.8rem;
  --leading-title-mobile: 40px;
  --text-hero: 3.25rem;           /* hero titles 52px / 74px; 1.5rem on mobile */
  --leading-hero: 74px;
  --text-step: 1.5rem;            /* small headings 24px; 1.25rem on mobile */
  --text-step-mobile: 1.25rem;
  --text-button: 1.25rem;         /* buttons 20px; 1rem on mobile */

  /* Spacing and shape */
  --container: 1140px;            /* Elementor boxed width (1160px minus 2 x 10px column padding) */
  --gutter: 10px;
  --radius-button: 4px;
  --radius-hero-button: 6px;

  /* Motion (original Elementor/Extras timings) */
  --duration: 300ms;
  --duration-button: 200ms;
  --ease: ease;
}

/* ============ 2. Fonts ============ */
/* Lexend (Google Fonts, SIL OFL), self-hosted variable font; weights used: 300, 400, 500, 600. */
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend-latin-ext-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ============ 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); font-weight: 300; line-height: var(--leading-body); color: var(--color-dark); background: var(--color-white); }
main { display: block; overflow-x: hidden; overflow-x: clip; } /* the decorative hero bowls overflowed the viewport on the original */
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 400; line-height: 1; margin: 0; color: var(--color-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 2px; }
.grey-band a:focus-visible, .site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: var(--color-white); }
@media (max-width: 767px) {
  body { font-size: var(--text-body-mobile); }
}

/* ============ 4. Layout ============ */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.cols { display: flex; gap: 20px; }
.cols > * { min-width: 0; }
@media (max-width: 767px) {
  .cols { flex-direction: column; }
}

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

/* === Component: skip-link === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 0.5rem 1rem; background: var(--color-white); color: var(--color-dark); }
.skip-link:focus { left: 1rem; }

/* === Component: page-title (WordPress page H1, hidden on screen on the original; kept for SEO/AT) === */
.page-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* === Component: icon (inline SVG symbols from the header partial) === */
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* === Component: nav-toggle (burger button; header and footer menus) === */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 33px; height: 33px; padding: 5.5px; border: 0; border-radius: 3px; background: rgb(0 0 0 / 0.05); color: var(--color-white); font-size: 22px; cursor: pointer; position: relative; }
.nav-toggle::after { content: ""; position: absolute; inset: -6px; } /* 44px tap target */
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* === Component: site-header ===
 * Inner pages: grey band, centred "eat well / Mezzo / love life" logo, menu row under it
 * (burger + full-width grey dropdown at ≤ 1024px).
 * Home (body.page-home): the header sits over the photo hero, no logo (the hero has its own),
 * no "Home" link, menu row at the top, centred burger + white dropdown at ≤ 767px.
 */
.site-header { position: relative; z-index: 20; background: var(--color-grey); padding: 50px 0; }
.site-header__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.site-header__logo { display: block; }
.site-header__logo img { width: 458px; }
.site-header__menu { position: relative; align-self: stretch; display: flex; justify-content: center; }
.site-nav__list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: flex; padding: 13px 25px; font-size: 16px; font-weight: 400; line-height: 20px; color: var(--color-white); }
@media (max-width: 1024px) {
  .site-header__inner { width: 100%; }
  .site-header__menu { justify-content: flex-end; padding-inline: var(--gutter); position: static; }
  .site-header .nav-toggle { display: inline-flex; }
  .site-header .site-nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; grid-template-rows: 0fr; align-items: stretch; visibility: hidden; transition: grid-template-rows var(--duration) var(--ease), visibility 0s linear var(--duration); }
  .site-header .site-nav.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--duration) var(--ease); }
  .site-header .site-nav__list { display: block; min-height: 0; overflow: hidden; background: var(--color-grey-light); }
  .site-header .site-nav.is-open .site-nav__list { border: 3px solid var(--color-grey-light); }
  .site-header .site-nav__list a { padding: 15px 20px; font-size: 13px; font-weight: 500; line-height: 20px; justify-content: flex-start; }
  .site-header__menu { position: relative; }
}
@media (max-width: 767px) {
  .site-header .site-nav__list a { padding: 10px 30px; }
  .site-header__logo img { width: 355px; }
}

/* Home page variant */
.page-home .site-header { position: absolute; top: 0; left: 0; right: 0; background: none; padding: 60px 0 0; }
.page-home .site-header__logo,
.page-home .site-nav__item--home { display: none; }
@media (max-width: 1024px) {
  .page-home .site-header__menu { justify-content: center; }
  .page-home .site-header .nav-toggle { display: none; }
  .page-home .site-header .site-nav { position: static; display: block; visibility: visible; transition: none; }
  .page-home .site-header .site-nav__list { display: flex; background: none; overflow: visible; }
  .page-home .site-header .site-nav__list a { padding: 13px 12px; font-size: 16px; font-weight: 400; }
}
@media (max-width: 767px) {
  .page-home .site-header .nav-toggle { display: inline-flex; color: var(--color-dark); }
  .page-home .site-header .site-nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 10px); display: grid; visibility: hidden; transition: grid-template-rows var(--duration) var(--ease), visibility 0s linear var(--duration); }
  .page-home .site-header .site-nav.is-open { visibility: visible; transition: grid-template-rows var(--duration) var(--ease); }
  .page-home .site-header .site-nav__list { display: block; background: var(--color-white); overflow: hidden; }
  .page-home .site-header .site-nav.is-open .site-nav__list { border: 0; }
  .page-home .site-header .site-nav__list a { padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--color-dark); }
}

/* === Component: site-footer (grey bar: small logo + menu; dark credit bar) === */
.site-footer__main { background: var(--color-grey); padding: 50px 0; }
.site-footer__inner { display: flex; align-items: center; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.site-footer__brand { flex: 0 0 20%; padding: 10px; }
.site-footer__brand img { width: 150px; }
.site-footer__menu { flex: 0 0 80%; padding: 10px; position: relative; display: flex; justify-content: center; }
.footer-nav__list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.footer-nav__list a { display: flex; padding: 13px 20px; font-size: 16px; font-weight: 400; line-height: 20px; color: var(--color-white); }
.site-footer__bar { background: var(--color-dark); padding: 30px 0; text-align: center; }
.site-footer__credit { margin: 0; font-size: 1rem; font-weight: 400; line-height: 1; color: var(--color-white); }
.site-footer__credit a { color: inherit; }
@media (max-width: 1024px) {
  .site-footer__inner { width: 100%; }
}
@media (max-width: 767px) {
  .site-footer__inner { flex-direction: column; align-items: stretch; }
  .site-footer__brand, .site-footer__menu { flex: none; width: 100%; }
  .site-footer .nav-toggle { display: inline-flex; color: #33373d; }
  .footer-nav { position: absolute; left: 0; right: 0; top: calc(100% - 10px + 10px); z-index: 20; display: grid; grid-template-rows: 0fr; align-items: stretch; visibility: hidden; transition: grid-template-rows var(--duration) var(--ease), visibility 0s linear var(--duration); }
  .footer-nav.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--duration) var(--ease); }
  .footer-nav__list { display: block; min-height: 0; overflow: hidden; background: var(--color-white); }
  .footer-nav__list a { padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--color-dark); }
}

/* === Component: button === */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 20px 30px; border: 0; border-radius: var(--radius-button); background: var(--color-grey); color: var(--color-white); font-family: var(--font-body); font-size: var(--text-button); font-weight: 400; line-height: 1; text-align: center; cursor: pointer; transition: color var(--duration-button) ease-in-out, background-color var(--duration-button) ease-in-out, border-color var(--duration-button) ease-in-out; }
.button--wide { padding-inline: 50px; }
.button--mid { padding-inline: 35px; }
.button--white { background: var(--color-white); color: var(--color-grey); }
.button--outline { background: transparent; border: 1px solid var(--color-grey); color: var(--color-grey); }
.button--outline-white { background: transparent; border: 1px solid var(--color-white); color: var(--color-white); }
.button--hero { padding: 20px 50px; border: 0; border-radius: var(--radius-hero-button); background: var(--color-white); color: var(--color-grey); }
.button--block { display: flex; width: 100%; padding: 20px; border-radius: 3px; font-size: 15px; font-weight: 500; }
.button-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; } /* Elementor Extras button group: centred, wraps */
.button-group--center { justify-content: center; }
.button-group--wide-gap { gap: 25px; }
@media (max-width: 767px) {
  .button { font-size: 1rem; }
  .button-group, .button-group--wide-gap { flex-direction: column; align-items: stretch; gap: 20px; } /* Elementor "stack on mobile" */
}

/* === Component: section-title (big centred or left headings) === */
.section-title { font-size: var(--text-title); font-weight: 400; line-height: var(--leading-title); }
.section-title--center { text-align: center; max-width: 680px; margin-inline: auto; padding-right: 20px; }
.section-title--white { color: var(--color-white); }
.section-title--medium { font-weight: 500; }
@media (max-width: 767px) {
  .section-title { font-size: var(--text-title-mobile); line-height: var(--leading-title-mobile); }
}

/* === Component: text (body copy blocks) === */
.text { display: flow-root; font-size: inherit; font-weight: 300; line-height: var(--leading-body); }
.text p { margin: 1em 0; } /* Elementor text widgets keep the first and last paragraph margins */
.text--white { color: var(--color-white); }
.text--70 { max-width: 70%; }
@media (max-width: 767px) {
  .text--70 { max-width: none; }
}
.text a.text-link { color: var(--color-link); }

/* === Component: grey-band (full-width grey section) === */
.grey-band { background: var(--color-grey); color: var(--color-white); }
.grey-band h2 { color: var(--color-white); }

/* === Component: home-hero (photo background, logo, title, Order now) === */
.home-hero { background: var(--color-grey) url("/wp-content/uploads/2021/11/hero-bg-scaled.jpg") center / cover no-repeat; padding: 126px 0 130px; text-align: center; }
.home-hero__logo { width: 650px; margin: 0 auto 30px; }
.home-hero__title { max-width: 650px; margin-inline: auto; font-size: var(--text-hero); font-weight: 500; line-height: var(--leading-hero); color: var(--color-white); }
.home-hero .button { margin-top: 40px; }
@media (min-width: 768px) and (max-width: 797px) {
  .home-hero { padding-top: 172px; } /* the home menu wraps to two rows here (natural width 778px), as on the original */
}
@media (max-width: 767px) {
  .home-hero { padding: 123px 0 130px; }
  .home-hero__title { font-size: 1.5rem; }
  .home-hero .button { margin-top: 10px; font-size: 1rem; }
}

/* === Component: inner-hero (grey band with a big title and a faded bowl photo bleeding off the right) === */
.inner-hero { position: relative; overflow: hidden; background: var(--color-grey); padding: 60px 0 100px; }
.inner-hero__inner { position: relative; display: flex; width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.inner-hero__title { width: 60%; padding: 10px; font-size: var(--text-hero); font-weight: 500; line-height: var(--leading-hero); color: var(--color-white); }
.inner-hero__bowl { position: absolute; right: -15vw; bottom: -320px; width: 700px; max-width: none; pointer-events: none; }
.inner-hero__bowl--500 { width: 500px; }
.inner-hero__bowl--600 { width: 600px; }
@media (max-width: 1024px) {
  .inner-hero__inner { width: 100%; }
  .inner-hero__bowl { display: none; }
}
@media (max-width: 767px) {
  .inner-hero { padding: 0; }
  .inner-hero__title { width: 100%; font-size: 1.5rem; line-height: 1.5em; }
  .inner-hero__title--tall { line-height: var(--leading-hero); } /* /contact/ keeps the 74px line height on mobile */
}

/* === Component: steps (Made-to-order 1–5 steps: small heading, text, ingredient strip image) === */
.steps__row { display: flex; gap: 0; margin-top: 40px; }
.steps__row:first-child { margin-top: 0; }
.steps__col { padding: 0 20px; min-width: 0; }
.steps__title { margin-bottom: 0; font-size: var(--text-step); font-weight: 400; line-height: 1; }
.steps__text { margin: 1em 0; font-size: inherit; font-weight: 300; line-height: var(--leading-body); }
.steps__img { margin-top: 0; }
.steps__col--36 { width: 36.579%; }
.steps__col--64 { width: 63.421%; }
.steps__col--48 { width: 47.719%; }
.steps__col--52 { width: 52.281%; }
.steps__col--35 { width: 35%; }
.steps__col--65 { width: 65%; }
.steps__col--50 { width: 50%; }
.steps--light .steps__title { font-weight: 500; }
.steps--light .steps__col { padding: 0; }
.steps--light .steps__col--65 { padding-left: 40px; }
.steps--light .steps__col--50:first-child { padding-right: 20px; }
.steps--light .steps__col--50 + .steps__col--50 { padding-left: 20px; }
@media (max-width: 767px) {
  .steps__row { flex-direction: column; margin-top: 0; }
  .steps__col { width: 100% !important; }
  .steps__title { font-size: var(--text-step-mobile); }
}

/* === Component: feature (icon + heading + text; icon is a background image at top left) === */
.features__row { display: flex; margin: 30px 0; }
.features__row + .features__row { margin-top: 60px; }
.feature { flex: 1 1 50%; min-width: 0; margin-right: 50px; padding: 35px 0 0 120px; background: no-repeat top left / 100px auto; }
.feature--quality { background-image: url("/wp-content/uploads/2021/11/curry-1-2.png"); }
.feature--collect { background-image: url("/wp-content/uploads/2021/11/take-away-1.png"); }
.feature--prices { background-image: url("/wp-content/uploads/2021/11/pound-sterling-2.png"); }
.feature--sustainability { background-image: url("/wp-content/uploads/2021/11/Vegetarian.png"); }
.feature__title { margin-bottom: 0; font-size: var(--text-step); font-weight: 400; line-height: 1; }
.feature__text { display: flow-root; margin: 0; font-size: inherit; font-weight: 300; line-height: var(--leading-body); }
.feature__text p { margin: 1em 0; }
@media (max-width: 1024px) {
  .feature { padding: 120px 0 50px 20px; }
  .feature + .feature { margin: 0 0 0 20px; padding-bottom: 0; }
  .features__row + .features__row .feature { padding-bottom: 0; }
  .features__row + .features__row .feature + .feature { margin-left: 50px; }
  .feature__text--pad { padding-top: 12px; }
}
@media (max-width: 767px) {
  .features__row { flex-direction: column; margin: 30px 0 0; }
  .feature, .feature + .feature, .features__row + .features__row .feature + .feature { padding: 120px 0 0; margin: 0 0 50px; background-position: top center; }
  .feature__title { font-size: var(--text-step-mobile); }
}

/* === Component: social-icons (grey circles) === */
.social-icons { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-grey-light); color: var(--color-white); font-size: 20px; transition: opacity var(--duration) var(--ease); }
.social-icons a:hover { opacity: 0.9; }

/* === Component: review-card (frozen Trustindex Google reviews, 3-column dark cards) === */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1104px; margin: 60px auto 0; padding: 0; list-style: none; font-family: var(--font-body); }
.review-card { display: flex; flex-direction: column; min-height: 237px; padding: 20px 22px; border-radius: 8px; background: var(--color-review-card); color: var(--color-white); font-size: 15px; font-weight: 400; line-height: 1.45; }
.review-card__header { display: flex; align-items: center; gap: 15px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.review-card__who { flex: 1; min-width: 0; }
.review-card__name { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.review-card__date { margin: 0; font-size: 12px; font-weight: 600; color: var(--color-review-date); line-height: 1.3; }
.review-card__platform { align-self: flex-start; width: 20px; height: 20px; }
.review-card__stars { display: flex; gap: 1px; margin: 12px 0 10px; }
.review-card__stars img { width: 17px; height: 17px; }
.review-card__text { margin: 0; overflow-wrap: anywhere; }
.js .review-card:not(.is-expanded) .review-card__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.review-card__more { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--color-review-date); font: inherit; font-size: 13px; cursor: pointer; }
.review-card__more[hidden] { display: none; }
.reviews-rating { margin: 20px 0 40px; font-size: 14px; font-weight: 400; text-align: center; }
.reviews-rating strong { font-weight: 600; }
.reviews-rating span { white-space: nowrap; }
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .reviews-grid { grid-template-columns: 1fr; margin-top: 20px; }
}

/* === Component: menu-box (dashed coupon-style box: Buffet / Made to order) === */
.menu-box { position: relative; margin: 20px; padding: 75px 30px; border-radius: 10px; }
.menu-box::before { content: ""; position: absolute; inset: -8px; border: 10px dashed #000; border-radius: 10px; }
.menu-box::after { content: ""; position: absolute; inset: -8px; border: 8px solid var(--color-white); }
.menu-box > * { position: relative; z-index: 2; }
.menu-box__title { margin-bottom: 0; font-size: var(--text-step); font-weight: 500; line-height: 1; }
.menu-box__hours, .menu-box__text { margin: 0; }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.price-box { padding: 20px; border: 1px solid var(--color-muted); color: var(--color-muted); font-size: 16px; font-weight: 400; line-height: 1.25; text-align: center; }
.price-box p { margin: 16px 0; }
.price-box strong { font-weight: 700; }
@media (max-width: 767px) {
  .menu-box { padding: 50px 20px; }
  .prices { flex-wrap: wrap; }
}

/* === Component: info-list (contact page: small icon + label, then text) === */
.info-item { margin-bottom: 20px; }
.info-item__label { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 16px; font-weight: 300; line-height: 1; }
.info-item__label img { width: 24px; height: 24px; }
.info-item__text p { margin: 1em 0; }
.info-title { margin: 0 0 10px; font-size: var(--text-step); font-weight: 500; line-height: 1; }
.info-title--spaced { margin-bottom: 30px; }
.info-title--20 { margin-bottom: 20px; }
.info-item--gap { margin-bottom: 20px; }

/* === Component: gallery (4-column image grid; GLightbox opens a.glightbox links) === */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr; }
}

/* === Component: lightbox (GLightbox styled like Elementor's dark lightbox) === */
.glightbox-clean .goverlay { background: rgb(0 0 0 / 0.9); }

/* === Component: map === */
.map { display: block; width: 100%; height: 600px; border: 0; }

/* === Component: contact-email (replaces the Elementor Pro forms: mailto button + visible address + phone) === */
.contact-email { display: grid; gap: 20px; justify-items: stretch; margin-top: 20px; }
.contact-email__fields { margin: 0; font-weight: 400; }
.contact-email__address, .contact-email__phone { margin: 0; font-weight: 400; word-break: break-word; }
.contact-email__address a, .contact-email__phone a { text-decoration: underline; text-underline-offset: 2px; }

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

/* === Page: / (home) === */
.home-about { padding: 150px 0 100px; }
.home-about__inner { display: flex; max-width: 1440px; margin-inline: auto; }
.home-about__text { width: 50%; padding: 0 60px 0 140px; }
.home-about__media { width: 50%; padding-left: 5px; }
.home-about__title { margin-bottom: 20px; font-size: var(--text-title); font-weight: 400; line-height: 1; }
.home-about__social { display: flex; align-items: center; flex-wrap: wrap; margin-top: 40px; padding: 10px; }
.home-about__social h2 { font-size: 24px; font-weight: 600; line-height: 1; }
.home-about__social .social-icons { margin-left: 20px; }
.home-about__badges { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; padding: 0 10px 0 5px; }
.home-about__team { width: 710px; }
.home-made { padding: 100px 0; }
.home-made__title { max-width: 680px; margin: 0 auto 80px; text-align: center; }
.home-made__subtitle { margin: 0 0 80px; }
.home-made__last { display: flex; align-items: center; margin: 100px 0 46px; }
.home-made__last > :first-child { width: 56%; padding: 0 20px; }
.home-made__last > :last-child { width: 44%; padding: 0 20px; }
.home-features { padding: 150px 0 100px; }
.home-features__inner { max-width: 1440px; margin-inline: auto; }
.home-features__title { max-width: 680px; margin: 0 auto 80px; padding-right: 20px; text-align: center; }
.home-app { display: flex; min-height: 600px; }
.home-app__text { width: 50%; padding: 100px 0 100px 140px; }
.home-app__title { padding-right: 20px; margin-bottom: 20px; }
.home-app__badges { display: block; width: max-content; margin-top: 20px; }
.home-app__badges img { width: 250px; }
.home-app__mockup { width: 50%; background: url("/wp-content/uploads/2021/11/mockup.png") center / cover no-repeat; min-height: 320px; }
.home-reviews { padding: 150px 0 100px; }
.home-reviews__title { max-width: 680px; margin: 0 auto; padding-right: 20px; text-align: center; }
.home-parking { padding: 10px 0 0; text-align: center; }
@media (min-width: 1025px) {
  .home-parking .container { padding-inline: 10px; }
}
.home-parking h2 { font-size: 48px; font-weight: 600; line-height: 1; margin-bottom: 20px; }
.home-parking__text { display: flow-root; padding-bottom: 60px; font-weight: 400; line-height: 1.25; }
.home-parking__text p { margin: 16px 0; }
@media (max-width: 1024px) {
  .home-about { padding: 100px 30px; }
  .home-about__inner { flex-direction: column; }
  .home-about__text, .home-about__media { width: 100%; padding: 0; }
  .home-about__team { margin-inline: auto; }
  .home-made { padding: 50px 30px; }
  .home-features { padding: 50px 30px; }
  .home-app { flex-direction: column; }
  .home-app__text, .home-app__mockup { width: 100%; }
  .home-app__text { padding: 50px; }
  .home-reviews { padding: 50px 25px; }
}
@media (max-width: 767px) {
  .home-about { padding: 50px 20px; }
  .home-about__title { font-size: var(--text-title-mobile); }
  .home-about__social h2 { font-size: 1.3rem; }
  .home-about__social .social-icons { margin: 10px 0 0; gap: 40px; }
  .home-about__badges { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 10px; }
  .home-about__badges img:last-child { align-self: flex-end; }
  .home-made { padding: 50px 20px; }
  .home-made .container { width: 100%; }
  .home-made .steps__row { gap: 40px; margin-top: 40px; }
  .home-made__title { margin-bottom: 40px; }
  .home-made__last { flex-direction: column; align-items: stretch; margin-top: 90px; }
  .home-made__last > :last-child { margin-top: 40px; }
  .home-made__last > :first-child, .home-made__last > :last-child { width: 100%; justify-content: flex-start; }
  .home-features { padding: 50px 20px; }
  .home-features__title { margin-bottom: 40px; }
  .home-app__text { padding: 50px 20px; }
  .home-app__mockup { min-height: 600px; }
  .home-reviews { padding: 50px 20px; }
  .home-reviews__title { font-size: 1.25rem; line-height: 1; }
}

/* === Page: /menu/ === */
.menu-services { padding: 100px 0 0; }
.menu-services__inner { display: flex; width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.menu-services__col { width: 50%; }
.menu-services__note { margin: 0 20px; padding-top: 0; }
.menu-steps { padding: 100px 0; }
.menu-steps__title { margin: 0 0 60px; }
.menu-steps__title--spaced { margin-top: 140px; }
.menu-steps__strip { width: 1024px; margin-top: 20px; }
.menu-steps .steps__row + .steps__row { margin-top: 70px; }
.menu-steps__last { display: flex; align-items: center; margin-top: 83px; }
.menu-steps__last > :first-child { width: 56%; }
.menu-steps__last > :last-child { width: 44%; }
@media (max-width: 767px) {
  .menu-services { padding: 40px 10px 20px; }
  .prices { gap: 0; }
  .menu-services__inner { flex-direction: column; width: 100%; }
  .menu-services__col { width: 100%; padding: 0; }
  .menu-steps { padding: 50px 20px; }
  .menu-steps .container { width: 100%; }
  .menu-steps .steps__col { padding: 0 !important; }
  .menu-steps .steps__row { gap: 20px; }
  .menu-steps .steps__row + .steps__row { margin-top: 50px; }
  .menu-steps__title { margin-bottom: 30px; font-size: var(--text-title-mobile); line-height: var(--leading-title-mobile); }
  .menu-steps__title--spaced { margin-top: 50px; }
  .menu-steps__last { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .menu-steps__last > :first-child, .menu-steps__last > :last-child { display: block; width: 100%; padding: 0; }
  .menu-steps__last > :last-child { margin-top: 20px; }
}

/* === Page: /gallery/ === */
.gallery-section { padding: 100px 0; }
.gallery-section__inner { max-width: 1440px; margin-inline: auto; }
.gallery-section__title { max-width: 700px; margin: 0 auto 50px; padding-right: 20px; text-align: center; font-weight: 500; }
@media (max-width: 767px) {
  .gallery-section { padding: 50px 20px; }
}

/* === Page: /contact/ and /group-bookings/ (enquiry sections) === */
.enquiry { position: relative; z-index: 1; background: var(--color-white); padding: 150px 0 100px; }
.enquiry__inner { display: flex; width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.enquiry__main { width: 60%; flex: none; }
.enquiry__aside { width: 40%; flex: none; margin-top: 20px; padding-left: 80px; }
.enquiry__title { margin-bottom: 20px; }
.enquiry--single .enquiry__main { width: 60.776%; }
@media (max-width: 767px) {
  .enquiry { padding: 60px 20px 50px; }
  .enquiry__inner { flex-direction: column; width: 100%; }
  .enquiry__main, .enquiry--single .enquiry__main { width: 100%; }
  .enquiry__aside { width: 100%; margin: 50px 0 0; padding-left: 0; }
}

/* === Page: /contact/ (map) === */
.contact-map__inner { width: min(100% - 2 * 140px, 1160px); margin-inline: auto; }
@media (max-width: 1024px) {
  .contact-map__inner { width: 100%; }
}

/* === Page: /404.html === */
.not-found { padding: 100px 0; text-align: center; }
.not-found__title { margin-bottom: 10px; }
.not-found__links { margin-top: 30px; }
@media (max-width: 767px) {
  .not-found { padding: 50px 10px; }
}

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

/* ============ 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; }
}
