/* ============================================
   Carolina Optics — Main Stylesheet
   ============================================ */

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* === CSS VARIABLES === */
:root {
  --navy: #1B3A4B;
  --accent: #4B9CD3;
  --accent-light: #6BB5E0;
  --accent-glow: rgba(75, 156, 211, .12);
  --warm-white: #F8F6F3;
  --cream: #F0EDE8;
  --g1: #F5F5F5;
  --g2: #E8E8E8;
  --g4: #9CA3AF;
  --g6: #6B7280;
  --g8: #374151;
  --td: #1A1A2E;
  --forest: #2D5016;
  --carolina-sky: #4B9CD3;
  --pine: #1a3a1a;
}

/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--td);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === NAVIGATION === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 29, 58, .06);
  transition: all .3s;
}
nav.scrolled { box-shadow: 0 4px 20px rgba(11, 29, 58, .1); }
.ni {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nl { display: flex; align-items: center; gap: 4px; list-style: none; }
.nl a {
  text-decoration: none; color: var(--g6); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .2s;
}
.nl a:hover { color: var(--navy); background: var(--accent-glow); }
.nl a.active { color: var(--navy); background: var(--accent-glow); font-weight: 600; }
.nc {
  background: var(--accent) !important; color: white !important;
  padding: 10px 20px !important; border-radius: 10px !important;
  font-weight: 600 !important; box-shadow: 0 2px 8px rgba(75, 156, 211, .12);
}
.np { color: var(--navy) !important; font-weight: 600 !important; font-size: 13.5px !important; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--g6);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform .2s;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: white; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  padding: 12px 0; min-width: 240px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .25s;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block !important; padding: 10px 20px !important;
  font-size: 13.5px !important; color: var(--g6) !important;
  border-radius: 0 !important;
}
.nav-dropdown-menu a:hover {
  background: var(--accent-glow) !important; color: var(--navy) !important;
}

/* === BUTTONS === */
.bp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white;
  padding: 15px 30px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(75, 156, 211, .12);
  border: none; cursor: pointer;
}
.bp:hover { opacity: .9; transform: translateY(-2px); }
.bs {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  padding: 15px 30px; border-radius: 12px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: all .25s; border: 1.5px solid var(--g2); cursor: pointer;
}
.bs:hover { background: var(--accent-glow); border-color: var(--accent); }

/* === SECTION TYPOGRAPHY === */
.se {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.st {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 38px); font-weight: 600;
  color: var(--navy); line-height: 1.2; margin-bottom: 20px; letter-spacing: -.3px;
}
.sd {
  font-size: 16px; color: var(--g6); line-height: 1.75; margin-bottom: 28px;
}

/* === PRODUCT CARDS === */
.pc {
  background: var(--warm-white); border-radius: 20px; overflow: hidden;
  transition: all .35s; cursor: pointer; border: 1px solid transparent;
}
.pc:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(11, 29, 58, .12);
  border-color: rgba(75, 156, 211, .12);
}
.pc a { text-decoration: none; color: inherit; display: block; }
.pv {
  height: 180px; display: flex; align-items: center; justify-content: center;
}
.pb { padding: 18px 22px 22px; }
.pbr {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent); font-weight: 600; margin-bottom: 5px;
}
.pb h3 {
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600;
  color: var(--navy); margin-bottom: 7px; line-height: 1.3;
}
.pb p {
  font-size: 12.5px; color: var(--g6); line-height: 1.6; margin-bottom: 12px;
}
.pt { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.ptg {
  font-size: 10px; font-weight: 500; color: var(--accent);
  background: var(--accent-glow); padding: 3px 8px; border-radius: 50px;
}
.pl {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; font-size: 13px;
  text-decoration: none; transition: gap .2s;
}
.pl:hover { gap: 10px; }

/* === CATEGORY CAROUSELS === */
.category-showcase-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.category-showcase {
  padding-top: 28px;
  border-top: 1px solid var(--g2);
}
.category-showcase:first-child {
  padding-top: 0;
  border-top: none;
}
.category-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.category-showcase-copy {
  max-width: 620px;
}
.category-showcase-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.category-showcase-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.category-showcase-head p {
  font-size: 14.5px;
  color: var(--g6);
  line-height: 1.75;
}
.category-carousel-shell {
  position: relative;
}
.category-carousel {
  overflow: hidden;
}
.category-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .35s ease;
  will-change: transform;
}
.category-carousel-track .pc {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}
.category-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(75, 156, 211, .18);
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(11, 29, 58, .14);
  cursor: pointer;
  z-index: 2;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-nav.prev { left: -18px; }
