/* Thermaright homepage redesign demo — brand: #e60a6e pink, #263a54 navy, Manrope */

:root {
  --pink: #e60a6e;
  --pink-dark: #c2085c;
  --navy: #263a54;
  --navy-deep: #1c2c41;
  --blue: #459dd7;
  --blue-light: #d9edf9;
  --ink: #263a54;
  --muted: #5d6b7e;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --card-radius: 16px;
  --pill: 200px;
  --shadow-sm: 0 1px 2px rgba(38, 58, 84, .06), 0 2px 8px rgba(38, 58, 84, .06);
  --shadow-md: 0 2px 4px rgba(38, 58, 84, .05), 0 10px 28px rgba(38, 58, 84, .12);
  --shadow-lg: 0 4px 10px rgba(38, 58, 84, .08), 0 24px 56px rgba(38, 58, 84, .18);
  --shadow-pink: 0 10px 28px rgba(230, 10, 110, .32);
  --grad-brand: linear-gradient(120deg, #459dd7 0%, #8b6bb0 50%, #e60a6e 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }

h2 { font-size: clamp(28px, 3.4vw, 40px); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pink);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--pill);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-pink { background: var(--pink); color: #fff; box-shadow: var(--shadow-pink); }
.btn-pink:hover { background: var(--pink-dark); box-shadow: 0 14px 34px rgba(230, 10, 110, .42); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(28, 44, 65, .35); }
.btn-navy:hover { background: var(--navy-deep); }

.btn-light { background: #fff; color: var(--pink); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-light:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .26); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); padding: 10px 24px; font-size: 14px; }
.btn-outline:hover { background: var(--navy); color: #fff; box-shadow: 0 10px 22px rgba(38, 58, 84, .28); }

.btn-phone {
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  box-shadow: 0 6px 18px rgba(230, 10, 110, .35);
}
.btn-phone:hover { background: var(--pink-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }

.header-main {
  background: rgba(38, 58, 84, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s ease;
}
.site-header.scrolled .header-main { box-shadow: 0 10px 28px rgba(28, 44, 65, .35); }

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo { display: flex; align-items: center; }
.logo img { width: 180px; height: auto; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--pink);
  transition: right .2s ease;
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all .2s; }

.header-cats { background: var(--pink); }
.cat-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
  transition: background .15s ease;
}
.cat-nav a:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(69, 157, 215, .28), transparent 60%),
    linear-gradient(135deg, #e60a6e 0%, #b40859 25%, #832060 55%, #45173f 100%);
  color: #fff;
  overflow: hidden;
}

/* ambient hero motion — pure CSS so it stays crisp on any display */
.hero-rings { position: absolute; inset: 0; pointer-events: none; }

.ring {
  position: absolute;
  border-radius: 50%;
  border: 38px solid rgba(255, 255, 255, .07);
  will-change: transform;
}
.ring.r1 { width: 340px; height: 340px; top: -120px; left: -100px; animation: drift-a 26s ease-in-out infinite alternate; }
.ring.r2 { width: 220px; height: 220px; bottom: -60px; left: 38%; border-width: 26px; animation: drift-b 32s ease-in-out infinite alternate; }
.ring.r3 { width: 420px; height: 420px; top: 30px; right: -140px; border-color: rgba(255, 255, 255, .05); animation: drift-c 38s ease-in-out infinite alternate; }

.glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, 0) 62%);
  will-change: transform;
}
.glow.g1 { width: 760px; height: 760px; top: -280px; left: -220px; animation: drift-b 30s ease-in-out infinite alternate; }
.glow.g2 { width: 620px; height: 620px; bottom: -260px; left: 30%; animation: drift-c 24s ease-in-out infinite alternate; }
.glow.g3 {
  width: 900px; height: 900px;
  top: -220px; right: -280px;
  background: radial-gradient(circle, rgba(69, 157, 215, .28) 0%, rgba(69, 157, 215, 0) 62%);
  animation: drift-a 36s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate(70px, 44px); } }
@keyframes drift-b { to { transform: translate(-90px, 55px); } }
@keyframes drift-c { to { transform: translate(60px, -70px); } }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 110px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 16px;
  border-radius: var(--pill);
  margin-bottom: 22px;
}

.hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ffd6e9; }

.hero-copy p { font-size: 18px; max-width: 480px; color: rgba(255, 255, 255, .92); margin-bottom: 30px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas.center { justify-content: center; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  /* counter the hero's bottom padding so the mascot stands on the section edge */
  margin-bottom: -110px;
}
.hero-mascot {
  width: min(380px, 80%);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35));
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
}
.hero-chip strong { display: block; font-size: 14px; line-height: 1.2; }
.hero-chip small { font-size: 12px; color: var(--muted); }
.chip-1 { top: 16%; right: 2%; }
.chip-2 { bottom: 22%; left: 0; }

