/* ==========================================================================
   Radhe Furniture - main stylesheet (used by every page)
   Colours, rounded red tabs and diagonal light backgrounds follow the
   Radhe brochure.

   1.  Design tokens           8.  Facts strip, section heads, split layout
   2.  Base + typography       9.  Category cards (home) + product cards
   3.  Layout helpers         10.  Process steps, colours
   4.  Buttons                11.  Info list, certificate, call to action
   5.  Top bar, header, menu  12.  Contact form
   6.  Home hero              13.  Thank-you + 404
   7.  Inner page hero        14.  Footer, accessibility
   ========================================================================== */


/* 1. Design tokens ------------------------------------------------------- */

:root {
  --red: #d9232f;          /* brochure red */
  --red-deep: #bb1e27;     /* darker end of the red tabs */
  --maroon: #5b1209;       /* cover plinth */
  --ink: #140606;          /* cover black */
  --ink-2: #1f0b0c;
  --charcoal: #333;        /* grey diamond on the cover */
  --blue: #0271bc;         /* logo blue */
  --gold: #d3b684;         /* thin line under the brochure headers */
  --paper: #f2f3f2;
  --line-light: #dcdedd;
  --line-dark: #3a1a1b;

  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --radius: 2px;
  --tab: 0 0 28px 0;       /* the rounded corner of the brochure tabs */
}

/* Section colour themes: each one sets the same variables. */
.theme-light {
  --bg: #fff;
  --fg: #181415;
  --muted: #5a5557;
  --line: var(--line-light);
  --accent: #bb1e27;
  --surface: #fff;
}

