/* ============================================
   BALBUENA — Tela y Ropa al Mayoreo
   Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Karla:wght@300;400;500;600;700&display=swap');

/* ============ CSS Custom Properties ============ */
:root {
  /* Brand Colors — derived from logo lavender/mauve tones */
  --primary: #6B4F6C;
  --primary-light: #8E7090;
  --primary-dark: #3E2C3F;
  --primary-xdark: #241929;
  --accent: #B8975A;
  --accent-hover: #9C7E48;
  --accent-light: #FAF4E8;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FBF8FB;
  --gray-50: #F3EEF4;
  --gray-100: #E8E1E9;
  --gray-200: #D4BAD5;
  --gray-400: #9E8FA0;
  --gray-600: #4D4351;
  --gray-800: #2A2030;
  --black: #180F1A;

  /* Spacing scale (8px base) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============ Typography ============ */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--black);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

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

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  font-weight: 700;
  font-family: 'Karla', sans-serif;
  display: block;
  margin-bottom: var(--sp-2);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 620px;
}

/* ============ Layout ============ */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.container--wide {
  width: 96%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-header {
  margin-bottom: var(--sp-8);
  max-width: 640px;
}

.section-header--center {
  text-align: center;
  margin: 0 auto var(--sp-8);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 79, 108, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 151, 90, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

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

/* ============ Top Bar ============ */
.top-bar {
  background: var(--primary-xdark);
  padding: 0.5rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-200);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar__item svg { opacity: 0.7; flex-shrink: 0; }
.top-bar__right { display: flex; gap: var(--sp-4); }

/* ============ Header / Nav ============ */
.site-header {
  background: var(--primary-xdark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-4);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__cta { margin-left: var(--sp-2); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--primary-xdark);
  padding: var(--sp-3) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  display: block;
  padding: 0.8rem var(--sp-4);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s, background 0.2s;
}

.nav__mobile a:hover { background: rgba(255,255,255,0.05); color: var(--white); }

.nav__mobile .btn {
  margin: var(--sp-2) var(--sp-4) 0;
  text-align: center;
  justify-content: center;
}

/* ============ Hero ============ */
.hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-xdark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 15, 26, 0.85);
}

/* Textile-inspired texture on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 32px, rgba(255,255,255,0.018) 32px, rgba(255,255,255,0.018) 33px),
    repeating-linear-gradient(90deg, transparent, transparent 32px, rgba(255,255,255,0.018) 32px, rgba(255,255,255,0.018) 33px);
  z-index: 1;
  pointer-events: none;
}

.hero__content { z-index: 3; }

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-4);
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  font-family: 'Karla', sans-serif;
  margin-bottom: var(--sp-2);
  display: block;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}

.hero h1 em {
  font-style: italic;
  color: var(--gray-200);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto var(--sp-6);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Stats Strip ============ */
.stats-strip {
  background: var(--primary);
  padding: var(--sp-8) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-card {
  text-align: center;
  padding: var(--sp-4) var(--sp-2);
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-card:last-child { border-right: none; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

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

/* ============ Value Cards ============ */
.value-card {
  padding: var(--sp-4);
  background: var(--gray-50);
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid transparent;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: var(--white);
  box-shadow: 0 16px 48px rgba(107, 79, 108, 0.12);
  transform: translateY(-8px);
  border-top-color: var(--primary);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-3);
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background 0.3s, color 0.3s;
}

.value-card:hover .value-card__icon {
  background: var(--primary);
  color: var(--white);
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============ Product/Service Cards ============ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 20px 60px rgba(107, 79, 108, 0.14);
  transform: translateY(-6px);
}

.product-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.06);
}

/* CSS fallback panels for product cards */
.product-card__img--tela-algodon {
  background: var(--primary-dark);
}
.product-card__img--tela-lycra {
  background: #3A2540;
}
.product-card__img--tela-mezclilla {
  background: #2C3A4A;
}
.product-card__img--tela-poliester {
  background: #3E2C3F;
}
.product-card__img--tela-terciopelo {
  background: #2A1A30;
}
.product-card__img--tela-uniformes {
  background: #2A3040;
}
.product-card__img--ropa-dama {
  background: #4A2F4B;
}
.product-card__img--ropa-caballero {
  background: #2F3A4A;
}
.product-card__img--ropa-nino {
  background: #3D3050;
}

.product-card__img-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.01em;
  text-align: center;
  padding: 1rem;
  user-select: none;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.product-card__img-icon {
  position: absolute;
  color: rgba(255,255,255,0.18);
}

/* Decorative texture lines */
.product-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.025) 8px,
    rgba(255,255,255,0.025) 9px
  );
}

.product-card__body {
  padding: var(--sp-3) var(--sp-4);
}

.product-card__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.product-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-card__body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============ Sector Cards (circular panels) ============ */
.sectors-section {
  background: var(--black);
  padding: var(--sp-12) 0;
}

.sector-card {
  text-align: center;
  padding: var(--sp-3);
}

.sector-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--sp-3);
  border: 3px solid rgba(255,255,255,0.15);
  transition: border-color 0.3s, transform 0.3s;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: filter 0.4s, transform 0.4s;
}

.sector-img--icon {
  color: rgba(255,255,255,0.35);
  transition: color 0.3s, transform 0.3s;
}

.sector-card:hover .sector-img {
  border-color: var(--accent);
  transform: scale(1.05);
}

