﻿/* =====================================================
   DESMOS GROUP — Styles
   ===================================================== */

/* === FONTS — Self-hosted (merged from fonts.css) === */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* === VARIABLES === */
:root {
  --bg-dark: #163838;
  --bg-card: #1A4444;
  --bg-darker: #0F2828;
  --bg-footer: #0A1E1E;
  --bg-light: #F5F3EE;
  --accent: #C4922A;
  --accent-lt: #D4A843;
  --text-lt: #F5F3EE;
  --text-muted: #9CBABC;
  --text-dark: #1A2E2E;
  --border: #224E4E;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-width: 1200px;
  --section-py: clamp(5rem, 10vw, 8rem);
  --px: clamp(1.25rem, 5vw, 2.5rem);
  --t: 250ms ease;
  --radius: 4px;
}

/* === BASE === */
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-lt);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* === TYPOGRAPHY UTILITIES === */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-lt);
  margin-bottom: 1.25rem;
}

.section__title--dark {
  color: var(--text-dark);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.75;
}

.section__lead--dark {
  color: #4B5563;
}

.section--light .section__body {
  color: #374151;
}

.section__body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__header .section__lead {
  margin-inline: auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn--primary:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-lt);
  border: 2px solid rgba(245, 243, 238, 0.3);
}

.btn--outline:hover {
  border-color: var(--text-lt);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* === SECTIONS === */
.section {
  padding-block: var(--section-py);
}

.section--dark {
  background: var(--bg-dark);
}

.section--darker {
  background: var(--bg-darker);
}

.section--light {
  background: var(--bg-light);
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.25rem;
  transition: padding var(--t), box-shadow var(--t);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 56, 56, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled {
  padding-block: 0.9rem;
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.header__logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity var(--t);
}

.header__logo:hover .header__logo-img {
  opacity: 0.8;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.header__nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: color var(--t);
}

.header__nav-link:hover {
  color: var(--text-lt);
}

.header__nav-link--cta {
  background: var(--accent);
  color: #fff;
  margin-left: 0.5rem;
  transition: background var(--t);
}

.header__nav-link--cta:hover {
  background: var(--accent-lt);
  color: #fff;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 101;
}

.header__burger span {
  display: block;
  height: 2px;
  background: var(--text-lt);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

.header__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.header__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* 1) Imatge de fons */
  background-image: url('../img/hero2.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 2) Capa color verd característic */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 56, 56, 0.78);
}

/* 3) Subtle vignette per sobre la imatge */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 30, 30, 0.45) 100%);
}

/* === HERO PERSPECTIVE GRID === */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  /* Fade at horizon — grid fades to nothing at top, visible at bottom */
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.4) 25%,
      rgba(0, 0, 0, 0.85) 65%,
      rgba(0, 0, 0, 0.6) 100%);
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.4) 25%,
      rgba(0, 0, 0, 0.85) 65%,
      rgba(0, 0, 0, 0.6) 100%);
}

.hero__grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(196, 146, 42, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 146, 42, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  transform-origin: top center;
  transform: perspective(280px) rotateX(68deg);
  animation: perspGridScroll 4s linear infinite;
}

.hero::after {
  content: 'DG';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(14rem, 28vw, 26rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 9rem;
  padding-bottom: 7rem;
}

.hero__text {
  max-width: 720px;
}

.hero__logo {
  height: 260px;
  width: auto;
  display: block;
  margin-bottom: 2rem;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-lt);
  margin-bottom: 1.75rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  z-index: 1;
  animation: scrollLine 2.2s ease-in-out infinite;
}

.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-darker) 100%);
  z-index: 1;
  pointer-events: none;
}

/* =====================================================
   EYEBROW VARIANTS
   ===================================================== */
