/* ============================================================
   PROMEDIONICS – styles.css
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS VARIABLES
   ------------------------------------------------------------ */
:root {
  /* ---- Promedionics brand palette (promedionics.eu) ---- */
  --primary:        #5F8038;   /* deep olive (logo green family) */
  --primary-dark:   #46622A;   /* darker olive */
  --accent:         #5E8438;   /* leaf-green action */
  --accent-dark:    #4F6E2E;   /* action hover */
  --accent-light:   #EEF5E3;   /* pale sage tint */
  --accent-mid:     #5E8438;
  --ink:            #2E3B23;   /* deep green-charcoal */
  --white:          #ffffff;
  --gray-50:        #F8FAFC;
  --gray-100:       #F1F5F9;
  --gray-200:       #E2E8F0;
  --gray-300:       #CBD5E1;
  --gray-400:       #94A3B8;
  --gray-500:       #64748B;
  --gray-600:       #475569;
  --gray-700:       #334155;
  --gray-800:       #1E293B;
  --gray-900:       #0F172A;
  --text:           #1E293B;
  --text-light:     #64748B;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:      0 10px 30px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:      0 20px 50px rgba(0,0,0,0.15);
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --transition:     all 0.25s ease;
  --transition-slow: all 0.4s ease;
  --nav-height:     72px;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section.bg-light {
  background: var(--gray-50);
}

.policy-layout {
  max-width: 900px;
  margin: 0 auto;
}

.policy-meta {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.policy-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.policy-block:first-child { padding-top: 0; }
.policy-block:last-child { border-bottom: 0; }

.policy-block h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.policy-block h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.policy-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-light);
  margin: 0.75rem 0 1rem;
}

.policy-block li {
  margin-bottom: 0.5rem;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.policy-table th,
.policy-table td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--gray-200);
  padding: 0.85rem;
}

.policy-table th {
  color: var(--ink);
  background: var(--gray-50);
}

