/* ===== AIron TechFest 2026 — ESPOCH Institutional Design System ===== */
/* Aligned with Manual de Identidad Corporativa ESPOCH 2021            */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Barlow+Condensed:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ===== CSS Variables — ESPOCH Official Palette ===== */
:root {
  /* ESPOCH Official Colors */
  --red-espoch: #B41A12;        /* Pantone P 52-16 U — Rojo institucional primario */
  --red-espoch-dark: #8A1009;   /* Rojo oscuro para hover */
  --red-espoch-light: #d42419;  /* Rojo más vivo, variante clara */
  --green-espoch: #2E7D32;      /* Pantone P 149-7 U — Verde institucional */
  --green-espoch-dark: #1B5E20;
  --gold-espoch: #B09A61;       /* Pantone P 12-11 U — Dorado/beige terciario */

  /* Institutional neutrals */
  --white: #ffffff;
  --gray-50: #F8F9FA;
  --gray-100: #F2F3F4;
  --gray-200: #E5E6E8;
  --gray-300: #C8CACF;
  --gray-400: #9EA1A8;
  --gray-600: #5A5D66;
  --gray-800: #2C2F36;
  --gray-900: #1A1C21;

  /* Semantic */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F4F5F6;
  --bg-dark: #1A1C21;
  --text-primary: #1A1C21;
  --text-secondary: #4A4D56;
  --text-muted: #7A7D88;
  --text-white: #FFFFFF;

  /* Typography — ESPOCH Manual */
  --font-display: 'Montserrat', sans-serif;     /* Adineu PRO substitute — taglines */
  --font-heading: 'Barlow Condensed', sans-serif; /* Helvetica Neue Condensed substitute */
  --font-body: 'Roboto', sans-serif;             /* Official body font */

  /* Spacing & Shape */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 100px;

  /* Shadows — institutional, subtle */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-red: 0 4px 20px rgba(180,26,18,0.20);

  /* Borders */
  --border-light: 1px solid var(--gray-200);
  --border-red: 1px solid rgba(180,26,18,0.25);
  --border-medium: 1px solid var(--gray-300);

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;

  /* Banderín — ESPOCH design element */
  --banderin-width: 5px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--red-espoch); border-radius: 3px; }
::selection { background: rgba(180,26,18,0.15); color: var(--text-primary); }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-espoch);
  margin-bottom: 10px;
  display: block;
  font-weight: 700;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-title span { color: var(--red-espoch); }
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--red-espoch);
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--red-espoch);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 900;
  color: var(--white);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo-text span { color: var(--red-espoch); }
.navbar-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-links a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-secondary); text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.navbar-links a:hover { color: var(--red-espoch); background: rgba(180,26,18,0.06); }
.navbar-cta {
  background: var(--red-espoch) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-red) !important;
}
.navbar-cta:hover { background: var(--red-espoch-dark) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 100px 24px 60px;
  background: var(--bg-dark);
}
/* Dark hero keeps ESPOCH brand colors — institutional yet impactful */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #1A1C21 0%, #2C1010 60%, #1A1A1A 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 6px;
  background: var(--red-espoch);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: 
    linear-gradient(180deg, rgba(180,26,18,0.08) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(180,26,18,0.025) 0px, rgba(180,26,18,0.025) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(180,26,18,0.025) 0px, rgba(180,26,18,0.025) 1px, transparent 1px, transparent 80px);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(180,26,18,0.15);
  border: 1px solid rgba(180,26,18,0.4);
  border-radius: var(--radius-pill);
  padding: 7px 18px; margin-bottom: 28px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #E8706A;
  animation: fadeInUp 0.7s ease forwards;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--red-espoch-light);
  border-radius: 50%; animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-eyebrow {
  font-family: var(--font-body); font-size: 0.78rem;
  color: rgba(255,255,255,0.5); letter-spacing: 0.3em;
  text-transform: uppercase; margin-bottom: 20px;
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 6px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-title .line1 { color: var(--white); display: block; }
.hero-title .brand { color: var(--red-espoch); display: block; }
.hero-year {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 400; color: rgba(255,255,255,0.45);
  letter-spacing: 0.4em; margin-bottom: 28px;
  animation: fadeInUp 0.7s 0.3s ease both;
}
.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75); line-height: 1.75;
  max-width: 600px; margin: 0 auto 40px;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin-bottom: 40px; flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.5s ease both;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: rgba(255,255,255,0.7);
}
.hero-meta-icon { font-size: 1.1rem; }
.hero-meta-item strong { color: var(--white); font-weight: 600; }
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; animation: fadeInUp 0.7s 0.6s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-espoch); color: var(--white);
  text-decoration: none; padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.05em; box-shadow: var(--shadow-red);
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-espoch-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(180,26,18,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); color: var(--white); }
.hero-categories {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 52px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap; animation: fadeInUp 0.7s 0.7s ease both;
}
.hero-cat-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hero-cat-icon { font-size: 1.3rem; }
.hero-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.15); }
@keyframes fadeInUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }

/* ===== COUNTDOWN ===== */
.countdown-section { padding: 0 0 64px; background: var(--white); }
.countdown-wrap {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative; overflow: hidden;
  border-left: 6px solid var(--red-espoch);
  box-shadow: var(--shadow-lg);
}
.countdown-wrap::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 3px; background: var(--green-espoch);
}
.countdown-label {
  font-family: var(--font-body); font-size: 0.72rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
.countdown-title {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  margin-bottom: 36px; color: var(--white); text-transform: uppercase;
}
.countdown-grid { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.countdown-unit { text-align: center; }
.countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; color: var(--red-espoch);
  display: block; line-height: 1; min-width: 90px;
}
.countdown-tag {
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 8px;
}
.countdown-sep {
  font-family: var(--font-heading); font-size: 3rem;
  color: rgba(255,255,255,0.2); line-height: 1;
  align-self: flex-start; padding-top: 6px;
}

/* ===== ABOUT ===== */
.about { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-content .overline {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--red-espoch); margin-bottom: 14px; display: block;
  font-weight: 700;
}
.about-content h2 {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2; color: var(--text-primary);
  margin-bottom: 20px; text-transform: uppercase;
}
.about-content h2 em { color: var(--red-espoch); font-style: normal; }
.about-content p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 14px;
}
.about-content .philosophy {
  background: var(--white);
  border-left: 4px solid var(--red-espoch);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px; margin: 24px 0;
  font-style: italic; color: var(--text-secondary);
  font-size: 0.93rem; box-shadow: var(--shadow-sm);
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-md); padding: 28px 22px;
  text-align: center; transition: var(--transition);
  border-top: 3px solid var(--red-espoch);
  box-shadow: var(--shadow-sm);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-num {
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800;
  color: var(--red-espoch); display: block; margin-bottom: 6px;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.02em; }
.objectives-list { margin-top: 20px; list-style: none; }
.objectives-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; color: var(--text-secondary); font-size: 0.92rem;
  border-bottom: var(--border-light);
}
.objectives-list li:last-child { border-bottom: none; }
.objectives-list li::before {
  content: ''; width: 3px; height: 3px; min-width: 3px;
  background: var(--red-espoch); border-radius: 50%; margin-top: 9px;
}