.category-nav.next { right: -18px; }
.category-nav:hover {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(75, 156, 211, .32);
  box-shadow: 0 16px 36px rgba(11, 29, 58, .18);
}
.category-nav[hidden] {
  display: none;
}

/* === FOOTER === */
.fc a {
  display: block; font-size: 13.5px; color: var(--g6);
  text-decoration: none; padding: 3px 0; transition: color .2s; line-height: 1.5;
}
.fc a:hover { color: var(--accent); }

/* === MODAL === */
.mo {
  position: fixed; inset: 0;
  background: rgba(11, 29, 58, .6); backdrop-filter: blur(8px);
  z-index: 9999; display: none; align-items: center; justify-content: center; padding: 32px;
}
.mo.active { display: flex; }
.md {
  background: white; border-radius: 20px; padding: 40px;
  max-width: 500px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
  animation: mi .3s ease-out; max-height: 90vh; overflow-y: auto;
}
.mc {
  position: absolute; top: 14px; right: 14px;
  background: var(--g1); border: none; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; font-size: 16px; color: var(--g6);
  display: flex; align-items: center; justify-content: center;
}
.mc:hover { background: var(--g2); }
.md h3 {
  font-family: 'Playfair Display', serif; font-size: 24px;
  color: var(--navy); margin-bottom: 6px;
}
.md > p { color: var(--g6); font-size: 14.5px; margin-bottom: 24px; }
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--g8); margin-bottom: 4px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--g2);
  border-radius: 10px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--td); outline: none; background: white; transition: border-color .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.fg textarea { resize: vertical; min-height: 60px; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* === ANIMATIONS === */
@keyframes fu {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pu {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
@keyframes mi {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.rv {
  opacity: 0; transform: translateY(20px);
  transition: all .6s ease-out;
}
.rv.visible { opacity: 1; transform: translateY(0); }

/* === HERO SECTION === */
.hero-scenic {
  min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center;
}
.hero-scenic-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero-scenic-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(27, 58, 75, .88) 0%,
    rgba(27, 58, 75, .82) 30%,
    rgba(27, 58, 75, .7) 55%,
    rgba(27, 58, 75, .6) 100%);
}
.hero-content {
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 120px 32px 80px; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-text { animation: fu .8s ease-out; }
.hero-photo-wrapper {
  animation: fu .8s ease-out .15s both;
  display: flex; flex-direction: column; align-items: center;
}
.hero-photo {
  width: 420px; height: 520px; border-radius: 24px;
  object-fit: cover; object-position: center top;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .3), 0 0 0 4px rgba(75, 156, 211, .25);
  position: relative;
}
.hero-photo-frame { position: relative; display: inline-block; }
.hero-photo-frame::before {
  content: ''; position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border: 2px solid rgba(75, 156, 211, .2); border-radius: 28px; z-index: -1;
}
.hero-photo-frame::after {
  content: ''; position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  background: var(--accent); opacity: .1; border-radius: 20px; z-index: -1;
}

/* === ABOUT SCENIC SECTION === */
.about-scenic { position: relative; overflow: hidden; }
.about-scenic-bg {
  position: absolute; inset: 0;
  background: url('../images/about-bg.jpg') center/cover no-repeat;
}
.about-scenic-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(27, 58, 75, .88);
}

/* === TERRITORY SCENIC === */
.terr-scenic { position: relative; overflow: hidden; }
.terr-scenic-bg {
  position: absolute; inset: 0;
  background: url('../images/territory-bg.jpg') center/cover no-repeat;
}
.terr-scenic-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(27, 58, 75, .65);
}

/* === LOCAL BADGE === */
.local-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(75, 156, 211, .12);
  border: 1px solid rgba(75, 156, 211, .2);
  border-radius: 50px; padding: 8px 20px;
  font-size: 12px; font-weight: 600; color: #6BB5E0;
  letter-spacing: .8px; text-transform: uppercase; margin-bottom: 24px;
}
.local-badge .dot {
  width: 7px; height: 7px; background: #6BB5E0;
  border-radius: 50%; animation: pu 2s infinite;
}

