﻿:root {
  --navy: #06345a;
  --navy2: #082b49;
  --gold: #c5a15b;
  --cream: #f7f3ea;
  --white: #fff;
  --text: #24384b;
  --muted: #667789;
  --line: #e5e1d8;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

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

button {
  font-family: inherit;
}

.topbar {
  height: 82px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 48px;
  height: 58px;
  background-color: transparent;
  background-image: url("/logo-cea.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-mark svg {
  display: none !important;
}

.logo strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: #102d48;
  line-height: 1.15;
}

.logo span {
  display: block;
  font-size: 11px;
  color: #526273;
  margin-top: 2px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.topbar nav > a {
  display: none !important;
}

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

.portal {
  background: var(--navy);
  color: #fff !important;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: 13px;
  margin-left: 8px;
  border: 0;
  cursor: pointer;
  display: inline-block;
}

.portal:hover {
  color: #fff !important;
  filter: brightness(1.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-panel {
  display: none;
  position: fixed;
  top: 82px;
  right: 0;
  left: auto;
  bottom: 0;
  width: min(300px, 86vw);
  z-index: 30;
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.12);
  padding: 12px 0 24px;
  flex-direction: column;
  overflow-y: auto;
}

.menu-panel.is-open {
  display: flex;
}

.menu-panel[hidden] {
  display: none !important;
}

.menu-panel a {
  display: block !important;
  padding: 14px 22px;
  font-size: 15px;
  color: #19344c;
  border-bottom: 1px solid var(--line);
}

.menu-panel a:last-child {
  border-bottom: 0;
}

.menu-panel a:hover {
  color: var(--gold);
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 70px 7%;
  color: #fff;
  overflow: hidden;
  background: #021c30;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-media video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(2, 28, 48, 0.88),
    rgba(2, 28, 48, 0.35)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  font-size: 55px;
  line-height: 1.02;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero .lead {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 25px;
  line-height: 1.3;
  margin: 20px 0 12px;
}

.hero p {
  font-size: 16px;
  max-width: 530px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 27px;
}

.btn {
  padding: 13px 23px;
  border-radius: 3px;
  border: 1px solid var(--gold);
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
}

.btn.gold {
  background: #d0ad69;
  color: #172d42;
}

.btn.outline {
  border-color: #fff;
  color: #fff;
}

.motto {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px;
  font: italic 20px Georgia, serif;
}

.section {
  padding: 58px 5%;
}

.section-title {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 35px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--navy);
}

.section-title p {
  color: var(--muted);
  margin-top: 7px;
}

.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: #fff;
  border: 1px solid #e5e0d5;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-img {
  height: 150px;
  background-size: cover;
  background-position: center;
}

.img1 {
  background-image: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=800&q=80");
}

.img2 {
  background-image: url("https://images.unsplash.com/photo-1519491050282-cf00c82424b4?auto=format&fit=crop&w=800&q=80");
}

.img3 {
  background-image: url("https://images.unsplash.com/photo-1544967082-d9d25d867d66?auto=format&fit=crop&w=800&q=80");
}

.card-body {
  text-align: center;
  padding: 25px 22px 28px;
}

.icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -48px auto 13px;
  position: relative;
  color: var(--navy);
  font-size: 22px;
}

.card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 7px;
}

.card p {
  font-size: 13px;
  color: var(--muted);
  min-height: 62px;
}

.card .small {
  font-size: 12px;
  color: #64788b;
  margin-bottom: 14px;
}

.card-btn {
  display: inline-block;
  background: var(--gold);
  padding: 9px 25px;
  color: #1d3041;
  font-size: 12px;
  font-weight: bold;
}

.path {
  background:
    linear-gradient(rgba(5, 35, 57, 0.75), rgba(5, 35, 57, 0.75)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80")
      center / cover;
  color: #fff;
}

.path .section-title h2,
.path .section-title p {
  color: #fff;
}

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: auto;
}

.path-card {
  background: #fff;
  color: var(--text);
  padding: 27px;
  border-radius: 3px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.path-icon {
  font-size: 30px;
  color: var(--navy);
}

.path-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 7px;
}

.path-card p {
  font-size: 12px;
  color: var(--muted);
}