.policy-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.policy-note p {
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-mid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #4F6E2E;
  border-color: #4F6E2E;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(94,132,56,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------
   6. NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-pro {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.logo-medionics {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-logo-mark { display: inline-flex; align-items: baseline; }

.logo-tagline {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--accent-light);
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: var(--transition);
  z-index: 200;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-dropdown-item:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-dropdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 3px;
  font-size: 0.65rem;
  transition: var(--transition);
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-login {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-login:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   7. PAGE HERO (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a4a7a 100%);
  padding: 7rem 0 4rem;
  margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb-sep { color: rgba(255,255,255,0.35); }

.breadcrumb-current { color: rgba(255,255,255,0.9); }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 580px;
}

/* ------------------------------------------------------------
   8. HOME HERO
   ------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, #0d4275 70%, #0a3560 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(94,132,56,0.15) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(94,132,56,0.2);
  border: 1px solid rgba(94,132,56,0.4);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   9. FEATURES GRID
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent-light);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------
   10. TREATMENT CARDS
   ------------------------------------------------------------ */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.treatment-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--white);
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.treatment-card-header {
  padding: 1.75rem 1.75rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.treatment-card-header.pre-op {
  background: linear-gradient(135deg, #5F8038 0%, #1a4a7a 100%);
}

.treatment-card-header.op {
  background: linear-gradient(135deg, #5E8438 0%, #4F6E2E 100%);
}

.treatment-card-header.post-op {
  background: linear-gradient(135deg, #0891B2 0%, #0369A1 100%);
}

.treatment-number {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  user-select: none;
}

.treatment-stage-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.treatment-card-header h3 {
  color: var(--white);
  font-size: 1.25rem;
  position: relative;
}

.treatment-card-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  margin-top: 0.4rem;
  position: relative;
}

.treatment-card-body {
  padding: 1.5rem 1.75rem;
}

.treatment-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.treatment-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.treatment-feature-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   11. PRODUCT AREA GRID
   ------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-area-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.product-area-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.product-area-icon {
  width: 54px;
  height: 54px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}

.product-area-icon svg {
  width: 34px;
  height: 34px;
}

.product-area-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.product-area-text h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.product-area-text p {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.3;
}

.product-area-arrow {
  margin-left: auto;
  color: var(--gray-300);
  transition: var(--transition);
}

.product-area-card:hover .product-area-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ------------------------------------------------------------
   12. BRAND CARDS
   ------------------------------------------------------------ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.brand-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.brand-header {
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.brand-header::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.brand-origin {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.brand-body {
  padding: 1.5rem 1.75rem;
}

.brand-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.brand-tag {
  background: var(--accent-light);
  color: var(--accent-mid);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* ------------------------------------------------------------
   13. CTA SECTION
   ------------------------------------------------------------ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a4a8a 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(94,132,56,0.1);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(94,132,56,0.08);
  pointer-events: none;
}

.cta-section .section-tag {
  background: rgba(94,132,56,0.2);
  color: var(--accent-light);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand-name {
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-contact-link {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-contact-link:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-bottom-link:hover { color: rgba(255,255,255,0.7); }

/* ------------------------------------------------------------
   15. CONTACT PAGE
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.contact-info-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}

.contact-info-text a:hover { color: var(--accent); }

.map-placeholder {
  margin-top: 1.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--gray-400);
}

.map-placeholder p {
  font-size: 0.875rem;
  margin: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  margin-bottom: 1.75rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group label span {
  color: var(--accent);
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94,132,56,0.12);
}

.form-control.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

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

.form-select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94,132,56,0.12);
}

.form-note {
  background: var(--accent-light);
  border: 1px solid rgba(94,132,56,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--accent-mid);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.success-banner {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #15803D;
  margin-bottom: 1.25rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.success-banner.visible {
  display: flex;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: var(--transition);
  gap: 1rem;
}

.faq-question:hover {
  background: var(--accent-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-item.open .faq-icon svg {
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 0 0 1.25rem;
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem;
}

/* ------------------------------------------------------------
   16. ABOUT / COMPANY PAGE
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.about-stat-item {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.about-stat-item:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.about-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--gray-700);
  font-weight: 700;
  line-height: 1.4;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.value-card-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.value-card-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.value-card p {
  font-size: 0.875rem;
  margin: 0;
}

/* ------------------------------------------------------------
   17. LOCATIONS
   ------------------------------------------------------------ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.location-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-mid);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.location-card h3 {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.location-detail-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail a {
  color: var(--accent);
}

.location-detail a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   18. BRANDS PAGE SPECIFICS
   ------------------------------------------------------------ */
.brand-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.brand-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}

.brand-nav-inner::-webkit-scrollbar { display: none; }

.brand-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  white-space: nowrap;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.brand-nav-link:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* ------------------------------------------------------------
   19. PRODUCTS PAGE SPECIFICS
   ------------------------------------------------------------ */
.area-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.area-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}

.area-nav-inner::-webkit-scrollbar { display: none; }

.area-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  white-space: nowrap;
  transition: var(--transition);
}

.area-nav-link:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.brand-choice {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 36px;
  padding: .42rem .8rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-600);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.brand-choice:hover {
  border-color: var(--brand, var(--accent));
  color: var(--primary);
  transform: translateY(-1px);
}

.brand-choice.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand-choice-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--brand, var(--accent));
  flex: 0 0 auto;
}

.brand-choice em {
  font-style: normal;
  font-size: .7rem;
  font-weight: 800;
  color: currentColor;
  opacity: .62;
}

.area-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--gray-100);
}

.area-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.area-icon svg {
  width: 26px;
  height: 26px;
}

.area-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.15rem;
}

.area-header p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.info-banner {
  background: var(--accent-light);
  border: 1px solid rgba(94,132,56,0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.info-banner svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.info-banner p {
  font-size: 0.9rem;
  color: var(--accent-mid);
  margin: 0;
}

.info-banner strong {
  color: var(--primary);
}

/* ------------------------------------------------------------
   20. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .nav-login {
    display: none;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--gray-50);
    display: none;
    padding: 0.25rem 0.5rem;
  }

  .nav-item-dropdown.open .nav-dropdown {
    display: block;
  }

  .nav-item-dropdown:hover .nav-dropdown {
    display: none;
  }

  .nav-item-dropdown.open .nav-dropdown {
    display: block;
  }

  /* Grids */
  .features-grid,
  .treatment-grid,
  .product-grid,
  .brands-grid,
  .contact-grid,
  .about-grid,
  .value-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-visual {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  .hero-title { font-size: 1.9rem; }

  h2 { font-size: 1.5rem; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .about-visual {
    grid-template-columns: 1fr;
  }

  .brand-header { padding: 1.25rem; }

  .form-card { padding: 1.5rem; }

  .page-hero { padding: 5rem 0 2.5rem; }

  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PRODUCT CATALOGUE (data-driven) — added build-out
   ============================================================ */
.cat-section { padding: 3.5rem 0; border-bottom: 1px solid var(--gray-200); scroll-margin-top: 150px; }
.cat-section:last-of-type { border-bottom: none; }
.cat-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.cat-icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg); flex-shrink: 0;
  background: var(--accent-light); color: var(--accent-mid);
  display: flex; align-items: center; justify-content: center;
}
.cat-head h2 { font-size: 1.6rem; margin: 0 0 .2rem; }
.cat-head p { color: var(--text-light); font-size: .92rem; margin: 0; }

.pcatalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pcard {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: var(--transition);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); }
.pcard-imgwrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-50); }
.pcard-imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.pcard:hover .pcard-imgwrap img { transform: scale(1.05); }
.pcard-brandtag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; padding: .28rem .7rem; border-radius: 50px;
}
.pcard-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.pcard-stage {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent-mid); margin-bottom: .5rem;
}
.pcard-name { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin: 0 0 .5rem; }
.pcard-tagline { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin: 0 0 1.1rem; flex: 1; }
.pcard-foot {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: var(--accent-mid);
}
.pcard:hover .pcard-foot { gap: .7rem; }

