/* =========================================
   BLACKSCALE CONSULTING — BRAND STYLESHEET
   Brand colors from Manual de Marca v1.0
   ========================================= */

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

@font-face {
  font-family: 'Juana Light';
  src: url('Juana-Light.svg#Juana-Light') format('svg');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Brand Colors — Pantone system */
  --burgundy:        #551C25;   /* Pantone 4102 — primary brand */
  --burgundy-dark:   #3d1319;
  --burgundy-mid:    #6e2430;
  --burgundy-subtle: rgba(85, 28, 37, 0.14);
  --burgundy-glow:   rgba(85, 28, 37, 0.40);
  --cream:           #D7D2CB;   /* Pantone Cool Gray 1 — light surfaces */
  --cream-light:     #EDEAE5;
  --brand-black:     #11110F;   /* Pantone Black */
  --brand-black2:    #1a1a17;
  --gold:            #D19C15;   /* Pantone 7555 — accent */
  --gold-dim:        #b88a10;
  --white:           #ffffff;

  /* UI grays derived from brand palette */
  --surface:      #1c1b18;
  --surface-2:    #242320;
  --border:       #2e2c28;
  --border-light: #3d3b36;
  --muted:        #9a9488;
  --muted-light:  #bab4ac;
  --text:         #dedad4;

  /* Typography */
  --serif:  'Juana Light', 'Cormorant Garamond', Georgia, serif;
  --sans:   'Juana Light', 'Cormorant Garamond', Georgia, serif;

  --radius:    10px;
  --radius-lg: 16px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--brand-black);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Typography helpers --- */
.section-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-light);
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* Contact form section-tag — 18% larger than base */
.contact-inline .section-tag,
.contact .section-tag {
  font-size: 16px;
  padding: 8px 22px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-header h2 em {
  font-style: italic;
  color: var(--cream);
}

.section-header p {
  font-size: 21px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.75;
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 13px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--burgundy);
  color: var(--cream-light);
  border-color: var(--burgundy);
}
.btn--primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}

.btn--ghost {
  background: var(--burgundy);
  color: var(--cream-light);
  border-color: var(--burgundy);
}
.btn--ghost:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-light);
  font-size: 15px;
  padding: 10px 20px;
}
.btn--outline:hover {
  border-color: var(--burgundy-mid);
  color: var(--cream-light);
  background: var(--burgundy-subtle);
}

.btn--outline-burgundy {
  background: var(--burgundy);
  color: var(--cream-light);
  border-color: var(--burgundy);
  font-size: 16px;
  padding: 13px 32px;
}
.btn--outline-burgundy:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}

.btn--lg { padding: 16px 40px; font-size: 16px; }
.btn--full { width: 100%; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--burgundy);
  border-bottom: 1px solid var(--burgundy-dark);
  transition: box-shadow var(--transition);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

.logo__img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream-light);
  transition: color var(--transition), background var(--transition);
  border-radius: 6px;
}
.nav__links a:not(.btn) {
  padding: 6px 10px;
}
.nav__links a:not(.btn):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}
.nav__links a.active { color: var(--cream); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--burgundy-dark);
  border-bottom: 1px solid var(--burgundy-dark);
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 400;
  color: var(--muted-light);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.03); }

/* =========================================
   PAGE HEADER (inner pages)
   ========================================= */
.page-header {
  padding: 160px 0 90px;
  background: var(--brand-black);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--burgundy);
}

.page-header::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--burgundy-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.page-header__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-light);
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-header h1 em {
  font-style: italic;
  color: var(--cream);
}

.page-header p {
  font-size: clamp(19px, 2vw, 21px);
  font-weight: 300;
  color: var(--muted-light);
  max-width: 560px;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--serif);

  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { color: var(--border-light); }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark gradient overlay */
.hero__texture {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,15,0.88) 0%,
    rgba(17,17,15,0.80) 40%,
    rgba(17,17,15,0.95) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Radial burgundy glow — stronger */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(85,28,37,0.55) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-light);
  background: var(--burgundy);
  border: 1px solid rgba(109, 36, 48, 0.8);
  padding: 7px 20px;
  border-radius: 100px;
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  max-width: 820px;
}

.hero__headline em {
  font-style: italic;
  color: var(--cream);
}

.hero__sub {
  font-size: clamp(19px, 2.25vw, 21px);
  font-weight: 300;
  color: var(--muted-light);
  max-width: 560px;
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 56px;
  background: rgba(28, 27, 24, 0.85);
  border: 1px solid var(--border);
  border-top: 2px solid var(--burgundy);
  border-radius: var(--radius-lg);
  padding: 32px 56px;
  flex-wrap: wrap;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat__num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__label {
  font-family: var(--serif);

  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__text {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  max-width: 180px;
  line-height: 1.4;
}

.stat__divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  padding: 130px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,17,15,0.94) 0%,
    rgba(28,27,24,0.90) 60%,
    rgba(17,17,15,0.96) 100%
  );
  z-index: 0;
}