.theme-paper {
  --bg: linear-gradient(115deg, #f7f8f8 0%, #eceeee 38%, #f8f9f9 62%, #eaeceb 100%);
  --fg: #181415;
  --muted: #5a5557;
  --line: var(--line-light);
  --accent: #bb1e27;
  --surface: #fff;
}

.theme-dark {
  --bg: linear-gradient(135deg, #140606 0%, #240c0d 55%, #3a0f0d 100%);
  --fg: #fff;
  --muted: #bfb1b1;
  --line: var(--line-dark);
  --accent: #ff6a70;
  --surface: rgba(255, 255, 255, .05);
}


/* 2. Base + typography ---------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: #181415;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.9rem, 6.4vw, 5.25rem); line-height: .95; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.1; }

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

ul,
ol { margin: 0; }

/* Section label with the brochure's rounded red tab. */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--accent, #bb1e27);
}

.kicker::before {
  content: "";
  width: 30px;
  height: 14px;
  flex: none;
  background: linear-gradient(180deg, var(--red-deep), var(--red));
  border-radius: 0 0 14px 0;
}

.kicker--center { justify-content: center; }
.kicker--center::before { display: none; }


/* 3. Layout helpers ------------------------------------------------------- */

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--bg);
  color: var(--fg);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p:last-child { color: var(--muted); margin-bottom: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions--center { justify-content: center; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #111;
  font-weight: 600;
}

.skip-link:focus { top: 12px; }


/* 4. Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: 12px 26px;
  font: 700 1.0625rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { background: var(--red); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.theme-dark .btn--primary:hover,
.hero .btn--primary:hover,
.page-hero .btn--primary:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--outline { background: rgba(0, 0, 0, .3); border-color: rgba(255, 255, 255, .7); }
.btn--outline:hover { background: var(--red); border-color: var(--red); }

.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--red); border-color: var(--red); }

.btn--outline-dark { color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }

.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 1rem; }

.section-btn { margin-top: 28px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 6px 0;
  font: 700 1.0625rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  transition: color .2s;
}

.link-arrow:hover { color: var(--accent); }
.link-arrow .arrow { transition: transform .2s; }
.link-arrow:hover .arrow { transform: translateX(4px); }


/* 5. Top bar, header, menu ------------------------------------------------ */

.topbar {
  background: var(--ink);
  color: #d8cccc;
  font-size: .9rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 38px;
}

.topbar a:hover { color: #fff; }
.topbar__place { margin-left: auto; color: #b9aaaa; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 6px 20px -14px rgba(20, 6, 6, .55);
  backdrop-filter: blur(8px);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(48px, 6vw, 84px);
  height: 8px;
  background: linear-gradient(180deg, var(--red-deep), var(--red));
  border-radius: 0 0 8px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo img { width: 144px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
}

.site-nav a {
  padding: 8px 0;
  font: 600 1.0625rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3b3335;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--red-deep);
  border-bottom-color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1099px) {
  .topbar__place { display: none; }
}

@media (max-width: 959px) {
  .site-header__inner { gap: 12px; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 16px;
    background: #fff;
    border-bottom: 1px solid var(--gold);
    box-shadow: 0 18px 30px -18px rgba(20, 6, 6, .5);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .site-nav a:hover,
  .site-nav a.is-active { border-bottom-color: var(--line-light); }
}

@media (max-width: 639px) {
  .topbar__inner { justify-content: space-between; gap: 12px; font-size: .85rem; }
  .topbar__inner a:nth-child(2) { display: none; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .logo img { width: 124px; }
}


/* 6. Home hero ------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, calc(100svh - var(--header-h) - 38px), 760px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(62%, 860px);
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
}

/* The cover artwork fades into the dark background behind the text. */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(20, 6, 6, .8) 20%, rgba(20, 6, 6, 0) 62%);
}

.hero__inner { padding-block: clamp(48px, 7vw, 96px); }
.hero__copy { max-width: 600px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font: 600 1.0625rem/1.3 var(--font-body);
  color: #f0e4e4;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 14px;
  flex: none;
  background: linear-gradient(180deg, var(--red-deep), var(--red));
  border-radius: 0 0 14px 0;
}

.hero h1 strong,
.page-hero h1 strong {
  color: #ff4a53;
  font-weight: inherit;
}

.hero__text {
  margin: 24px 0 32px;
  max-width: 54ch;
  font-size: 1.125rem;
  color: #dccfcf;
}

@media (max-width: 1023px) {
  .hero { display: block; min-height: 0; }

  .hero__art {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(240px, 56vw, 460px);
  }

  .hero__art img { object-position: 60% 44%; }

  .hero__art::after {
    background: linear-gradient(180deg, rgba(20, 6, 6, 0) 55%, var(--ink) 100%);
  }

  .hero__inner { padding-block: 8px 56px; }
  .hero__copy { max-width: 640px; }
}

@media (max-width: 559px) {
  .hero__text { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; }
}


/* 7. Inner page hero ------------------------------------------------------ */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 96px);
  background: var(--ink);
  color: #fff;
}

/* Brochure-style diagonal red streaks on the right. */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 55%;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(217, 35, 47, .9) 34% 36%, transparent 36% 40%, rgba(217, 35, 47, .55) 40% 41.5%, transparent 41.5% 47%, rgba(187, 30, 39, .35) 47% 56%, transparent 56% 100%),
    linear-gradient(115deg, rgba(91, 18, 9, .0) 0%, rgba(91, 18, 9, .85) 100%);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  margin-bottom: 20px;
}

.page-hero__copy { max-width: 620px; }

.page-hero__text {
  margin-bottom: 28px;
  font-size: 1.125rem;
  color: #dccfcf;
}

.page-hero .actions { margin-top: 8px; }

@media (max-width: 767px) {
  .page-hero::before { width: 100%; opacity: .45; }
  .page-hero .actions .btn { flex: 1 1 100%; }
}


/* 8. Facts strip, split layout -------------------------------------------- */

.facts {
  background: #fff;
  border-bottom: 1px solid var(--gold);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 26px 24px;
  border-left: 1px solid var(--line-light);
}

.fact:last-child { border-right: 1px solid var(--line-light); }

.fact strong {
  display: block;
  font: 700 1.4rem/1.1 var(--font-head);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--red-deep);
}

.fact span {
  display: block;
  margin-top: 4px;
  font-size: .975rem;
  color: #5a5557;
}