/* ---------- PRODUCT DETAIL ---------- */
.pd-wrap { padding: 3rem 0 4rem; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--gray-50); aspect-ratio: 4 / 3;
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .9rem; }
.pd-thumb {
  width: 84px; height: 64px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--gray-200); cursor: pointer; background: var(--gray-50);
  transition: var(--transition); padding: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--accent); }

.pd-brandbadge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; padding: .35rem .85rem; border-radius: 50px; margin-bottom: 1rem;
}
.pd-stagebadge {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--accent-mid); background: var(--accent-light);
  padding: .3rem .8rem; border-radius: 50px; margin-left: .5rem;
}
.pd-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .75rem; }
.pd-tagline { font-size: 1.1rem; color: var(--text-light); line-height: 1.6; margin: 0 0 1.5rem; }
.pd-desc { font-size: .97rem; line-height: 1.8; color: var(--gray-700); margin: 0 0 1.75rem; }
.pd-section-label {
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-light); margin: 0 0 1rem;
}
.pd-features { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.pd-features li { display: flex; gap: .7rem; font-size: .92rem; color: var(--gray-700); line-height: 1.5; }
.pd-features li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.pd-specs { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin: 0 0 2rem; }
.pd-specs div { display: flex; padding: .8rem 1.1rem; font-size: .9rem; }
.pd-specs div:nth-child(odd) { background: var(--gray-50); }
.pd-specs .spec-k { width: 42%; font-weight: 700; color: var(--primary); }
.pd-specs .spec-v { color: var(--gray-700); }
.pd-cta {
  display: flex; gap: 1rem; flex-wrap: wrap; padding: 1.5rem;
  background: var(--accent-light); border-radius: var(--radius-lg);
}
.pd-cta-text { flex: 1; min-width: 200px; }
.pd-cta-text strong { display: block; color: var(--primary); font-size: 1.05rem; margin-bottom: .2rem; }
.pd-cta-text span { font-size: .85rem; color: var(--gray-600); }

/* related */
.pd-related { padding: 3.5rem 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.pd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .pcatalog-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pd-gallery { position: static; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pcatalog-grid { grid-template-columns: 1fr; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .cat-head h2 { font-size: 1.3rem; }
}

/* Real product photography — contain on a clean light backdrop */
.pcard-imgwrap.is-photo { background: #fff; }
.pcard-imgwrap.is-photo img { object-fit: contain; padding: 1rem; }
.pcard:hover .pcard-imgwrap.is-photo img { transform: scale(1.04); }
.pd-main.is-photo { background: #fff; }
.pd-main.is-photo img { object-fit: contain; padding: 1.75rem; }
.pd-thumb img { object-fit: contain; padding: 4px; background: #fff; }

/* ============================================================
   PREMIUM LAYER — high-end refinement (typography, motion, polish)
   ============================================================ */
:root {
  --display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --gold: #AACE85;
  --gold-soft: #C2DCA0;
  --ease-lux: cubic-bezier(.22,.61,.36,1);
  --shadow-lux: 0 30px 70px -28px rgba(79,110,46,.30), 0 12px 28px -16px rgba(79,110,46,.18);
}

/* --- Display typography --- */
h1, h2,
.hero-title, .pd-title,
.section-header h2,
.cat-head h2,
.brand-content h2,
.cta-content h2 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}
.hero-title { font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.hero-title span { font-style: italic; font-weight: 500; color: var(--gold-soft) !important; }
body { letter-spacing: -0.003em; }

/* --- Refined section eyebrow (gold hairline) --- */
.section-tag {
  background: transparent !important;
  color: var(--gold) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.section-header .section-tag { justify-content: center; }
.section-tag::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor; opacity: 0.65;
}

/* --- Generous rhythm --- */
.section { padding: 7rem 0; }
.section-header { margin-bottom: 4rem; }

/* --- Premium buttons --- */
.btn { letter-spacing: 0.01em; border-radius: 8px; transition: all .35s var(--ease-lux); }
.btn-primary {
  background: linear-gradient(135deg, #5E8438 0%, #4F6E2E 100%);
  box-shadow: 0 8px 22px -10px rgba(94,132,56,.6);
}
.btn-primary:hover { box-shadow: 0 14px 34px -12px rgba(94,132,56,.7); transform: translateY(-2px); }
.btn-outline-dark:hover { transform: translateY(-2px); }

/* --- Cards: softer, deeper, smoother --- */
.feature-card, .treatment-card, .brand-card, .value-card,
.location-card, .pcard, .product-area-card {
  border-radius: 18px;
  transition: transform .45s var(--ease-lux), box-shadow .45s var(--ease-lux), border-color .45s var(--ease-lux);
}
.feature-card:hover, .brand-card:hover, .value-card:hover,
.pcard:hover, .treatment-card:hover {
  box-shadow: var(--shadow-lux);
  transform: translateY(-6px);
}
.pcard-imgwrap { aspect-ratio: 4 / 3; }

/* --- Hero refinement --- */
.hero { position: relative; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1200px 600px at 78% 18%, rgba(94,132,56,.22), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  background: rgba(194,163,107,.10) !important;
  border: 1px solid rgba(194,163,107,.35) !important;
  color: var(--gold-soft) !important;
  letter-spacing: 0.16em !important;
  font-size: 0.7rem !important;
  text-transform: uppercase;
}
.hero-tag-dot { background: var(--gold) !important; }
.hero-stat-value { font-family: var(--display); font-weight: 600; }
.hero-stat-value, .spec-value, .about-stat-num, .stat-value {
  font-family: var(--display); font-weight: 600;
}

/* gold hairline above stat row if present */
.hero-stats { position: relative; }

/* --- Page hero (inner) gold breadcrumb accent --- */
.page-hero { padding-top: 8rem; padding-bottom: 4.5rem; }

/* --- Product detail polish --- */
.pd-main, .pd-thumb, .pcard-imgwrap { border-radius: 16px; }
.pd-brandbadge { letter-spacing: 0.06em; }

/* --- Scroll reveal (progressive enhancement) --- */
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-lux), transform .8s var(--ease-lux);
  will-change: opacity, transform;
}
html.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --- Footer refinement --- */
.footer-heading { letter-spacing: 0.14em; }

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
}

/* ============================================================
   WEBSHOP + B2B BASKET — added module
   ============================================================ */

/* ---- nav cart button ---- */
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cart {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gray-100); color: var(--primary); border: 1px solid var(--gray-200);
  cursor: pointer; transition: all .25s var(--ease-lux);
}
.nav-cart:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }
.nav-cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 50px; background: var(--gold); color: #fff;
  font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; line-height: 1;
}
.nav-cart-count.is-empty { display: none; }
.nav-cart-count.bump { animation: cartBump .4s var(--ease-lux); }
@keyframes cartBump { 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }

/* ---- cart drawer ---- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(10,38,71,.45); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; z-index: 1200;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; z-index: 1300;
  background: #fff; box-shadow: -20px 0 60px rgba(79,110,46,.25);
  transform: translateX(102%); transition: transform .42s var(--ease-lux);
  display: flex; flex-direction: column;
}
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }
body.cart-open .cart-drawer { transform: translateX(0); }
body.cart-open { overflow: hidden; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--gray-100);
}
.cart-head-eyebrow { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .15rem; }
.cart-head h3 { font-family: var(--display); font-weight: 600; }
.cart-close { background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--gray-400); cursor: pointer; transition: color .2s; }
.cart-close:hover { color: var(--primary); }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--gray-100); }
.cart-item-img { width: 64px; height: 64px; border-radius: 10px; background: var(--gray-50); border: 1px solid var(--gray-100); overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item-brand { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cart-item-name { font-size: .85rem; font-weight: 600; color: var(--primary); margin: .15rem 0 .5rem; line-height: 1.3; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.cart-qty-btn { width: 26px; height: 26px; border: none; background: var(--gray-50); color: var(--primary); font-size: 1rem; cursor: pointer; }
.cart-qty-btn:hover { background: var(--accent-light); }
.cart-qty-val { width: 36px; height: 26px; border: none; text-align: center; font-size: .82rem; font-weight: 600; color: var(--primary); }
.cart-item-remove { background: none; border: none; color: var(--gray-400); cursor: pointer; transition: color .2s; }
.cart-item-remove:hover { color: #DC2626; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-400); }
.cart-empty svg { color: var(--gray-300); margin-bottom: 1rem; }
.cart-empty p { margin-bottom: 1.25rem; }
.cart-foot { padding: 1.25rem 1.6rem; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.cart-note { font-size: .78rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 1rem; }
.cart-foot-row { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
.cart-clear { background: none; border: none; color: var(--gray-400); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.cart-clear:hover { color: #DC2626; }
.cart-checkout { width: 100%; justify-content: center; }

/* ---- shop hero ---- */
.shop-hero {
  margin-top: var(--nav-height);
  background: linear-gradient(135deg, #2E3B23 0%, var(--primary) 55%, #5F8038 100%);
  color: #fff; padding: 3.5rem 0 4rem; position: relative; overflow: hidden;
}
.shop-hero::after { content:""; position:absolute; right:-150px; top:-120px; width:480px; height:480px; border-radius:50%; background:radial-gradient(circle, rgba(94,132,56,.25), transparent 65%); }
.shop-hero .breadcrumb { margin-bottom: 1.5rem; }
.shop-hero .breadcrumb a, .shop-hero .breadcrumb-current, .shop-hero .breadcrumb-sep { color: rgba(255,255,255,.7); }
.shop-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.shop-hero h1 { color: #fff; font-family: var(--display); font-weight: 600; letter-spacing: -.02em; margin-bottom: 1rem; }
.shop-hero h1 span { color: var(--gold); font-style: italic; }
.shop-hero p { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; max-width: 540px; }
.shop-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.shop-hero .btn-outline-dark { color:#fff; border-color: rgba(255,255,255,.5); }
.shop-hero .btn-outline-dark:hover { background:#fff; color: var(--primary); }
.shop-hero-aside { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.75rem; }
.shop-hero-stat { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.shop-hero-stat strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1; }
.shop-hero-stat span { font-size: .82rem; color: rgba(255,255,255,.6); }
.shop-hero-note { display: flex; gap: .7rem; margin-top: 1.1rem; font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.55; }
.shop-hero-note svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.shop-hero-note a { color: var(--gold-soft); text-decoration: underline; }

/* ---- shop body ---- */
.section-shop { padding: 3rem 0 5rem; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.shop-search-wrap { position: relative; flex: 1; max-width: 420px; }
.shop-search-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
#shop-search { width: 100%; padding: .8rem 1rem .8rem 2.6rem; border: 1px solid var(--gray-200); border-radius: 50px; font-size: .92rem; outline: none; transition: all .2s; }
#shop-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.shop-count { font-size: .85rem; font-weight: 600; color: var(--gray-500); white-space: nowrap; }
.shop-layout { display: grid; grid-template-columns: 248px 1fr; gap: 2.5rem; align-items: start; }
.shop-filters { position: sticky; top: calc(var(--nav-height) + 24px); display: flex; flex-direction: column; gap: 1.75rem; }
.filter-title { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: .85rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  padding: .45rem .9rem; border-radius: 50px; border: 1px solid var(--gray-200); background: #fff;
  font-size: .82rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all .2s var(--ease-lux);
}
.filter-chip:hover { border-color: var(--accent); color: var(--primary); }
.filter-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-help { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 14px; padding: 1.25rem; }
.filter-help strong { display: block; color: var(--primary); font-size: .95rem; margin-bottom: .35rem; }
.filter-help p { font-size: .82rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.55; }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.shop-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease-lux), box-shadow .4s var(--ease-lux), border-color .4s; }
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lux); border-color: var(--accent); }
.shop-card-media { position: relative; aspect-ratio: 1/1; background: #fff; display: block; overflow: hidden; }
.shop-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; transition: transform .5s var(--ease-lux); }
.shop-card:hover .shop-card-media img { transform: scale(1.05); }
.shop-card-brand { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; padding: .26rem .65rem; border-radius: 50px; }
.shop-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--gray-100); }
.shop-card-stage { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-mid); margin-bottom: .4rem; }
.shop-card-name { font-size: .98rem; font-weight: 700; color: var(--primary); line-height: 1.3; margin-bottom: .4rem; }
.shop-card-name:hover { color: var(--accent-mid); }
.shop-card-tagline { font-size: .8rem; color: var(--gray-500); line-height: 1.55; flex: 1; margin-bottom: 1rem; }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.shop-card-price { font-size: .78rem; font-weight: 600; color: var(--gray-400); }
.shop-add { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: 8px; border: none; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 700; cursor: pointer; transition: all .25s var(--ease-lux); }
.shop-add:hover { background: var(--accent-dark, #4F6E2E); transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(94,132,56,.6); }
.shop-empty { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--gray-500); }
.link-btn { background: none; border: none; color: var(--accent-mid); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* ---- product detail buy box ---- */
.pd-buy { background: var(--accent-light); border-radius: var(--radius-lg); padding: 1.5rem; }
.pd-buy-row { display: flex; gap: 1rem; align-items: stretch; flex-wrap: wrap; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; overflow: hidden; }
.pd-qty-btn { width: 42px; height: 100%; min-height: 46px; border: none; background: #fff; color: var(--primary); font-size: 1.2rem; cursor: pointer; transition: background .2s; }
.pd-qty-btn:hover { background: var(--gray-100); }
.pd-qty-val { width: 48px; border: none; text-align: center; font-size: 1rem; font-weight: 700; color: var(--primary); }
.pd-addbtn { flex: 1; justify-content: center; min-width: 180px; }
.pd-buy-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .82rem; color: var(--gray-600); line-height: 1.55; flex-wrap: wrap; }
.pd-buy-note a { color: var(--accent-mid); font-weight: 600; white-space: nowrap; }

/* ---- checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.checkout-summary { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: calc(var(--nav-height) + 24px); }
.checkout-summary h3 { font-family: var(--display); font-weight: 600; margin-bottom: 1.25rem; }
.checkout-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--gray-200); }
.checkout-item-img { width: 56px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid var(--gray-100); overflow: hidden; }
.checkout-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.checkout-item-brand { font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.checkout-item-name { font-size: .85rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.checkout-item-qty { font-size: .85rem; font-weight: 700; color: var(--gray-600); }
.checkout-total { display: flex; align-items: center; justify-content: space-between; padding-top: 1.1rem; margin-top: .5rem; font-weight: 700; color: var(--primary); }
.checkout-total-price { color: var(--accent-mid); }
.checkout-empty { text-align: center; padding: 2rem 1rem; color: var(--gray-500); }
.checkout-empty p { margin-bottom: 1.25rem; }
.checkout-disclaimer { font-size: .75rem; color: var(--gray-400); line-height: 1.55; margin-top: 1rem; text-align: center; }

/* global success banner */
.success-banner { display: none; align-items: center; gap: .75rem; background: #D1FAE5; border: 1px solid #6EE7B7; border-radius: var(--radius); padding: 1rem 1.25rem; color: #065F46; font-size: .9rem; font-weight: 500; margin-bottom: 1.5rem; }
.success-banner.show { display: flex; }

@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .shop-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; flex-direction: column; }
  .checkout-grid { grid-template-columns: 1fr; gap: 2rem; }
  .checkout-summary { position: static; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .cart-drawer { width: 100%; }
  .nav-cart { width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ---- Official Promedionics logo ---- */
.nav-logo-img { height: 38px; width: auto; display: block; }
.footer-logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1rem; }
@media (max-width: 480px){ .nav-logo-img { height: 32px; } }

/* ============================================================
   PRODUCTS PAGE — brand → category overview
   ============================================================ */
.brand-group { padding: 3rem 0 1rem; border-bottom: 1px solid var(--gray-200); scroll-margin-top: 140px; }
.brand-group:last-of-type { border-bottom: none; }
.brand-group-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 2rem; }
.brand-group-bar { width: 6px; align-self: stretch; min-height: 48px; border-radius: 6px; background: var(--bc, var(--primary)); }
.brand-group-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.brand-group-head p { margin: .2rem 0 0; font-size: .9rem; color: var(--gray-500); font-weight: 500; }

.catsub { scroll-margin-top: 140px; margin-bottom: 2.5rem; }
.catsub-head {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-600); margin: 0 0 1.1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--gray-100);
}
.catsub-head svg { color: var(--bc, var(--accent-mid)); }
.catsub-head em { font-style: normal; color: var(--gray-400); font-weight: 700; }
.catsub-head em::before { content: "· "; }