/* Burgundy accent stripe at top */
.services::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--burgundy), transparent);
  z-index: 1;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Full-page services grid */
.services__grid--full {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background var(--transition);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover { background: var(--surface-2); }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 36px;
  height: 36px;
  color: var(--burgundy-mid);
  margin-bottom: 22px;
}
.card__icon svg { width: 100%; height: 100%; }

.card:hover .card__icon { color: var(--gold); }

.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.75;
}

/* =========================================
   WHY US
   ========================================= */
.why {
  padding: 130px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background-image: url('charles-forerunner-3fPXt37X6UQ-unsplash.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17,17,15,0.97) 0%,
    rgba(17,17,15,0.88) 55%,
    rgba(85,28,37,0.35) 100%
  );
  z-index: 0;
}

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

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

.why__text {
  max-width: 700px;
}

.why__text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.why__text h2 em {
  font-style: italic;
  color: var(--cream);
}

.why__text > p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted-light);
  margin-bottom: 44px;
  line-height: 1.8;
}

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why__list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(85, 28, 37, 0.25);
  border: 1.5px solid var(--burgundy);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
}

.check::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%) rotate(45deg);
  width: 4px;
  height: 8px;
  border-right: 1.5px solid var(--cream);
  border-bottom: 1.5px solid var(--cream);
}

.why__list strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.why__list p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* Metric cards */
.why__visual { position: relative; }

.why__card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid var(--burgundy);
  transition: border-color var(--transition), background var(--transition);
}

.metric-card:hover {
  background: var(--surface-2);
  border-left-color: var(--gold);
}

.metric-card--2 { margin-left: 28px; }
.metric-card--3 { margin-left: 14px; }

.metric-card__label {
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.metric-card__value {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--cream-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.metric-card__trend {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
}

/* =========================================
   FOUNDERS
   ========================================= */
.founders {
  padding: 130px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.founders::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--burgundy);
}

/* Decorative BB watermark */
.founders::after {
  content: 'BB';
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 320px;
  font-weight: 600;
  color: rgba(85, 28, 37, 0.06);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

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

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

.founder-card {
  background: var(--brand-black);
  border: 1px solid var(--border);
  border-top: 3px solid var(--burgundy);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: background var(--transition);
}

.founder-card:hover {
  background: var(--surface-2);
}
.founder-card:hover .founder-card__photo { border-color: var(--gold); }
.founder-card:hover h3 { color: var(--gold); }
.founder-card:hover .founder-card__initials { color: var(--gold); }
.founder-card:hover .founder-card__title { color: var(--cream-light); }

.founder-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--burgundy-subtle);
  border: 2px solid var(--burgundy);
  flex-shrink: 0;
  overflow: hidden;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card__initials {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--burgundy-mid);
  letter-spacing: -0.02em;
}

.founder-card__info { flex: 1; }

.founder-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.founder-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-mid);
  margin-bottom: 16px;
}

.founder-card__bio {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.75;
}

/* =========================================
   PROCESS
   ========================================= */
.process {
  padding: 130px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,15,0.95) 0%,
    rgba(28,27,24,0.91) 50%,
    rgba(17,17,15,0.95) 100%
  );
  z-index: 0;
}

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

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step__connector { display: none; }

.step {
  flex: 1;
  padding: 40px 32px;
  background: var(--brand-black);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}

/* 6-step grid: top-left, top-right, bottom-left, bottom-right corners */
.step:nth-child(1)  { border-radius: var(--radius-lg) 0 0 0; }
.step:nth-child(5)  { border-radius: 0 var(--radius-lg) 0 0; }
.step:nth-child(7)  { border-radius: 0 0 0 var(--radius-lg); }
.step:last-child    { border-radius: 0 0 var(--radius-lg) 0; }

.step:hover {
  border-color: var(--burgundy);
  background: var(--surface);
}

/* Burgundy top accent on hover */
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.step:hover::before { transform: scaleX(1); }
.step:hover .step__num { color: var(--gold); transition: color 0.3s ease; }

.step__connector {
  width: 0;
  border-left: 1px solid var(--border);
  align-self: stretch;
  flex-shrink: 0;
}

.step__num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(85, 28, 37, 0.18);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: var(--burgundy);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: 'BB';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 280px;
  font-weight: 600;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
}

.cta-band__inner > div:first-child {
  max-width: 560px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--cream-light);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cta-band p {
  font-size: 19px;
  font-weight: 300;
  color: rgba(215, 210, 203, 0.65);
}

.cta-band .btn--primary {
  background: var(--brand-black);
  color: var(--cream);
  border-color: var(--brand-black);
  flex-shrink: 0;
}

.cta-band .btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brand-black);
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  padding: 130px 0;
  background: var(--brand-black);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact .container { position: relative; z-index: 1; }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: flex-start;
}

.contact__text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact__text h2 em {
  font-style: italic;
  color: var(--cream);
}

.contact__text > p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__info a {
  font-size: 17px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(209, 156, 21, 0.3);
  transition: border-color var(--transition);
  width: fit-content;
}
.contact__info a:hover { border-color: var(--gold); }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7568' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option { background: var(--surface); }

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

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