@media (max-width: 1023px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 1px solid var(--line-light); }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 559px) {
  .fact { padding: 20px 16px; }
  .fact strong { font-size: 1.2rem; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split--top { align-items: start; }

.split__copy p { color: var(--muted); }
.split__copy .link-arrow { margin-top: 8px; }

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 0 48px 0;
}

@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 16 / 10; }
}


/* 9. Category cards (home) + product cards -------------------------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}

.category-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.category-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eaea;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.category-card:hover .category-card__media img { transform: scale(1.04); }

.category-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
  border-top: 3px solid var(--red);
}

.category-card h3 { margin-bottom: 8px; }
.category-card p { flex: 1; margin-bottom: 14px; font-size: .975rem; color: var(--muted); }

.category-card__count {
  font: 700 1.0625rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.category-card .arrow { display: inline-block; transition: transform .2s; }
.category-card:hover .arrow { transform: translateX(4px); }

@media (max-width: 1023px) {
  .category-grid { gap: 16px; }
}

/* Category shortcut bar on the Products page */
.category-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line-light);
}

.category-nav__list {
  display: flex;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav__list::-webkit-scrollbar { display: none; }

.category-nav a {
  flex: none;
  padding: 9px 16px;
  font: 600 1.0625rem/1 var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #3b3335;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  transition: background-color .2s, color .2s, border-color .2s;
}

.category-nav a:hover,
.category-nav a.is-current {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.catalog { scroll-margin-top: -30px; }
.catalog + .colours { border-top: 1px solid var(--line-light); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}

.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 16px 30px -22px rgba(20, 6, 6, .6);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 760 / 481;
  overflow: hidden;
  background: #e8eaea;
  cursor: zoom-in;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.03); }

/* Number tab, like the page numbers in the brochure. */
.product-card__no {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 64px;
  padding: 8px 16px 6px 24px;
  font: 700 1.5rem/1 var(--font-head);
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, var(--red-deep), var(--red));
  border-radius: 24px 0 0 0;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px 20px;
  border-top: 3px solid var(--red);
}

.product-card h3 { margin: 0; }

.size {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  font-size: .975rem;
  color: var(--muted);
}

.size span:first-child { color: var(--fg); font-weight: 500; }

/* "Fix System" line after the size line */
.system {
  align-self: flex-start;
  margin: 0;
  padding: 3px 12px 3px 10px;
  font: 700 .95rem/1.3 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--red-deep), var(--red));
  border-radius: 0 0 10px 0;
}

.product-card__link {
  align-self: stretch;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gold);
  font: 700 1.0625rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card .arrow { display: inline-block; transition: transform .2s; }
.product-card__link:hover .arrow { transform: translateX(4px); }

@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 559px) {
  .product-grid { grid-template-columns: 1fr; }
}

.lightbox {
  width: min(980px, 94vw);
  max-width: none;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(10, 3, 3, .92);
  backdrop-filter: blur(4px);
}

.lightbox__img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #e8eaea;
}

.lightbox__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 0;
}