@media (max-width: 768px) {
  .brand-group { padding: 2.25rem 0 .5rem; }
  .brand-group-head { gap: .85rem; margin-bottom: 1.5rem; }
}

/* ============================================================
   PRODUCTS PAGE - calm portfolio view
   ============================================================ */
.portfolio-shell {
  padding: 3rem 0 5rem;
  scroll-margin-top: calc(var(--nav-height) + 22px);
  background:
    linear-gradient(180deg, #fbfcf8 0%, #fff 46%, #f8faf4 100%);
}

.portfolio-domain-bar {
  position: sticky;
  top: calc(var(--nav-height) + 12px);
  z-index: 18;
  margin-bottom: 1.75rem;
  padding: .75rem;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 40px rgba(46, 59, 35, .08);
  backdrop-filter: blur(18px);
}

.portfolio-domain-scroll {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.portfolio-domain-scroll::-webkit-scrollbar {
  display: none;
}

.portfolio-domain-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--gray-600);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.portfolio-domain-btn:hover,
.portfolio-domain-btn:focus-visible {
  color: var(--ink);
  background: var(--accent-light);
  outline: none;
}

.portfolio-domain-btn.is-active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(46, 59, 35, .14);
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.portfolio-side {
  position: sticky;
  top: calc(var(--nav-height) + 96px);
  display: grid;
  gap: 1.25rem;
}

.portfolio-filter-card {
  padding: 1.35rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(46, 59, 35, .05);
}

.portfolio-filter-title {
  margin: 0 0 .9rem;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-brand-list {
  display: grid;
  gap: .38rem;
}

.portfolio-brand-btn {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: .65rem;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 .62rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--gray-700);
  cursor: pointer;
  text-align: left;
  font-size: .86rem;
  font-weight: 720;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.portfolio-brand-btn:hover,
.portfolio-brand-btn:focus-visible {
  color: var(--ink);
  background: #f8faf4;
  outline: none;
}

.portfolio-brand-btn.is-active {
  border-color: rgba(95, 128, 56, .24);
  background: var(--accent-light);
  color: var(--ink);
}

.portfolio-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand, var(--primary));
}