/* === TRUST CARDS === */
.trust-card {
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
  padding: 20px 24px; display: flex; align-items: center; gap: 14px; margin-top: 12px;
}
.trust-card .trust-icon {
  width: 44px; height: 44px; background: rgba(75, 156, 211, .15);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.trust-card h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 2px; }
.trust-card p { font-size: 12.5px; color: rgba(255, 255, 255, .4); line-height: 1.4; }

/* === MOBILE NAV / HAMBURGER === */
.hb {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; z-index: 1001; -webkit-tap-highlight-color: transparent;
}
.hb span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all .3s;
}
.mn {
  position: fixed; top: 64px; left: 0; right: 0;
  background: white; padding: 0 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  z-index: 999; border-bottom: 1px solid var(--g2);
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
}
.mn.active { max-height: 400px; padding: 20px 24px; }
.mn a {
  display: block; text-decoration: none; color: var(--g8);
  font-size: 16px; font-weight: 500; padding: 12px 0;
  border-bottom: 1px solid var(--g1); transition: color .2s;
}
.mn a:last-child { border-bottom: none; }
.mn a:hover { color: var(--accent); }
.mn .mc-cta {
  display: block; background: var(--accent); color: white;
  text-align: center; padding: 14px; border-radius: 10px;
  font-weight: 600; margin-top: 12px; border-bottom: none;
}
@media (max-width: 768px) { .hb { display: flex; } }

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 88px 32px 0;
  max-width: 1280px; margin: 0 auto;
}
.breadcrumbs a {
  color: var(--g6); text-decoration: none; font-size: 13px; font-weight: 500;
  transition: color .2s;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--g4); font-size: 13px; margin: 0 8px; }
.breadcrumbs .current { color: var(--navy); font-weight: 600; font-size: 13px; }

/* === PRODUCT PAGE LAYOUT === */
.product-hero {
  padding: 32px; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.product-hero-image {
  background: #f8f9fa; border-radius: 20px; padding: 32px;
  display: flex; align-items: center; justify-content: center; min-height: 360px;
}
.product-hero-image img {
  max-width: 100%; max-height: 340px; object-fit: contain;
}
.product-hero-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px); font-weight: 600;
  color: var(--navy); line-height: 1.2; margin-bottom: 16px;
}
.product-hero-info .brand-badge {
  display: inline-block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.product-hero-info .description {
  font-size: 16px; color: var(--g6); line-height: 1.75; margin-bottom: 24px;
}

/* Features list */
.features-list { list-style: none; margin-bottom: 28px; }
.features-list li {
  padding: 10px 0; border-bottom: 1px solid var(--g2);
  font-size: 14.5px; color: var(--g8); display: flex; align-items: center; gap: 10px;
}
.features-list li::before {
  content: ''; display: block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
}

/* === CONTACT FORM PAGE === */
.contact-grid {
  max-width: 1280px; margin: 0 auto; padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 600; color: var(--navy);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px; color: var(--g6); line-height: 1.75; margin-bottom: 28px;
}
.contact-detail {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--g2);
}
.contact-detail svg { flex-shrink: 0; }
.contact-detail a {
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px;
}
.contact-detail a:hover { color: var(--accent); }
.contact-form-card {
  background: white; border-radius: 20px; padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06); border: 1px solid var(--g2);
}
.contact-form-card h3 {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--navy); margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--g6); font-size: 14px; margin-bottom: 24px;
}

/* === RELATED PRODUCTS === */
.related-products {
  padding: 80px 32px; background: var(--g1);
}
.related-products h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 600; color: var(--navy);
  text-align: center; margin-bottom: 40px;
}
.related-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

