/* =========================================================================
   Signature Floors & More — public site styles
   Brand: Gold #CBA53A · Black #111111 · Charcoal #333333
          Ivory #F7F5F2 · Warm Oak #B87A57 · White #FFFFFF
   ========================================================================= */

:root {
  --gold: #CBA53A;
  --gold-dark: #a8862c;
  --black: #111111;
  --charcoal: #333333;
  --ivory: #F7F5F2;
  --oak: #B87A57;
  --white: #FFFFFF;
  --line: #E7E2D8;
  --text-muted: #6b6b66;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 6px;
  --shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--black); margin: 0 0 0.5em; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { border-color: var(--white); }
.btn--outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline-dark:hover { background: var(--black); color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

/* ----------------------------------------------------------------- Topbar */
.topbar { background: var(--black); color: rgba(255,255,255,0.85); font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; gap: 16px; }
.topbar__location, .topbar__phone { display: inline-flex; align-items: center; gap: 6px; }
.topbar__phone:hover, .topbar__location:hover { color: var(--gold); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a:hover { color: var(--gold); }

/* ------------------------------------------------------------- Site header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 210; }
.site-header__inner { display: flex; align-items: center; gap: 28px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__logo-img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--black); }
.brand__sub { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--gold); margin-top: -2px; }
.brand__tagline { font-size: 0.68rem; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 2px; }
.brand--footer .brand__name, .brand--footer .brand__sub { color: var(--white); }
.brand--footer .brand__sub { color: var(--gold); }
.brand--footer .brand__logo-img { height: 38px; }

.main-nav { display: flex; align-items: center; gap: 24px; font-weight: 500; font-size: 0.95rem; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; color: var(--charcoal); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-dark); border-color: var(--gold); }
.nav-cta { flex-shrink: 0; margin-left: 4px; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 220px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease; z-index: 50;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 4px; font-size: 0.9rem; }
.dropdown a:hover { background: var(--ivory); color: var(--gold-dark); }

/* Hamburger button — hidden on desktop, animates into an X when the mobile
   menu is open. This is the ONLY menu-open/close control; the mobile menu
   itself has no separate close button — tap it again, tap the backdrop, or
   press Escape. */
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; position: relative; z-index: 260; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dimmed backdrop shown behind the slide-in mobile menu. */
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(17,17,17,0.5); z-index: 190;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.nav-backdrop.is-open { display: block; opacity: 1; visibility: visible; }

/* ------------------------------------------------------------- Page hero (inner pages) */
.page-hero { position: relative; background: var(--black); color: var(--white); padding: 64px 0; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 46ch; margin-bottom: 0; }
.page-hero__panel { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.page-hero__panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-badges { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.hero-badge strong { display: block; color: var(--white); font-size: 0.9rem; }
.hero-badge small { color: rgba(255,255,255,0.6); }

/* Admin-set hero background image/video override (Admin → Pages) */
.page-hero--media { background-size: cover; background-position: center; }
.page-hero--media .page-hero__inner { grid-template-columns: 1fr; }
.page-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero__overlay { position: absolute; inset: 0; z-index: 1; }
.page-hero--overlay-dark .page-hero__overlay { background: rgba(17,17,17,0.55); }
.page-hero--overlay-light .page-hero__overlay { background: rgba(255,255,255,0.7); }
.page-hero--overlay-light.page-hero--media h1,
.page-hero--overlay-light.page-hero--media .breadcrumb { color: var(--black); }
.page-hero--overlay-light.page-hero--media p { color: var(--charcoal); }
.page-hero--media .page-hero__inner { position: relative; z-index: 2; }
.page-hero--text-only .page-hero__inner { grid-template-columns: 1fr; }
.page-hero--panel-left .page-hero__inner { grid-template-columns: 0.8fr 1.2fr; }
.page-hero--panel-left .page-hero__panel { order: -1; }
@media (max-width: 760px) {
  .page-hero__video { display: none; }
}

/* --------------------------------------------------------------- Home hero */
.home-hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.home-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; min-height: 560px; gap: 0; }
.home-hero__content { padding: 40px 0; position: relative; z-index: 2; }
.home-hero__eyebrow { color: var(--gold); letter-spacing: 0.03em; font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.home-hero__content h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.4rem); white-space: pre-line; margin-bottom: 18px; }
.home-hero__content p { color: rgba(255,255,255,0.78); max-width: 44ch; font-size: 1.02rem; }
.home-hero__actions { display: flex; gap: 14px; margin: 26px 0 30px; flex-wrap: wrap; }
.home-hero__image { position: relative; height: 100%; min-height: 420px; }
.home-hero__image img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.home-hero__image-overlay { position: absolute; inset: 0; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.home-hero--overlay-dark .home-hero__image-overlay { background: rgba(17,17,17,0.4); }
.home-hero--overlay-light .home-hero__image-overlay { background: rgba(255,255,255,0.35); }
.home-hero__image .slider--cover { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 1080px) {
  .home-hero__image .slider--cover { clip-path: none; }
}

/* --------------------------------------------------------------- Sections */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--black); color: rgba(255,255,255,0.85); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--gold); }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--text-muted); }
.section--dark .section-head p { color: rgba(255,255,255,0.68); }