.portfolio-brand-count {
  color: var(--gray-400);
  font-size: .76rem;
  font-weight: 800;
}

.portfolio-note {
  color: var(--gray-500);
  font-size: .84rem;
  line-height: 1.68;
}

.portfolio-side-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-dark);
  font-size: .84rem;
  font-weight: 800;
}

.portfolio-side-link:hover {
  color: var(--ink);
}

.portfolio-main {
  min-width: 0;
}

.portfolio-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.portfolio-head h2 {
  margin-top: .75rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 600;
  line-height: 1.05;
}

.portfolio-meta {
  color: var(--gray-500);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(95, 128, 56, .34);
  box-shadow: 0 24px 58px rgba(46, 59, 35, .11);
  outline: none;
}

.portfolio-media {
  display: grid;
  place-items: center;
  min-height: 236px;
  padding: 1.75rem;
  border-bottom: 1px solid var(--gray-100);
  background: linear-gradient(180deg, #fff 0%, #f7f9f1 100%);
}

.portfolio-media img {
  width: 100%;
  max-height: 178px;
  object-fit: contain;
  transition: transform .24s ease;
}

.portfolio-card:hover .portfolio-media img,
.portfolio-card:focus-visible .portfolio-media img {
  transform: scale(1.025);
}

.portfolio-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}

