/* ============================================
   Athens Vein & Aesthetics — Excel V+ Page
   Design System & Styles
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --color-navy: #1A2833;
  --color-navy-light: #243542;
  --color-cyan: #00AEEF;
  --color-cyan-hover: #009BD6;
  --color-link-blue: #337AB7;
  --color-body-text: #585555;
  --color-white: #FFFFFF;
  --color-light-gray: #F4F4F4;
  --color-gold: #C9A84C;
  --color-gold-hover: #D4B85E;
  --color-border: #E0E0E0;

  /* Typography */
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Layout */
  --max-width: 1100px;
  --max-width-narrow: 800px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-med: 300ms;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-body-text);
  background-color: var(--color-white);
  line-height: 1.65;
  font-size: 16px;
}

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

a {
  color: var(--color-link-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-cyan);
}

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  border-radius: 4px;
  z-index: 9999;
  font-size: 14px;
  font-family: var(--font-body);
}

.skip-nav:focus {
  top: var(--space-4);
  color: var(--color-white);
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--duration-med) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-ampersand {
  color: var(--color-cyan);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header-nav {
  display: flex;
  gap: var(--space-6);
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--color-cyan);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-cyan);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-gold);
}

.header-phone svg {
  flex-shrink: 0;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--duration-med) var(--ease-out);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--color-navy-light);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav nav a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background var(--duration-fast) var(--ease-out);
}

.mobile-nav nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-cyan);
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: 8px;
  color: var(--color-cyan);
  font-weight: 600;
  font-size: 15px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1A2833 0%, #0D3B54 40%, #1A2833 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 174, 239, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 174, 239, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(0, 174, 239, 0.06);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(0, 174, 239, 0.04);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-20) var(--space-5);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}

.hero-intro {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-cta {
  /* visible immediately */
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
}

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

.btn-primary:hover {
  background: var(--color-navy-light);
  border-color: var(--color-gold-hover);
  color: var(--color-gold);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 15px;
}

/* --- Modalities Overview --- */
.modalities-overview {
  padding: var(--space-16) 0;
  background: var(--color-white);
}

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.modality-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-body-text);
  transition: all var(--duration-med) var(--ease-out);
  background: var(--color-white);
  overflow: hidden;
}

/* Gradient border pseudo-element on hover */
.modality-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  padding: 1px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-med) var(--ease-out);
  pointer-events: none;
}

.modality-card:hover {
  border-color: transparent;
  box-shadow:
    0 8px 30px rgba(0, 174, 239, 0.10),
    0 0 20px rgba(0, 174, 239, 0.05);
  transform: translateY(-4px);
  color: var(--color-body-text);
}

.modality-card:hover::before {
  opacity: 1;
}

.modality-card:hover .modality-icon svg {
  transform: scale(1.1);
  transition: transform var(--duration-med) var(--ease-out);
}

.modality-icon svg {
  transition: transform var(--duration-med) var(--ease-out);
}

.modality-icon {
  margin-bottom: var(--space-5);
}

.modality-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.modality-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-body-text);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.modality-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
}

/* --- Sections --- */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

.section-alt {
  background: var(--color-light-gray);
}

.section-dark {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.section-dark .section-header h2 {
  color: var(--color-white);
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
}

.section-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body-text);
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Content Grid (Two Column) --- */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.content-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.content-main h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  margin-top: var(--space-8);
}

.content-main h3:first-child {
  margin-top: 0;
}

.content-main p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

/* --- Checklist --- */
.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.check-list li {
  position: relative;
  padding-left: var(--space-7, 28px);
  margin-bottom: var(--space-3);
  line-height: 1.65;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.1);
  border: 2px solid var(--color-cyan);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-cyan);
  border-bottom: 2px solid var(--color-cyan);
  transform: rotate(-45deg);
}

