/* Prevent hover color/style changes on trusted company logos */
.trusted-logos .logo-placeholder:hover img,
.trusted-logos .logo-placeholder:active img {
  filter: none !important;
  background: inherit !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
/* Prevent hover color/style changes on flags */
.location-card .flag:hover,
.location-card .flag:active,
.location-card .country-flag-svg:hover,
.location-card .country-flag-svg:active,
.location-card .flag svg:hover,
.location-card .flag svg:active {
  filter: none !important;
  color: inherit !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  opacity: 1 !important;
}
/* ============================================
   RC STEM Consulting
   Design System: "Gilded Science"
   All tokens live in config.css
   ============================================ */
@import url('config.css');

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur) var(--ease);
}

/* Body content links */
.intro-section a,
.detail-section a,
.about-content a,
.legal-content a,
.regional-note a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: var(--teal-20);
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

.intro-section a:hover,
.detail-section a:hover,
.about-content a:hover,
.legal-content a:hover,
.regional-note a:hover {
  color: var(--teal-dark);
  text-decoration-color: var(--teal-dark);
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--gold);
  color: var(--obsidian);
}

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10001;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 16px;
}

/* --- 3. TYPOGRAPHY --- */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 4. LAYOUT --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

/* --- 5. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  line-height: 1;
}

.btn i {
  font-size: 0.8rem;
  transition: transform var(--dur) var(--ease-out);
}

.btn:hover i {
  transform: translateX(3px);
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-15);
}

.btn-primary:active {
  background: var(--teal-dark);
  transform: translateY(0);
  box-shadow: none;
}

.btn-disabled {
  background: var(--teal-disabled);
  color: var(--white-55);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  border-color: var(--teal-dark);
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
  background: var(--teal-light);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--teal-disabled);
  color: var(--white-55);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: var(--teal-disabled);
  pointer-events: none;
}

.btn-outline-light {
  background: transparent;
  color: var(--text-bright);
  border: 1.5px solid var(--white-20);
  padding: 14px 32px;
}

.btn-outline-light:hover {
  border-color: var(--teal);
  color: var(--teal-light);
  transform: translateY(-2px);
}

.btn-outline-light:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  gap: 8px;
}

.btn-ghost:hover {
  color: var(--gold-hover);
}

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

/* Pill buttons */
.btn-pill-outline {
  padding: 16px 44px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-bright);
  border: 1.5px solid var(--white-30);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.btn-pill-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-pill-primary {
  padding: 16px 44px;
  border-radius: var(--radius-full);
  background: var(--teal);
  color: var(--white);
  border: 1.5px solid var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.btn-pill-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-15);
}

.btn-pill-primary:active {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(0);
  box-shadow: none;
}

/* ============================================
   6. HEADER & NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.header.scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--header-scrolled-border);
  box-shadow: var(--shadow-header);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white-55);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease);
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.nav-about {
  color: var(--gold);
  border: 1px solid var(--gold-45);
  border-radius: var(--radius-full);
  padding: 6px 18px;
}

.nav-links a.nav-about:hover {
  border-color: var(--gold);
  background: var(--gold-8);
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.82rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease);
  pointer-events: none;
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   7. HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--obsidian);
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--gold-5) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Ambient glows */
.hero-bg-overlay {
  position: absolute;
  pointer-events: none;
}

.hero>.container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 120px;
  padding-bottom: 48px;
  flex: 1;
}

.hero-content {
  flex: 1;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  margin-bottom: 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-badge i {
  font-size: 0.72rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--text-bright);
  margin-bottom: 28px;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

.hero h1 .gradient-text {
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 540px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero visual (SVG area) */
.hero-animation {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  justify-content: center;
}

.pharmatech-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0.65;
  filter: drop-shadow(0 0 40px var(--teal-8));
}

/* Proof bar */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--white-6);
  padding: 32px var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-proof i {
  color: var(--gold);
  font-size: 0.7rem;
}

/* Scroll indicator */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(194, 167, 94, 0.3), transparent);
}