.portfolio-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

.portfolio-brand-name {
  color: var(--brand, var(--accent-dark));
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-stage {
  color: var(--gray-400);
  font-size: .7rem;
  font-weight: 760;
  white-space: nowrap;
}

.portfolio-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.36;
}

.portfolio-copy {
  flex: 1;
  margin: .65rem 0 0;
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.68;
}

.portfolio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.portfolio-category {
  color: var(--gray-500);
  font-size: .76rem;
  font-weight: 760;
}

.portfolio-view {
  color: var(--accent-dark);
  font-size: .84rem;
  font-weight: 820;
  white-space: nowrap;
}

.portfolio-load-row {
  display: flex;
  justify-content: center;
  margin-top: 2.1rem;
}

.portfolio-load-more {
  min-height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease;
}

.portfolio-load-more:hover,
.portfolio-load-more:focus-visible {
  border-color: rgba(95, 128, 56, .34);
  background: var(--accent-light);
  outline: none;
}

.portfolio-empty {
  grid-column: 1 / -1;
  padding: 3.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 1080px) {
  .portfolio-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .portfolio-shell {
    padding: 2rem 0 4rem;
  }

  .portfolio-domain-bar {
    top: calc(var(--nav-height) + 8px);
    margin-inline: -.35rem;
    border-left: 0;
    border-right: 0;
  }

  .portfolio-side,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-media {
    min-height: 210px;
  }
}