/* ===== CATEGORIES ===== */
.categories { background: var(--white); }
.category-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.category-card {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-lg); padding: 36px 28px;
  position: relative; overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.category-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red-espoch);
}
.category-card:nth-child(2)::before { background: var(--green-espoch); }
.category-card:nth-child(3)::before { background: var(--gold-espoch); }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-300); }
.category-num {
  font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 14px; display: block;
  font-weight: 700;
}
.category-icon { font-size: 2.6rem; margin-bottom: 16px; display: block; }
.category-title {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 10px; line-height: 1.3;
  text-transform: uppercase;
}
.category-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.category-badge {
  display: inline-block;
  background: rgba(180,26,18,0.08); border: var(--border-red);
  border-radius: var(--radius-pill); padding: 3px 12px;
  font-size: 0.7rem; font-weight: 700; color: var(--red-espoch);
  letter-spacing: 0.05em;
}
.category-card:nth-child(2) .category-badge {
  background: rgba(46,125,50,0.08);
  border-color: rgba(46,125,50,0.25);
  color: var(--green-espoch);
}
.category-card:nth-child(3) .category-badge {
  background: rgba(176,154,97,0.1);
  border-color: rgba(176,154,97,0.3);
  color: #8D7B40;
}
.category-problems { margin-top: 20px; }
.category-problems h4 {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px; font-weight: 700;
}
.problem-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: var(--border-light);
  font-size: 0.84rem; color: var(--text-secondary);
}
.problem-item:last-child { border-bottom: none; }
.problem-letter {
  width: 20px; height: 20px; min-width: 20px;
  background: var(--red-espoch); border-radius: var(--radius-sm);
  font-size: 0.65rem; font-weight: 700; color: var(--white);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.category-card:nth-child(2) .problem-letter { background: var(--green-espoch); }
.category-card:nth-child(3) .problem-letter { background: var(--gold-espoch); }
.rubric-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 0.8rem;
  border-bottom: var(--border-light); color: var(--text-secondary);
}
.rubric-row:last-child { border-bottom: none; }
.rubric-weight {
  font-family: var(--font-body); font-weight: 700;
  color: var(--red-espoch); font-size: 0.78rem;
}
.category-card:nth-child(2) .rubric-weight { color: var(--green-espoch); }
.category-card:nth-child(3) .rubric-weight { color: #8D7B40; }

/* ===== REQUIREMENTS ===== */
.requirements { background: var(--bg-secondary); }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.req-card {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.req-card:hover { box-shadow: var(--shadow-md); }
.req-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.req-card-icon {
  width: 44px; height: 44px;
  background: var(--red-espoch); border-radius: var(--radius-sm);
  font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.req-card-title {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--text-primary); text-transform: uppercase;
}
.req-list { list-style: none; }
.req-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 0.88rem; color: var(--text-secondary);
  border-bottom: var(--border-light);
}
.req-list li:last-child { border-bottom: none; }
.req-bullet {
  width: 5px; height: 5px; min-width: 5px;
  background: var(--red-espoch); border-radius: 50%; margin-top: 8px;
}
.req-note {
  margin-top: 20px; padding: 14px 18px;
  background: #FFF8E1; border: 1px solid #F0C040;
  border-radius: var(--radius-md);
  font-size: 0.82rem; color: #7A5F00; display: flex; gap: 8px; align-items: flex-start;
}
.inline-note-steps {
  grid-column: 1/-1;
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.inline-note-steps h3 {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase;
}
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step-item {
  background: var(--bg-secondary); border: var(--border-light);
  border-radius: var(--radius-md); padding: 20px;
  border-top: 3px solid var(--red-espoch);
  transition: var(--transition);
}
.step-item:hover { box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800;
  color: rgba(180,26,18,0.15); line-height: 1; margin-bottom: 8px;
}
.step-text { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }
.important-dates {
  grid-column: 1/-1;
  background: var(--red-espoch); border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.date-item { text-align: center; }
.date-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 3px; }
.date-val { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--white); }
.date-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.3); }

/* ===== SCHEDULE ===== */
.schedule { background: var(--white); }
.schedule-versions { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; }
.version-tab {
  padding: 9px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; border: var(--border-medium);
  background: transparent; color: var(--text-secondary);
  transition: var(--transition);
}
.version-tab.active { background: var(--red-espoch); color: var(--white); border-color: var(--red-espoch); }
.version-tab:hover:not(.active) { border-color: var(--red-espoch); color: var(--red-espoch); }
.schedule-version { display: none; }
.schedule-version.active { display: block; }
.schedule-timeline { max-width: 760px; margin: 0 auto; }
.timeline-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 16px 0; position: relative;
}
.timeline-item:not(:last-child)::after {
  content: ''; position: absolute;
  left: 124px; top: 48px;
  width: 1px; height: calc(100% - 16px);
  background: var(--gray-200);
}
.timeline-time {
  font-family: var(--font-body); font-size: 0.75rem;
  color: var(--text-muted); text-align: right;
  min-width: 104px; padding-top: 10px; font-weight: 500;
}
.timeline-dot {
  width: 32px; height: 32px; min-width: 32px;
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.85rem;
  position: relative; z-index: 1; transition: var(--transition);
}
.timeline-item.highlight .timeline-dot {
  background: var(--red-espoch); border-color: var(--red-espoch); color: var(--white);
  box-shadow: var(--shadow-red);
}
.timeline-content { flex: 1; padding-top: 6px; }
.timeline-title { font-weight: 700; color: var(--text-primary); margin-bottom: 3px; font-size: 0.93rem; }
.timeline-desc { font-size: 0.8rem; color: var(--text-muted); }
.timeline-duration {
  font-family: var(--font-body); font-size: 0.68rem; color: var(--red-espoch);
  background: rgba(180,26,18,0.08); border: var(--border-red);
  padding: 2px 8px; border-radius: var(--radius-sm);
  margin-top: 5px; display: inline-block; font-weight: 700;
}