/* === PRODUCT INSIGHTS === */
.practice-fit-section {
  padding: 80px 32px;
  background: var(--warm-white);
}
.practice-fit-wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.practice-fit-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.practice-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.practice-fit-card {
  background: white;
  border: 1px solid var(--g2);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(11, 29, 58, .05);
}
.practice-fit-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.practice-fit-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 12px;
}
.practice-fit-card p {
  color: var(--g6);
  font-size: 14.5px;
  line-height: 1.75;
}
/* === ADVANTAGE SECTION (product pages) === */
.advantage-section {
  padding: 80px 32px; background: linear-gradient(135deg, #1B3A4B, #14365E);
  color: white;
}
.advantage-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  text-align: center;
}
.advantage-card {
  padding: 32px;
}
.advantage-card h4 {
  font-family: 'Playfair Display', serif; font-size: 17px;
  color: white; margin: 16px 0 8px;
}
.advantage-card p {
  font-size: 13px; color: rgba(255, 255, 255, .5); line-height: 1.6;
}

/* === SPECS ACCORDION === */
.specs-accordion-section {
  padding: 0 32px 80px;
  background: white;
}
.specs-accordion-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.specs-accordion {
  border: 1px solid var(--g2);
  border-radius: 18px;
  background: var(--warm-white);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 29, 58, .04);
}
.specs-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.specs-accordion summary::-webkit-details-marker {
  display: none;
}
.specs-accordion-summary-copy {
  flex: 1;
}
.specs-accordion-summary-copy .se {
  margin-bottom: 8px;
}
.specs-accordion-summary-copy h2 {
  margin-bottom: 0;
}
.specs-accordion-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(75, 156, 211, .22);
  background: white;
  flex-shrink: 0;
}
.specs-accordion-icon::before,
.specs-accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.specs-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.specs-accordion[open] .specs-accordion-icon::after {
  opacity: 0;
}
.specs-accordion-body {
  padding: 0 28px 28px;
}
.specs-accordion-body .specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--g2);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.specs-accordion-body .specs-grid > div {
  padding: 16px 20px;
  font-size: 14px;
}
.specs-accordion-body .specs-grid > div:nth-child(odd) {
  background: var(--cream);
  font-weight: 600;
  color: var(--navy);
}
.specs-accordion-body .specs-grid > div:nth-child(even) {
  color: var(--g8);
}
.specs-accordion-body .specs-grid > div:not(:nth-last-child(-n+2)) {
  border-bottom: 1px solid var(--g2);
}

