/*
Theme Name: Black Diamond
Theme URI: https://blackdiamondmattress.com
Author: Gupta Distributors
Author URI: https://blackdiamondmattress.com
Description: Custom WordPress theme for Black Diamond — premium mattresses, chairs and Storm Series air coolers. Navy + cool-blue palette with a faceted "diamond cut" visual identity.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: black-diamond
*/

/* ==========================================================================
   Black Diamond — Stylesheet
   Palette: Dark Navy Blue + Cool Blue + White — premium, cool, professional
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors — variable NAMES kept the same as the original file so every
     component below (which already references --onyx / --gold / --ivory)
     repaints automatically in the new palette */
  --onyx: #0B1F3A;        /* Dark Navy Blue — was onyx black */
  --onyx-soft: #122a4d;   /* lighter navy panel */
  --gold: #00AEEF;        /* Cool Blue accent — was gold */
  --gold-bright: #33c3ff; /* brighter cool blue for highlights */
  --ivory: #F5FAFC;       /* very light blue/white background — was ivory */
  --ivory-soft: #E9F5FB;  /* soft ice-blue panel */
  --charcoal: #1A1A1A;    /* body text */
  --line: #D7E9F2;        /* light blue-grey hairline */
  --white: #ffffff;
  --navy-deep: #071527;   /* extra-deep navy for gradients/shadows */

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1180px;
  --facet: 26px;
  --facet-sm: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--onyx);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-right: 10px;
  vertical-align: middle;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet-sm) 100%, 0 calc(100% - var(--facet-sm)));
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn-gold {
  background: var(--gold);
  color: var(--onyx);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(250, 246, 236, 0.45);
}
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }

.btn-dark {
  background: var(--onyx);
  color: var(--ivory);
}
.btn-dark:hover { background: var(--onyx-soft); color: var(--gold-bright); transform: translateY(-2px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--onyx);
}
.brand-text span { color: var(--gold); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.main-nav a.active { color: var(--onyx); font-weight: 600; }

/* WordPress wp_nav_menu() marks the current page's <li>, not the <a> —
   mirror the .active look for those items too. */
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
  color: var(--onyx);
  font-weight: 600;
}
.main-nav li.current-menu-item > a::after,
.main-nav li.current_page_item > a::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--onyx);
  margin: 5px 0;
}

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

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% 10%, rgba(0,174,239,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 90%, rgba(51,195,255,0.10) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--onyx) 55%, var(--onyx-soft) 100%);
  color: var(--ivory);
  overflow: hidden;
  padding: 120px 0 104px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(0,174,239,0.06) 0px, rgba(0,174,239,0.06) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(25deg, rgba(0,174,239,0.04) 0px, rgba(0,174,239,0.04) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
}

/* Split banner layout: text left, floating product visual right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-text { text-align: left; }

.hero-logo { width: 96px; margin: 0 0 26px; }

.hero h1 {
  color: var(--ivory);
  font-size: clamp(36px, 4.6vw, 56px);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero .lede {
  font-size: 17.5px;
  color: rgba(250, 246, 236, 0.8);
  max-width: 480px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(250,246,236,0.14);
  flex-wrap: wrap;
}
.hero-badges .hb b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-badges .hb span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.6);
}

/* Floating visual side ------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 30px 34px;
}

.hero-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,0.34) 0%, rgba(0,174,239,0) 72%);
  filter: blur(4px);
  z-index: 0;
}

/* Faceted "diamond-cut" frame — corners echo the brand's cut motif */
.hero-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
  box-shadow: 0 30px 56px rgba(2,8,20,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.hero-shot img { width: 100%; display: block; }
.hero-shot:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg) scale(1.015); }

.hero-shot-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(11,31,58,0.75);
  backdrop-filter: blur(6px);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  z-index: 2;
}

.hero-shot-ribbon {
  position: absolute;
  right: -1px; bottom: -1px;
  background: var(--gold);
  color: var(--onyx);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 30px 6px 12px;
  z-index: 2;
}

.hero-chip {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 16px 10px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 36px rgba(2,8,20,0.4);
  z-index: 3;
}
.hero-chip img {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
}
.hero-chip .hc-text b {
  display: block;
  font-size: 12.5px;
  color: var(--onyx);
  font-weight: 700;
}
.hero-chip .hc-text span {
  font-size: 11px;
  color: #6b7a89;
}

