/* JapanAutoSource.ie — layout matching the existing site, with working imagery */

:root {
  --ink: #17191b;
  --ink-soft: #2b2f33;
  --body: #4a5055;
  --muted: #7a8086;
  --paper: #faf9f6;
  --sand: #f1efe9;
  --line: #e2dfd8;
  --red: #c4161c;
  --red-dark: #a51118;
  --red-on-dark: #e8464c;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--red); color: #fff; }

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(58px, 7.5vw, 96px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(32px, 4.5vw, 48px);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
}
.lede {
  margin-top: 14px;
  color: var(--body);
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.7;
}
.section-head--center {
  margin-inline: auto;
  max-width: 660px;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; max-width: 560px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -26px rgba(0, 0, 0, 0.55); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-img { width: 172px; height: auto; }

.nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.site-header .header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav.is-open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 4px 20px 16px;
  box-shadow: 0 30px 40px -34px rgba(0, 0, 0, 0.5);
}
.nav.is-open a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.nav.is-open a:last-child { border-bottom: 0; }
.nav.is-open a.nav-cta {
  margin-top: 10px;
  padding: 13px 16px;
  background: var(--red);
  border-bottom: 0;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 1024px) {
  .header-inner { min-height: 86px; }
  .brand-img { width: 205px; }
  .nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
  .nav a {
    position: relative;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 500;
    color: #2e3236;
    text-decoration: none;
    white-space: nowrap;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--red);
    transition: right 0.25s;
  }
  .nav a:hover::after { right: 0; }
  .nav a.nav-cta {
    padding: 10px 15px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .nav a.nav-cta::after { display: none; }
  .nav a.nav-cta:hover { filter: brightness(0.92); color: #fff; }
  .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7); }

.header-cta { min-height: 46px; padding: 0 20px; font-size: 11px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(470px, 62vh, 620px);
  background: #0f1011;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(9, 10, 11, 0.88) 0%, rgba(9, 10, 11, 0.62) 46%, rgba(9, 10, 11, 0.14) 84%, rgba(9, 10, 11, 0.05) 100%);
}
.hero-inner { width: 100%; padding-block: clamp(44px, 7vw, 76px); }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.eyebrow-line { width: 28px; height: 1px; background: var(--red); flex: none; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 7.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
}
.hero .dot { color: var(--red); }
.hero-lede {
  margin-top: 20px;
  max-width: 530px;
  font-size: clamp(15px, 1.55vw, 17.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 767px) {
  .hero::after {
    background: linear-gradient(100deg, rgba(9, 10, 11, 0.9) 0%, rgba(9, 10, 11, 0.76) 55%, rgba(9, 10, 11, 0.42) 100%);
  }
}
@media (min-width: 768px) {
  .hero h1 { font-size: clamp(2.8rem, 5.4vw, 4rem); }
  .hero-img { object-position: 60% center; }
}

/* ---------- About ---------- */

.about-grid { display: grid; gap: 34px; align-items: center; }
.about-media { margin: 0; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 54%; }
.about-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3.3vw, 2.4rem);
  font-weight: 700;
  max-width: 20ch;
}
.about-copy > p {
  margin-top: 15px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
  max-width: 560px;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); }
  .about-media img { aspect-ratio: 4 / 5; }
}

/* ---------- Featured auction cars (dark) ---------- */