.form__note {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--burgundy);
  border-radius: var(--radius-lg);
}

.form-success.show { display: block; }

.form-success h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--cream-light);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 19px;
  color: var(--muted-light);
  font-weight: 300;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--burgundy);
  border-top: 1px solid var(--burgundy-dark);
}

/* CTA Strip */
.footer__cta-strip {
  background: var(--burgundy-dark);
  padding: 32px 0;
  border-bottom: 1px solid rgba(237, 234, 229, 0.08);
}
.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__cta-text h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
}
.footer__cta-text p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(237, 234, 229, 0.6);
}

/* Main Grid */
.footer__main {
  padding: 44px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.footer__col-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer__col-links {
  font-family: var(--serif);

  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-links a {
  font-size: 16px;
  font-weight: 300;
  color: rgba(237, 234, 229, 0.6);
  transition: color var(--transition);
}
.footer__col-links a:hover { color: var(--cream); }

/* Brand column */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__col--brand .logo--footer { margin-bottom: 16px; }
.footer__desc {
  font-family: var(--serif);

  font-size: 16px;
  font-weight: 300;
  color: rgba(237, 234, 229, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  align-items: center;
}
.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(237, 234, 229, 0.65);
  transition: color var(--transition);
}
.footer__contact-link:hover { color: var(--cream); }
.footer__contact-link svg {
  width: 14px; height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(237, 234, 229, 0.25);
  border-radius: 50%;
  color: rgba(237, 234, 229, 0.6);
  transition: color var(--transition), border-color var(--transition);
}
.footer__social a:hover { color: var(--cream); border-color: var(--cream); }
.footer__social svg { width: 14px; height: 14px; fill: currentColor; }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(237, 234, 229, 0.1);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 15px;
  font-weight: 300;
  color: rgba(237, 234, 229, 0.35);
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a {
  font-size: 17px;
  font-weight: 400;
  color: rgba(237, 234, 229, 0.4);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer__bottom-links a:hover { color: rgba(237, 234, 229, 0.75); }

/* Responsive footer */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__cta-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* =========================================
   WHY US — FULL PAGE EXTRA CONTENT
   ========================================= */
.values {
  padding: 100px 0;
  background: var(--brand-black);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.values .container { position: relative; z-index: 1; }

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

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--burgundy);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: background var(--transition);
}
.value-card:hover { background: var(--surface-2); }

.value-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.75;
}

/* =========================================
   PROCESS — FULL PAGE EXTRA CONTENT
   ========================================= */
.process-detail {
  padding: 100px 0;
  background: var(--brand-black);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.process-detail .container { position: relative; z-index: 1; }

.process-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 72px;
}

.process-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.process-item__num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
}

.process-item h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 12px;
}

.process-item p {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.8;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid--full { grid-template-columns: 1fr; }
  .why__inner { grid-template-columns: 1fr; gap: 56px; }
  .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .founders__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .process-detail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .step:nth-child(1)  { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .step:nth-child(5)  { border-radius: 0; }
  .step:nth-child(7)  { border-radius: 0; }
  .step:last-child    { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .hero__stats { padding: 24px 28px; gap: 24px; }
  .stat__divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .metric-card--2, .metric-card--3 { margin-left: 0; }
  .founder-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { border-radius: var(--radius); }
}

/* Nav button override for burgundy background */
.nav .btn--outline {
  border-color: rgba(237, 234, 229, 0.45);
}
.nav .btn--outline:hover {
  border-color: var(--cream-light);
  background: rgba(237, 234, 229, 0.12);
  color: var(--white);
}

/* =========================================
   CONTACT INLINE (form embedded on all pages)
   ========================================= */
.contact-inline {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-inline .container { position: relative; z-index: 1; }
.contact-inline .section-header {
  margin-bottom: 56px;
}
.contact-inline__form {
  max-width: 740px;
  margin: 0 auto;
}

/* =========================================
   FLORITURAS — brand decorative elements
   Low-opacity SVG ornaments used as subtle
   background support graphics (brand guide)
   ========================================= */
.floritura {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.28;
  will-change: transform;
}

/* Section bridges — zero-height divs between sections that let
   florituras span across the boundary (escapes each section's overflow:hidden) */
.section-bridge {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 10;
}
.section-bridge .floritura {
  position: absolute;
  opacity: 0.32;
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}
.lang-divider {
  color: var(--border-light);
  font-size: 17px;
  padding: 0 1px;
  user-select: none;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 4px 5px;
  text-transform: uppercase;
  transition: color 0.2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--cream-light); }
.lang-btn.active  { color: var(--cream-light); }

/* Mobile lang row inside mobile menu */
.mobile-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.mobile-lang .lang-btn { font-size: 16px; padding: 6px 8px; }
.mobile-lang .lang-divider { font-size: 16px; }

/* --- Back to Top Button --- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 1px solid var(--burgundy-mid);
  color: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--burgundy-mid); }
#back-to-top svg { width: 18px; height: 18px; display: block; }