.quick {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick a {
  text-align: center;
  padding: 21px 8px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  color: var(--navy);
}

.quick a:last-child {
  border-right: 0;
}

.quick a:hover {
  background: var(--cream);
}

.quick span,
.quick .qi {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  font-size: 0;
  color: transparent;
  line-height: 0;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}

.quick a:nth-child(1) span,
.quick a:nth-child(1) .qi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306345a' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

.quick a:nth-child(2) span,
.quick a:nth-child(2) .qi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306345a' stroke-width='1.8'%3E%3Cpath d='M4 4h6v16H4zM14 4h6v16h-6z'/%3E%3C/svg%3E");
}

.quick a:nth-child(3) span,
.quick a:nth-child(3) .qi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306345a' stroke-width='1.8'%3E%3Cpath d='M6 3h9l5 5v13H6z'/%3E%3Cpath d='M15 3v5h5M9 13h8M9 17h8'/%3E%3C/svg%3E");
}

.quick a:nth-child(4) span,
.quick a:nth-child(4) .qi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306345a' stroke-width='1.8'%3E%3Cpath d='M4 5h16v14H4z'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E");
}

.quick a:nth-child(5) span,
.quick a:nth-child(5) .qi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306345a' stroke-width='1.8'%3E%3Cpath d='M3 6h18v12H3z'/%3E%3Cpath d='M3 7l9 7 9-7'/%3E%3C/svg%3E");
}

/* Secciones retiradas: ocultar si queda HTML viejo en cache */
section#profesorado,
section#noticias {
  display: none !important;
}

footer {
  background: var(--navy2);
  color: #fff;
  padding: 27px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo strong {
  color: #fff;
}

footer .logo span {
  color: #d6dde5;
}

footer small {
  color: #c4cdd5;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.login {
  background: #fff;
  width: 410px;
  max-width: 100%;
  padding: 38px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.login h2 {
  text-align: center;
  color: var(--navy);
  font-size: 28px;
}

.login > p {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 25px;
}

.input {
  margin-bottom: 13px;
}

.input label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.input input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
}

.login button[type="button"]:not(.close),
.login .login-submit {
  width: 100%;
  padding: 12px;
  background: var(--navy);
  color: #fff;
  border: 0;
  cursor: pointer;
  margin-top: 5px;
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
  color: #777;
  line-height: 1;
}

.dashboard {
  background: #f4f6f8;
  min-height: 100vh;
}

.dash-head {
  height: 70px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  border-bottom: 1px solid #ddd;
}

.dash-body {
  display: flex;
}

.sidebar {
  width: 220px;
  background: var(--navy);
  color: #fff;
  min-height: calc(100vh - 70px);
  padding: 25px 0;
}

.sidebar h3 {
  padding: 0 22px 22px;
  font-size: 18px;
}

.sidebar a,
.sidebar button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 22px;
  font-size: 13px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.sidebar a:hover,
.sidebar button:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.13);
  border-left-color: var(--gold);
}

.dash-main {
  flex: 1;
  padding: 35px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 25px 0;
}

.course {
  background: #fff;
  border: 1px solid #e1e5e8;
  padding: 0 0 17px;
}

.course-image {
  height: 100px;
  background-size: cover;
  background-position: center;
}

.course h3 {
  font-size: 17px;
  color: var(--navy);
  padding: 13px 15px 0;
}

.course p {
  font-size: 11px;
  color: var(--muted);
  padding: 3px 15px;
}

.progress {
  height: 6px;
  background: #e4e8eb;
  margin: 9px 15px;
}

.progress i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.course a {
  font-size: 11px;
  color: var(--navy);
  padding: 0 15px;
}

.activity {
  background: #fff;
  padding: 20px;
  border: 1px solid #e1e5e8;
}

.activity h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 12px;
}

.activity-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding: 11px 0;
  font-size: 12px;
  gap: 12px;
}

@media (max-width: 1000px) {
  .programs,
  .paths {
    grid-template-columns: 1fr;
  }

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

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

  .hero h1 {
    font-size: 43px;
  }
}

