/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Palette taken from the Saffron logo: saffron gold and the deep petrol of "ANTI-SKID MATS",
   set on cool bathroom-tile white with grout-grey lines. */
:root {
  --petrol: #0f3a48;
  --petrol-2: #1d5466;
  --saffron: #d4961c;
  --tile: #f6f8f7;
  --white: #ffffff;
  --grout: #d9e0df;
  --slate: #5b6a6f;
  --ink: #14262d;
  --wa: #1f9d55;
  --header: #f5e7c6;
  --header-line: #e3cf9f;
  --wide: 125%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--tile);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; }

/* Type: one family, contrast through width. Headlines run extra-wide like the logo lettering. */
h1, h2, h3 { margin: 0 0 .5em; color: var(--petrol); font-stretch: var(--wide); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 750; line-height: 1.1; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 36em; }
.muted { color: var(--slate); font-size: .92rem; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band + .band { padding-top: 0; }
.band-white { background: var(--white); border-block: 1px solid var(--grout); }
.band + .band-white, .band-white + .band { padding-top: clamp(56px, 8vw, 96px); }
.band-flush { padding-top: 32px; }
.band-head { max-width: 40em; margin-bottom: 28px; }
.band-head p { color: var(--slate); margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.3em; border-radius: 10px; border: 2px solid transparent;
  font: 700 1rem/1.2 "Archivo", sans-serif; text-decoration: none; cursor: pointer;
}
.btn-dark { background: var(--petrol); color: var(--white); }
.btn-dark:hover { background: var(--petrol-2); }
.btn-line { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-line:hover { background: var(--petrol); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #17824a; }
.btn-sm { padding: .5em 1em; font-size: .92rem; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid var(--header-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 112px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.logo small { display: block; font-weight: 500; font-size: .75rem; color: var(--slate); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--slate); padding: 6px 0; }
.site-nav a:not(.btn):hover { color: var(--petrol); }
.site-nav a[aria-current] { color: var(--petrol); box-shadow: inset 0 -3px var(--saffron); }
.site-nav .btn { background: var(--petrol); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--petrol); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header); border-bottom: 1px solid var(--header-line); padding: 4px 16px 20px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--header-line); }
  .site-nav a[aria-current] { box-shadow: inset 4px 0 var(--saffron); color: var(--petrol); padding-left: 14px; }
  .site-nav .btn { margin-top: 16px; justify-content: center; }
}

/* ---------- hero: real product photo, switched by the colour swatches ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy h1 { max-width: 9em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-photo { display: block; aspect-ratio: 800 / 627; background: var(--white); border: 1px solid var(--grout); }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }

.mat-picker { margin-top: 18px; }
.mat-now { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mat-now span { color: var(--slate); }
.mat-now strong { color: var(--petrol); font-stretch: var(--wide); font-size: 1.15rem; margin-right: .3em; }
.mat-now a { font-weight: 700; color: var(--petrol); text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mat-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.mat-swatch { padding: 3px; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer; line-height: 0; }
.mat-swatch .swatch { width: 30px; height: 30px; }
.mat-swatch:hover { border-color: var(--grout); }
.mat-swatch[aria-pressed="true"] { border-color: var(--petrol); }

.swatch { display: inline-flex; flex-direction: column; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(20, 38, 45, .2); flex: none; vertical-align: middle; }
.swatch span { flex: 1; }

/* facts: four plain statements separated by grout lines */
.facts-band { background: var(--white); border-block: 1px solid var(--grout); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px 26px; border-left: 1px solid var(--grout); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact h3 { margin-bottom: .35em; }
.fact p { margin: 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--grout); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--grout); }
}