/* ===== RULES ===== */
.rules { background: var(--bg-secondary); }
.rules-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.rule-card {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-md); padding: 26px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.rule-card:hover { box-shadow: var(--shadow-md); }
.rule-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rule-icon { font-size: 1.3rem; }
.rule-title {
  font-family: var(--font-heading); font-weight: 700;
  color: var(--text-primary); font-size: 0.95rem; text-transform: uppercase;
}
.rule-list { list-style: none; }
.rule-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 7px 0; font-size: 0.83rem; color: var(--text-secondary);
  border-bottom: var(--border-light);
}
.rule-list li:last-child { border-bottom: none; }
.rule-list li::before { content: '—'; color: var(--red-espoch); flex-shrink: 0; }
.disqualification-alert {
  grid-column: 1/-1;
  background: var(--white); border: 1px solid rgba(180,26,18,0.2);
  border-left: 4px solid var(--red-espoch);
  border-radius: var(--radius-md); padding: 24px 28px;
}
.disqualification-alert h3 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--red-espoch); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; text-transform: uppercase;
}
.disq-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.disq-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(180,26,18,0.06); border: var(--border-red);
  border-radius: var(--radius-sm); font-size: 0.8rem; color: var(--text-secondary);
}
.disq-item::before { content: '✕'; color: var(--red-espoch); font-size: 0.65rem; font-weight: 700; }