/* Centered with decorative gold lines on each side */
.eyebrow--lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.eyebrow--lined::before,
.eyebrow--lined::after {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Left-aligned with short gold underline bar */
.eyebrow--bar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.eyebrow--bar::after {
  content: '';
  width: 2rem;
  height: 1.5px;
  background: var(--accent);
}

/* =====================================================
   SECTION HEADER CENTERED VARIANT
   ===================================================== */
.section__header--center {
  text-align: center;
}

.section__title--center {
  text-align: center;
}

.section__lead--center {
  text-align: center;
  margin-inline: auto;
}

/* =====================================================
   ¿RECONOCES ESTA SITUACIÓN?
   ===================================================== */
.situation__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.situation__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem 2rem;
}

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

.situation__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(196, 146, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.situation__sep {
  flex-shrink: 0;
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.12);
}

.situation__body p {
  font-size: 1.05rem;
  color: var(--text-lt);
  line-height: 1.65;
}

.situation__close {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.situation__rule {
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

.situation__close p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.btn--cta {
  background: var(--accent);
  color: var(--bg-darker);
  border: 2px solid var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
}

.btn--cta:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  transform: translateY(-1px);
}

/* =====================================================
   QUIÉNES SOMOS
   ===================================================== */
.about__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
}

.about__content {
  padding-right: clamp(2rem, 5vw, 5rem);
}

.about__divider {
  width: 1px;
  background: rgba(26, 46, 46, 0.15);
}

/* Feature grid — 2×2 inside about */
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(26, 46, 46, 0.1);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
}

.about__feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  align-self: stretch;
  padding-right: 0.9rem;
  margin-right: 0.9rem;
  border-right: 1px solid rgba(26, 46, 46, 0.12);
}

.about__feature-icon svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Right aside: KPI 2×2 dark card */
.about__aside {
  padding-left: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: stretch;
}

.about__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto 1px auto auto auto auto;
  column-gap: 1px;
  row-gap: 0;
  align-content: stretch;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}

.about__kpi-icon {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  padding: clamp(1.75rem, 3vw, 2.25rem) 1rem 0.75rem;
}

.about__kpi-num {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  color: var(--text-lt);
  line-height: 1;
  letter-spacing: -0.03em;
  padding: 0 1rem 0.25rem;
}

.about__kpi-rule {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 1rem 0.4rem;
}

.about__kpi-rule::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background: var(--accent);
}

.about__kpi-lbl {
  background: var(--bg-dark);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.45);
  line-height: 1.5;
  padding: 0 1rem clamp(1.75rem, 3vw, 2.25rem);
}

.about__kpi-hsep {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}


.about__title-accent {
  color: var(--accent);
}

/* =====================================================
   QUÉ HACEMOS
   ===================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  transition: background 0.35s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  background: #1C5050;
}

.service-card:hover::after {
  transform: scaleY(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(196, 146, 42, 0.1);
  border: 1px solid rgba(196, 146, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.service-card:hover .service-card__icon {
  background: rgba(196, 146, 42, 0.2);
  border-color: rgba(196, 146, 42, 0.5);
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.55rem 1.2rem;
  transition: border-color var(--t), color var(--t);
  align-self: flex-start;
}

.service-card__more:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-lt);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* =====================================================
   CÓMO TRABAJAMOS (MODIFICADO - ESTILO IMAGEN)
   ===================================================== */
.process-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-align: center;
}

.process-eyebrow-rule {
  width: 32px;
  height: 1.5px;
  background: var(--accent);
  margin: 0.5rem auto 1.5rem auto;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process__step-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.process__step-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, #E7E2D8 100%);
  border: 1px solid rgba(196, 146, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}

.process__step-circle svg {
  stroke-width: 1.25px;
}

.process__step:hover .process__step-circle {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  background: radial-gradient(circle at 30% 30%, #F5F1E9 0%, #DCD7CD 100%);
}

.process__step-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.process__step-desc {
  font-size: 0.84rem;
  color: #4B5563;
  line-height: 1.6;
  max-width: 26ch;
}

/* Conectores horizontales */
.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 82px;
  /* Alineación vertical con el centro del círculo (num label + spacing + circle_radius) */
  left: 50%;
  width: 100%;
  height: 1px;
  background: rgba(196, 146, 42, 0.22);
  z-index: 1;
}

.process__step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 79px;
  /* (82px - 3px) para centrar el punto de 6px */
  left: 100%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 2;
}