/* === TESTIMONIAL === */
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--navy); line-height: 1.5;
  font-weight: 400; font-style: italic; margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr !important; gap: 32px !important;
    text-align: center; padding: 120px 24px 60px !important;
  }
  .hero-text { order: 2; }
  .hero-photo-wrapper { order: 1; align-items: center !important; }
  .hero-photo { width: 300px; height: 380px; }
  .hero-photo-frame::after { display: none; }
  .hero-text .local-badge { justify-content: center; }
  .hero-text h1 { margin-left: auto; margin-right: auto; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-text > div:last-child { justify-content: center; }
  .hero-text > div[style*="display:flex;gap:14px"] { justify-content: center; }
  .ai { grid-template-columns: 1fr !important; gap: 40px !important; }
  .pg { grid-template-columns: repeat(2, 1fr) !important; }
  .pf { grid-column: span 2 !important; grid-template-columns: 1fr !important; }
  .si { grid-template-columns: repeat(2, 1fr) !important; }
  .fgr { grid-template-columns: repeat(2, 1fr) !important; }
  .lt-grid { grid-template-columns: 1fr 1fr 1fr !important; }
  .cat-divider { grid-column: span 2 !important; }
  .category-carousel-track .pc { flex-basis: calc((100% - 20px) / 2); }
  .product-hero { grid-template-columns: 1fr !important; gap: 32px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .advantage-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .practice-fit-grid { grid-template-columns: 1fr !important; }
  .specs-accordion-body .specs-grid { grid-template-columns: 1fr !important; }
  .specs-accordion-body .specs-grid > div:not(:last-child) { border-bottom: 1px solid var(--g2); }
  .specs-accordion-body .specs-grid > div:nth-child(odd) { border-bottom: none; }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Nav */
  .nl { display: none; }
  .ni { padding: 0 16px; height: 64px; }

  /* Hero */
  .hero-scenic { min-height: auto !important; }
  .hero-content { padding: 100px 20px 48px !important; gap: 24px !important; }
  .hero-photo { width: 220px; height: 280px; }
  .hero-photo-frame::before { top: -5px; left: -5px; right: -5px; bottom: -5px; }
  .hero-text h1 { font-size: 28px !important; }
  .hero-text p { font-size: 15px !important; }

  /* Local trust cards */
  .lt-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Products */
  .pg { grid-template-columns: 1fr !important; }
  .pf { grid-column: span 1 !important; grid-template-columns: 1fr !important; }
  .cat-divider { grid-column: span 1 !important; }
  .category-showcase-head { margin-bottom: 18px; }
  .category-showcase-head h3 { font-size: 24px; }
  .category-carousel-shell { padding-bottom: 64px; }
  .category-carousel-track .pc { flex-basis: 100%; }
  .category-nav {
    top: auto;
    bottom: 0;
    transform: none;
  }
  .category-nav.prev { left: calc(50% - 54px); }
  .category-nav.next { right: calc(50% - 54px); }
  .category-nav:hover { transform: scale(1.04); }

  /* Stats bar */
  .si { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }

  /* About section */
  .ai { gap: 32px !important; }

  /* Territory */
  .terr-map { max-width: 320px !important; }

  /* Testimonial */
  .testimonial-quote { font-size: 20px !important; }

  /* Footer */
  .fgr { grid-template-columns: 1fr !important; gap: 28px !important; }
  .fb { flex-direction: column; gap: 6px; text-align: center; }

  /* Modal form */
  .fr { grid-template-columns: 1fr; }
  .md { padding: 28px 20px; margin: 16px; }
  .mo { padding: 16px; }

  /* Product page */
  .product-hero { grid-template-columns: 1fr !important; padding: 20px !important; }
  .breadcrumbs { padding: 80px 20px 0; }
  .related-grid { grid-template-columns: 1fr !important; }
  .contact-grid { padding: 20px !important; }
  .practice-fit-section,
  .specs-accordion-section,
  .related-products { padding-left: 20px; padding-right: 20px; }
  .specs-accordion summary,
  .specs-accordion-body { padding-left: 20px; padding-right: 20px; }

  /* General spacing reduction */
  section { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero-content { padding: 90px 16px 40px !important; }
  .hero-photo { width: 180px; height: 230px; }
  .hero-text h1 { font-size: 24px !important; }
  .si { grid-template-columns: 1fr !important; }
  .terr-map { max-width: 260px !important; }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .bp, .bs, .nc, .pl { min-height: 44px; }
  .mn a { min-height: 48px; display: flex; align-items: center; }
  .pc { margin-bottom: 4px; }
  .hero-overlay-card { font-size: 14px; }
  .hero-overlay-card div:first-child { font-size: 15px !important; }
  .hero-overlay-card div:nth-child(2) { font-size: 11px !important; }
  .hero-overlay-card div:nth-child(3) { font-size: 10px !important; }
}

/* === CATALOG FILTER === */
.catalog-filter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 0;
}
.catalog-filter-inner {
  background: white;
  border: 1px solid var(--g2);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(11, 29, 58, .04);
}
.catalog-search-wrap {
  position: relative;
  margin-bottom: 16px;
}
.catalog-search {
  width: 100%;
  padding: 12px 40px 12px 42px;
  border: 1.5px solid var(--g2);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--td);
  outline: none;
  background: var(--warm-white);
  transition: border-color .2s;
  box-sizing: border-box;
}
.catalog-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.catalog-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--g2);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: var(--g6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-search-clear:hover {
  background: var(--g4);
  color: white;
}
.catalog-filters {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--g6);
  white-space: nowrap;
}
.catalog-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.catalog-pill {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--g2);
  background: white;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--g6);
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.catalog-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.catalog-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.catalog-results-count {
  font-size: 13px;
  color: var(--g4);
  margin-top: 12px;
}
.catalog-results-count:empty {
  display: none;
}

/* Grid mode when filtering is active */
.pg.filter-active .cat-divider {
  display: none;
}
.pg.filter-active .pc[style*="display: none"],
.pg.filter-active .pf[style*="display: none"] {
  display: none !important;
}

/* No results message */
.catalog-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--g6);
  font-size: 16px;
}

@media (max-width: 768px) {
  .catalog-filter { padding: 16px 20px 0; }
  .catalog-filter-inner { padding: 16px; }
  .catalog-filters { flex-direction: column; gap: 12px; }
  .catalog-filter-group { flex-direction: column; align-items: flex-start; }
}
