/* Suffolk Valeting Supplies — one-page site */

:root {
  --red: #e3141f;
  --red-dark: #c01019;
  --red-soft: #fde8e9;
  --charcoal: #3a3d42;
  --charcoal-dark: #1f2124;
  --ink: #2a2d31;
  --muted: #5c6168;
  --line: #e3e5e8;
  --fog: #f4f5f6;
  --white: #ffffff;
  --nav-h: 4.25rem;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 33, 36, 0.08);
  --shadow-hover: 0 14px 36px rgba(31, 33, 36, 0.14);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1120px;
  --focus: 0 0 0 3px rgba(227, 20, 31, 0.35);
  --wa: #25d366;
  --wa-dark: #1ebe5a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--red-dark);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1000;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
  box-shadow: var(--focus);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--charcoal-dark);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section {
  padding: 5rem 0;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.6rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head h2 { margin-bottom: 0.6rem; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--charcoal-dark);
  min-width: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links a.nav-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--charcoal-dark);
  border-color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--charcoal-dark);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--charcoal);
  color: var(--charcoal-dark);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(20, 22, 24, 0.88) 0%,
      rgba(20, 22, 24, 0.72) 42%,
      rgba(20, 22, 24, 0.38) 100%
    );
}

.hero .wrap {
  padding: 4.5rem 0 5rem;
}

.hero-brand {
  margin: 0 0 1.5rem;
}

.hero-logo {
  width: min(300px, 72vw);
  height: auto;
  margin: 0 0 0.55rem;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

.hero-wordmark {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.7rem, 1.5vw, 0.88rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero .intro {
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.85rem;
}

/* ---------- Products ---------- */
.products {
  background: var(--fog);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-card .img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  margin-bottom: 1.1rem;
}

.product-card .img-wrap img {
  max-height: 168px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.product-card .meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.95rem;
}

.product-card .btn-enquire {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.55rem 0.95rem;
  font-size: 0.8rem;
}

.product-card-wide {
  grid-column: span 2;
}

.accessory-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: -0.25rem 0 1rem;
}

.accessory-thumbs img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.25rem;
}

.split-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: -0.25rem 0 1rem;
}

.split-imgs figure {
  margin: 0;
  text-align: center;
}

.split-imgs img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem;
}

.split-imgs figcaption {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: 0.3rem;
}

/* ---------- Equipment ---------- */
.equipment {
  background: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--charcoal-dark);
  grid-column: span 6;
}

.gallery figure.wide {
  grid-column: span 7;
}

.gallery figure.narrow {
  grid-column: span 5;
}

.gallery figure.portrait {
  grid-column: span 6;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s ease;
}

.gallery figure.portrait img {
  aspect-ratio: 4 / 5;
  object-position: 75% 50%;
}

.gallery figure.ibc img {
  object-position: 50% 40%;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(20, 22, 24, 0.82), transparent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- About ---------- */
.about {
  background: var(--fog);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.pillars {
  display: grid;
  gap: 0.9rem;
  margin: 1.75rem 0 0;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.05rem 1.15rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pillar h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.about-photos {
  display: grid;
  gap: 0.9rem;
}

.about-photos figure {
  margin: 0;
  background: transparent;
}

.about-photos picture,
.about-photos img {
  border-radius: 12px;
  width: 100%;
  display: block;
}

.about-photos img {
  height: 100%;
  object-fit: cover;
}

.about-photos .main img {
  aspect-ratio: 4 / 3;
  object-position: 50% 70%;
}

.about-photos .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.about-photos .pair img {
  aspect-ratio: 3 / 4;
  object-position: 50% 40%;
}

.about-photos .tanks img {
  object-position: 18% 30%;
}

.about-photos figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.5rem 0.15rem 0;
}


/* ---------- Repairs & van service ---------- */
.repairs {
  background: var(--fog);
}

.van {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.service-grid.flip .service-copy {
  order: 2;
}

.service-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.service-copy .btn {
  margin-top: 0.6rem;
}

.service-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.service-photos.single {
  grid-template-columns: 1fr;
}

.service-photos figure {
  margin: 0;
}

.service-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.service-photos.single img {
  aspect-ratio: 4 / 3;
}

.service-photos figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.45rem 0.1rem 0;
}

.contact-lede {
  margin: 0 0 1.75rem;
  text-align: left;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-card {
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.contact-card .label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-card .value {
  font-weight: 600;
  color: var(--charcoal-dark);
  font-size: 1.02rem;
  word-break: break-word;
}

.contact-card a.value {
  text-decoration: none;
  color: var(--charcoal-dark);
}

.contact-card a.value:hover {
  color: var(--red);
}

.contact-card.span-2 {
  grid-column: 1 / -1;
}

.contact-card.span-2 .value {
  word-break: normal;
}

.placeholder {
  display: inline-block;
  background: #fff6d6;
  border: 1px dashed #c9a227;
  color: #6b5610;
  font-weight: 700;
  font-size: 0.92em;
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

.contact-panel {
  background: var(--charcoal-dark);
  color: var(--white);
  border-radius: 16px;
  padding: 2rem 1.75rem;
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.4rem;
}

.contact-panel .btn-primary {
  background: var(--red);
}

.contact-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
}


/* ---------- WhatsApp ---------- */
.btn-whatsapp,
.btn-enquire {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
}

.btn-whatsapp:hover,
.btn-enquire:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  color: var(--white);
}

.icon-wa {
  flex-shrink: 0;
  display: block;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  margin-top: 0.7rem;
}

.wa-card {
  background: #f1faf4;
  border-color: #c8ead4;
}

.wa-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

.wa-row .value {
  font-size: 1.2rem;
}

.wa-float {
  display: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
  font-size: 0.88rem;
  border-top: 3px solid var(--red);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer strong {
  color: var(--white);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-grid.flip .service-copy {
    order: 0;
  }

  .gallery figure,
  .gallery figure.wide,
  .gallery figure.narrow {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  :root { --nav-h: auto; }

  .site-header {
    height: auto;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    padding: 0.65rem 0 0.7rem;
    gap: 0.55rem 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem 0.7rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-links a.nav-cta {
    padding: 0.35rem 0.75rem;
  }

  .hero {
    min-height: 34rem;
  }

  .hero-media::after {
    background:
      linear-gradient(
        180deg,
        rgba(20, 22, 24, 0.72) 0%,
        rgba(20, 22, 24, 0.82) 100%
      );
  }

  .hero-media img {
    object-position: 30% 70%;
  }

  .hero h1 { max-width: none; }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .product-card .img-wrap { height: 130px; }
  .product-card .img-wrap img { max-height: 120px; }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure.wide,
  .gallery figure.narrow,
  .gallery figure.portrait {
    grid-column: auto;
  }

  .gallery figure.portrait img {
    aspect-ratio: 4 / 3;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .wa-row .btn-whatsapp {
    width: 100%;
  }

  .section { padding: 3.5rem 0; }

  .wrap { width: min(100% - 1.5rem, var(--max)); }

  .site-footer {
    padding-bottom: 5.25rem;
  }

  .product-card .btn-enquire {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
  }

  .wa-float {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    width: 3.4rem;
    height: 3.4rem;
    padding: 0;
    border-radius: 50%;
    background: var(--wa);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    text-decoration: none;
  }

  .wa-float:hover {
    background: var(--wa-dark);
    color: var(--white);
  }

  .wa-float .icon-wa {
    width: 28px;
    height: 28px;
  }

  .nav-links a {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
}