/* Banner de valores inferiores */
.process__banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(196, 146, 42, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-top: 5rem;
  overflow: hidden;
}

.process__banner-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.75rem 1.5rem;
  position: relative;
  justify-content: center;
}

.process__banner-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(196, 146, 42, 0.15);
}

.process__banner-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process__banner-text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

/* =====================================================
   EMPRESAS PARTICIPADAS — PARALLAX + GRID
   ===================================================== */
#empresas {
  position: relative;
  overflow: hidden;
}

.empresas__parallax-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/bg_img.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

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

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

/* Card */
.portfolio-card {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* Image — inset with padding, own border-radius */
.portfolio-card__img-wrap {
  position: relative;
  margin: 0.75rem 0.75rem 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-darker);
  flex-shrink: 0;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card__img {
  transform: scale(1.05);
}

.portfolio-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #0F2828 0%, #1A4444 100%);
}

/* Initial letter badge */
.portfolio-card__initial {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Info block */
.portfolio-card__info {
  padding: 1rem 1.25rem 1.5rem;
}

.portfolio-card__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.portfolio-card__year {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.portfolio-card__sector {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(196, 146, 42, 0.45);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

.portfolio-card__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-lt);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

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

.portfolio-card__estado {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  border: 1px solid;
}
.portfolio-card__estado--activa    { color: #4caf82; border-color: rgba(76,175,130,0.4); }
.portfolio-card__estado--en-proceso { color: #c49226; border-color: rgba(196,146,38,0.4); }
.portfolio-card__estado--potencial { color: #7a8faa; border-color: rgba(122,143,170,0.4); }

.portfolio-card__web {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.portfolio-card__web:hover { opacity: 0.75; }

/* =====================================================
   POR QUÉ DESMOS (MODIFICADO - ESTILO IMAGEN)
   ===================================================== */
#por-que-desmos {
  position: relative;
}

#por-que-desmos::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.90;
  pointer-events: none;
  z-index: 0;
}

#por-que-desmos .container {
  position: relative;
  z-index: 1;
}

.why-desmos__header-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2rem;
}

.why-desmos__header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(2rem, 5vw, 4rem);
}

.why-desmos__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.why-desmos__eyebrow-rule {
  width: 32px;
  height: 1.5px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

.why-desmos__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.why-desmos__lead {
  font-size: 0.94rem;
  color: #4B5563;
  line-height: 1.7;
  max-width: 52ch;
}

.why-desmos__header-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}


.why-desmos__header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

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

.value-card {
  padding: 3.5rem 2.25rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  border: 1px solid rgba(196, 146, 42, 0.12);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.035);
  border-color: rgba(196, 146, 42, 0.25);
}

.value-card__badge {
  margin-bottom: 2rem;
}

.value-card__badge-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 146, 42, 0.12) 0%, rgba(196, 146, 42, 0.01) 100%);
  border: 1px solid rgba(196, 146, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.value-card__badge-circle svg {
  stroke-width: 1.25px;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.value-card__title-rule {
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  margin: 0.5rem auto 1.5rem auto;
}

.value-card__desc {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.65;
  max-width: 32ch;
}

/* =====================================================
   TIMING BLOCK (MODIFICADO - DIVIDIDO)
   ===================================================== */
.timing__block--split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  padding: 0 !important;
  background: linear-gradient(135deg, #1A4444 0%, #0F2828 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.timing__content-wrap {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
}

.timing__eyebrow-split {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.timing__eyebrow-rule-split {
  width: 32px;
  height: 1.5px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

.timing__title-split {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 600;
  color: var(--text-lt);
  line-height: 1.25;
  margin-bottom: 2.5rem;
  max-width: 38ch;
}

.timing__metrics-grid {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
}

.timing__metric-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1.5rem;
}

.timing__metric-item:first-child {
  padding-left: 0;
}

.timing__metric-item:last-child {
  padding-right: 0;
}

.timing__metric-item+.timing__metric-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.timing__metric-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 0.4rem;
}

.timing__metric-texts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.timing__metric-val {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-lt);
  line-height: 1.2;
}

.timing__metric-lbl {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 24ch;
}

.timing__cta-split {
  align-self: flex-start;
}

.timing__image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.timing__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19,51,51,1) 0%, rgba(19,51,51,0) 100%);
  pointer-events: none;
  z-index: 1;
}

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