.hero-chip-a { bottom: 6px; left: -6px; }
.hero-chip-b { top: 22px; right: -6px; }

.hero-tagline-hi {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* Page hero (inner pages) --------------------------------------------------*/

.page-hero {
  background: var(--onyx);
  color: var(--ivory);
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(0,174,239,0.06) 0px, rgba(0,174,239,0.06) 1px, transparent 1px, transparent 64px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.page-hero p { color: rgba(250,246,236,0.75); max-width: 560px; margin: 0 auto; }

/* Sections ------------------------------------------------------------------*/

section { padding: 88px 0; }
.section-ivory { background: var(--ivory); }
.section-ivory-soft { background: var(--ivory-soft); }
.section-onyx { background: var(--onyx); color: var(--ivory); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.section-head p { color: #665f52; }
.section-onyx .section-head p { color: rgba(250,246,236,0.72); }

/* Trust / feature grid --------------------------------------------------- */

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet) 100%, 0 calc(100% - var(--facet)));
}

.feature-card .mark {
  width: 34px; height: 34px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-bottom: 22px;
}

.feature-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { color: #5c5648; font-size: 15px; margin-bottom: 0; }

/* Featured banner ---------------------------------------------------------*/

.banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 48px 100%, 0 calc(100% - 48px));
}
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,31,58,0.88) 0%, rgba(11,31,58,0.15) 60%, rgba(11,31,58,0.05) 100%);
}
.banner-content {
  position: relative;
  z-index: 1;
  padding: 44px;
  color: var(--ivory);
  max-width: 520px;
}
.banner-content h2 { color: var(--ivory); font-size: 34px; margin-bottom: 10px; }
.banner-content p { color: rgba(250,246,236,0.82); }

/* Product grid --------------------------------------------------------------*/

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet) 100%, 0 calc(100% - var(--facet)));
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(11,31,58,0.14);
}

.product-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-photo img { transform: scale(1.06); }

.product-info { padding: 22px 24px 26px; }
.product-info .tag {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.product-info h3 { font-size: 22px; margin: 6px 0 8px; }
.product-info p { font-size: 14px; color: #5c5648; margin-bottom: 0; }

/* wider variant for products page (3 col) */
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet) 100%, 0 calc(100% - var(--facet)));
  border: 1px solid var(--line);
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text .eyebrow { margin-bottom: 12px; }
.split-text h2 { font-size: 34px; margin-bottom: 18px; }
.split-text p { color: #5c5648; }

.stat-row {
  display: flex;
  gap: 42px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat-row .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--onyx);
}
.stat-row .stat span {
  font-size: 13px;
  color: #746c5c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Values grid (about) --------------------------------------------------------*/

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-item { text-align: center; padding: 10px; }
.value-item .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 8px;
}
.value-item h3 { font-size: 18px; margin-bottom: 8px; }
.value-item p { font-size: 14px; color: #5c5648; }

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

.cta-band {
  background: var(--onyx);
  color: var(--ivory);
  text-align: center;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(0,174,239,0.06) 0px, rgba(0,174,239,0.06) 1px, transparent 1px, transparent 64px);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--ivory); font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: rgba(250,246,236,0.75); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* Contact page ----------------------------------------------------------------*/

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--onyx);
  color: var(--ivory);
  padding: 44px 36px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet) 100%, 0 calc(100% - var(--facet)));
}
.contact-info-card h3 { color: var(--ivory); font-size: 24px; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(250,246,236,0.7); margin-bottom: 30px; font-size: 14px; }

.info-line {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(250,246,236,0.14);
}
.info-line:first-of-type { border-top: none; }
.info-line .ico {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: var(--gold);
  transform: rotate(45deg);
}
.info-line .ico-wrap { display:flex; align-items:center; justify-content:center; width:30px; height:30px; flex-shrink:0; }
.info-line .ico-diamond { width: 16px; height: 16px; background: var(--gold-bright); transform: rotate(45deg); }
.info-line b { display: block; font-size: 14px; margin-bottom: 3px; color: var(--gold-bright); text-transform: uppercase; letter-spacing: 0.06em; }
.info-line span, .info-line a { font-size: 15px; color: rgba(250,246,236,0.9); }