/* ---- legal pages ---- */
.legal-body p { margin-bottom: 1rem; line-height: 1.8; color: var(--gray-700); }
.legal-body h3 { font-size: 1.1rem; margin: 1.75rem 0 .6rem; color: var(--ink); }
.legal-body a { color: var(--accent-mid); font-weight: 600; }

/* ============================================================
   SITE-WIDE REFINEMENT (v2)
   Adopt the "Resources" documentation-library aesthetic across
   every page: soft paper background, refined neutral/green
   palette, and a calmer Inter heading font (matching the
   Resources doc-cards) instead of the serif display face.
   Appended last so it wins the cascade without touching the
   rules above.
   ============================================================ */
:root {
  /* Calmer heading font — same family the Resources cards use */
  --display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Refined palette lifted from the Resources tab */
  --paper:  #f8faf4;   /* soft off-white page background */
  --ink:    #142017;   /* heading ink */
  --text:   #273326;   /* body text */
  --muted:  #667263;   /* secondary text */
  --line:   #e3e8dd;   /* hairline borders */
  --bronze: #8a6a2f;   /* subtle "premium / restricted" accent */
}

/* Page canvas: soft paper instead of hard white */
body {
  background: var(--paper);
  color: var(--text);
  letter-spacing: 0;
}

/* Headings: calmer sans, a touch heavier so they keep presence */
h1, h2, h3, h4, h5, h6 { color: var(--ink); }
h1, h2,
.hero-title, .pd-title,
.section-header h2, .cat-head h2,
.brand-content h2, .cta-content h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.021em;
}
h3, h4, h5, h6 { font-family: var(--display); font-weight: 700; }

/* Body copy tone */
p { color: var(--text); }

/* Hairlines & soft separators pick up the refined line colour */
.section-header, .footer-bottom { border-color: var(--line); }

/* ============================================================
   INTERIOR HERO — Resources-style light hero with stats aside
   Opt-in via .page-hero--light + .page-hero-grid markup.
   ============================================================ */