@media (max-width: 650px) {
  .topbar {
    height: 70px;
    padding: 0 18px;
  }

  .menu-panel {
    top: 70px;
  }

  .logo strong {
    font-size: 14px;
  }

  .logo span {
    font-size: 9px;
  }

  .logo-mark {
    width: 38px;
    height: 45px;
    font-size: 18px;
  }

  .portal {
    font-size: 11px;
    padding: 9px 11px;
    margin-left: 0;
  }

  .hero {
    padding: 55px 25px;
    min-height: 520px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .lead {
    font-size: 20px;
  }

  .section {
    padding: 45px 18px;
  }

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

  footer {
    display: block;
    text-align: center;
  }

  footer .logo {
    justify-content: center;
    margin-bottom: 15px;
  }

  .sidebar {
    display: none;
  }

  .dash-main {
    padding: 20px;
  }
}

/* —— Página en construcción (home) —— */
.build {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(165deg, #04253f 0%, #06345a 42%, #0a3d66 72%, #082b49 100%);
  color: #f7f3ea;
}

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

.build-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.04);
  animation: buildVideoDrift 28s ease-in-out infinite alternate;
}

.build-video-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 37, 63, 0.72) 0%, rgba(6, 52, 90, 0.55) 45%, rgba(8, 43, 73, 0.82) 100%),
    linear-gradient(90deg, rgba(4, 37, 63, 0.45), transparent 40%, rgba(4, 37, 63, 0.35));
}

@keyframes buildVideoDrift {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1.2%, 0.8%);
  }
}

.build-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: buildFloat 12s ease-in-out infinite;
}

.build-glow-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: #c5a15b;
  animation-delay: 0s;
}

.build-glow-b {
  width: 360px;
  height: 360px;
  bottom: -100px;
  left: -60px;
  background: #1a5a8a;
  animation-delay: -4s;
}

.build-glow-c {
  width: 280px;
  height: 280px;
  top: 42%;
  left: 55%;
  background: rgba(197, 161, 91, 0.55);
  opacity: 0.2;
  animation-delay: -7s;
  animation-duration: 16s;
}

.build-grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(247, 243, 234, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 234, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  animation: buildGridDrift 40s linear infinite;
}

.build-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(197, 161, 91, 0.07),
    transparent
  );
  animation: buildScan 7s ease-in-out infinite;
}

.build-orbs span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c5a15b;
  opacity: 0.55;
  animation: buildOrb 9s ease-in-out infinite;
}

.build-orbs span:nth-child(1) {
  top: 18%;
  left: 12%;
  animation-delay: 0s;
}
.build-orbs span:nth-child(2) {
  top: 28%;
  right: 18%;
  animation-delay: -1.5s;
  width: 6px;
  height: 6px;
}
.build-orbs span:nth-child(3) {
  top: 62%;
  left: 22%;
  animation-delay: -3s;
}
.build-orbs span:nth-child(4) {
  top: 72%;
  right: 28%;
  animation-delay: -4.2s;
}
.build-orbs span:nth-child(5) {
  top: 44%;
  left: 8%;
  animation-delay: -5.5s;
  width: 3px;
  height: 3px;
}
.build-orbs span:nth-child(6) {
  top: 12%;
  left: 48%;
  animation-delay: -2.2s;
}

@keyframes buildFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-18px, 14px);
  }
}

@keyframes buildGridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 48px 48px;
  }
}

@keyframes buildScan {
  0% {
    top: -10%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes buildOrb {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-18px);
    opacity: 0.85;
  }
}

.build-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  flex-wrap: wrap;
}

.build-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.build-logo-pulse {
  animation: buildLogoSoft 3.5s ease-in-out infinite;
}

@keyframes buildLogoSoft {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(197, 161, 91, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(197, 161, 91, 0.45));
  }
}

.build-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #fff;
}

.build-brand span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(247, 243, 234, 0.7);
}

.build-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(197, 161, 91, 0.55);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c5a15b;
  background: rgba(6, 52, 90, 0.35);
  animation: buildPulse 2.8s ease-in-out infinite;
}

.build-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5a15b;
  box-shadow: 0 0 0 0 rgba(197, 161, 91, 0.6);
  animation: buildDot 1.6s ease-out infinite;
}

@keyframes buildDot {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 161, 91, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(197, 161, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 161, 91, 0);
  }
}

@keyframes buildPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(197, 161, 91, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(197, 161, 91, 0);
  }
}

.build-main {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 28px 64px;
}

.build-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c5a15b;
  animation: buildFadeUp 0.8s ease both;
}

.build-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  animation: buildFadeUp 0.9s ease 0.08s both;
}

.build-title em {
  font-style: italic;
  color: #c5a15b;
}

.build-lead {
  margin: 0 0 22px;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(247, 243, 234, 0.88);
  animation: buildFadeUp 1s ease 0.16s both;
}

