/* ============================================
   FRAMELESS GLASS ONLINE — Design System
   Clean lines. Clear glass. Zero friction.
   ============================================ */

/* --- Tokens --- */
:root {
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --stone: #F0EDE8;
  --light-border: #E2DFD8;
  --mid-grey: #8C8C8C;
  --charcoal: #1A1A2E;
  --deep: #0F0F1A;
  --blue: #1B6B93;
  --blue-hover: #155A7A;
  --blue-light: #E8F4F8;
  --gold: #B8976A;
  --success: #2D8B4E;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --max-width: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-hover); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark .eyebrow { color: var(--white); }
.section-dark .eyebrow { opacity: 0.7; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--charcoal);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-cart svg { width: 20px; height: 20px; }
.cart-count {
  background: var(--blue);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: var(--transition);
}

/* Old video hero (.hero/.hero-video/.hero-overlay/.hero-content/.scroll-arrow)
   retired in the 2026-09 redesign -- index.html's hero is rebuilt in
   css/v2.css and no page references these classes any more. */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--deep);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-cart {
  background: var(--blue);
  color: var(--white);
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}
.btn-cart:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
}

/* --- Value Props --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 50%;
}
.value-icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; }
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: var(--mid-grey); font-size: 0.95rem; }

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-card-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--off-white);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.03); }
.product-card-body { padding: 1.5rem; }
.product-card-body h2, .product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.25rem;
}
.product-price .from {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--mid-grey);
}
.product-price .gst {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--mid-grey);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--mid-grey);
}
.stars { color: #F59E0B; letter-spacing: 1px; }
.product-meta {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}
.product-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238C8C8C'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  cursor: pointer;
}

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 2.5rem auto 0; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-light);
  margin-bottom: 1rem;
}
/* .faq-item/.faq-question/.faq-icon/.faq-answer retired in the 2026-09
   redesign -- faq.html now uses native <details>/<summary> styled by
   .v2faq in css/v2.css. */

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-border);
}
.testimonial-card .stars { margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-grey);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--mid-grey); margin-bottom: 1.5rem; font-size: 0.95rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-detail svg {
  width: 20px; height: 20px;
  stroke: var(--blue);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail span { font-size: 0.95rem; color: var(--charcoal); }

/* --- Fit Check --- */
.fit-check-card {
  max-width: 640px;
  margin: 2.5rem auto 0;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
}
.fit-check-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
.form-group input.invalid { border-color: #C0392B; }
.fit-check-note {
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.fit-check-note[hidden] { display: none; }
.fit-check-note.is-error {
  background: #FFF3CD;
  border: 1px solid #FFEAA7;
  color: #856404;
}
.fit-check-note.is-success {
  background: var(--blue-light);
  border: 1px solid var(--blue);
  color: var(--charcoal);
}
.fit-check-note.is-success strong { color: var(--blue); }

/* --- Footer --- */
.footer {
  background: var(--deep);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer p { font-size: 0.9rem; line-height: 1.7; }
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
}

/* --- About Page --- */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--stone);
  text-align: center;
}
.page-header .eyebrow { margin-bottom: 0.5rem; }
.page-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--mid-grey);
  font-size: 1.05rem;
}
.about-content {
  max-width: 720px;
  margin: 0 auto;
}
.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--blue-light);
  border-radius: var(--radius);
}
.feature-item svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item span { font-size: 0.95rem; font-weight: 500; }

/* --- CTA Band --- */
.cta-band {
  background: var(--blue);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* --- Delivery Badge --- */
.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1rem;
}
.delivery-badge svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; }

/* --- Blog Listing --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-body .eyebrow { margin-bottom: 0.5rem; }
.blog-card-body h3 { margin-bottom: 0.5rem; }
.blog-card-body h3 a { color: var(--charcoal); }
.blog-card-body h3 a:hover { color: var(--blue); }
.blog-card-body p { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 1rem; }
.read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.read-more:hover { gap: 0.6rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--light-border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 0.75rem 0; }
  .value-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .fit-check-row { grid-template-columns: 1fr; }
  .fit-check-card { padding: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