.chip-ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb02e, #ff8c00);
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}
.chip-ico-blue { background: linear-gradient(135deg, #459dd7, #2a6fb0); }

/* ---------- USPs ---------- */
.usps { margin-top: -58px; position: relative; z-index: 5; }

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

.usp-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.usp-ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  color: #fff;
  flex-shrink: 0;
}
.grad-pink { background: linear-gradient(135deg, #e60a6e, #a30750); }
.grad-blue { background: linear-gradient(135deg, #459dd7, #2a6fb0); }
.grad-navy { background: linear-gradient(135deg, #3c5878, #263a54); }

.usp-card h3 { font-size: 17px; margin-bottom: 4px; }
.usp-card p { font-size: 14px; color: var(--muted); }

/* ---------- Social proof stats ---------- */
.stats { padding: 76px 0 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.stat {
  padding: 22px 12px;
  border-radius: var(--card-radius);
  background: var(--bg-soft);
  border: 1px solid rgba(38, 58, 84, .06);
}

.stat-num {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 120px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Categories ---------- */
.categories { padding: 90px 0 70px; }

.carousel-arrows { display: flex; gap: 10px; }
.arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(38, 58, 84, .15);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  transition: all .18s ease;
}
.arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow-md); }

.cat-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 6px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cat-track::-webkit-scrollbar { display: none; }

.cat-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--card-radius);
  border: 1px solid rgba(38, 58, 84, .07);
  padding: 24px 20px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.cat-img {
  width: 140px; height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 6px;
  background: var(--grad-brand);
}
.cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
.cat-img-fallback img { object-fit: contain; padding: 12px; }

.cat-card h3 { font-size: 18px; margin-bottom: 6px; }
.cat-link { font-size: 14px; font-weight: 700; color: var(--pink); }

/* ---------- Bespoke ---------- */
.bespoke {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(255, 255, 255, .75), transparent 65%),
    linear-gradient(160deg, #e3f1fa 0%, #cfe7f6 100%);
  padding: 80px 0;
}

.bespoke-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.bespoke-art img {
  filter: drop-shadow(0 30px 45px rgba(38, 58, 84, .28));
  transition: transform .3s ease;
}
.bespoke-art:hover img { transform: translateY(-6px); }

.bespoke-copy h2 { margin-bottom: 14px; }
.bespoke-copy > p { font-size: 17px; color: var(--muted); margin-bottom: 26px; max-width: 440px; }

.bespoke-phone { margin-top: 20px; font-size: 15px; color: var(--muted); }
.bespoke-phone a { color: var(--navy); font-weight: 800; text-decoration: none; }
.bespoke-phone a:hover { color: var(--pink); }

/* ---------- Products ---------- */
.products { padding: 90px 0; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.prod-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(38, 58, 84, .07);
  border-radius: var(--card-radius);
  padding: 26px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.stock-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #0c7a43;
  background: #e3f7ec;
  border: 1px solid #bfe9d2;
  padding: 4px 12px;
  border-radius: var(--pill);
}
.stock-badge.low { color: #9a5b00; background: #fdf3e0; border-color: #f3ddb0; }

.prod-img {
  height: 170px;
  display: grid;
  place-items: center;
  margin: 18px 0 16px;
}
.prod-img img {
  max-height: 100%;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  transition: transform .25s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }

.prod-card h3 { font-size: 17px; margin-bottom: 16px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-soft); padding: 90px 0; }

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

.review-card {
  position: relative;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 54px 26px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.quote-mark {
  position: absolute;
  top: -20px; left: 24px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  padding-top: 12px;
  box-shadow: var(--shadow-md);
}

.stars { color: #ffb02e; letter-spacing: 3px; font-size: 16px; margin-bottom: 12px; }

.review-card blockquote { font-size: 15px; color: var(--ink); font-weight: 500; }

.review-card figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: #fff;
  border: 1px solid rgba(38, 58, 84, .1);
  border-radius: var(--pill);
  padding: 9px 20px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.rating-pill .stars { margin: 0; font-size: 14px; }
.rating-pill strong { font-size: 15px; }
.rating-note { color: var(--muted); font-weight: 600; }

.g-badge {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(38, 58, 84, .12);
  font-weight: 800;
  font-size: 15px;
  color: #4285f4;
}

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; }

.faq-container { max-width: 820px; }

.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid rgba(38, 58, 84, .1);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item[open] { border-color: rgba(230, 10, 110, .35); box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 22px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-ico {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  flex-shrink: 0;
  transition: background .2s ease, transform .25s ease;
}
.faq-ico::before, .faq-ico::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: inherit;
}
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--pink); transform: rotate(45deg); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: #fff; }

.faq-body { padding: 0 22px 20px; }
.faq-body p { color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
  text-align: center;
}

.cta-rings {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  width: 120%;
  opacity: .14;
  pointer-events: none;
}

.cta-inner { position: relative; }
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .8); font-size: 17px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.6fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-col h4 { font-size: 16px; margin-bottom: 18px; color: #fff; }

.footer-logo { width: 200px; height: auto; margin-bottom: 18px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.footer-col address { font-style: normal; color: rgba(255, 255, 255, .75); font-size: 15px; }

.footer-tel { margin-top: 14px; font-size: 15px; }
.footer-tel a { color: #fff; font-weight: 800; text-decoration: none; }
.footer-tel a:hover { color: #ff7eb6; }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col ul a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col ul a:hover { color: #fff; }

.footer-secondary { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }

.areas-list {
  columns: 2;
  column-gap: 36px;
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .08);
  transition: all .18s ease;
}
.socials a:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring, .glow { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 130px; text-align: center; }
  .hero-copy p { margin: 0 auto 30px; }
  .hero-ctas { justify-content: center; }
  .hero-art { margin-top: 28px; margin-bottom: -130px; }
  .chip-2 { left: 4%; }

  .usp-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .bespoke-inner { grid-template-columns: 1fr; text-align: center; }
  .bespoke-copy > p { margin: 0 auto 26px; }
  .bespoke-art { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; color: var(--ink); }
  .nav-toggle { display: flex; }
  .btn-phone { padding: 9px 14px; font-size: 13px; }

  .prod-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; }
}