/* ===== PRIZES ===== */
.prizes { background: var(--white); }
.prizes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.prize-category {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red-espoch);
}
.prize-category:nth-child(2) { border-top-color: var(--green-espoch); }
.prize-category:nth-child(3) { border-top-color: var(--gold-espoch); }
.prize-category:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prize-category-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.prize-category-name {
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 24px; line-height: 1.3;
  text-transform: uppercase;
}
.prize-podium { display: flex; flex-direction: column; gap: 10px; }
.podium-place {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: var(--radius-sm); text-align: left;
}
.podium-place.gold { background: #FFF8E1; border: 1px solid #F0C040; }
.podium-place.silver { background: #F5F5F5; border: 1px solid #BDBDBD; }
.podium-place.bronze { background: #FFF3E0; border: 1px solid #FFAB40; }
.place-medal { font-size: 1.3rem; }
.place-info { flex: 1; }
.place-rank { font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.podium-place.gold .place-rank { color: #B7900C; }
.podium-place.silver .place-rank { color: #6B6B6B; }
.podium-place.bronze .place-rank { color: #A0522D; }
.place-reward { font-size: 0.73rem; color: var(--text-muted); margin-top: 1px; }
.special-awards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.special-award {
  background: var(--bg-secondary); border: var(--border-light);
  border-radius: var(--radius-md); padding: 18px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.special-award-icon { font-size: 1.5rem; }
.special-award-title { font-family: var(--font-heading); font-weight: 700; color: var(--text-primary); font-size: 0.85rem; text-transform: uppercase; }
.special-award-desc { color: var(--text-muted); font-size: 0.78rem; }
.prize-note {
  margin-top: 28px; padding: 18px 22px;
  background: var(--bg-secondary); border: var(--border-light);
  border-left: 4px solid var(--green-espoch);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.84rem; color: var(--text-secondary); text-align: left; line-height: 1.7;
}

/* ===== EVALUATION ===== */
.evaluation { background: var(--bg-secondary); }
.eval-scale { display: flex; gap: 12px; margin: 0 auto 32px; max-width: 760px; flex-wrap: wrap; justify-content: center; }
.scale-item {
  flex: 1; min-width: 140px; padding: 16px 18px;
  border-radius: var(--radius-md); text-align: center;
  border: var(--border-light); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.scale-level { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 4px; text-transform: uppercase; }
.scale-range { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; }
.scale-desc { font-size: 0.74rem; color: var(--text-muted); margin-top: 4px; }
.scale-item.excellent .scale-range { color: #2E7D32; }
.scale-item.good .scale-range { color: #1565C0; }
.scale-item.regular .scale-range { color: #E65100; }
.scale-item.insufficient .scale-range { color: var(--red-espoch); }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-md); margin-bottom: 10px;
  overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-item.open { border-color: rgba(180,26,18,0.3); box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 18px 22px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 600;
  color: var(--text-primary); text-align: left; transition: var(--transition);
}
.faq-question:hover { color: var(--red-espoch); }
.faq-item.open .faq-question { color: var(--red-espoch); }
.faq-icon {
  width: 26px; height: 26px; min-width: 26px;
  background: var(--bg-secondary); border: var(--border-medium);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition); color: var(--text-muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--red-espoch); border-color: var(--red-espoch); color: var(--white);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8;
  border-top: var(--border-light);
}
.faq-answer-inner ul { padding-left: 14px; margin-top: 8px; list-style: none; }
.faq-answer-inner ul li { padding: 3px 0 3px 14px; position: relative; }
.faq-answer-inner ul li::before { content: '›'; color: var(--red-espoch); position: absolute; left: 0; font-weight: 700; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 14px; text-transform: uppercase;
}
.contact-info p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-md); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-item:hover { border-color: var(--gray-300); box-shadow: var(--shadow-md); }
.contact-item-icon {
  width: 40px; height: 40px; background: var(--red-espoch);
  border-radius: var(--radius-sm); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1px; font-weight: 700; }
.contact-item-val { font-weight: 600; color: var(--text-primary); font-size: 0.88rem; }
.contact-form {
  background: var(--white); border: var(--border-light);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md);
}
.contact-form h4 {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 20px; text-transform: uppercase;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--text-secondary); margin-bottom: 7px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg-secondary); border: var(--border-medium);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.88rem;
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red-espoch); background: var(--white);
  box-shadow: 0 0 0 3px rgba(180,26,18,0.1);
}
.form-group select option { background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--red-espoch); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-submit:hover { background: var(--red-espoch-dark); transform: translateY(-1px); box-shadow: var(--shadow-red); }

/* ===== SPONSORS ===== */
.sponsors { background: var(--white); padding: 52px 0; border-top: var(--border-light); border-bottom: var(--border-light); }
.sponsors-inner { text-align: center; }
.sponsors-label {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 28px; font-weight: 700;
}
.sponsors-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.sponsor-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.7; transition: var(--transition);
}
.sponsor-item:hover { opacity: 1; }
.sponsor-logo {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--bg-secondary); border: var(--border-light);
}
.sponsor-name { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); border-top: 4px solid var(--red-espoch); padding: 52px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .footer-logo {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800;
  color: var(--white); margin-bottom: 10px; text-transform: uppercase;
}
.footer-brand .footer-logo span { color: var(--red-espoch); }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 250px; }
.footer-col h5 {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none;
  transition: var(--transition-fast);
}
.footer-col ul a:hover { color: var(--red-espoch); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-espoch { font-size: 0.78rem; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 5px; }
.footer-espoch strong { color: rgba(255,255,255,0.55); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 40px; height: 40px;
  background: var(--red-espoch); border: none; border-radius: var(--radius-sm);
  color: var(--white); cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red); transition: var(--transition);
  opacity: 0; transform: translateY(20px);
  pointer-events: none; z-index: 999;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--red-espoch-dark); transform: translateY(-2px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: var(--white); border-bottom: 3px solid var(--red-espoch);
  padding: 16px 20px;
  display: none; flex-direction: column; gap: 3px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 14px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-secondary); text-decoration: none;
  border-radius: var(--radius-sm); transition: var(--transition-fast);
}
.mobile-menu a:hover { color: var(--red-espoch); background: rgba(180,26,18,0.06); }
.mobile-menu .navbar-cta { margin-top: 6px; text-align: center; display: block; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .category-cards { grid-template-columns: 1fr; }
  .prizes-grid { grid-template-columns: 1fr; }
  .special-awards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .req-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px; flex-direction: column; }
  .countdown-sep { display: none; }
  .disq-list { flex-direction: column; }
  .eval-scale { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero { padding: 90px 16px 48px; }
  .countdown-wrap { padding: 28px 18px; }
  .back-top { bottom: 16px; right: 16px; }
}