.build-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin: 0 0 28px;
  padding: 10px 14px;
  border: 1px solid rgba(197, 161, 91, 0.25);
  background: rgba(0, 0, 0, 0.18);
  animation: buildFadeUp 1s ease 0.2s both;
}

.build-status-pulse {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5a15b;
  animation: buildDot 1.4s ease-out infinite;
}

.build-status p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.88);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.build-status p.is-on {
  opacity: 1;
  transform: translateY(0);
}

.build-status p.is-off {
  opacity: 0;
  transform: translateY(6px);
}

.build-tracks {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
  animation: buildFadeUp 1s ease 0.26s both;
}

.build-track {
  padding: 14px 16px;
  border: 1px solid rgba(247, 243, 234, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.build-track-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.build-track h2 {
  margin: 0 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
}

.build-track p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(247, 243, 234, 0.55);
}

.build-track-pct {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: #c5a15b;
}

.build-track-rail {
  height: 6px;
  border-radius: 99px;
  background: rgba(247, 243, 234, 0.1);
  overflow: hidden;
}

.build-track-fill {
  position: relative;
  height: 100%;
  width: var(--pct, 40%);
  border-radius: 99px;
  background: linear-gradient(90deg, #8a6d35, #c5a15b 45%, #e8d09a);
  animation: buildFillIn 1.4s ease both;
}

.build-track:nth-child(1) .build-track-fill {
  animation-delay: 0.15s;
}
.build-track:nth-child(2) .build-track-fill {
  animation-delay: 0.28s;
}
.build-track:nth-child(3) .build-track-fill {
  animation-delay: 0.4s;
}
.build-track:nth-child(4) .build-track-fill {
  animation-delay: 0.52s;
}

.build-track-fill i {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: translateX(-100%);
  animation: buildShimmer 2.2s ease-in-out infinite;
}

@keyframes buildFillIn {
  from {
    width: 0;
  }
  to {
    width: var(--pct, 40%);
  }
}

@keyframes buildShimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.build-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.build-pillar {
  padding: 20px 18px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  background: rgba(255, 255, 255, 0.04);
  animation: buildFadeUp 0.9s ease both;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.build-pillar:hover {
  border-color: rgba(197, 161, 91, 0.45);
  background: rgba(197, 161, 91, 0.07);
  transform: translateY(-2px);
}

.build-pillar:nth-child(1) {
  animation-delay: 0.3s;
}
.build-pillar:nth-child(2) {
  animation-delay: 0.38s;
}
.build-pillar:nth-child(3) {
  animation-delay: 0.46s;
}
.build-pillar:nth-child(4) {
  animation-delay: 0.54s;
}

.build-num {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #c5a15b;
}

.build-pillar h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
}

.build-pillar p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.72);
}

.build-mini-bars {
  display: grid;
  gap: 5px;
}

.build-mini-bars b {
  display: block;
  height: 3px;
  width: var(--w, 50%);
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(197, 161, 91, 0.35), #c5a15b);
  transform-origin: left center;
  animation: buildMini 2.8s ease-in-out infinite;
}

.build-mini-bars b:nth-child(2) {
  animation-delay: 0.35s;
}
.build-mini-bars b:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes buildMini {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.92);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.build-quote {
  margin: 0 0 32px;
  padding: 20px 22px;
  border-left: 3px solid #c5a15b;
  background: rgba(197, 161, 91, 0.08);
  animation: buildFadeUp 1s ease 0.58s both;
}

.build-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: #f7f3ea;
}

.build-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  animation: buildFadeUp 1s ease 0.62s both;
}

.build-cta p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.75);
}

.build-cta strong {
  color: #e8d09a;
  font-weight: 600;
}

.build-foot {
  position: relative;
  z-index: 1;
  padding: 18px 28px 28px;
  text-align: center;
}

.build-foot-bar {
  width: min(220px, 50%);
  height: 2px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: rgba(247, 243, 234, 0.12);
  overflow: hidden;
}

.build-foot-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #c5a15b, transparent);
  animation: buildLoad 2.6s linear infinite;
}

@keyframes buildLoad {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(280%);
  }
}

.build-foot small {
  font-size: 12px;
  color: rgba(247, 243, 234, 0.45);
}

@keyframes buildFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .build-top {
    padding: 18px;
  }

  .build-main {
    padding: 20px 18px 48px;
  }

  .build-pillars {
    grid-template-columns: 1fr;
  }

  .build-badge {
    width: 100%;
    justify-content: center;
  }
}