/* ============================================
   8. INTRO SECTION
   ============================================ */
.intro-section {
  padding: var(--section-py) 0;
  background: var(--teal-light);
  position: relative;
}

.intro-section .container {
  max-width: 800px;
  text-align: center;
}

.intro-section h2 {
  margin-bottom: 32px;
}

.intro-section p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.intro-quote {
  margin-top: 40px;
  padding: 28px 36px;
  background: rgba(194, 167, 94, 0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text-heading);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--section-py) 0;
  background: var(--ink);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--teal-5) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header h2 {
  color: var(--text-bright);
  margin-bottom: 16px;
}

.services-header p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--teal-6);
  border: 1px solid var(--teal-12);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--teal);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--teal-10);
  box-shadow: var(--shadow-card);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--teal-10);
  border: 1px solid var(--teal-20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 8px;
}

.service-card .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card .card-audience {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--text-bright);
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 400;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text-bright);
  line-height: 1.65;
}

.service-card .card-features {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--teal-15);
}

.service-card .card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-bright);
}

.service-card .card-features li i {
  color: var(--teal-mid);
  font-size: 0.6rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.service-card .btn-ghost {
  margin-top: 20px;
  display: inline-flex;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise-section {
  padding: var(--section-py) 0;
  background: var(--ivory);
}

.expertise-section .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.expertise-content {
  flex: 1;
}

.expertise-content h2 {
  margin-bottom: 8px;
}

.experience-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
}

.experience-badge .number {
  font-size: 3.5rem;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.expertise-content p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.credentials-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credentials-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.credentials-list li i {
  color: var(--teal);
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}

.expertise-content .btn {
  margin-top: 28px;
}

.expertise-image {
  flex: 0 0 360px;
  position: relative;
}

.expertise-image .photo-frame {
  width: 360px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 2px solid var(--pearl);
  box-shadow: var(--shadow-photo);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.name-card {
  position: absolute;
  bottom: -16px;
  left: 24px;
  right: 24px;
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-name);
}

.name-card .card-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.name-card .card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.name-card .card-info .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-bright);
}

.name-card .card-info .role {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ============================================
   TRACK RECORD SECTION
   ============================================ */
.trusted-section {
  padding: 80px 0;
  background: var(--ink);
  position: relative;
}

.trusted-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--teal-5) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.trusted-section .container {
  position: relative;
  z-index: 1;
}

.trusted-section h2 {
  text-align: center;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-bright);
  margin-bottom: 8px;
}

.trusted-subtitle {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #fff;
  border: 1px solid var(--white-7);
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
}

.logo-placeholder img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--dur) var(--ease);
}

.logo-placeholder:hover {
  border-color: var(--teal);
  background: var(--teal-8);
  transform: translateY(-2px);
}

.logo-placeholder:hover img {
  opacity: 1;
}

.trusted-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.trust-stat {
  text-align: center;
  position: relative;
}

.trust-stat+.trust-stat::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--white-7);
}

.trust-number {
  font-size: 3.2rem;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1;
}

.trust-suffix {
  font-size: 2rem;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--gold);
}

.trust-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

/* ============================================
   REGIONAL SECTION
   ============================================ */
.regional-section {
  padding: var(--section-py) 0;
  background: var(--ivory);
}

.regional-header {
  text-align: center;
  margin-bottom: 48px;
}

.region-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.region-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.regional-header h2 {
  margin-bottom: 12px;
}

.regional-header p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.location-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--pearl);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
}

.location-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.location-card .flag {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.location-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.location-card .loc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.regional-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 24px 32px;
  border: 1px solid var(--pearl);
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 64px 0;
  background: var(--charcoal);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--teal-5) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-content h2 {
  color: var(--text-bright);
  margin-bottom: 12px;
}

.contact-content p {
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}



.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--dur) var(--ease);
}

.contact-info-item:hover {
  transform: translateX(4px);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-12);
  border: 1px solid var(--teal-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--teal-8), inset 0 0 8px var(--teal-5);
  transition: all var(--dur) var(--ease);
}