/* ------------------------------------------------------------- Card grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__image { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.service-card__icon { position: absolute; bottom: -20px; left: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.service-card__body { padding: 30px 20px 20px; }
.service-card__body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card__body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item__icon { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section--dark .feature-item__icon { color: var(--gold); border-color: var(--gold); }
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }
.section--dark .feature-item p { color: rgba(255,255,255,0.65); }

.value-card { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 18px; }
.value-card__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--ivory); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; }
.value-card h4 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

.project-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(to top, rgba(0,0,0,0.82), transparent); color: var(--white); }
.project-card__caption h4 { color: var(--white); font-size: 1rem; margin-bottom: 2px; }
.project-card__caption span { font-size: 0.82rem; color: var(--gold); }
.projects-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 14px; }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--charcoal); }
.filter-pill.is-active, .filter-pill:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.stat-panel { background: var(--ivory); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.stat-panel .stat + .stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-dark); }
.stat span { color: var(--text-muted); font-size: 0.88rem; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process-step { text-align: center; padding: 0 10px; }
.process-step__icon { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; background: rgba(203,165,58,0.08); }
.process-step h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.process-step p { color: rgba(255,255,255,0.65); font-size: 0.87rem; margin: 0; }

.testimonial-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.testimonial-card__stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--charcoal); }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); }
.testimonial-card__avatar--photo { object-fit: cover; background: var(--ivory); }

/* --------------------------------------------------------- Google reviews */
.google-reviews__summary { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.google-reviews__summary strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--black); }
.google-reviews__stars { color: var(--gold); letter-spacing: 2px; }
.google-reviews__count { color: var(--text-muted); font-size: 0.88rem; }
.google-reviews__actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .google-reviews__actions { flex-direction: column; align-items: stretch; }
}
.testimonial-card__author strong { display: block; font-size: 0.92rem; }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-muted); }