/* =====================================================
   CONTACTO
   ===================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact__data {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact__data-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.91rem;
  color: var(--text-muted);
}

.contact__data-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact__data-item a {
  transition: color var(--t);
}

.contact__data-item a:hover {
  color: var(--accent);
}

.contact__form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-lt);
  width: 100%;
  transition: border-color var(--t);
}

.form__input:focus {
  outline: none;
  border-color: var(--accent);
}

.form__input::placeholder {
  color: rgba(156, 186, 188, 0.65);
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.form__checkbox {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

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

.form__check-label a {
  color: var(--accent);
}

.form__check-label a:hover {
  text-decoration: underline;
}

.form__recaptcha {
  margin-bottom: 0.5rem;
  transition: outline 0.2s;
}

.form__recaptcha--error {
  outline: 2px solid #e53e3e;
  outline-offset: 4px;
  border-radius: 4px;
}

.form__group--error .form__input,
.form__check--error .form__checkbox {
  outline: 2px solid #e53e3e;
  outline-offset: 2px;
}

.form__error-msg {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #e53e3e;
}

.form__guarantee {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.01em;
}

.form__success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(196, 146, 42, 0.08);
  border: 1px solid rgba(196, 146, 42, 0.25);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--accent-lt);
  text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-footer);
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.3rem 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-lt);
  display: block;
  margin-bottom: 0.3rem;
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.81rem;
  color: var(--text-muted);
  transition: color var(--t);
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
  grid-column: 3;
  grid-row: 1;
}

.footer__legal a {
  font-size: 0.74rem;
  color: var(--text-muted);
  transition: color var(--t);
}

.footer__legal a:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 0.74rem;
  color: #374151;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #0d2424;
  border-top: 1px solid rgba(196, 146, 42, 0.4);
  padding: 1rem 0;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}

.cookie-banner__btn:hover { opacity: 0.85; }

.cookie-banner__btn--reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}

.cookie-banner__btn--accept {
  background: var(--accent);
  border: 1px solid transparent;
  color: #fff;
}

.cookie-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cookie-modal__box {
  position: relative;
  z-index: 1;
  background: var(--surface, #1a2e2e);
  border: 1px solid rgba(196, 146, 42, 0.3);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-modal__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.6rem;
}

.cookie-modal__intro {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.cookie-pref {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem 0;
}

.cookie-pref:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.cookie-pref__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-pref__info {
  flex: 1;
}

.cookie-pref__name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cookie-pref__desc {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.cookie-pref__desc code {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: background 0.2s;
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-toggle--locked {
  cursor: not-allowed;
  opacity: 0.55;
}

.cookie-modal__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.footer__manage-cookies {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t);
}

.footer__manage-cookies:hover {
  color: var(--accent);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  .footer__nav {
    order: -1;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 2rem;
  }

  .process__step:not(:last-child)::after,
  .process__step:not(:last-child)::before {
    display: none;
  }

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

  .process__banner-item:nth-child(even)::after {
    display: none;
  }

  .process__banner-item:nth-child(1),
  .process__banner-item:nth-child(2) {
    border-bottom: 1px solid rgba(196, 146, 42, 0.12);
  }

  .why-desmos__header-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why-desmos__header-text {
    padding-right: 0;
    padding-bottom: 2.5rem;
  }

  .why-desmos__header-image-wrap {
    min-height: 280px;
  }


  .timing__block--split {
    grid-template-columns: 1fr;
  }

  .timing__image-wrap {
    height: 320px;
  }
}

@media (max-width: 768px) {

  /* About layout — stack on mobile */
  .about__layout {
    grid-template-columns: 1fr;
  }

  .about__divider {
    display: none;
  }

  .about__content {
    padding-right: 0;
  }

  .about__aside {
    padding-left: 0;
    padding-top: 2rem;
    border-top: none;
  }

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

  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 22, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 320ms ease, visibility 320ms ease;
    z-index: 99;
  }

  .header__nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    text-align: center;
    width: 100%;
  }

  .header__nav-link {
    display: block;
    font-size: 1.35rem;
    font-weight: 500;
    color: rgba(245, 243, 238, 0.78);
    padding: 0.9rem 2.5rem;
    letter-spacing: 0.01em;
    transition: color 200ms ease;
  }

  .header__nav-link:active {
    color: var(--accent);
  }

  .header__nav-link--cta {
    background: none;
    margin: 1rem 0 0;
    color: var(--accent) !important;
    font-weight: 600;
  }

  .header__burger {
    display: flex;
    padding: 0.6rem;
    margin-right: -0.6rem;
  }

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

  .timing__block {
    flex-direction: column;
  }

  .timing__cta {
    align-self: flex-start;
  }

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

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

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

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

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

  .process__steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process__step-desc {
    max-width: 40ch;
  }

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

  .process__banner-item::after {
    display: none !important;
  }

  .process__banner-item:not(:last-child) {
    border-bottom: 1px solid rgba(196, 146, 42, 0.12);
  }

  .process__banner-item {
    justify-content: flex-start;
    padding: 1.25rem 1.5rem;
  }

  .timing__content-wrap {
    padding: 2.5rem 1.5rem;
  }

  .timing__metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .timing__metric-item {
    padding: 0;
    border-left: none !important;
  }

  .timing__image-wrap {
    height: 240px;
  }

  .timing__image-wrap::after {
    background: linear-gradient(to bottom, #1A4444 0%, transparent 40%);
  }
}