/* --- Conditions Treated — Elevated Design --- */
.conditions-box {
  position: relative;
  background: linear-gradient(145deg, #1A2833 0%, #0D3B54 60%, #1A2833 100%);
  border-radius: 12px;
  padding: var(--space-8) var(--space-6);
  overflow: hidden;
}

/* Subtle radial glow */
.conditions-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.conditions-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.conditions-box h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tag-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateX(12px);
}

.tag-list li:last-child {
  border-bottom: none;
}

/* Staggered entry for each condition — triggered by in-view class */
.conditions-box.in-view .tag-list li {
  animation: conditionSlideIn 0.4s var(--ease-out) forwards;
}

.conditions-box.in-view .tag-list li:nth-child(1)  { animation-delay: 0.05s; }
.conditions-box.in-view .tag-list li:nth-child(2)  { animation-delay: 0.1s; }
.conditions-box.in-view .tag-list li:nth-child(3)  { animation-delay: 0.15s; }
.conditions-box.in-view .tag-list li:nth-child(4)  { animation-delay: 0.2s; }
.conditions-box.in-view .tag-list li:nth-child(5)  { animation-delay: 0.25s; }
.conditions-box.in-view .tag-list li:nth-child(6)  { animation-delay: 0.3s; }
.conditions-box.in-view .tag-list li:nth-child(7)  { animation-delay: 0.35s; }
.conditions-box.in-view .tag-list li:nth-child(8)  { animation-delay: 0.4s; }
.conditions-box.in-view .tag-list li:nth-child(9)  { animation-delay: 0.45s; }
.conditions-box.in-view .tag-list li:nth-child(10) { animation-delay: 0.5s; }
.conditions-box.in-view .tag-list li:nth-child(11) { animation-delay: 0.55s; }
.conditions-box.in-view .tag-list li:nth-child(12) { animation-delay: 0.6s; }

@keyframes conditionSlideIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Cyan accent dot before each condition */
.tag-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px rgba(0, 174, 239, 0.4);
}

/* Hover glow on individual items */
.tag-list li:hover {
  color: var(--color-white);
  padding-left: 6px;
  transition: all 0.25s var(--ease-out);
}

.tag-list li:hover::before {
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.7);
  transition: box-shadow 0.25s var(--ease-out);
}

/* --- Info Box --- */
.info-box {
  position: relative;
  background: linear-gradient(160deg, rgba(26, 40, 51, 0.04) 0%, transparent 40%), var(--color-white);
  border-radius: 8px;
  padding: var(--space-6);
  padding-left: calc(var(--space-6) + 3px);
  margin-bottom: var(--space-5);
  box-shadow: 0 2px 16px rgba(26, 40, 51, 0.06);
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-cyan), var(--color-gold));
  border-radius: 8px 0 0 8px;
}

.info-box h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-4);
  border-radius: 4px;
  transition: background var(--duration-fast) var(--ease-out);
}

.info-item:hover {
  background: rgba(0, 174, 239, 0.03);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  flex-shrink: 0;
}

.info-value {
  font-size: 14px;
  color: var(--color-body-text);
  text-align: right;
}

/* --- Callout Box --- */
.callout-box {
  background: linear-gradient(145deg, #1A2833 0%, #0D3B54 60%, #1A2833 100%);
  border-left: 3px solid var(--color-cyan);
  border-radius: 0 8px 8px 0;
  padding: var(--space-5);
  box-shadow: -3px 0 12px rgba(0, 174, 239, 0.1);
}

.callout-box p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.callout-box strong {
  color: var(--color-gold);
}

/* --- Hair Removal Grid --- */
.hair-removal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.hr-feature {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border: 1px solid rgba(224, 224, 224, 0.6);
  border-top: 2px solid var(--color-gold);
  border-radius: 8px;
  transition: all var(--duration-med) var(--ease-out);
  background: var(--color-white);
  opacity: 0;
  transform: translateY(12px);
}

.hr-feature.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hr-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 40, 51, 0.08);
}