/* -------------------------------------------------------------- CTA band */
/* --------------------------------------------------------------- Site CTA */
.site-cta { background: linear-gradient(120deg, #f2debe, var(--gold) 70%); padding: 40px 0; }
.site-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-cta__lead { display: flex; align-items: center; gap: 18px; flex: 1 1 380px; min-width: 0; }
.site-cta__icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-cta__text { min-width: 0; }
.site-cta__text h3 { margin-bottom: 4px; font-size: 1.45rem; }
.site-cta__text p { margin: 0; color: rgba(17,17,17,0.75); }
.site-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.site-cta__actions .btn { white-space: nowrap; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.2fr; gap: 34px; padding: 60px 24px 40px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.88rem; }
.footer-line { display: flex; align-items: flex-start; gap: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.newsletter-form { display: flex; margin-top: 6px; border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); overflow: hidden; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 12px 14px; color: var(--white); font-family: var(--font-body); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { background: var(--gold); border: none; padding: 0 16px; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom__inner { display: flex; justify-content: space-between; padding: 18px 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom__links { display: flex; gap: 18px; }
.footer-bottom__links a:hover { color: var(--gold); }

/* -------------------------------------------------------- Products listing */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: flex-start; }
.filter-box { background: var(--ivory); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.filter-box h3 { font-size: 1.05rem; margin-bottom: 16px; }
.filter-box__summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--black); margin-bottom: 16px; }
.filter-box__summary::-webkit-details-marker { display: none; }
.filter-box__summary::after { content: '\2212'; color: var(--gold-dark); font-size: 1.2rem; line-height: 1; }
.filter-details:not([open]) .filter-box__summary { margin-bottom: 0; }
.filter-details:not([open]) .filter-box__summary::after { content: '+'; }
.filter-group { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.filter-group__title { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; color: var(--gold-dark); font-weight: 700; margin-bottom: 10px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; padding: 5px 0; cursor: pointer; }
.filter-range { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }
.products-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.products-toolbar__count { font-size: 0.9rem; color: var(--text-muted); }
.select { padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-family: var(--font-body); font-size: 0.88rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__image { aspect-ratio: 4/3; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 16px; }
.product-card__body span.tag { font-size: 0.78rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.03em; }
.product-card__body h4 { font-size: 1rem; margin: 4px 0 6px; }
.product-card__price { font-weight: 700; color: var(--black); margin-bottom: 12px; display: block; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ------------------------------------------------------------ Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.88rem; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-dark); }
.pagination .is-active { background: var(--black); color: var(--white); border-color: var(--black); }

/* --------------------------------------------------------- Product details */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pd-gallery img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.pd-info .tag { color: var(--gold-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.pd-info h1 { margin: 8px 0 14px; }

/* ------------------------------------------------------------- Sliders -- */
.slider { position: relative; overflow: hidden; }
.slider__track { position: relative; width: 100%; height: 100%; }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.slider__slide.is-active { opacity: 1; pointer-events: auto; }
.slider__slide img, .slider__slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider__zoom-trigger { display: block; width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }

.slider--cover { position: absolute; inset: 0; border-radius: 0; z-index: 0; }
.slider--split .slider__track, .slider--detail .slider__track { aspect-ratio: 4/3; }
.slider--project-detail .slider__track { aspect-ratio: 21/9; max-height: 460px; }
@media (max-width: 760px) {
  .slider--project-detail .slider__track { aspect-ratio: 16/10; max-height: 320px; }
}
.slider--split, .slider--detail, .slider--project-detail { border-radius: var(--radius); box-shadow: var(--shadow); }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(17,17,17,0.5); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease;
}
.slider__arrow:hover { background: rgba(17,17,17,0.75); }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
.slider__dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 6px; }
.slider__dot { width: 8px; height: 8px; border-radius: 4px; border: none; background: rgba(255,255,255,0.55); cursor: pointer; padding: 0; transition: all .2s ease; }
.slider__dot.is-active { background: #fff; width: 20px; }
@media (max-width: 760px) {
  .slider__arrow { width: 32px; height: 32px; }
}

/* ------------------------------------------------------ Media gallery --- */
.pd-gallery__main { position: relative; display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.pd-gallery__main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s ease; }
.pd-gallery__main:hover img { transform: scale(1.03); }
.pd-gallery__zoom-hint {
  position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px;
  background: rgba(17,17,17,0.72); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: 0.78rem;
  opacity: 0; transition: opacity .18s ease;
}
.pd-gallery__main:hover .pd-gallery__zoom-hint { opacity: 1; }
.pd-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.pd-gallery__thumb { position: relative; padding: 0; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.pd-gallery__thumb:hover { border-color: var(--gold); }
.pd-gallery__thumb img, .pd-gallery__thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(17,17,17,0.35); color: #fff; }

/* --------------------------------------------------------- Gallery grid - */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-grid__item { position: relative; padding: 0; border: none; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--ivory); }
.gallery-grid__item img, .gallery-grid__item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-grid__item:hover img, .gallery-grid__item:hover video { transform: scale(1.06); }
.gallery-grid__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(17,17,17,0.3); color: #fff; }
.gallery-grid__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: 0.82rem; text-align: left; color: #fff;
  background: linear-gradient(to top, rgba(17,17,17,0.82), transparent); opacity: 0; transition: opacity .18s ease;
}
.gallery-grid__item:hover .gallery-grid__caption { opacity: 1; }
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}

/* --------------------------------------------------------- Home gallery - */
.home-gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) {
  .home-gallery-preview { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .home-gallery-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ------------------------------------------------------------- Lightbox - */
.lightbox {
  position: fixed; inset: 0; z-index: 800; background: rgba(10,10,10,0.94);
  display: none; align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.is-open { display: flex; }
.lightbox__stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.lightbox__stage img, .lightbox__stage video {
  max-width: 90vw; max-height: 82vh; object-fit: contain; cursor: zoom-in; transition: transform .2s ease;
  user-select: none; -webkit-user-drag: none;
}
.lightbox__stage.is-zoomed img { cursor: grab; transition: none; }
.lightbox__stage.is-dragging img { cursor: grabbing; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s ease; z-index: 2;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.55); font-size: 0.78rem; }
@media (max-width: 760px) {
  .lightbox__hint { display: none; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__close { width: 38px; height: 38px; top: 12px; right: 12px; }
}
.pd-price { font-size: 1.6rem; font-weight: 700; color: var(--black); margin-bottom: 18px; }
.pd-price span { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.pd-list { margin: 18px 0; }
.pd-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 0.92rem; }
.pd-list li svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }
.pd-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

/* -------------------------------------------------------------------- Blog */
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.blog-card__image { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 20px; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; }
.blog-details-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.blog-content { font-size: 1.02rem; }
.blog-content p { margin-bottom: 1.3em; }
.blog-sidebar-card { background: var(--ivory); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.blog-sidebar-card h4 { font-size: 1rem; margin-bottom: 14px; }
.recent-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent-post:last-child { border-bottom: none; }
.recent-post img { width: 60px; height: 60px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.recent-post h5 { font-size: 0.88rem; margin: 0 0 4px; line-height: 1.35; }
.recent-post span { font-size: 0.76rem; color: var(--text-muted); }
.tag-pill { display: inline-block; padding: 5px 12px; background: var(--ivory); border-radius: 999px; font-size: 0.78rem; margin: 0 6px 6px 0; color: var(--gold-dark); }

/* ---------------------------------------------------------------- Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--black); }
.form-group .req { color: var(--gold-dark); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  background: var(--white); color: var(--charcoal);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,165,58,0.18); }
textarea { resize: vertical; min-height: 120px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
.alert--success { background: #eaf6ec; color: #1f7a34; border: 1px solid #b9e3c1; }
.alert--error { background: #fdeceb; color: #b3271e; border: 1px solid #f3c1bc; }
.alert ul { margin: 0; padding-left: 18px; list-style: disc; }

/* ------------------------------------------------------------ Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 24px; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ------------------------------------------------------------------- FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary { padding: 18px 20px; cursor: pointer; font-weight: 600; color: var(--black); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--gold-dark); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item__body { padding: 0 20px 20px; color: var(--text-muted); font-size: 0.94rem; }

/* -------------------------------------------------------------- Projects */
.project-detail-hero { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.project-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--ivory); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; }
.project-meta-grid div span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--gold-dark); margin-bottom: 4px; }
.project-meta-grid div strong { font-size: 0.98rem; }

/* ------------------------------------------------------- Page builder --- */
.page-section { position: relative; padding: 64px 0; overflow: hidden; background-size: cover; background-position: center; }
.page-section--standard { padding: 56px 0; }
.page-section--highlight { background-color: var(--ivory); padding: 56px 0; }
.page-section--hero { min-height: 60vh; display: flex; align-items: center; padding: 80px 0; }
.page-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-section__overlay { position: absolute; inset: 0; z-index: 1; }
.page-section--overlay-dark .page-section__overlay { background: rgba(17,17,17,0.55); }
.page-section--overlay-light .page-section__overlay { background: rgba(255,255,255,0.65); }
.page-section__inner { position: relative; z-index: 2; max-width: 760px; }
.page-section--center .page-section__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.page-section--on-media h2 { color: var(--white); }
.page-section--on-media .page-section__subheading,
.page-section--on-media .page-section__body { color: rgba(255,255,255,0.88); }
.page-section--overlay-light.page-section--on-media h2 { color: var(--black); }
.page-section--overlay-light.page-section--on-media .page-section__subheading,
.page-section--overlay-light.page-section--on-media .page-section__body { color: var(--charcoal); }
.page-section__subheading { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 14px; }
.page-section__icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 16px; }
.page-section--center .page-section__icon { margin-left: auto; margin-right: auto; }
.page-section__body { margin-bottom: 18px; }
.page-section__body p:last-child { margin-bottom: 0; }
.page-section__body ul { list-style: none; padding: 0; margin: 0 0 16px; }
.page-section__body ul li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 0.95rem; }
.page-section__body ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: rgba(203,165,58,0.15); }
.page-section__body ul li::after { content: '✓'; position: absolute; left: 2px; top: 3px; font-size: 0.7rem; color: var(--gold-dark); font-weight: 700; }
.page-section__body .two-col-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-bottom: 4px; }
.page-section__body .two-col-lists > div p { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-dark); font-weight: 700; margin-bottom: 8px; }
.page-section__body .two-col-lists ul { margin-bottom: 0; }
@media (max-width: 560px) {
  .page-section__body .two-col-lists { grid-template-columns: 1fr; }
}