.cars { background: var(--ink); color: #fff; }
.cars .eyebrow { color: var(--red-on-dark); }
.cars .section-head h2 { color: #fff; }
.cars .lede { color: rgba(255, 255, 255, 0.64); }

.car-grid { display: grid; gap: 22px; }
.car-card {
  display: flex;
  flex-direction: column;
  background: #1b1e21;
  border: 1px solid #2b2f33;
  transition: border-color 0.3s, transform 0.3s;
}
.car-card:hover { border-color: #3d4247; }
.car-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: #26292d;
  overflow: hidden;
  cursor: zoom-in;
}
.car-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.car-card:hover .car-media img { transform: scale(1.035); }
.car-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  background: rgba(15, 16, 17, 0.76);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.car-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.car-make {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-on-dark);
}
.car-body h3 { margin-top: 7px; font-size: 18.5px; font-weight: 600; line-height: 1.28; color: #fff; }
.car-meta { display: flex; gap: 30px; margin: 16px 0 20px; }
.car-meta dt {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8d9399;
}
.car-meta dd { margin: 4px 0 0; font-size: 13.5px; font-weight: 500; color: #fff; }
.car-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #2b2f33;
}
.text-btn {
  padding: 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.text-btn:hover { color: var(--red-on-dark); }
.text-btn-red { color: var(--red-on-dark); }
.text-btn-red:hover { color: #ff6a70; }
.cars-note {
  margin: 24px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 12px;
  color: #8d9399;
}

@media (min-width: 680px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .car-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

/* ---------- CTA band ---------- */

.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  overflow: hidden;
  background: #0f1011;
  color: #fff;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 10, 11, 0.92) 0%, rgba(9, 10, 11, 0.6) 52%, rgba(9, 10, 11, 0.18) 100%);
}
.band-inner { position: relative; z-index: 1; padding-block: clamp(48px, 6vw, 68px); }
.band h2 { color: #fff; font-size: clamp(1.65rem, 3.1vw, 2.35rem); font-weight: 700; }
.band p { margin-top: 10px; max-width: 440px; font-size: 16px; color: rgba(255, 255, 255, 0.8); }
.band .btn { margin-top: 24px; }

@media (max-width: 640px) {
  .band { min-height: 320px; }
  .band::after { background: linear-gradient(180deg, rgba(9, 10, 11, 0.88) 0%, rgba(9, 10, 11, 0.55) 100%); }
}

/* ---------- How it works ---------- */

.how { background: var(--paper); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.step-head { display: flex; align-items: center; justify-content: center; gap: 16px; }
.step-num {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #c9c5bd;
}
.step-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3 { margin-top: 16px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.step p { margin: 8px auto 0; max-width: 300px; font-size: 14px; line-height: 1.7; color: var(--body); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding-top: 28px; }
}

/* ---------- Services (dark) ---------- */

.services { background: var(--ink); color: #fff; }
.services .eyebrow { color: var(--red-on-dark); }
.services .section-head h2 { color: #fff; }
.services .lede { color: rgba(255, 255, 255, 0.62); }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.service {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #2a2e32;
}
.service:first-child { border-top: 0; }
.service svg {
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--red-on-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 { font-size: 16px; font-weight: 600; color: #fff; }
.service p { margin-top: 6px; font-size: 13.5px; line-height: 1.65; color: #9aa0a6; }

@media (min-width: 760px) {
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .service { padding: 24px 0; }
}
@media (min-width: 1000px) {
  .service-list { grid-template-columns: repeat(5, 1fr); column-gap: 0; }
  .service {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2px 20px 0;
    border-top: 0;
    border-left: 1px solid #2a2e32;
    text-align: center;
  }
  .service:first-child { border-left: 0; padding-left: 0; }
  .service svg { margin: 0 0 16px; }
  .service h3 { font-size: 15px; }
  .service p { margin-top: 8px; font-size: 12.5px; }
}

/* ---------- Enquiry (dark) ---------- */

.enquiry { background: var(--ink); color: #fff; }
.enquiry .eyebrow { color: var(--red-on-dark); }
.enquiry-grid { display: grid; gap: 36px; }
.enquiry-aside h2 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 700;
  color: #fff;
  max-width: 22ch;
}
.enquiry-aside > p {
  margin-top: 16px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}
.contact-quick { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-quick a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #2f3337;
  color: var(--red-on-dark);
}
.quick-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-quick a[href*="wa.me"] .quick-icon svg { fill: currentColor; stroke: none; }
.quick-label {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d9399;
}
.quick-value { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 500; color: #fff; transition: color 0.2s; }
.contact-quick a:hover .quick-value { color: var(--red-on-dark); }
.small-note { margin-top: 24px; max-width: 320px; font-size: 12.5px; line-height: 1.65; color: #8d9399; }

.enquiry-form { min-width: 0; }
.form-grid { display: grid; gap: 16px; }
.field-full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.req { color: var(--red-on-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #ffffff;
  border-radius: 2px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.field textarea { min-height: 116px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #a5a099; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red-on-dark);
  box-shadow: 0 0 0 3px rgba(232, 70, 76, 0.22);
}
.form-submit { width: 100%; min-height: 54px; }
.form-alt { font-size: 12.5px; text-align: center; color: #9aa0a6; }
.form-alt a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.form-alt a:hover { color: var(--red-on-dark); }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 2px solid var(--red-on-dark);
  background: #22262a;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 980px) {
  .enquiry-grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 5vw, 64px); align-items: start; }
}

/* ---------- Footer / contact ---------- */

.site-footer {
  scroll-margin-top: 96px;
  padding-top: clamp(44px, 5vw, 60px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.footer-grid { display: grid; gap: 32px; }
.footer-logo { width: 200px; height: auto; }
.footer-brand p { margin-top: 16px; max-width: 280px; font-size: 13.5px; line-height: 1.65; color: var(--body); }
.footer-title {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav a,
.footer-contact a,
.footer-contact span {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--red); }
.footer-bottom { margin-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom-inner a { text-decoration: none; }
.footer-bottom-inner a:hover { color: var(--ink); }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.5fr .8fr 1.3fr 1fr; gap: 40px; }
}

/* ---------- Floating WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.45);
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }
.whatsapp-float:hover { background: #188f47; transform: translateY(-2px); }

@media (min-width: 1024px) {
  .whatsapp-float { right: 24px; bottom: 24px; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 14px clamp(12px, 3vw, 28px) 16px;
  background: #0b0c0d;
  color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.lightbox-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.lightbox-count {
  margin-left: auto;
  flex: none;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}
.lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox-close svg,
.lightbox-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox-stage {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-block: 14px;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 210px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(10, 11, 12, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox-nav.prev { left: 0; }
.lightbox-nav.next { right: 0; }
.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
  overflow-x: auto;
}
.lightbox-thumb {
  flex: none;
  width: 74px;
  height: 54px;
  padding: 0;
  border: 1px solid transparent;
  background: #1c1e20;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.is-active { opacity: 1; border-color: var(--red); }

@media (min-width: 900px) {
  .lightbox-stage img { max-height: calc(100vh - 230px); }
  .lightbox-stage { padding-inline: 64px; }
  .lightbox-thumb { width: 88px; height: 64px; }
}

/* ---------- Enquiry form: searchable selects, phone country, other fields ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.phone-row { display: flex; }
.phone-country { position: relative; flex: none; }
.country-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 50px;
  padding: 0 10px;
  border: 1px solid #fff;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  background: #f1efe9;
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.country-btn img { width: 20px; height: 15px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.country-btn svg { width: 12px; height: 12px; fill: none; stroke: #6b7178; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.country-btn:hover { background: #e8e5dd; }
.phone-row .phone-input { border-radius: 0 2px 2px 0; }

.country-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  width: min(330px, calc(100vw - 64px));
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.55);
}
.field .country-search {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.country-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 238px; overflow-y: auto; }
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.country-option img { width: 20px; height: 15px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.country-option .dial { margin-left: auto; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.country-option:hover, .country-option[aria-selected="true"] { background: #f4f2ec; }

.combo { position: relative; }
.combo-input { padding-right: 42px !important; }
.combo-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  fill: none;
  stroke: #6b7178;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.combo-input:disabled { background: #ece9e2; color: #8b8f93; cursor: not-allowed; }
.combo-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.5);
}
.combo-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.combo-option:hover, .combo-option.is-active, .combo-option[aria-selected="true"] { background: #f1efe9; }
.combo-empty { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.field[hidden] { display: none; }

/* ---------- Footer social ---------- */

.footer-contact address {
  margin: 5px 0 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.social-links { display: flex; align-items: center; gap: 18px; }
.social-link {
  display: block;
  line-height: 0;
  border-radius: 14px;
  transition: transform 0.2s;
}
.social-link svg { display: block; width: 72px; height: 72px; }
.social-link:hover { transform: translateY(-2px); }
.social-link:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Motion preferences ---------- */

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