.social-row { display: flex; gap: 12px; margin-top: 30px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(250,246,236,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-row a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet) 100%, 0 calc(100% - var(--facet)));
}

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

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--onyx);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory-soft);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-note { font-size: 13px; color: #837a68; margin-top: 4px; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: var(--ivory-soft);
  display: none;
}
.form-status.show { display: block; }

/* Map placeholder */
.map-wrap {
  margin-top: 56px;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

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

.site-footer {
  background: var(--onyx);
  color: rgba(250,246,236,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,236,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ivory); }
.site-footer p { font-size: 14px; }
.site-footer h4 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a { font-size: 14px; transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--gold-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(250,246,236,0.5);
}

/* Age / disclaimer strip */
.disclaimer-strip {
  background: var(--ivory-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  text-align: center;
  font-size: 12.5px;
  color: #746c5c;
  letter-spacing: 0.02em;
}

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

/* Stats bar ------------------------------------------------------------------*/

.stats-bar {
  background: var(--onyx-soft);
  border-top: 1px solid rgba(0,174,239,0.25);
  border-bottom: 1px solid rgba(0,174,239,0.25);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-block {
  text-align: center;
  padding: 34px 20px;
  border-left: 1px solid rgba(250,246,236,0.1);
}
.stat-block:first-child { border-left: none; }
.stat-block .big {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-bright);
  display: block;
}
.stat-block .lbl {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.65);
}

/* Feature block (large alternating product showcase) --------------------------*/

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse .fb-img { order: 2; }
.feature-block.reverse .fb-text { order: 1; }

.fb-img {
  position: relative;
}
.fb-img img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet) 100%, 0 calc(100% - var(--facet)));
  border: 1px solid var(--line);
}
.fb-img .fb-num {
  position: absolute;
  top: -18px; left: -18px;
  width: 58px; height: 58px;
  background: var(--onyx);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  z-index: 2;
}
.fb-img .fb-num span { transform: rotate(-45deg); }