.sector-card:hover .sector-img img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.sector-card:hover .sector-img--icon {
  color: rgba(255,255,255,0.65);
}

.sector-img--confeccion { background: #4A3050; }
.sector-img--boutique   { background: #3A2C48; }
.sector-img--mercado    { background: #2E3A50; }
.sector-img--uniformes  { background: #2A3840; }

.sector-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.sector-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============ CTA Banner ============ */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-xdark);
  overflow: hidden;
}

/* Decorative stripes on CTA when no image */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.015) 20px,
    rgba(255,255,255,0.015) 21px
  );
  pointer-events: none;
}

/* Accent left border bar */
.cta-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--accent);
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 15, 26, 0.5);
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  padding: var(--sp-16) 0;
  text-align: center;
}

.cta-banner__inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--sp-2);
}

.cta-banner__inner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto var(--sp-6);
}

.cta-banner__actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Split Section ============ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.split-section--reverse .split-img { order: -1; }

.split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  /* Ensure pseudo-element is positioned relative to this */
}

.split-img::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  transform: translate(14px, 14px);
  z-index: 0;
  pointer-events: none;
}

.split-img img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

/* CSS fallback panel for split image (no photo) */
.split-img__panel {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  background: var(--primary-dark);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.split-img__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(255,255,255,0.02) 12px,
    rgba(255,255,255,0.02) 13px
  );
}

.split-img__panel-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  letter-spacing: -0.02em;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.split-img__panel-icon {
  color: rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

.split-text { padding: var(--sp-2) 0; }

.split-text h2 { margin-bottom: var(--sp-3); }
.split-text p { margin-bottom: var(--sp-3); }

/* ============ Testimonials ============ */
.testimonials-section {
  background: var(--gray-50);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(107, 79, 108, 0.1);
}

.testimonial-card--featured {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.testimonial-card--featured p,
.testimonial-card--featured .testimonial-meta { color: rgba(255,255,255,0.9); }

.testimonial-card--featured .testimonial-name { color: var(--white); }

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: var(--sp-3);
  color: var(--gray-800);
}

.testimonial-card--featured .testimonial-quote { color: var(--white); }

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.testimonial-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
}

.testimonial-card--featured .testimonial-initials {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  display: block;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-card--featured .testimonial-role { color: rgba(255,255,255,0.7); }

/* ============ About Page ============ */
.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-4);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(107, 79, 108, 0.1);
}

.mission-card__number {
  position: absolute;
  top: -0.5rem;
  right: var(--sp-3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 700;
  color: var(--gray-50);
  line-height: 1;
  user-select: none;
  letter-spacing: -0.04em;
}

.mission-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--sp-3);
  transition: background 0.3s, color 0.3s;
}

.mission-card:hover .mission-card__icon {
  background: var(--primary);
  color: var(--white);
}

.mission-card h3 { margin-bottom: 0.75rem; }
.mission-card p { font-size: 0.93rem; line-height: 1.7; position: relative; z-index: 1; }

/* ============ Services Feature List ============ */
.feature-list { display: flex; flex-direction: column; gap: 0; }

.feature-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}

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

.feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item__text h4 { margin-bottom: 0.25rem; font-size: 1.05rem; }
.feature-item__text p { font-size: 0.88rem; margin: 0; color: var(--gray-600); }

/* ============ Contact Highlight Layout ============ */
.contact-highlight-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .contact-highlight-inner {
    grid-template-columns: 1fr;
  }
}

/* ============ Contact Page ============ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
}

.contact-card:hover {
  box-shadow: 0 12px 40px rgba(107, 79, 108, 0.1);
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}

.contact-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.93rem; color: var(--gray-600); line-height: 1.65; }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { color: var(--primary-dark); text-decoration: underline; }

.contact-highlight {
  background: var(--primary-xdark);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  color: var(--white);
}

.contact-highlight h2 { color: var(--white); margin-bottom: var(--sp-3); }
.contact-highlight p { color: rgba(255,255,255,0.8); }

/* ============ Page Hero (inner pages) ============ */
.page-hero {
  background: var(--primary-xdark);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.012) 40px, rgba(255,255,255,0.012) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.012) 40px, rgba(255,255,255,0.012) 41px);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: rgba(107, 79, 108, 0.12);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-2); }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ============ Dividers ============ */
.divider {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: var(--sp-4);
}

.divider--center { margin-left: auto; margin-right: auto; }

/* ============ Footer ============ */
.site-footer {
  background: var(--black);
  padding: var(--sp-12) 0 0;
  color: rgba(255,255,255,0.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer__logo { margin-bottom: var(--sp-3); }
.footer__logo img { height: 44px; width: auto; opacity: 0.9; }

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer__col h4 {
  font-family: 'Karla', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.footer__col a, .footer__col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

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

.footer__col .accent { color: var(--accent); font-weight: 600; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============ Background Variants ============ */
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-dark { background: var(--primary-xdark); }
.bg-primary { background: var(--primary); }

/* ============ Icon helpers ============ */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============ Scroll Animations ============ */
.reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* JS adds 'pre-reveal' class to body so only then do we hide */
body.anim-ready .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}

body.anim-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: var(--sp-8) 0; }

  .top-bar { display: none; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.4rem; }

  .split-section,
  .split-section--reverse { grid-template-columns: 1fr; }
  .split-section--reverse .split-img { order: 0; }
  .split-img::before { display: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer__bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }

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

  .page-hero { padding: var(--sp-8) 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-card:last-child { border-bottom: none; }
}