.contact-info-item:hover .info-icon {
  background: var(--teal-20);
  border-color: var(--teal);
  box-shadow: 0 0 24px var(--teal-15), inset 0 0 10px var(--teal-8);
  transform: scale(1.08);
}

.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.92rem;
  color: var(--text-bright);
}

.info-value a {
  color: var(--text-bright);
}

.info-value a:hover {
  color: var(--teal);
}

.social-follow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.social-follow a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--teal-8);
  border: 1px solid var(--teal-20);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}

.social-follow a i {
  font-size: 1rem;
  transition: transform var(--dur) var(--ease-out);
}

.social-follow a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--teal-15);
}

.social-follow a:hover i {
  transform: scale(1.15);
}

/* Contact form */
.contact-form {
  background: var(--teal-6);
  border: 1px solid var(--teal-12);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--white-10);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Form messages */
.form-msg {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  animation: fadeMsg 0.3s var(--ease-out);
}

@keyframes fadeMsg {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-msg.success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.form-msg.error {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error-border);
}

/* ============================================
   9. FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  background: var(--obsidian);
  border-top: 1px solid var(--footer-border);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
}

.footer-brand .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-bright);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color var(--dur);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================
   10. SERVICE DETAIL PAGES
   ============================================ */
.page-hero-dark {
  padding: 160px 0 80px;
  background: var(--obsidian);
  position: relative;
  overflow: hidden;
}

.page-hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--gold-4) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--teal-5) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-dark .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

.page-hero-content {
  flex: 1;
}

.page-hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-bright);
}

.page-hero-content h1 .gradient-text {
  font-style: italic;
}

.page-hero-content .section-label {
  color: var(--gold);
}

.page-hero-content p {
  font-size: 1.05rem;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 540px;
}

.page-hero-visual {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.page-hero-visual .visual-box {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--teal-8);
  border: 1px solid var(--teal-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--teal-20);
}

.page-hero-visual .hero-visual-img {
  width: 320px;
  height: auto;
  opacity: 0.75;
  filter: drop-shadow(0 0 30px var(--teal-10));
}

/* Detail features */
.detail-section {
  padding: var(--section-py) 0;
  background: var(--teal-light);
}

.detail-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.detail-feature {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--pearl);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
}

.detail-feature:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.detail-feature .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-10);
  border: 1px solid var(--teal-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.detail-feature h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.detail-feature p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: 160px 0 80px;
  background: var(--obsidian);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--gold-4) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--teal-5) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  margin-bottom: 16px;
  color: var(--text-bright);
}

.about-hero h1 .gradient-text {
  font-style: italic;
}

.about-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
}

.about-content {
  padding: var(--section-py) 0;
  background: var(--charcoal);
  color: var(--text-light);
}

.about-content .container {
  max-width: 900px;
}

.about-content h2 {
  color: var(--text-bright);
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-hero {
  padding: 160px 0 80px;
  background: var(--obsidian);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--gold-4) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--teal-5) 0%, transparent 50%);
  pointer-events: none;
}

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

.contact-page-hero h1 {
  margin-bottom: 16px;
  color: var(--text-bright);
}

.contact-page-hero h1 .gradient-text {
  font-style: italic;
}

.contact-page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--obsidian);
  text-align: center;
  padding: 160px 0 80px;
  position: relative;
}

.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--gold-4) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.error-page .container {
  position: relative;
  z-index: 1;
}

.error-page .error-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--text-bright);
  margin-bottom: 8px;
  line-height: 1;
}