.fb-text .tag { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.fb-text h3 { font-size: 30px; margin: 8px 0 14px; }
.fb-text p { color: #5c5648; }

.fb-specs {
  list-style: none;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.fb-specs li { font-size: 14px; color: var(--charcoal); }
.fb-specs li b { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8168; margin-bottom: 3px; font-weight: 600; }

/* Timeline / journey -----------------------------------------------------------*/

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 20px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-left: 62px;
  margin-bottom: 44px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item .dot {
  position: absolute;
  left: 11px; top: 4px;
  width: 20px; height: 20px;
  background: var(--gold);
  transform: rotate(45deg);
  border: 3px solid var(--ivory);
}
.timeline-item h3 { font-size: 20px; margin-bottom: 6px; }
.timeline-item .yr { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; margin-bottom: 6px; }
.timeline-item p { color: #5c5648; margin-bottom: 0; font-size: 15px; }

/* Badge row ---------------------------------------------------------------------*/

.badge-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.badge-item {
  text-align: center;
  padding: 26px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}
.badge-item .glyph {
  width: 26px; height: 26px;
  margin: 0 auto 14px;
  background: var(--gold);
  transform: rotate(45deg);
}
.badge-item h4 { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--onyx); margin-bottom: 6px; }
.badge-item p { font-size: 12.5px; color: #746c5c; margin-bottom: 0; }

/* Process steps ------------------------------------------------------------------*/

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  position: relative;
  padding: 0 26px;
  text-align: left;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px; right: -2px;
  width: 22px; height: 1px;
  background: var(--line);
}
.process-step .step-no {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: #5c5648; margin-bottom: 0; }

/* Testimonials --------------------------------------------------------------------*/

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--facet-sm) 100%, 0 calc(100% - var(--facet-sm)));
}
.testimonial-card .stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p.quote { font-family: var(--font-display); font-size: 18px; color: var(--onyx); font-style: italic; margin-bottom: 20px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 40px; height: 40px;
  background: var(--onyx);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.testimonial-card .avatar span { transform: rotate(-45deg); }
.testimonial-card .person b { display: block; font-size: 14px; color: var(--onyx); }
.testimonial-card .person small { font-size: 12.5px; color: #8a8168; }

/* Gallery masonry ------------------------------------------------------------------*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(11,31,58,0.88), transparent);
  color: var(--ivory);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  padding: 22px 14px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* Compare table -----------------------------------------------------------------*/

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.compare-table th {
  background: var(--onyx);
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; color: var(--onyx); }
.compare-table tr:nth-child(even) td { background: var(--ivory-soft); }

/* FAQ accordion --------------------------------------------------------------------*/

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--onyx);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 24px; color: #5c5648; font-size: 15px; max-width: 640px; }

/* Responsive ------------------------------------------------------------------*/

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-text { text-align: center; }
  .hero-logo { margin: 0 auto 26px; }
  .hero .lede { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; min-height: unset; display: flex; justify-content: center; padding: 10px 20px 40px; }
  .hero-glow { display: none; }
  .hero-chip { display: none; }
  .hero-shot { transform: none; max-width: 300px; margin: 0 auto; box-shadow: 0 20px 40px rgba(2,8,20,0.5), 0 0 0 1px rgba(255,255,255,0.08); }
  .hero-shot:hover { transform: none; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 13px 22px; font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse { direction: ltr; }
  .split .split-img { order: -1; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(3) { border-left: none; }
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; gap: 30px; }
  .feature-block .fb-img, .feature-block.reverse .fb-img { order: -1; }
  .badge-row { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .process-step:not(:last-child)::after { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; overflow: hidden; }
  .hero-shot { max-width: 240px; }
  .hero-shot-tag { font-size: 10px; padding: 5px 10px; }
  .hero-shot-ribbon { font-size: 9px; padding: 6px 22px 5px 10px; }
  .hero h1 { font-size: 29px; }
  .hero .lede { font-size: 15.5px; }
  .hero-badges { gap: 20px; margin-top: 30px; padding-top: 22px; }
  .hero-badges .hb b { font-size: 21px; }
  .hero-badges .hb span { font-size: 10px; }
  .main-nav { position: fixed; top: 74px; left: 0; right: 0; bottom: 0; background: var(--ivory); transform: translateX(100%); transition: transform 0.3s ease; z-index: 90; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 20px 28px; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { display: block; padding: 18px 0; }
  .nav-toggle { display: block; }
  .brand img { height: 36px; }
  .brand-text { font-size: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid.cols-3 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  section { padding: 60px 0; }
  .banner-content { padding: 30px; max-width: 100%; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .badge-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item.tall { grid-row: span 2; }
  .fb-specs { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Chairs Collection — 3D card treatment + navy/cool-blue accents
   ========================================================================== */

.chairs-hero-strip {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--onyx) 55%, var(--onyx-soft) 100%);
  position: relative;
  overflow: hidden;
}
.chairs-hero-strip::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(0,174,239,0.18) 0%, transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(51,195,255,0.14) 0%, transparent 45%);
  pointer-events: none;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 46px;
}
.category-tabs a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--onyx);
  border-radius: 999px;
  transition: all 0.25s ease;
}
.category-tabs a:hover,
.category-tabs a.active {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
  box-shadow: 0 8px 20px rgba(11,31,58,0.25);
}

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

/* 3D lifted product card */
.chair-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(11,31,58,0.06),
    0 10px 22px rgba(11,31,58,0.08);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  transform-style: preserve-3d;
  position: relative;
}
.chair-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.015);
  box-shadow:
    0 6px 12px rgba(11,31,58,0.10),
    0 30px 46px rgba(11,31,58,0.20),
    0 0 0 1px rgba(0,174,239,0.25);
}

.chair-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #eef7fb 0%, #dbeef6 100%);
  overflow: hidden;
}
.chair-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 14px 14px rgba(11,31,58,0.18));
}
.chair-card:hover .chair-photo img { transform: scale(1.07) translateY(-2px); }

.chair-code {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--onyx);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(11,31,58,0.3);
  z-index: 2;
}
.chair-code.blue { background: var(--gold); }

.chair-info { padding: 18px 20px 22px; }
.chair-info .tag {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.chair-info h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--onyx);
  margin: 6px 0 0;
}

.chairs-note {
  text-align: center;
  font-size: 13px;
  color: #5c6b7a;
  margin-top: 40px;
}

/* subtle glass badge used across navy sections */
.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .chair-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 720px) {
  .chair-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .chair-info { padding: 14px 14px 18px; }
  .chair-info h3 { font-size: 15px; }
}

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

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(11,31,58,0.35), 0 0 0 0 rgba(37,211,102,0.55);
  z-index: 200;
  animation: wa-pulse 2.6s ease-out infinite;
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }

@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px rgba(11,31,58,0.35), 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 10px 26px rgba(11,31,58,0.35), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(11,31,58,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