.lightbox__title {
  margin: 0;
  font: 700 1.6rem/1.1 var(--font-head);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.lightbox__size { margin: 4px 0 0; color: #d7c8c8; }

.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
}

.lightbox__close:hover { color: #ff6a70; }

html:has(dialog[open]) { overflow: hidden; }

@media (max-width: 559px) {
  .lightbox__info { flex-direction: column; align-items: flex-start; }
}


/* 10. Process steps, colours ---------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
}

.step__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(115deg, #f7f8f8 0%, #e9ebeb 100%);
  border-bottom: 3px solid var(--red);
}

.step__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step__no {
  margin: 14px 0 2px;
  font: 700 1rem/1 var(--font-head);
  letter-spacing: .1em;
  color: var(--accent);
}

.step h3 { margin: 0; }

@media (max-width: 899px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

@media (max-width: 479px) {
  .steps { grid-template-columns: 1fr; }
}

.colours__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.colours__copy p:last-child { color: var(--muted); margin-bottom: 0; }

.swatches {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.swatch-label {
  margin: 0 0 12px;
  font: 700 1.1rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.swatch {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(20, 6, 6, .25);
  border-radius: 0 0 12px 0;
}

@media (max-width: 899px) {
  .colours__inner { grid-template-columns: 1fr; }
}


/* 11. Info list, certificate, call to action ------------------------------ */

.info {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}

.info__row {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  border-bottom: 1px solid var(--line);
}

.info__row:last-child { border-bottom: 0; }

.info dt,
.info dd {
  padding: 16px 20px;
  overflow-wrap: anywhere;
}

.info dt {
  font: 700 1.15rem/1.3 var(--font-head);
  letter-spacing: .03em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}

.info dd { margin: 0; }
.info ul { padding-left: 1.1em; }

.certificate {
  max-width: 520px;
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.certificate img { width: 100%; }

@media (max-width: 559px) {
  .info__row { grid-template-columns: 1fr; }
  .info dt { padding-bottom: 6px; border-right: 0; }
  .info dd { padding-top: 0; }
}

.cta {
  padding-block: clamp(40px, 6vw, 64px);
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: #fff;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.cta p { margin: 0; }
.cta .btn { flex: none; }

@media (max-width: 767px) {
  .cta__inner { flex-direction: column; align-items: flex-start; }
}


/* 12. Contact form -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label { font-weight: 600; font-size: .975rem; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: #111;
  background: #fff;
  border: 1px solid #bfc2c1;
  border-radius: var(--radius);
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

.form .btn { align-self: flex-start; }

.notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  font-weight: 500;
}

.notice--error {
  color: #7a0b10;
  background: #fff1f1;
  border-left: 4px solid var(--red);
}

.contact-link {
  font-weight: 600;
  color: var(--accent);
}

.contact-link:hover { text-decoration: underline; }

@media (max-width: 959px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 559px) {
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}


/* 13. Thank-you + 404 ----------------------------------------------------- */

.state-page {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 420px);
}

.state-page .container { display: flex; justify-content: center; }

.state-card {
  width: min(720px, 100%);
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.state-card h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
.state-card h1 span { color: var(--red); }

.state-card p { margin-inline: auto; }
.state-card__intro { color: var(--muted); }

.state-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}

.confirmation {
  margin: 28px 0;
  padding: 20px 24px;
  text-align: left;
  background: var(--paper);
  border-left: 4px solid var(--red);
}

.confirmation p:last-child { margin-bottom: 0; color: var(--muted); }

.confirmation__title {
  margin-bottom: 4px;
  font: 700 1.3rem/1.2 var(--font-head);
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (max-width: 559px) {
  .state-card .actions .btn { flex: 1 1 100%; }
}


/* 14. Footer + accessibility ---------------------------------------------- */

.site-footer {
  position: relative;
  background: linear-gradient(135deg, #140606 0%, #240c0d 60%, #3a0f0d 100%);
  color: #bfb1b1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(24px, 6vw, 96px);
  width: clamp(48px, 6vw, 84px);
  height: 10px;
  background: linear-gradient(180deg, var(--red-deep), var(--red));
  border-radius: 0 0 10px 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1.3fr 1.5fr;
  gap: 40px;
  padding-block: clamp(44px, 6vw, 72px);
}

.logo--plate {
  padding: 10px 14px;
  background: #fff;
  border-radius: 0 0 18px 0;
}

.footer-brand p { margin: 16px 0 0; }

.footer-title {
  margin: 0 0 16px;
  font: 700 1.2rem/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a { transition: color .2s; }
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #3a1a1b;
  padding-block: 20px;
  font-size: .95rem;
}

.footer-bottom p { margin: 0; max-width: none; }

@media (max-width: 1099px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 559px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: #1fa855;
  border-radius: 50%;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55);
  transition: transform .2s, background-color .2s;
}

.whatsapp-fab:hover { background: #178a45; transform: translateY(-2px); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.theme-dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible {
  outline-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