.error-page h2 {
  font-size: 1.6rem;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.error-page p {
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Privacy / Terms pages */
.legal-content {
  padding: 160px 0 80px;
  background: var(--ivory);
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 32px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  list-style: disc;
}

/* ============================================
   11. ANIMATIONS
   ============================================ */

/* Hero entrance */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .reveal {
  opacity: 0;
  animation: heroReveal 0.9s var(--ease-out) forwards;
}

.hero .reveal-1 {
  animation-delay: 0.1s;
}

.hero .reveal-2 {
  animation-delay: 0.25s;
}

.hero .reveal-3 {
  animation-delay: 0.4s;
}

.hero .reveal-4 {
  animation-delay: 0.55s;
}

.hero .reveal-5 {
  animation-delay: 0.7s;
}

/* Scroll-triggered */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   12. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero>.container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-animation {
    flex: none;
    max-width: 320px;
  }

  .hero-proof {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .expertise-section .container {
    flex-direction: column;
    text-align: center;
  }

  .expertise-image {
    flex: none;
    order: -1;
  }

  .expertise-image .photo-frame {
    width: 280px;
    height: 340px;
    margin: 0 auto;
  }

  .credentials-list {
    align-items: center;
  }

  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .page-hero-dark .container {
    flex-direction: column;
    text-align: center;
  }

  .page-hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero-visual {
    flex: none;
  }

  .page-hero-visual .visual-box {
    width: 200px;
    height: 200px;
    font-size: 4rem;
  }

  .page-hero-visual .hero-visual-img {
    width: 240px;
  }

  .detail-features {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav.active .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--obsidian);
    /* mobile overlay */
    padding: 100px 32px 120px;
    padding-top: calc(100px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav.active .nav-links a {
    font-size: 1.1rem;
    padding: 18px 0;
    border-bottom: 1px solid var(--white-5);
    color: var(--text-light);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav.active .nav-links a:hover,
  .nav.active .nav-links a:active,
  .nav.active .nav-links a.active {
    color: var(--gold);
  }

  .nav.active .nav-cta {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 32px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    gap: 12px;
    background: var(--obsidian);
    border-top: 1px solid var(--white-7);
  }

  .nav.active .nav-cta .btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .hero {
    min-height: auto;
  }

  .hero>.container {
    padding-top: 130px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-animation,
  .page-hero-visual {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .hero-proof {
    gap: 20px;
    justify-content: center;
  }

  .hero-proof span {
    font-size: 0.78rem;
  }

  .trusted-stats {
    gap: 36px;
  }

  .trust-number {
    font-size: 2.6rem;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .about-hero-cta {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.88rem;
  }

  .hero-cta-group {
    gap: 12px;
  }

  .hero-proof {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-animation {
    max-width: 240px;
  }

  .trusted-stats {
    flex-direction: column;
    gap: 28px;
  }

  .trust-stat+.trust-stat::before {
    display: none;
  }

  .trusted-logos {
    gap: 10px;
  }

  .logo-placeholder {
    padding: 10px 18px;
  }

  .logo-placeholder img {
    height: 30px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .btn-pill-outline,
  .btn-pill-primary {
    padding: 14px 32px;
    font-size: 0.78rem;
  }
}

/* ============================================
   13. ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--teal);
  border-bottom-width: 2px;
}

@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .slide-left,
  .slide-right {
    opacity: 1;
    transform: none;
  }

  .hero .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================
   14. PRINT
   ============================================ */
@media print {

  .header,
  .footer,
  .hero-scroll,
  .hero-animation,
  .hero-bg-overlay,
  .contact-form,
  .mobile-toggle,
  .social-follow,
  .skip-to-content {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  .hero,
  .services-section,
  .trusted-section,
  .contact-section,
  .page-hero-dark,
  .about-hero,
  .contact-page-hero {
    background: none !important;
    color: #000;
  }

  .hero h1,
  .hero-subtitle,
  .services-header h2,
  .services-header p,
  .service-card h3,
  .service-card p,
  .contact-content h2,
  .contact-content p,
  .page-hero-content h1,
  .page-hero-content p,
  .about-hero h1,
  .about-hero p,
  .contact-page-hero h1,
  .contact-page-hero p,
  .trusted-section h2,
  .trusted-subtitle,
  .text-bright,
  .text-light,
  .text-dim {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  section {
    page-break-inside: avoid;
  }
}