/* ========================================
   LOSNINGER CONSULTING — CUSTOM STYLES
   ======================================== */

:root {
  --navy: #0f1c2e;
  --navy-light: #162338;
  --navy-muted: #1e2e46;
  --gold: #d4a843;
  --gold-light: #e8c06a;
  --gold-dim: rgba(212, 168, 67, 0.15);
  --cream: #f5f0e8;
  --cream-light: #faf8f3;
  --white: #ffffff;
  --text-primary: #0f1c2e;
  --text-body: #3a4a5f;
  --text-muted: #6b7f8f;
}

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

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream-light);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 28, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-mark {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.nav-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cream);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-phone {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  padding: 0.35rem 0.875rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-phone:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Geometric shapes */
.hero-geo {
  position: absolute;
  border: 1px solid;
}

.geo-1 {
  top: -80px;
  right: -60px;
  width: 500px;
  height: 500px;
  border-color: rgba(212, 168, 67, 0.08);
  transform: rotate(15deg);
}

.geo-2 {
  top: -40px;
  right: -40px;
  width: 500px;
  height: 500px;
  border-color: rgba(212, 168, 67, 0.05);
  transform: rotate(15deg);
}

.geo-3 {
  bottom: -120px;
  left: -80px;
  width: 600px;
  height: 600px;
  border-color: rgba(212, 168, 67, 0.04);
  border-radius: 50%;
}

.geo-4 {
  bottom: 80px;
  right: 80px;
  width: 200px;
  height: 200px;
  border-color: rgba(212, 168, 67, 0.06);
  transform: rotate(30deg);
}

.geo-5 {
  top: 40%;
  left: 55%;
  width: 4px;
  height: 4px;
  background: rgba(212, 168, 67, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Node network */
.hero-nodes {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 520px;
  height: 420px;
}

.node-lines {
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}

.node::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.3);
}

.node-1 { width: 16px; height: 16px; top: 8%; left: 20%; }
.node-2 { width: 10px; height: 10px; top: 40%; left: 50%; }
.node-3 { width: 14px; height: 14px; top: 24%; right: 20%; }
.node-4 { width: 8px; height: 8px; bottom: 24%; left: 33%; }
.node-5 { width: 12px; height: 12px; bottom: 12%; right: 40%; }
.node-6 { width: 6px; height: 6px; top: 15%; left: 55%; }

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 64px;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.65);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-meta-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-meta-label {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-meta-divider {
  width: 1px;
  height: 48px;
  background: rgba(212, 168, 67, 0.2);
}

/* ── Manifesto ── */
.manifesto {
  padding: 7rem 2rem;
  background: var(--cream-light);
}

.manifesto-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-header {
  margin-bottom: 4rem;
}

.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  max-width: 560px;
}

.section-header--light .section-headline {
  color: var(--cream);
}

.section-label--light {
  color: var(--gold-light);
}

.section-label--light::before {
  background: var(--gold-light);
}

.manifesto-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  font-style: italic;
  position: relative;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.manifesto-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 12px rgba(15, 28, 46, 0.06);
}

.pillar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Servicios ── */
.servicios {
  padding: 7rem 2rem;
  background: var(--navy);
}

.servicios-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.servicios .section-headline { color: var(--cream); }
.servicios .section-label { color: var(--gold); }

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

.servicio-card {
  background: var(--navy-light);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.servicio-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  transform: translateY(-4px);
}

.servicio-card--accent {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.08) 0%, var(--navy-light) 100%);
  border-color: rgba(212, 168, 67, 0.2);
}

.servicio-icon {
  margin-bottom: 1.5rem;
}

.servicio-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.875rem;
}

.servicio-desc {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.servicio-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.servicio-list li {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.7);
  padding-left: 1.25rem;
  position: relative;
}

.servicio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.7;
}

/* ── Normas ── */
.normas {
  padding: 6rem 2rem;
  background: var(--cream);
  border-top: 1px solid rgba(15, 28, 46, 0.08);
  border-bottom: 1px solid rgba(15, 28, 46, 0.08);
}

.normas-inner {
  max-width: 1280px;
  margin: 0 auto;
}

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

.normas-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.normas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.norma-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.norma-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.1);
}

.norma-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}

.norma-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.norma-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.normas-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Proceso ── */
.proceso {
  padding: 7rem 2rem;
  background: var(--cream-light);
}

.proceso-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.proceso-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 4rem;
}

.proceso-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.3;
}

.proceso-step {
  padding-right: 1.5rem;
}

.proceso-step--last {
  padding-right: 0;
}

.proceso-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.proceso-connector {
  width: 1px;
  height: 40px;
  background: var(--gold);
  margin: 0.75rem 0;
  opacity: 0.2;
}

.proceso-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.proceso-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.7;
}

.proceso-quote {
  padding: 2rem 2.5rem;
  background: var(--navy);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  position: relative;
}

.proceso-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 1.5rem;
  line-height: 1;
}

.proceso-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ── Resultados / Sectores ── */
.resultados {
  padding: 7rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.resultados-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 168, 67, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(212, 168, 67, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.resultados-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.sector-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 4px;
  background: rgba(22, 35, 56, 0.8);
  transition: border-color 0.3s;
}

.sector-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

.sector-icon {
  margin-bottom: 1.25rem;
}

.sector-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.sector-desc {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.6;
}

.resultados-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(212, 168, 67, 0.15);
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Cierre ── */
.cierre {
  padding: 8rem 2rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cierre-bg-text {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 12rem;
  font-weight: 900;
  color: rgba(15, 28, 46, 0.03);
  white-space: nowrap;
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
}

.cierre-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cierre-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 2rem;
  font-style: italic;
}

.cierre-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cierre-contact {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 28, 46, 0.1);
}

.cierre-contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.cierre-contact-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(212, 168, 67, 0.1);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}

.footer-logo-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.6;
  max-width: 280px;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-plain {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.35);
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.2);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  .normas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proceso-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .proceso-timeline::before { display: none; }
  .sectores-grid {
    grid-template-columns: 1fr 1fr;
  }
  .resultados-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-info {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-headline { font-size: 2rem; }
  .hero-meta { gap: 1.5rem; }
  .nav-contact .nav-link { display: none; }
  .normas-grid { grid-template-columns: 1fr 1fr; }
  .sectores-grid { grid-template-columns: 1fr; }
  .resultados-stats { grid-template-columns: 1fr 1fr; }
  .cierre-contact { flex-direction: column; gap: 1.5rem; }
  .footer-info { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .nav-phone { display: none; }
  .hero-meta {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-meta-divider { display: none; }
  .proceso-timeline { grid-template-columns: 1fr; }
  .normas-grid { grid-template-columns: 1fr; }
}
