:root {
  /* New Premium Vermillion Brand Identity */
  --color-primary: #0F1013;       /* Carbono Mate (Sustituye Azul Marino) */
  --color-secondary: #17191D;     /* Pizarra Oscuro (Sustituye Azul Petróleo) */
  --color-accent: #FF3B00;        /* Rojo Bermellón Vibrante (Sustituye Azul Eléctrico) */
  --color-accent-soft: #FFA048;   /* Naranja Melocotón */
  --color-white: #FFFFFF;
  --color-light-grey: #ccccc2;    /* Blanco Cálido / Hueso (Sustituye Gris Claro) */
  --color-medium-grey: #E5E5E2;   /* Gris Medio Cálido */
  --color-charcoal: #1F2126;      /* Carbón Textos Claros */
  --color-overlay: rgba(15, 16, 19, 0.9);

  /* Nuevas Tipografías de la Guía de Marca */
  --font-primary: "Manrope", sans-serif;
  --font-secondary: "Atkinson Hyperlegible", sans-serif;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --header-height: 80px;
  --container-max-width: 1400px;
  --grid-gutter: 30px;
}

/* -------------------------------------------------------------
     RESET & CORE STYLES
     ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Controlado por Lenis */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-light-grey);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Custom Selection */
::selection {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition:
    width 0.3s,
    height 0.3s,
    background-color 0.3s;
  display: none;
}

@media (min-width: 1024px) {
  .custom-cursor {
    display: block;
  }
}

.custom-cursor--hover {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 59, 0, 0.12);
  border-color: var(--color-accent);
}

/* Scroll Progress Bar Style */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-accent);
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(255, 59, 0, 0.85);
  pointer-events: none;
  will-change: transform;
}