/* =====================================================
   DESMOS GROUP — Animations (merged from animations.css)
   ===================================================== */

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === STAGGER DELAYS — siblings === */
.reveal:nth-child(2) { transition-delay: 0.10s; }
.reveal:nth-child(3) { transition-delay: 0.20s; }
.reveal:nth-child(4) { transition-delay: 0.30s; }

/* === PROCESS STEPS === */
.process__step.reveal:nth-child(1) { transition-delay: 0.00s; }
.process__step.reveal:nth-child(2) { transition-delay: 0.15s; }
.process__step.reveal:nth-child(3) { transition-delay: 0.30s; }
.process__step.reveal:nth-child(4) { transition-delay: 0.45s; }

/* === SERVICE CARDS === */
.service-card.reveal {
  transform: translateY(48px) scale(0.96);
  transition:
    opacity   0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.34, 1.08, 0.64, 1);
}
.service-card.reveal.visible {
  transform: translateY(0) scale(1);
}
.service-card.reveal:nth-child(1) { transition-delay: 0.00s; }
.service-card.reveal:nth-child(2) { transition-delay: 0.13s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.26s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.39s; }

/* === VALUE CARDS === */
.value-card.reveal:nth-child(1) { transition-delay: 0.00s; }
.value-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.value-card.reveal:nth-child(3) { transition-delay: 0.24s; }

/* === HERO SCROLL INDICATOR === */
@keyframes scrollLine {
  0%   { opacity: 0; transform: translateX(-50%) scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1); transform-origin: top; }
}

/* === MARQUEE === */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-strip {
  background: #fff;
  border-top: 1px solid rgba(22, 56, 56, 0.1);
  border-bottom: 1px solid rgba(22, 56, 56, 0.1);
  overflow: hidden;
  position: relative;
  padding-block: 2.5rem;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 8%;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.marquee-item {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}
.marquee-item--fill {
  color: rgba(22, 56, 56, 0.55);
}
.marquee-item--outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(22, 56, 56, 0.25);
  text-stroke: 2px rgba(22, 56, 56, 0.25);
}

.marquee-sep {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  opacity: 0.45;
  flex-shrink: 0;
  line-height: 1;
}

/* === HERO PERSPECTIVE GRID === */
@keyframes perspGridScroll {
  from { background-position: 0 0; }
  to   { background-position: 0 64px; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__scroll-indicator { animation: none; }
  .marquee-track { animation: none; }
  .hero__grid::before { animation: none; }
}
}