﻿/* ============================================
   NESS STOVES LTD - Shared Stylesheet
   Colours: Navy #1a3a5f | Gold #d4a140 | BG #faf9f7
   Fonts: Montserrat (headings) | Lato (body)
============================================ */

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

/* Smooth scroll for the whole site */
html { scroll-behavior: smooth; }

/* ============ COOKIE CONSENT BANNER ============ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: linear-gradient(135deg, #0a1a2e 0%, #0f2942 100%);
  border-top: 2px solid rgba(212,161,64,0.4);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p {
  flex: 1; color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.6;
  margin: 0; min-width: 200px;
}
#cookie-banner p a { color: #d4a140; text-decoration: underline; }
#cookie-banner p strong { color: #fff; }
.cookie-banner-btns { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
#cookie-accept {
  padding: 0.7rem 1.75rem; background: linear-gradient(135deg, #d4a140, #f4c563);
  color: #0f2942; border: none; border-radius: 6px; font-weight: 700;
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.3px;
}
#cookie-accept:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,161,64,0.45); }
#cookie-decline {
  padding: 0.7rem 1.5rem; background: transparent; color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; font-weight: 600;
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s;
}
#cookie-decline:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.4); }
@media (max-width: 600px) {
  #cookie-banner { padding: 1rem 1.25rem; gap: 1rem; }
  #cookie-banner p { font-size: 0.82rem; }
  .cookie-banner-btns { width: 100%; }
  #cookie-accept, #cookie-decline { flex: 1; text-align: center; }
}

/* ============ MOBILE TAP FEEDBACK ============ */
/* :active states give instant tactile feedback on touch */
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(212,161,64,0.4) !important;
  transition: all 0.08s;
}
.btn-secondary:active, .btn-outline:active, .btn-dark:active,
.btn-cta-dark:active, .btn-cta-outline:active {
  transform: translateY(1px) scale(0.98);
  transition: all 0.08s;
}
.feature-card:active, .service-card:active, .range-card:active, .product-card:active {
  transform: translateY(-4px);
  transition: all 0.1s;
}
nav ul a:active { color: #f4c563; }
#backToTop:active { transform: scale(0.92); }
.footer-col a:active { color: #f4c563; }

/* Remove blue tap highlight on all interactive elements */
* { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ PAGE LOAD FADE ============ */
body {
  font-family: 'Lato', sans-serif;
  background: #faf9f7;
  color: #2c3e50;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  opacity: 0;
  animation: pageIn 0.45s ease forwards;
}
@keyframes pageIn {
  to { opacity: 1; }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children — each child delays slightly */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(n+6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Fade only (no translate) — for full-width sections */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.reveal-fade.revealed { opacity: 1; }

/* ============ NAV ============ */
nav {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 100;
  background: #1a3a5f;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 85px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s, background 0.3s;
}
nav.scrolled {
  background: rgba(15,41,66,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}

/* ============================================================
   NAV CART BUTTON (Snipcart)
============================================================ */
.nav-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.4rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  transition: color 0.2s;
}
.nav-cart-btn:hover { color: #d4a140; }
.snipcart-items-count {
  position: absolute;
  top: -4px; right: -4px;
  background: #d4a140;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ============================================================
   PRODUCT CARDS (Snipcart)
============================================================ */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(26,58,95,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,58,95,0.14);
}
.product-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f0ede8;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.04);
}
.product-card-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f0ede8, #faf9f7);
}
.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: #d4a140; color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.3rem 0.75rem;
  border-radius: 20px; font-family: 'Montserrat', sans-serif;
}
.product-card-body {
  padding: 1.75rem;
  display: flex; flex-direction: column; flex: 1;
}
.product-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: #132d4a; margin: 0 0 0.6rem;
}
.product-card-desc {
  font-size: 0.9rem; color: #5a6c7d; line-height: 1.7;
  margin: 0 0 1rem;
}
.product-card-specs {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.product-card-specs li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: #2c3e50;
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: auto;
}
.product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: #1a3a5f;
}
.product-card--coming-soon .product-card-img {
  background: linear-gradient(135deg, #faf9f7, #f0ede8);
}
@media (max-width: 600px) {
  .product-card-footer { flex-direction: column; align-items: flex-start; }
}

/* ============ BACK TO TOP ============ */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #d4a140, #f4c563);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(212,161,64,0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.2s;
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { box-shadow: 0 6px 24px rgba(212,161,64,0.65); transform: translateY(-2px); }
#backToTop svg { width: 20px; height: 20px; fill: #0f2942; pointer-events: none; }
.logo-img { height: 95px; width: auto; display: block; filter: brightness(1.1); }
nav ul { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
nav ul a {
  color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.5px; transition: all 0.3s;
  position: relative; font-family: 'Montserrat', sans-serif;
}
nav ul a:hover { color: #d4a140; }
nav ul a::after {
  content: ''; position: absolute; bottom: -8px; left: 0; width: 0;
  height: 3px; background: #d4a140; transition: width 0.3s;
}
nav ul a:hover::after, nav ul a.active::after { width: 100%; }
nav ul a.active { color: #d4a140; }

/* Cart */
button.cart-icon {
  background: none; border: none; position: relative; cursor: pointer;
  padding: 0.5rem 1rem; transition: all 0.3s; display: flex; align-items: center;
}
.cart-icon svg { width: 30px; height: 30px; fill: rgba(255,255,255,0.9); transition: fill 0.3s; }
.cart-icon:hover svg { fill: #d4a140; }
.cart-badge {
  position: absolute; top: 5px; right: 5px; background: #d4a140;
  color: #0f2942; font-size: 0.7rem; font-weight: 700; width: 20px; height: 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  gap: 5px; padding: 8px; z-index: 101;
}
.hamburger span { width: 28px; height: 3px; background: #fff; transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

/* ============ HERO (HOME) ============ */
.hero {
  background: #1a3a5f; min-height: 650px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px 2rem 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(212,161,64,0.13) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(212,161,64,0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero-logo { max-width: 380px; margin: 0 auto 0.5rem; filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3)); }
.hero-badge {
  display: inline-block; padding: 0.6rem 1.8rem;
  background: rgba(212,161,64,0.15); border: 2px solid #d4a140;
  border-radius: 50px; color: #d4a140; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 2px; margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif;
}
.hero h1 {
  font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero h1 span {
  background: linear-gradient(135deg, #d4a140 0%, #f4c563 50%, #d4a140 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: 1.25rem; color: rgba(255,255,255,0.9); line-height: 1.8;
  margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* Page Hero (sub-pages) */
.page-hero {
  background: #1a3a5f; padding: 5rem 2rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212,161,64,0.12) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(212,161,64,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.page-hero-badge {
  display: inline-block; padding: 0.5rem 1.5rem;
  background: rgba(212,161,64,0.15); border: 1px solid rgba(212,161,64,0.5);
  border-radius: 50px; color: #d4a140; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.page-hero h1 {
  font-size: 2.8rem; font-weight: 800; color: #fff;
  font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; line-height: 1.2;
}
.page-hero h1 span {
  background: linear-gradient(135deg, #d4a140 0%, #f4c563 50%, #d4a140 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.8; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block; padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, #d4a140 0%, #c89b3c 100%);
  color: #0f2942; text-decoration: none; font-weight: 700; font-size: 1rem;
  border-radius: 6px; transition: all 0.3s; font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 25px rgba(212,161,64,0.5); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,161,64,0.65); }
.btn-secondary {
  display: inline-block; padding: 1.1rem 2.5rem; background: transparent;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem;
  border-radius: 6px; border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #d4a140; color: #d4a140; }
.btn-outline {
  display: inline-block; padding: 0.9rem 2rem; background: transparent;
  color: #1a3a5f; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  border-radius: 6px; border: 2px solid #1a3a5f; transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.btn-outline:hover { background: #1a3a5f; color: #fff; }
.btn-dark {
  display: inline-block; padding: 1.1rem 2.5rem; background: #0f2942;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem;
  border-radius: 6px; transition: all 0.3s; font-family: 'Montserrat', sans-serif;
}
.btn-dark:hover { background: #1a3a5f; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-cta-dark {
  display: inline-block; padding: 1.2rem 2.75rem; background: #0f2942; color: #fff;
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  border-radius: 8px; transition: all 0.3s; font-family: 'Montserrat', sans-serif;
  box-shadow: 0 8px 25px rgba(15,41,66,0.3);
}
.btn-cta-dark:hover { background: #1a3a5f; transform: translateY(-3px); box-shadow: 0 12px 35px rgba(15,41,66,0.4); }
.btn-cta-outline {
  display: inline-block; padding: 1.2rem 2.75rem; background: transparent; color: #0f2942;
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  border-radius: 8px; border: 2px solid #0f2942; transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.btn-cta-outline:hover { background: #0f2942; color: #fff; }

/* ============ READING PROGRESS BAR ============ */
#progress-bar {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: linear-gradient(90deg, #c89b3c, #d4a140, #f4c563, #d4a140);
  background-size: 300% 100%;
  z-index: 99999; pointer-events: none;
  animation: progressGlow 3s ease-in-out infinite;
}
@keyframes progressGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ GRAIN TEXTURE ============ */
.grain-texture {
  position: absolute; inset: 0;
  opacity: 0.04; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px 200px;
}

/* ============ SHOP IMAGE HOVER ZOOM ============ */
.range-showcase-image { overflow: hidden; }
.range-showcase-img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.7s ease;
}
.range-showcase-image:hover .range-showcase-img {
  transform: scale(1.05);
  box-shadow: 0 35px 80px rgba(0,0,0,0.25);
}

/* ============ SECTIONS ============ */
.section { padding: 5rem 2rem; }
.section-alt { background: linear-gradient(135deg, #faf9f7 0%, rgba(212,161,64,0.04) 50%, #f0ede8 100%); }
.section-dark { background: linear-gradient(135deg, #1a3a5f 0%, #0f2942 60%, #080f1a 100%); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.section-subtitle {
  color: #d4a140; font-weight: 700; font-size: 0.9rem; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif;
  position: relative; display: inline-block;
}
.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #d4a140, #f4c563);
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.revealed .section-subtitle::after { width: 100%; }
.section-title {
  font-size: 2.8rem; font-weight: 800; color: #132d4a;
  margin-bottom: 1.5rem; font-family: 'Montserrat', sans-serif; line-height: 1.2;
}
.section-title.light { color: #fff; }
.section-desc { font-size: 1.15rem; color: #5a6c7d; line-height: 1.8; }
.section-desc.light { color: rgba(255,255,255,0.8); }
.container { max-width: 1200px; margin: 0 auto; }

/* ============ FEATURE CARDS ============ */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem; max-width: 1200px; margin: 0 auto;
}
.feature-card {
  background: #fff; padding: 2.5rem; border-radius: 12px; text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06); transition: all 0.3s;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #c89b3c, #f4c563, #c89b3c) 1;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.feature-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #1a3a5f 0%, #254a6f 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2.5rem;
}
.feature-card h3 {
  font-size: 1.3rem; font-weight: 700; color: #1a3a5f;
  margin-bottom: 1rem; font-family: 'Montserrat', sans-serif;
}
.feature-card p { color: #5a6c7d; line-height: 1.7; }

/* ============ SHOP OVERVIEW - RANGE CARDS ============ */
.ranges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem; max-width: 1200px; margin: 0 auto;
}
.range-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.range-card:hover { transform: translateY(-10px); box-shadow: 0 15px 45px rgba(0,0,0,0.15); }
.range-card-header {
  padding: 3rem 2rem; text-align: center; position: relative;
}
.range-card-header.economy { background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%); }
.range-card-header.mid { background: linear-gradient(135deg, #1a3a5f 0%, #0f2942 100%); }
.range-card-header.top-draw { background: linear-gradient(135deg, #7b4f12 0%, #5c3a0a 100%); }
.range-badge {
  display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif; margin-bottom: 1rem;
}
.range-badge.economy { background: rgba(45,106,79,0.4); color: #74c69d; border: 1px solid rgba(116,198,157,0.4); }
.range-badge.mid { background: rgba(212,161,64,0.2); color: #d4a140; border: 1px solid rgba(212,161,64,0.4); }
.range-badge.top-draw { background: rgba(212,161,64,0.3); color: #f4c563; border: 1px solid rgba(244,197,99,0.5); }
.range-icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
.range-card-header h3 {
  font-size: 1.8rem; font-weight: 800; color: #fff;
  font-family: 'Montserrat', sans-serif; margin-bottom: 0.5rem;
}
.range-card-header p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.range-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.range-price-from {
  font-size: 1rem; color: #5a6c7d; margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.range-price-from span { font-size: 1.8rem; font-weight: 800; color: #d4a140; }
.range-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.range-features li {
  padding: 0.6rem 0; border-bottom: 1px solid #e0e6ed; color: #5a6c7d;
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem;
}
.range-features li:last-child { border-bottom: none; }
.range-features li::before { content: '✓'; color: #d4a140; font-weight: 700; flex-shrink: 0; }
.range-card-body a { display: block; text-align: center; }

/* ============ PRODUCT CARDS ============ */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem; max-width: 1400px; margin: 0 auto;
}
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.14); }
.product-image { width: 100%; height: 260px; object-fit: cover; background: #f0f4f8; }
.product-content { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.product-content h3 {
  font-size: 1.25rem; font-weight: 700; color: #1a3a5f;
  margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif;
}
.product-price {
  font-size: 1.8rem; font-weight: 800; color: #d4a140;
  margin-bottom: 0.75rem; font-family: 'Montserrat', sans-serif;
}
.product-desc { color: #5a6c7d; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; font-size: 0.95rem; }
.product-btn {
  display: block; width: 100%; padding: 1rem;
  background: linear-gradient(135deg, #1a3a5f 0%, #0f2942 100%);
  color: #fff; text-align: center; font-weight: 700; border-radius: 6px;
  transition: all 0.3s; font-family: 'Montserrat', sans-serif;
  border: none; cursor: pointer; font-size: 1rem;
}
.product-btn:hover { background: linear-gradient(135deg, #d4a140 0%, #c89b3c 100%); color: #0f2942; }

/* ============ COMING SOON ============ */
.coming-soon-section {
  padding: 6rem 2rem; text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.coming-soon-icon { font-size: 5rem; margin-bottom: 1.5rem; display: block; }
.coming-soon-section h2 {
  font-size: 2.5rem; font-weight: 800; color: #1a3a5f;
  font-family: 'Montserrat', sans-serif; margin-bottom: 1rem;
}
.coming-soon-section p {
  font-size: 1.15rem; color: #5a6c7d; max-width: 600px;
  margin: 0 auto 2rem; line-height: 1.8;
}
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #1a3a5f; text-decoration: none; font-weight: 600;
  font-family: 'Montserrat', sans-serif; margin-bottom: 3rem;
  transition: color 0.3s;
}
.back-link:hover { color: #d4a140; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem; max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: #fff; padding: 2.5rem; border-radius: 12px; text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06); transition: all 0.3s;
  border-top: 4px solid #d4a140;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.service-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #1a3a5f 0%, #254a6f 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2.5rem;
}
.service-card h3 {
  font-size: 1.4rem; font-weight: 700; color: #1a3a5f;
  margin-bottom: 1rem; font-family: 'Montserrat', sans-serif;
}
.service-card p { color: #5a6c7d; line-height: 1.7; }

/* Steps */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; max-width: 1000px; margin: 0 auto;
}
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a140 0%, #c89b3c 100%);
  color: #0f2942; font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 20px rgba(212,161,64,0.4);
}
.step-card h3 {
  font-size: 1.15rem; font-weight: 700; color: #1a3a5f;
  margin-bottom: 0.75rem; font-family: 'Montserrat', sans-serif;
}
.step-card p { color: #5a6c7d; line-height: 1.7; font-size: 0.95rem; }

/* ============ ABOUT ============ */
.about-content {
  max-width: 900px; margin: 0 auto; background: #fff;
  padding: 4rem; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.about-content h3 {
  font-size: 1.8rem; font-weight: 700; color: #1a3a5f;
  margin-bottom: 1.25rem; font-family: 'Montserrat', sans-serif;
}
.about-content h3 span { color: #d4a140; }
.about-content p { color: #5a6c7d; line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem; }

/* Stats Strip */
.stats-strip { background: linear-gradient(135deg, #1a3a5f 0%, #0f2942 100%); padding: 3rem 2rem; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto; text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem; font-weight: 800; color: #d4a140;
  font-family: 'Montserrat', sans-serif; margin-bottom: 0.5rem;
}
.stat-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #d4a140 0%, #c89b3c 100%);
  padding: 4rem 2rem; text-align: center;
}
.cta-banner h2 {
  font-size: 2.2rem; font-weight: 800; color: #0f2942;
  font-family: 'Montserrat', sans-serif; margin-bottom: 1rem;
}
.cta-banner p { color: rgba(15,41,66,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ============ CONTACT ============ */
.contact-container {
  max-width: 900px; margin: 0 auto; background: #fff;
  padding: 4rem; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.contact-info {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; margin-bottom: 3rem;
}
.contact-item { text-align: center; padding: 2rem; background: #faf9f7; border-radius: 10px; }
.contact-item-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #1a3a5f 0%, #254a6f 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.8rem;
}
.contact-item h4 {
  font-weight: 700; color: #d4a140; margin-bottom: 0.75rem;
  font-size: 1.1rem; font-family: 'Montserrat', sans-serif;
}
.contact-item a { color: #5a6c7d; text-decoration: none; transition: color 0.3s; display: block; font-weight: 500; }
.contact-item a:hover { color: #d4a140; }
.contact-item p { color: #5a6c7d; font-weight: 500; }
.form-group { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.form-group label { font-weight: 600; color: #1a3a5f; font-size: 0.95rem; font-family: 'Montserrat', sans-serif; }
.form-group input, .form-group textarea, .form-group select {
  padding: 1rem; border: 2px solid #e0e6ed; border-radius: 6px;
  font-size: 1rem; font-family: 'Lato', sans-serif; transition: all 0.3s;
  color: #2c3e50; background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: #d4a140; box-shadow: 0 0 0 3px rgba(212,161,64,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-btn {
  padding: 1.2rem 3rem; background: linear-gradient(135deg, #d4a140 0%, #c89b3c 100%);
  color: #0f2942; border: none; border-radius: 6px; font-weight: 700;
  font-size: 1.05rem; cursor: pointer; transition: all 0.3s;
  font-family: 'Montserrat', sans-serif; box-shadow: 0 6px 25px rgba(212,161,64,0.3);
}
.form-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(212,161,64,0.4); }

/* ============ FOOTER ============ */
footer {
  background: linear-gradient(180deg, #0d2137 0%, #0a1a2e 100%);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a140, #f4c563, #d4a140, transparent);
}
footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212,161,64,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(212,161,64,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 2; }
.footer-top {
  padding: 4rem 2rem 0;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-wrap { margin-bottom: 1.5rem; }
.footer-logo { height: 160px; filter: brightness(1.05) drop-shadow(0 4px 20px rgba(212,161,64,0.2)); display: block; }
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.5rem;
}
.footer-social a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,161,64,0.25);
  color: #d4a140;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: rgba(212,161,64,0.12);
  border-color: #d4a140;
  color: #f4c563;
}
.footer-social svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.footer-columns {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.footer-col h4 {
  color: #d4a140;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,161,64,0.2);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-col li::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: #d4a140;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  line-height: 1.4;
}
.footer-col a:hover { color: #d4a140; }
.footer-col .footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer-col .footer-contact-item::before { display: none; }
.footer-col .footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: #d4a140; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}
.footer-col .footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-col .footer-contact-item a:hover { color: #d4a140; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 2rem;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  line-height: 1.8;
  word-break: break-word;
  position: relative; z-index: 2;
}
.footer-bottom span:not(.jd-purple):not(.jd-cyan) { color: rgba(212,161,64,0.6); }

/* JDWebDesigns™ credit branding */
.footer-jd-credit {
  text-decoration: none;
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  display: inline-flex; align-items: baseline; gap: 0;
}
.footer-jd-credit:hover { opacity: 0.8; }
.jd-purple {
  color: #a78bfa;
  text-shadow: 0 0 12px rgba(139,92,246,0.7), 0 0 24px rgba(139,92,246,0.4);
}
.jd-cyan {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56,189,248,0.7), 0 0 24px rgba(56,189,248,0.4);
}

/* Legacy selectors kept for compatibility */
.footer-content { display: none; }
.footer-section { display: none; }
.footer-about { display: none; }

/* ============ SNIPCART THEME ============ */
#snipcart {
  --color-default: #2c3e50;
  --color-alt: #5a6c7d;
  --color-icon: #1a3a5f;
  --color-link: #d4a140;
  --color-link-hover: #c89b3c;
  --color-input-focus: #d4a140;
  --color-buttonPrimary: #d4a140;
  --color-buttonPrimary-hover: #c89b3c;
  --color-badge-active-background: #d4a140;
  --color-badge-active-foreground: #0f2942;
  --borderRadius-base: 6px;
}

/* ============================================================
   RESPONSIVE — Full Device Coverage
   1280 · 1024 · 900 · 768 · 600 · 480 · 390 · 320
   Touch targets: min 44px. iOS form-zoom fix. 
============================================================ */

/* Apply touch-action to all interactive elements */
a, button, [role="button"], input, select, textarea, label {
  touch-action: manipulation;
}

/* ── Large Desktop (1280px) ── */
@media (max-width: 1280px) {
  nav { padding: 0 2.5rem; }
  .container { padding: 0 2rem; }
  .footer-top { padding-left: 3rem; padding-right: 3rem; }
  .footer-columns { padding-left: 3rem; padding-right: 3rem; }
}

/* ── iPad Pro Landscape / Small Desktop (1024px) ── */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
  .hero h1 { font-size: 3rem; }
  .section-title { font-size: 2.4rem; }
  .ranges-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 2.5rem 2rem; }
}

/* ── Tablets / iPad Air / Samsung Tab (900px) ──
   Hamburger shows here. Grids stay 2-col for tablet width. */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; height: 76px; }
  .logo-img { height: 80px; }

  /* Hamburger */
  .hamburger {
    display: flex;
    position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
    padding: 10px; gap: 6px;
  }
  .hamburger span { width: 26px; }

  /* Cart sits left of hamburger */
  .cart-icon {
    position: absolute; right: 5.5rem; top: 50%; transform: translateY(-50%);
  }

  /* Mobile menu — full-width dropdown */
  nav ul {
    position: fixed; top: 76px; left: 0; right: 0;
    background: rgba(10,26,46,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; gap: 0;
    padding: 0.5rem 0 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.45);
    border-bottom: 2px solid rgba(212,161,64,0.25);
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, visibility 0.3s;
    max-height: calc(100vh - 76px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav ul.active { transform: translateY(0); opacity: 1; visibility: visible; }
  nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  nav ul li:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
  nav ul a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1.1rem 2rem; font-size: 1.05rem;
    min-height: 54px; /* Generous touch target */
    letter-spacing: 0.3px;
  }
  nav ul a::after { display: none; }
  nav ul a.active {
    background: rgba(212,161,64,0.1);
    border-left: 3px solid #d4a140;
    padding-left: calc(2rem - 3px);
    color: #d4a140;
  }
  nav ul a:hover { background: rgba(255,255,255,0.05); }

  /* Page layouts */
  .hero { min-height: 530px; }
  .hero h1 { font-size: 2.7rem; }
  .page-hero { padding: 4.5rem 2rem 3rem; }
  .page-hero h1 { font-size: 2.4rem; }
  .section { padding: 4rem 2rem; }
  .section-title { font-size: 2.2rem; }

  /* Grids — keep 2-col on tablet */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: repeat(2, 1fr); }
  .contact-container { padding: 3rem 2.5rem; }

  .footer-columns { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 2rem; }
  #backToTop { bottom: 1.5rem; right: 1.5rem; }
}

/* ── iPad Portrait / Phablets Landscape (768px) ── */
@media (max-width: 768px) {
  nav { height: 72px; padding: 0 1.25rem; }
  .logo-img { height: 74px; }
  nav ul { top: 72px; max-height: calc(100vh - 72px); }
  .hamburger { right: 1.25rem; }
  .cart-icon { right: 5rem; }

  .hero { min-height: 510px; padding: 15px 1.5rem 60px; }
  .hero-logo { max-width: 270px; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1.05rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 340px; text-align: center; }

  .page-hero { padding: 3.5rem 1.5rem 2.5rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 1rem; }

  .section { padding: 3.5rem 1.5rem; }
  .section-header { margin-bottom: 3rem; }
  .section-title { font-size: 1.95rem; }

  .about-content { padding: 2.5rem 2rem; }
  .contact-container { padding: 2.5rem 1.75rem; }

  .footer-columns { grid-template-columns: 1fr 1fr; gap: 1.75rem; padding: 2.5rem 1.5rem; }
  .footer-logo { height: 160px; }
  footer { padding: 0; }

  #backToTop { bottom: 1.25rem; right: 1.25rem; width: 46px; height: 46px; }
}

/* ── Small Tablets / Large Phones (600px) ──
   Grids drop to single column here. */
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ranges-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-info { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 3rem; }
  .footer-columns { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
  .hero h1 { font-size: 2rem; }
}

/* ── Phones (480px) ── */
@media (max-width: 480px) {
  nav { height: 66px; padding: 0 1rem; }
  .logo-img { height: 68px; }
  nav ul { top: 66px; max-height: calc(100vh - 66px); }
  .hamburger { right: 1rem; }
  .cart-icon { right: 4.5rem; }

  .hero { min-height: 480px; padding: 10px 1rem 50px; }
  .hero-logo { max-width: 220px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 0.95rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.5rem 1.2rem; letter-spacing: 1.5px; }
  .btn-primary, .btn-secondary { max-width: 100%; }

  .page-hero { padding: 3rem 1rem 2.5rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: 0.95rem; }

  .section { padding: 3rem 1rem; }
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 1rem; }
  .section-header { margin-bottom: 2.5rem; }

  .feature-card { padding: 2rem 1.5rem; }
  .service-card { padding: 2rem 1.5rem; }
  .feature-icon, .service-icon { width: 68px; height: 68px; }

  .about-content { padding: 2rem 1.25rem; }
  .contact-container { padding: 2rem 1.25rem; }
  .contact-info { max-width: 100%; }

  /* Prevent iOS auto-zoom on input focus (font must be ≥16px) */
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; padding: 0.9rem 1rem; }
  .form-btn { width: 100%; padding: 1.1rem 2rem; font-size: 1rem; }

  .cta-banner h2 { font-size: 1.75rem; }
  .cta-banner p { font-size: 1rem; }
  .cta-banner { padding: 3rem 1.25rem; }

  .footer-top { padding: 3rem 1.25rem 2rem; }
  .footer-columns { padding: 2rem 1.25rem; gap: 1.5rem; }
  .footer-logo { height: 145px; }
  .footer-tagline { font-size: 0.78rem; letter-spacing: 1.5px; }
  .footer-bottom { padding: 1.5rem 1.25rem; font-size: 0.75rem; }

  #backToTop { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }
  #backToTop svg { width: 18px; height: 18px; }
}

/* ── Small Phones — iPhone SE / Galaxy A-series (390px) ── */
@media (max-width: 390px) {
  nav { height: 62px; }
  .logo-img { height: 62px; }
  nav ul { top: 62px; max-height: calc(100vh - 62px); }
  nav ul a { padding: 1rem 1.5rem; font-size: 0.97rem; min-height: 50px; }

  .hero-logo { max-width: 200px; }
  .hero h1 { font-size: 1.7rem; line-height: 1.25; }
  .hero p { font-size: 0.9rem; }
  .hero-badge { font-size: 0.65rem; letter-spacing: 1px; }
  .hero-buttons { gap: 0.85rem; }

  .page-hero h1 { font-size: 1.6rem; }
  .section { padding: 2.75rem 1rem; }
  .section-title { font-size: 1.6rem; }

  .btn-primary, .btn-secondary, .btn-outline, .btn-dark {
    padding: 1rem 1.5rem; font-size: 0.95rem;
  }

  .coming-soon-section h2 { font-size: 1.8rem; }
  .coming-soon-section { padding: 4rem 1.25rem; }

  .footer-logo { height: 95px; }
  .footer-tagline { font-size: 0.72rem; }
}

/* ── Very Small Phones — iPhone SE 1st gen (320px) ── */
@media (max-width: 320px) {
  nav { height: 58px; padding: 0 0.75rem; }
  .logo-img { height: 55px; }
  nav ul { top: 58px; max-height: calc(100vh - 58px); }
  nav ul a { padding: 0.9rem 1.25rem; font-size: 0.9rem; min-height: 46px; }

  .hero { min-height: 440px; }
  .hero-logo { max-width: 180px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.875rem; }
  .hero-badge { display: none; } /* Too cramped */

  .section { padding: 2.5rem 0.75rem; }
  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero { padding: 2.5rem 0.75rem 2rem; }

  .contact-container, .about-content { padding: 1.5rem 0.875rem; }
  .footer-top { padding: 2.5rem 1rem 1.5rem; }
  .footer-columns { padding: 1.5rem 1rem; }
}

/* ============================================================
   MOBILE EXPERIENCE ENHANCEMENTS
   Sticky CTA · Card polish · Touch interactions · Typography
============================================================ */

/* ── Sticky bottom CTA bar — homepage only, phones only ── */
#mobile-sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  #mobile-sticky-cta {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
    background: linear-gradient(135deg, #0f2942 0%, #1a3a5f 100%);
    border-top: 2px solid rgba(212,161,64,0.35);
    padding: 0.85rem 1.25rem;
    gap: 0.75rem;
    align-items: center;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  #mobile-sticky-cta.visible { transform: translateY(0); }
  #mobile-sticky-cta a {
    flex: 1; text-align: center; padding: 0.85rem 1rem;
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem;
    border-radius: 8px; text-decoration: none; transition: all 0.2s;
  }
  #mobile-sticky-cta a:first-child {
    background: linear-gradient(135deg, #d4a140, #f4c563);
    color: #0f2942;
    box-shadow: 0 4px 15px rgba(212,161,64,0.4);
  }
  #mobile-sticky-cta a:last-child {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
  }
  #mobile-sticky-cta a:first-child:active { transform: scale(0.97); }
  #mobile-sticky-cta a:last-child:active { background: rgba(255,255,255,0.15); }
  /* Push footer above sticky bar */
  body.has-sticky-cta footer { padding-bottom: 80px; }
}
@media (max-width: 480px) {
  #mobile-sticky-cta { padding: 0.75rem 1rem; gap: 0.6rem; }
  #mobile-sticky-cta a { font-size: 0.85rem; padding: 0.8rem 0.75rem; }
}

/* ── Better mobile card touch targets ── */
@media (max-width: 768px) {
  /* Cards feel more tappable with a subtle active state */
  .feature-card, .service-card, .review-card, .range-card, .service-preview-card {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  /* Reduce hover translateY on mobile (hover = tap, no second state) */
  .feature-card:hover, .service-card:hover { transform: none; box-shadow: 0 6px 25px rgba(0,0,0,0.06); }
  .feature-card:active, .service-card:active { transform: scale(0.985); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

  /* Why points — swipe feel */
  .why-point:hover { transform: none; }
  .why-point:active { transform: scale(0.98); }

  /* Footer links — bigger tap zones */
  .footer-col a { padding: 0.35rem 0; display: inline-block; }
  .footer-col li { margin-bottom: 1rem; }
}

/* ── Mobile typography refinements ── */
@media (max-width: 600px) {
  /* Tighten letter-spacing on small screens for readability */
  .section-subtitle { letter-spacing: 1.5px; }
  /* Slightly more line-height for body text on small screens */
  .section-desc { line-height: 1.9; }
  .feature-card p, .service-card p { font-size: 0.95rem; line-height: 1.75; }
}

/* ── Ensure footer doesn't overlap sticky CTA on non-home pages ── */
@media (max-width: 768px) {
  /* Add space at bottom of last section before footer so content isn't cut off */
  main > section:last-of-type { padding-bottom: calc(3rem + 70px); }
}

/* ── FAQ accordion (shared: contact.html + index.html) ── */
.faq-item {
  background: #faf9f7;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e6ed;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(212,161,64,0.4); }
.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: #1a3a5f;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: #d4a140; }
.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid #d4a140;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.faq-chevron svg {
  width: 12px;
  height: 12px;
  stroke: #d4a140;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-chevron svg { transform: rotate(180deg); }
.faq-body {
  padding: 0 1.5rem 1.5rem;
  color: #5a6c7d;
  line-height: 1.8;
}
@media (max-width: 480px) {
  .faq-item summary { padding: 1.1rem 1.25rem; font-size: 0.95rem; }
  .faq-body { padding: 0 1.25rem 1.25rem; }
}