/* product tiles: laid like bathroom tiles, grout lines between them */
.tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border-top: 1px solid var(--grout); border-left: 1px solid var(--grout);
}
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: block; background: var(--white); text-decoration: none; border-right: 1px solid var(--grout); border-bottom: 1px solid var(--grout); }
.tile-media { position: relative; aspect-ratio: 1; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tile-media .tile-alt { object-fit: cover; opacity: 0; transition: opacity .3s; }
.tile:hover .tile-alt, .tile:focus-visible .tile-alt { opacity: 1; }
.tile-cap { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px 16px; color: var(--slate); font-size: .95rem; }
.tile-cap strong { color: var(--petrol); font-stretch: var(--wide); }
.tile:focus-visible { outline-offset: -3px; }

/* page head */
.page-head { padding: clamp(40px, 6vw, 72px) 0 32px; }
.jump { display: flex; gap: 22px; margin-top: 22px; }
.jump a { font-weight: 700; color: var(--petrol); text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* story */
.story { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story img { aspect-ratio: 4 / 3; object-fit: cover; }
.story p { color: var(--slate); max-width: 32em; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* call to action on saffron */
.cta-band { background: var(--saffron); padding: clamp(44px, 6vw, 72px) 0; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: var(--petrol); }
.cta p { color: #3b2a05; margin: 0; max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* product page */
.product { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-grid > * { min-width: 0; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 132px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-stage { background: var(--white); border: 1px solid var(--grout); aspect-ratio: 1; }
.gallery-main { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 1px; margin-top: 12px; overflow-x: auto; background: var(--grout); border: 1px solid var(--grout); width: fit-content; max-width: 100%; }
.thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 0; background: var(--white); cursor: pointer; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--petrol); }
.crumbs { font-size: .92rem; color: var(--slate); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--petrol); text-decoration: underline; }
.product-info h1 { margin-bottom: .15em; }
.product-color { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 600; color: var(--slate); }
.product-color .swatch { width: 28px; height: 28px; }
.buy-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 24px 0; }
.buy-facts dt { font-size: .9rem; color: var(--slate); }
.buy-facts dd { margin: 0; font-weight: 700; color: var(--petrol); font-size: 1.25rem; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.specs { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .95rem; border-top: 1px solid var(--grout); }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--grout); vertical-align: top; }
.specs th { color: var(--slate); font-weight: 500; width: 42%; }

/* article */
.article { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; }
.article-img { margin: 28px 0 36px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.prose { font-size: 1.1rem; line-height: 1.7; color: #33454c; max-width: 64ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.7em; }
.prose h3 { margin-top: 1.3em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { border-top: 1px solid var(--grout); }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--grout); text-decoration: none; }
a.contact-row:hover strong { text-decoration: underline; text-decoration-color: var(--saffron); }
.contact-row svg { width: 24px; height: 24px; color: var(--petrol); margin-top: 3px; }
.contact-row strong { display: block; color: var(--petrol); font-stretch: var(--wide); }
.contact-row span { color: var(--slate); }
.contact-list .muted { margin-top: 18px; }
.form-frame iframe { width: 100%; height: 900px; border: 1px solid var(--grout); background: var(--white); }
.map-frame iframe { width: 100%; height: 420px; border: 1px solid var(--grout); display: block; }

/* footer */
.site-footer { background: #2a2622; color: #d9d3c7; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { max-width: 380px; }
.site-footer h3 { color: #fff; font-size: .85rem; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 18px; }
.site-footer a:not(.logo) { display: block; text-decoration: none; padding: 5px 0; }
.site-footer a:not(.logo):hover { color: #fff; }
.brand-of strong { color: #f2a91d; font-weight: 800; }
.brand-of-box { display: inline-flex; align-items: baseline; gap: .4em; margin-top: 6px; padding: 14px 24px; border: 1px solid #f2a91d; border-radius: 6px; color: #fff; }
.brand-of-box strong { font: 700 1.45rem/1 Georgia, "Times New Roman", serif; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #423c35; margin-top: 48px; padding-top: 24px; font-size: .9rem; color: #a59e92; }
@media (min-width: 760px) { .footer-base { padding-right: 72px; } }

/* logo */
.logo-wide img { height: 88px; width: auto; }
.site-header .logo-wide img { mix-blend-mode: multiply; }
.site-footer .logo { margin-bottom: 20px; color: #fff; }
.site-footer .logo small { color: #a59e92; }
.site-footer .logo-wide { display: inline-block; background: #fbfaf7; padding: 10px 16px; border-radius: 8px; }
.site-footer .logo-wide img { height: 104px; }
@media (max-width: 860px) { .header-inner { height: 84px; } .site-header .logo-wide img { height: 64px; } }
@media (max-width: 400px) { .site-header .logo-wide img { height: 58px; } }

/* floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa-float svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* product H1 second line */
.h1-sub { display: block; font-size: .42em; font-weight: 600; color: var(--slate); letter-spacing: 0; margin-top: .35em; line-height: 1.2; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.faq .band-head { margin: 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 8px; } }
.faq-list { border-top: 1px solid var(--grout); }
.faq-list details { border-bottom: 1px solid var(--grout); }
.faq-list summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 700; color: var(--petrol); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--saffron); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 18px; color: var(--slate); max-width: 60ch; }

/* guide cards */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.guide { text-decoration: none; display: block; }
.guide img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 1px solid var(--grout); margin-bottom: 16px; background: var(--white); }
.guide h3 { font-size: 1.2rem; }
.guide:hover h3 { text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 4px; }
.guide p { color: var(--slate); margin: 0; }
.band-head a { color: var(--petrol); font-weight: 600; text-decoration-color: var(--saffron); }

/* tables inside guides */
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--grout); }
.prose th { color: var(--petrol); }
.contact-row span { display: block; }