.hr-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.06);
  border-radius: 50%;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.08); }
  50% { box-shadow: 0 0 0 8px rgba(0, 174, 239, 0.04); }
}

.hr-feature h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.hr-feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-body-text);
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-item {
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, var(--color-cyan), var(--color-gold)) 1;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--duration-med) var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.why-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-cyan);
  opacity: 0.4;
  margin-bottom: var(--space-3);
  line-height: 1;
}

.why-item h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.why-item p {
  font-size: 14px;
  line-height: 1.65;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.faq-item:hover {
  border-left-color: var(--color-cyan);
}

.faq-item[open] {
  border-left-color: rgba(0, 174, 239, 0.5);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-2);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--color-cyan);
  flex-shrink: 0;
  margin-left: var(--space-4);
  transition: transform var(--duration-med) var(--ease-out);
  display: inline-block;
}

details[open] .faq-question::after {
  content: '+';
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--color-cyan);
}

.faq-answer {
  padding: 0 var(--space-2) var(--space-5);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

details[open] .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body-text);
}

/* --- CTA Section --- */
.section-cta {
  position: relative;
  background: linear-gradient(135deg, #1A2833 0%, #0D3B54 50%, #1A2833 100%);
  background-size: 200% 200%;
  animation: ctaGradientShift 8s ease infinite;
  text-align: center;
  padding: var(--space-20) 0;
  overflow: hidden;
}

@keyframes ctaGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating light particles */
.section-cta::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: ctaFloat 6s ease-in-out infinite;
  pointer-events: none;
}

.section-cta::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 8%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: ctaFloat 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes ctaFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

.cta-content h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-content p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto var(--space-6);
  line-height: 1.7;
}

.cta-phone {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
  animation: phoneShimmer 3s ease-in-out infinite;
}

@keyframes phoneShimmer {
  0%, 100% { text-shadow: 0 0 8px rgba(0, 174, 239, 0.2); }
  50% { text-shadow: 0 0 20px rgba(0, 174, 239, 0.4), 0 0 40px rgba(0, 174, 239, 0.1); }
}

/* --- Footer --- */
.site-footer {
  background: #111D26;
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.footer-doc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-cyan);
}