.page-hero.page-hero--light {
  background: linear-gradient(135deg, #ffffff 0%, var(--paper) 58%, #edf4e6 100%);
  color: var(--ink);
}
.page-hero.page-hero--light::before { opacity: 0.4; filter: invert(1); }
.page-hero.page-hero--light .breadcrumb { color: var(--muted); }
.page-hero.page-hero--light .breadcrumb a { color: var(--muted); }
.page-hero.page-hero--light .breadcrumb a:hover { color: var(--green-700, #46622a); }
.page-hero.page-hero--light .breadcrumb-sep { color: var(--quiet, #87927f); }
.page-hero.page-hero--light .breadcrumb-current { color: var(--ink); }
.page-hero.page-hero--light h1 { color: var(--ink); }
.page-hero.page-hero--light p { color: var(--text); }

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 2.75rem;
  align-items: end;
}

.page-hero-stats {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem 1.45rem;
  box-shadow: 0 14px 38px rgba(23, 35, 21, 0.07);
}
.page-hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.page-hero-stat:last-child { border-bottom: 0; }
.page-hero-stat span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.page-hero-stat strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-hero-stats { padding: 0.25rem 1.2rem; }
}

/* ============================================================
   LIGHT HEROES — full-site consistency
   Home (.hero) and Shop (.shop-hero) adopt the same light
   Resources treatment as the interior page-heroes.
   ============================================================ */

/* --- Home hero --- */
.hero.hero--light {
  background: linear-gradient(160deg, #ffffff 0%, var(--paper) 45%, #e8f1dc 100%);
  min-height: auto;
  padding-top: calc(var(--nav-height) + 3.25rem);
  padding-bottom: 4rem;
}
.hero.hero--light::after {
  background: radial-gradient(1100px 560px at 80% 12%, rgba(94,132,56,0.14), transparent 62%);
}
.hero.hero--light .hero-tag {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--green-700, #46622a) !important;
}
.hero.hero--light .hero-tag-dot { background: var(--green-600, #5f8038) !important; }
.hero.hero--light .hero-title { color: var(--ink); }
.hero.hero--light .hero-title span { color: var(--green-600, #5f8038); }
.hero.hero--light .hero-subtitle { color: var(--muted); }
.hero.hero--light .hero-stats { border-top-color: var(--line); }
.hero.hero--light .hero-stat-value { color: var(--ink); }
.hero.hero--light .hero-stat-label { color: var(--muted); }

/* --- Shop hero --- */
.shop-hero.shop-hero--light {
  background: linear-gradient(135deg, #ffffff 0%, var(--paper) 55%, #e8f1dc 100%);
  color: var(--ink);
}
.shop-hero.shop-hero--light h1 { color: var(--ink); }
.shop-hero.shop-hero--light h1 span { color: var(--green-600, #5f8038); }
.shop-hero.shop-hero--light p { color: var(--text); }
.shop-hero.shop-hero--light .breadcrumb,
.shop-hero.shop-hero--light .breadcrumb a { color: var(--muted); }
.shop-hero.shop-hero--light .breadcrumb-current { color: var(--ink); }
.shop-hero.shop-hero--light .section-tag { color: var(--green-700, #46622a) !important; }
.shop-hero.shop-hero--light .shop-hero-aside {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 14px 38px rgba(23, 35, 21, 0.07);
}
.shop-hero.shop-hero--light .shop-hero-stat { border-bottom-color: var(--line); }
.shop-hero.shop-hero--light .shop-hero-stat strong { color: var(--ink); }
.shop-hero.shop-hero--light .shop-hero-stat span { color: var(--muted); }
.shop-hero.shop-hero--light .shop-hero-note { color: var(--muted); }
.shop-hero.shop-hero--light .shop-hero-note svg { color: var(--bronze); }
.shop-hero.shop-hero--light .shop-hero-note a { color: var(--green-700, #46622a); }

/* Secondary hero buttons re-styled for the light heroes */
.hero.hero--light .btn-outline {
  background: transparent;
  color: var(--green-700, #46622a);
  border-color: var(--green-600, #5f8038);
}
.hero.hero--light .btn-outline:hover {
  background: var(--green-600, #5f8038);
  color: #fff;
  border-color: var(--green-600, #5f8038);
}
.shop-hero.shop-hero--light .btn-outline-dark {
  color: var(--green-700, #46622a);
  border-color: var(--green-600, #5f8038);
}
.shop-hero.shop-hero--light .btn-outline-dark:hover {
  background: var(--green-600, #5f8038);
  color: #fff;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 140%);
  width: min(960px, calc(100% - 2rem));
  z-index: 1200;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(23, 35, 21, 0.16);
  transition: transform .45s var(--ease-lux, ease);
}
.cookie-consent.is-visible { transform: translate(-50%, 0); }
.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.35rem;
}
.cookie-consent-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}
.cookie-consent-text a { color: var(--green-700, #46622a); font-weight: 600; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
@media (max-width: 640px) {
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .cookie-consent-actions { justify-content: flex-end; }
}