/* Split layout — image on one side, content on the other. Used to
   reproduce the original "Who We Are" / services page look while keeping
   everything admin-editable, incl. the background image and left/right
   placement. */
.page-section--split { padding: 64px 0; }
.page-section--split.page-section--highlight { background: var(--ivory); }
.page-section__split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.page-section__split-inner.is-image-left .page-section__split-media { order: -1; }
.page-section__split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.page-section__split-content .page-section__body { color: var(--charcoal); }

/* On phones, skip decorative background video (saves data/battery) and show
   the background image (or the poster frame) as a plain CSS background
   instead — the poster attribute already gives us that image for free. */
@media (max-width: 760px) {
  .page-section__video { display: none; }
  .page-section--hero { min-height: 46vh; padding: 56px 0; }
  .page-section__split-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-section__split-inner.is-image-left .page-section__split-media { order: 0; }
  .page-section--split { padding: 44px 0; }
}

/* --------------------------------------------------------- Site background */
.site-bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
@media (max-width: 760px) {
  .site-bg-video { display: none; }
}

/* ----------------------------------------------------- WhatsApp floating -- */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 500; transition: transform .15s ease, box-shadow .15s ease; touch-action: none; user-select: none;
  cursor: grab;
}
.whatsapp-fab--left { right: auto; left: 20px; }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,0.32); }
.whatsapp-fab.is-dragging { cursor: grabbing; transition: none; transform: scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,0.4); }
.whatsapp-fab__ring {
  position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
  animation: whatsapp-pulse 2.6s ease-out infinite;
}
.whatsapp-fab.is-dragging .whatsapp-fab__ring { animation: none; }
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.whatsapp-fab__label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--black); color: #fff; padding: 7px 14px; border-radius: 6px; font-size: 0.82rem; font-weight: 500;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.whatsapp-fab--left .whatsapp-fab__label { right: auto; left: calc(100% + 12px); transform: translateY(-50%) translateX(-6px); }
.whatsapp-fab:hover .whatsapp-fab__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (hover: none) {
  .whatsapp-fab__label { display: none; }
}
@media (max-width: 760px) {
  .whatsapp-fab { width: 52px; height: 52px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-fab--left { right: auto; left: 16px; }
}

/* --------------------------------------------------------------- Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.legal-content h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--charcoal); }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.error-page { text-align: center; padding: 120px 24px; }
.error-page .code { font-family: var(--font-display); font-size: 5rem; color: var(--gold); margin-bottom: 0; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 1fr; }
  .filter-box { position: static; }
  .pd-layout, .blog-details-layout, .contact-layout { grid-template-columns: 1fr; }
  .home-hero__inner { grid-template-columns: 1fr; min-height: unset; }
  .home-hero__image { min-height: 300px; order: -1; }
  .home-hero__image img { clip-path: none; }
  .home-hero__video { display: none; }
  .home-hero__image-overlay { clip-path: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__panel { display: none; }
}

/* Tablet-specific form tightening — contact/quote form fields go full-width
   one-per-row here rather than waiting for the phone breakpoint, and get a
   little less padding so they don't feel oversized on a ~768–1024px screen. */
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 26px 22px; }
  .form-group { margin-bottom: 16px; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
    padding: 11px 13px; font-size: 0.92rem;
  }
  .contact-info-card { padding: 14px 0; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 36px 0; }
  .section-head { margin-bottom: 30px; }

  .topbar__location { display: none; }
  .topbar__inner { padding: 8px 18px; }
  .site-header__inner { padding: 12px 18px; gap: 14px; }
  .brand__tagline { display: none; }

  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 84%; max-width: 320px; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 96px 24px 28px; gap: 2px; transition: right .3s cubic-bezier(.4,0,.2,1); z-index: 200; box-shadow: -10px 0 40px rgba(0,0,0,0.2); overflow-y: auto; }
  .main-nav.is-open { right: 0; }
  .nav-link { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .has-dropdown { width: 100%; }
  .has-dropdown .nav-link { border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-cta { display: flex; justify-content: center; margin: 20px 0 0; width: 100%; }
  .nav-toggle { display: flex; }
  body.nav-is-open { overflow: hidden; }

  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .project-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 18px 30px; }
  .site-cta { padding: 30px 0; }
  .site-cta__inner { flex-direction: column; text-align: center; }
  .site-cta__lead { flex-direction: column; text-align: center; }
  .site-cta__actions { justify-content: center; width: 100%; }
  .site-cta__actions .btn { flex: 1 1 auto; }

  .home-hero__image { min-height: 240px; }
  .home-hero__actions { flex-direction: column; align-items: stretch; }
  .home-hero__actions .btn { justify-content: center; }
  .hero-badges { gap: 16px 22px; }

  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 1.7rem; }

  .pd-actions { flex-direction: column; align-items: stretch; }
  .pd-actions .btn { justify-content: center; }

  .products-toolbar, .projects-toolbar { flex-direction: column; align-items: stretch; }
  .products-toolbar form, .products-toolbar .select { width: 100%; }

  table.data-table { font-size: 0.85rem; }

  /* Contact / Quote / Newsletter inputs — more compact and never wider
     than the screen, with breathing room instead of edge-to-edge fields. */
  .form-card { padding: 24px 18px; }
  .contact-layout, .form-card { max-width: 100%; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
    padding: 10px 12px; font-size: 0.9rem;
  }
  textarea { min-height: 100px; }
  .newsletter-form input { padding: 10px 12px; font-size: 0.85rem; }
  .newsletter-form button { padding: 0 14px; }
}

@media (max-width: 480px) {
  .home-hero__content h1 { font-size: 1.9rem; }
  .home-hero__image { min-height: 200px; }
  .hero-badges { flex-direction: column; gap: 10px; }
  .project-meta-grid { grid-template-columns: 1fr; }
  .stat-panel { flex-direction: row; flex-wrap: wrap; }
  .stat-panel .stat { flex: 1 1 45%; border-top: none !important; padding-top: 0 !important; }
  .error-page { padding: 80px 20px; }
  .error-page .code { font-size: 3.6rem; }
  .form-card { padding: 18px 14px; }
  .form-group { margin-bottom: 14px; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
    padding: 9px 11px; font-size: 0.88rem;
  }
}