/* -------------------------------------------------------------
     LAYOUT UTILITIES
     ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding: clamp(60px, 10vw, 120px) 0;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
}

.section-header {
  max-width: 700px;
  margin-bottom: clamp(40px, 8vw, 80px);
}

.section-tag {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 800;
}

.section-title--light {
  color: var(--color-white);
}

.section-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #616e7f;
  margin-top: 16px;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  cursor: pointer;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #d03500;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 59, 0, 0.3);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--dark:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 59, 0, 0.2);
}

/* -------------------------------------------------------------
     1. HEADER & NAVIGATION
     ------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 16, 19, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header--scrolled {
  height: 70px;
  background: rgba(15, 16, 19, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.logo__icon {
  color: var(--color-accent);
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.logo:hover .logo__icon {
  transform: rotate(-10deg) scale(1.15);
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav__link {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding: 8px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-white);
}

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .header__cta {
    display: block;
  }
}

/* Mobile Menu Button */
.burger-btn {
  display: block;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn__line {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger-btn__line:nth-child(1) {
  top: 0px;
}
.burger-btn__line:nth-child(2) {
  top: 10px;
}
.burger-btn__line:nth-child(3) {
  top: 20px;
}

.burger-btn--open .burger-btn__line:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.burger-btn--open .burger-btn__line:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.burger-btn--open .burger-btn__line:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  padding: 40px;
}

.mobile-nav--open {
  right: 0;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.mobile-nav__link {
  font-size: 1.5rem;
  color: var(--color-white);
  font-weight: 600;
}

/* -------------------------------------------------------------
     2. HERO SECTION (Con Atmósfera Glow Red/Orange del Brand Book)
     ------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--color-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}

.hero__architectural-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.hero__grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero__volumetric-light {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 80vh;
  height: 80vh;
  background: radial-gradient(
    circle,
    rgba(255, 59, 0, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
}

.hero__volumetric-light--2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 70vh;
  height: 70vh;
  background: radial-gradient(
    circle,
    rgba(255, 160, 72, 0.15) 0%,
    transparent 75%
  );
  border-radius: 50%;
  filter: blur(60px);
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__text-content {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__text-content {
    grid-column: span 7;
  }
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero__title span {
  color: var(--color-accent);
  display: block;
}

.hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 580px;
  font-family: var(--font-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__visual {
  grid-column: span 12;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .hero__visual {
    grid-column: span 5;
    margin-top: 0;
  }
}

/* Abstract architectural structural animation artwork */
.arch-artwork {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
}

.arch-artwork__blueprint {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transform: rotate(-10deg);
  opacity: 0.4;
  animation: slowRotate 40s linear infinite;
}

.arch-artwork__glass-card {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.arch-artwork__svg-wrapper {
  width: 85%;
  height: 85%;
}

/* -------------------------------------------------------------
     ISOMETRIC WIREFRAME BUILDING DRAWING SYSTEM (Animations)
     ------------------------------------------------------------- */
.anim-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  will-change: stroke-dashoffset;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anim-line.grid {
  animation: draw-grid 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-line.base {
  animation: draw-base 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-line.low-wings {
  animation: draw-low-wings 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-line.tower-main {
  animation: draw-tower-main 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-line.floors {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-floors 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-line.details {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-details 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-node {
  transform-origin: center;
  will-change: transform, opacity;
  animation: draw-nodes 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Timed Keyframes representing symmetric construct/erase cycle */
@keyframes draw-grid {
  0% {
    stroke-dashoffset: 400;
  }
  12% {
    stroke-dashoffset: 0;
  }
  88% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 400;
  }
}

@keyframes draw-base {
  0%,
  10% {
    stroke-dashoffset: 400;
  }
  22% {
    stroke-dashoffset: 0;
  }
  78% {
    stroke-dashoffset: 0;
  }
  90%,
  100% {
    stroke-dashoffset: 400;
  }
}

@keyframes draw-low-wings {
  0%,
  20% {
    stroke-dashoffset: 400;
  }
  32% {
    stroke-dashoffset: 0;
  }
  68% {
    stroke-dashoffset: 0;
  }
  80%,
  100% {
    stroke-dashoffset: 400;
  }
}

@keyframes draw-tower-main {
  0%,
  30% {
    stroke-dashoffset: 400;
  }
  42% {
    stroke-dashoffset: 0;
  }
  58% {
    stroke-dashoffset: 0;
  }
  70%,
  100% {
    stroke-dashoffset: 400;
  }
}

@keyframes draw-floors {
  0%,
  40% {
    stroke-dashoffset: 200;
  }
  50% {
    stroke-dashoffset: 0;
  }
  52% {
    stroke-dashoffset: 0;
  }
  60%,
  100% {
    stroke-dashoffset: 200;
  }
}

@keyframes draw-details {
  0%,
  46% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  49%,
  51% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  54%,
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
}

@keyframes draw-nodes {
  0%,
  46% {
    transform: scale(0);
    opacity: 0;
  }
  49%,
  51% {
    transform: scale(1);
    opacity: 1;
  }
  54%,
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-secondary);
  z-index: 3;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--color-accent);
  animation: scrollScroll 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes slowRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes scrollScroll {
  0% {
    top: -20px;
  }
  100% {
    top: 50px;
  }
}

/* -------------------------------------------------------------
     3. IDENTIDAD CORPORATIVA (Corporate Identity)
     ------------------------------------------------------------- */
.identity {
  overflow: hidden;
}

/* Block 1: Acerca de - Tarjetas unificadas a Carbono Mate */
.identity-about {
  background-color: var(--color-light-grey);
}

.identity-about__text-side {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .identity-about__text-side {
    grid-column: span 6;
  }
}

.identity-about__stats-side {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-self: center;
}

@media (min-width: 1024px) {
  .identity-about__stats-side {
    grid-column: span 6;
  }
}

.stat-card {
  background: var(--color-primary); /* Carbono Mate */
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 15px 30px rgba(15, 16, 19, 0.5);
}

.stat-card__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card__label {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Block 2: Valores - Tarjetas unificadas a Carbono Mate */
.identity-values {
  background-color: var(--color-white);
}

.value-card {
  grid-column: span 12;
  background: var(--color-primary); /* Carbono Mate */
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .value-card {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .value-card {
    grid-column: span 4;
  }
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-secondary);
  transition: var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-8px);
  background: var(--color-secondary);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(15, 16, 19, 0.6);
}

.value-card:hover::before {
  background-color: var(--color-accent);
}

.value-card__icon {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.value-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.value-card__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.value-card:hover .value-card__desc {
  color: var(--color-white);
}

/* Block 3: Misión (Con degradado volumétrico bermellón de la marca) */
.identity-mission {
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.identity-mission__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(255, 59, 0, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.identity-mission__content {
  grid-column: span 12;
  text-align: center;
  position: relative;
  z-index: 1;
}

.identity-mission__statement {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.3;
  font-weight: 700;
  max-width: 950px;
  margin: 0 auto;
  letter-spacing: -1px;
}

.identity-mission__statement span {
  color: var(--color-accent);
}

/* Block 4: Visión - Tarjetas unificadas a Carbono Mate */
.identity-vision {
  background-color: var(--color-light-grey);
}

.vision-step {
  grid-column: span 12;
  background: var(--color-primary); /* Carbono Mate */
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 35px;
  border-radius: 4px;
  display: flex;
  gap: 24px;
  transition: var(--transition-smooth);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .vision-step {
    grid-column: span 6;
  }
}

@media (min-width: 1200px) {
  .vision-step {
    grid-column: span 3;
  }
}

.vision-step:hover {
  border-color: var(--color-accent);
  background: var(--color-secondary);
  box-shadow: 0 15px 30px rgba(15, 16, 19, 0.5);
}

.vision-step__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  transition: var(--transition-fast);
}

.vision-step:hover .vision-step__num {
  color: var(--color-accent);
}

.vision-step__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.vision-step__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------
     4. NUESTROS SERVICIOS - Tarjetas unificadas a Carbono Mate
     ------------------------------------------------------------- */
.services {
  background-color: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
}

.service-card {
  grid-column: span 12;
  background: var(--color-primary); /* Carbono Mate */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 40px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .service-card {
    grid-column: span 6;
  }
}

@media (min-width: 1200px) {
  .service-card {
    grid-column: span 3;
  }
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--color-secondary);
  border-color: var(--color-accent);
  box-shadow: 0 20px 45px rgba(15, 16, 19, 0.5);
}

.service-card__icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.service-card:hover .service-card__icon-wrapper {
  background: var(--color-accent);
  color: var(--color-white);
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.service-card__arrow {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* -------------------------------------------------------------
     5. PORTAFOLIO (Browser Showcase Style)
     ------------------------------------------------------------- */
.portfolio {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.portfolio__grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Premium Browser Window Representation */
.project-card {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
}

.project-card__visual {
  grid-column: span 12;
  position: relative;
}

@media (min-width: 1024px) {
  .project-card__visual {
    grid-column: span 7;
  }
}

/* Replicating highly polished web browser frame */
.browser-mockup {
  background: #1e2633;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition-smooth);
  position: relative;
}

/* Premium Glass Glare Overlay Effect */
.browser-mockup::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 5;
}

.browser-mockup__header {
  background: #181e29;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-mockup__dots {
  display: flex;
  gap: 6px;
}

.browser-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-mockup__dot--red {
  background: #ff5f56;
}
.browser-mockup__dot--yellow {
  background: #ffbd2e;
}
.browser-mockup__dot--green {
  background: #27c93f;
}

.browser-mockup__address-bar {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  height: 22px;
  margin: 0 auto;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-secondary);
}

.browser-mockup__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a111c linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: browserShimmer 1.5s infinite linear;
}

@keyframes browserShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.browser-mockup__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; /* Se alinea en el origen superior */
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-in-out;
}

.browser-mockup__img.loaded {
  opacity: 1;
}

/* Mockup Hover Actions - Elevación sin escala (Zoom) */
.project-card:hover .browser-mockup {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.project-card:hover .browser-mockup::after {
  left: 150%;
}

.project-card__info {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .project-card__info {
    grid-column: span 5;
  }
}

/* Asymmetric alternation of columns */
@media (min-width: 1024px) {
  .project-card:nth-child(even) .project-card__visual {
    grid-column: 6 / span 7;
    order: 2;
  }
  .project-card:nth-child(even) .project-card__info {
    grid-column: 1 / span 5;
    order: 1;
  }
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.project-meta__tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-card__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.project-card__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* Specific clean architectural statistics layout inside showcase */
.project-specs {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-bottom: 30px;
}

.project-spec {
  display: flex;
  flex-direction: column;
}

.project-spec__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.project-spec__val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

/* -------------------------------------------------------------
     6. ESTRUCTURA DE LA EMPRESA (Holding Organigram) - Tarjetas unificadas a Carbono Mate
     ------------------------------------------------------------- */
.holding {
  background-color: var(--color-light-grey);
  position: relative;
}

.holding__organigram {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.organigram-main {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.organigram-main__node {
  background: var(--color-primary); /* Carbono Mate */
  color: var(--color-white);
  padding: 30px 60px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(15, 16, 19, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.organigram-main__node h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.organigram-main__node p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.organigram-branches {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
  position: relative;
  z-index: 2;
}

.organigram-branch {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .organigram-branch {
    grid-column: span 4;
  }
}

.organigram-branch__node {
  background: var(--color-primary); /* Carbono Mate */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 4px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  color: var(--color-white);
}

.organigram-branch__node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 0;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.organigram-branch__node:hover {
  transform: translateY(-8px);
  background: var(--color-secondary);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(15, 16, 19, 0.25);
}

.organigram-branch__node:hover::before {
  height: 6px;
}

.organigram-branch__icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.organigram-branch__node h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.organigram-branch__node p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.organigram-branch__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.organigram-branch__link:hover {
  gap: 10px;
}

/* SVG Connections Container - Only shown on wider displays */
.organigram-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: none;
}

@media (min-width: 768px) {
  .organigram-connections {
    display: block;
  }
}

/* -------------------------------------------------------------
     7. BANNER PARALLAX
     ------------------------------------------------------------- */
.parallax-banner {
  position: relative;
  min-height: 600px;
  padding: 160px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background-color: var(--color-primary);
}

.parallax-banner__bg {
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 160%;
  background-image:
    linear-gradient(rgba(15, 16, 19, 0.75), rgba(15, 16, 19, 0.85)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=1920");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  will-change: transform;
}

.parallax-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.parallax-banner__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.parallax-banner__title span {
  color: var(--color-accent);
}

.parallax-banner__desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-family: var(--font-secondary);
}

/* -------------------------------------------------------------
     8. CONTACTO
     ------------------------------------------------------------- */
.contact {
  background-color: var(--color-white);
}

.contact__info-side {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .contact__info-side {
    grid-column: span 5;
  }
}

.contact-details {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail__icon-wrapper {
  width: 44px;
  height: 44px;
  background-color: var(--color-light-grey);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail__info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-detail__info p {
  font-size: 0.9rem;
  color: #616e7f;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--color-light-grey);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1rem;
}

.social-link:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

.contact__form-side {
  grid-column: span 12;
  background: var(--color-light-grey);
  padding: 40px;
  border-radius: 4px;
  border: 1px solid var(--color-medium-grey);
}

@media (min-width: 1024px) {
  .contact__form-side {
    grid-column: span 7;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group--full-width {
  grid-column: span 2;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
}

.form__input,
.form__textarea {
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-medium-grey);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.15);
}

.form__checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.form__checkbox {
  margin-top: 4px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

.form__checkbox-label {
  font-size: 0.85rem;
  color: #616e7f;
  cursor: pointer;
  user-select: none;
}

.form__checkbox-label a {
  color: var(--color-accent);
  font-weight: 600;
}

/* Form Feedback Toasts */
.form-feedback {
  padding: 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback--success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  display: block;
}

.form-feedback--error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  display: block;
}

/* -------------------------------------------------------------
     9. FOOTER
     ------------------------------------------------------------- */
.footer {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
  margin-bottom: 60px;
}

.footer-brand {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 4;
  }
}

.footer-brand__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
  max-width: 320px;
}

.footer-nav {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gutter);
}

@media (min-width: 768px) {
  .footer-nav {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    grid-column: span 8;
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col__title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: var(--color-white);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col__link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col__link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-top {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-top:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}