.footer-links p {
  margin-bottom: var(--space-2);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-powered {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.footer-powered strong {
  color: rgba(255, 255, 255, 0.5);
}

/* --- General Polish: Hover Transitions on Interactive Elements --- */
.btn,
.modality-card,
.faq-question,
.hr-feature,
.why-item,
.check-list li,
.footer-links a,
.footer-contact a,
.header-nav a,
.header-phone,
.logo-link {
  transition: all var(--duration-fast) var(--ease-out);
}

/* CTA button z-index above floating particles */
.section-cta .btn {
  position: relative;
  z-index: 1;
}

/* --- Scroll Reveal Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .modalities-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .modality-card {
    flex-direction: row;
    text-align: left;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-6);
  }

  .modality-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .modality-link {
    display: none;
  }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hair-removal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

/* Mobile */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  .header-inner {
    height: 64px;
  }

  .logo-text {
    font-size: 15px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 480px;
  }

  .hero-content {
    padding: var(--space-12) var(--space-4);
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .modalities-overview {
    padding: var(--space-10) 0;
  }

  .modality-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6) var(--space-5);
  }

  .modality-icon {
    margin-bottom: var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .hair-removal-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hr-feature {
    display: flex;
    align-items: center;
    text-align: left;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
  }

  .hr-icon {
    margin: 0;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .hr-feature h3 {
    font-size: 15px;
    margin-bottom: var(--space-1);
  }

  .hr-feature p {
    font-size: 13px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .why-item {
    padding: var(--space-5);
    display: flex;
    gap: var(--space-4);
  }

  .why-number {
    font-size: 22px;
    flex-shrink: 0;
  }

  .faq-question {
    font-size: 15px;
    padding: var(--space-4) var(--space-1);
  }

  .cta-phone {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

/* ============================================
   BSI QA Bar & Detail Panels
   ============================================ */

/* --- QA Bar Height Token --- */
:root {
  --bsi-qa-bar-h: 36px;
}

/* --- QA Bar --- */
.bsi-qa-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--bsi-qa-bar-h);
  background: #111D26;
  border-bottom: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
}

.bsi-qa-bar-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bsi-qa-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  user-select: none;
}

.bsi-qa-badges {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* --- Badge Pills --- */
.bsi-qa-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--duration-fast) var(--ease-out);
  line-height: 1;
  white-space: nowrap;
}

.bsi-qa-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.bsi-qa-pill.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Status dots */
.bsi-qa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bsi-qa-dot--green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.bsi-qa-dot--yellow {
  background: #eab308;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.5);
}

.bsi-qa-dot--red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.bsi-qa-pill-label {
  color: rgba(255, 255, 255, 0.65);
}

.bsi-qa-pill-score {
  color: rgba(255, 255, 255, 0.95);
}

/* --- Push header down by QA bar height --- */
.site-header {
  top: var(--bsi-qa-bar-h);
}

/* Adjust scroll padding for both QA bar + header */
html {
  scroll-padding-top: calc(var(--bsi-qa-bar-h) + 80px);
}

/* --- QA Detail Panels --- */
.bsi-qa-panel {
  position: fixed;
  top: var(--bsi-qa-bar-h);
  left: 0;
  right: 0;
  z-index: 199;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  background: linear-gradient(180deg, #111D26 0%, #0F1A22 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.bsi-qa-panel.open {
  max-height: 520px;
  overflow-y: auto;
}

.bsi-qa-panel-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5) var(--space-8);
}

/* Close button */
.bsi-qa-panel-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.bsi-qa-panel-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

/* Panel header */
.bsi-qa-panel-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.bsi-qa-panel-agent {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

.bsi-qa-panel-score {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.bsi-qa-panel-score--green { color: #22c55e; }
.bsi-qa-panel-score--yellow { color: #eab308; }
.bsi-qa-panel-score--red { color: #ef4444; }

/* Summary */
.bsi-qa-panel-summary {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Category breakdown */
.bsi-qa-panel-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.bsi-qa-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.bsi-qa-cat-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bsi-qa-cat-score {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.bsi-qa-cat-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.bsi-qa-cat-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
}

.bsi-qa-cat-fill--green { background: #22c55e; }
.bsi-qa-cat-fill--yellow { background: #eab308; }
.bsi-qa-cat-fill--red { background: #ef4444; }

/* Recommendations */
.bsi-qa-panel-recs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.bsi-qa-rec {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.bsi-qa-rec-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

/* --- QA Bar Mobile --- */
@media (max-width: 640px) {
  :root {
    --bsi-qa-bar-h: 32px;
  }

  .bsi-qa-label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .bsi-qa-pill {
    font-size: 10px;
    padding: 2px 8px;
    gap: 4px;
  }

  .bsi-qa-dot {
    width: 6px;
    height: 6px;
  }

  .bsi-qa-badges {
    gap: var(--space-1);
  }

  html {
    scroll-padding-top: calc(var(--bsi-qa-bar-h) + 72px);
  }

  .bsi-qa-panel-inner {
    padding: var(--space-5) var(--space-4) var(--space-6);
  }

  .bsi-qa-panel-agent {
    font-size: 16px;
  }

  .bsi-qa-panel-score {
    font-size: 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-eyebrow,
  .hero h1,
  .hero-subtitle,
  .hero-intro,
  .hero-cta {
    opacity: 1;
    animation: none;
  }

  .hr-feature {
    opacity: 1;
    transform: none;
  }

  .why-item {
    opacity: 1;
    transform: none;
  }

  .tag-list li {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
