/* 
 * Mingta Group Latam - Canton Fair Guide
 * Premium Landing Page Styles
 * Light Theme
 */

/* ==========================================================================
   1. FONT IMPORT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400;1,6..72,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   2. CSS VARIABLES
   ========================================================================== */
:root {
  --bg: #F3EDE4;
  --bg-2: #FFFBF6;
  --bg-white: #FFFFFF;
  --panel: rgba(255,255,255,0.55);
  --panel-solid: #FFFFFF;
  --text: #1A0E07;
  --text-2: #3D2E22;
  --text-muted: #5A4D42;
  --text-dim: #7A6B5E;
  --text-dim-2: #8E7E70;
  --orange: #E2652B;
  --orange-bright: #F58037;
  --orange-glow: rgba(226,101,43,0.15);
  --orange-soft-bg: rgba(226,101,43,0.06);
  --green-soft: rgba(34,139,34,0.08);
  --green-text: #2D7A2D;
  --red-soft: rgba(200,40,40,0.06);
  --red-text: #B83030;
  --line: rgba(26,14,7,0.10);
  --line-2: rgba(26,14,7,0.06);
  --ink: #1A0E07;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --pad: clamp(22px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 140px);
  --sec-sm: clamp(48px, 7vw, 96px);

  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 8px;

  --shadow: 0 2px 20px rgba(26,14,7,0.06);
  --shadow-lg: 0 8px 40px rgba(26,14,7,0.08);
  --shadow-card: 0 1px 3px rgba(26,14,7,0.04), 0 6px 24px rgba(26,14,7,0.06);
  --shadow-orange: 0 12px 36px -14px rgba(226,101,43,0.4);

  --transition: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  smooth-behavior: smooth;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--orange);
  color: #FFFFFF;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--sec);
  position: relative;
}

.section-sm {
  padding-block: var(--sec-sm);
}

.section-alt {
  background-color: var(--bg-2);
}

.section-accent {
  background: linear-gradient(165deg, rgba(226,101,43,0.04) 0%, rgba(226,101,43,0.02) 100%), var(--bg-2);
}

.divider {
  height: 1px;
  background-color: var(--line-2);
  max-width: var(--maxw);
  margin-inline: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

/* ==========================================================================
   5. TYPOGRAPHY
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 38px;
  height: 1.5px;
  background-color: var(--orange);
}

.eyebrow.center {
  justify-content: center;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.06;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.15;
}

h2 em, h3 em {
  font-style: italic;
  color: var(--orange);
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 720px;
}

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

.tm {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--orange);
  font-family: var(--sans);
  font-weight: 600;
}

.section-intro {
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--transition);
}

.nav.scrolled {
  background: rgba(20, 12, 8, 0.90);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 13px var(--pad);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-logo img {
  height: 42px;
  transition: transform 0.3s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF !important;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--orange-bright);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--orange-bright) !important;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--orange);
  color: white !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background-color: var(--orange-bright);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vh, 160px) 0 clamp(60px, 8vw, 100px) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-card {
  background: rgba(15, 8, 4, 0.65);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 920px;
  margin: 0 auto;
}

.hero-card .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  background: rgba(226, 101, 43, 0.15);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-card h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
  margin-inline: auto;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
}

.hero-card h1 em {
  color: var(--orange-bright);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-card .lead {
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  max-width: 720px;
  margin-inline: auto;
}

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 16px 30px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.4s var(--transition);
}

.btn-primary {
  background-color: var(--orange);
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(226,101,43,0.5);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background-color: var(--orange-soft-bg);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn-sm {
  padding: 12px 22px;
  font-size: 0.82rem;
}

/* ==========================================================================
   9. CARDS
   ========================================================================== */
.card {
  background-color: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.cols-1 {
  grid-template-columns: 1fr;
}

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

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-phase {
  border-top: 4px solid var(--orange);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.card-phase-number {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}

.card-phase-title {
  margin-bottom: 8px;
}

.card-phase-dates {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: block;
}

.card-phase-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--orange-soft-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-mini {
  padding: 18px;
  background: var(--bg-2);
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-2);
}

.card-mini-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.card-mini p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Chips / Badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-2);
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* ---------- Phase Meta ---------- */
.phase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   10. TABLE
   ========================================================================== */
.table-scroll {
  width: 100%;
}

.table-styled {
  width: 100%;
  border-collapse: collapse;
}

.table-styled th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 14px 18px;
  text-align: left;
  background-color: var(--bg);
  border-bottom: 2px solid var(--line);
}

.table-styled td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 0.95rem;
  vertical-align: top;
}

.table-styled tr:last-child td {
  border-bottom: none;
}

.table-styled tbody tr:hover {
  background-color: rgba(226,101,43,0.03);
}

/* ==========================================================================
   11. FAQ ACCORDION
   ========================================================================== */
/* ==========================================================================
   11. FAQ ACCORDION (Card Container Layout with High Contrast)
   ========================================================================== */
.faq {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 14, 7, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 101, 43, 0.10);
  border-color: rgba(226, 101, 43, 0.35);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 600;
  color: var(--text-2);
  gap: 16px;
  transition: color 0.25s ease, background 0.25s ease;
}

.faq-q:hover {
  color: var(--orange);
}

.faq-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background-color: var(--orange-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
}

.faq-item.open {
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(226, 101, 43, 0.14);
}

.faq-item.open .faq-q {
  background: linear-gradient(135deg, rgba(226, 101, 43, 0.08) 0%, rgba(226, 101, 43, 0.02) 100%);
  color: var(--orange);
}

.faq-item.open .faq-icon {
  background-color: var(--orange);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-a-inner {
  padding: 20px 26px 24px 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(226, 101, 43, 0.12);
  background-color: #FFFFFF;
}

/* ==========================================================================
   12. PRODUCT ACCORDION
   ========================================================================== */
/* ==========================================================================
   12. PRODUCT ACCORDION (Full Width Category Pill Bars)
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.accordion-item {
  width: 100%;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  overflow: hidden;
  background-color: var(--panel-solid);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-radius 0.2s ease;
  box-shadow: 0 2px 10px rgba(226, 101, 43, 0.06);
}

.accordion-item:hover {
  background-color: var(--orange-soft-bg);
  border-color: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 101, 43, 0.15);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-2);
  gap: 16px;
  transition: color 0.2s ease, background 0.2s ease;
  user-select: none;
  border: none;
  background: transparent;
  width: 100%;
}

.accordion-header:hover {
  color: var(--orange);
}

.accordion-header .accordion-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: var(--orange-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
}

.accordion-item.open {
  width: 100%;
  border-radius: var(--radius);
  border: 1.5px solid var(--orange);
  background-color: var(--panel-solid);
  box-shadow: 0 8px 30px rgba(226, 101, 43, 0.12);
}

.accordion-item.open .accordion-header {
  background: linear-gradient(135deg, rgba(226, 101, 43, 0.08) 0%, rgba(226, 101, 43, 0.02) 100%);
  border-bottom: 1px solid rgba(226, 101, 43, 0.12);
  padding: 18px 28px;
  color: var(--orange);
  border-radius: var(--radius) var(--radius) 0 0;
}

.accordion-item.open .accordion-icon {
  background-color: var(--orange);
  color: white;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.accordion-item.open .accordion-body-inner {
  animation: accFadeIn 0.3s ease-out forwards;
}

@keyframes accFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.accordion-body-inner {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.accordion-body-inner p {
  margin-bottom: 0;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(26, 14, 7, 0.03);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.accordion-body-inner p:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(226, 101, 43, 0.08);
  border-color: rgba(226, 101, 43, 0.25);
  background: #FFFFFF;
}

.accordion-body-inner p strong {
  display: block;
  color: var(--orange);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ==========================================================================
   13. STEPS & HORIZONTAL SEQUENCE
   ========================================================================== */
.steps-horizontal-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.steps-horizontal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  min-width: 100%;
}

.step-card {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.step-card .step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--orange-soft-bg);
  color: var(--orange);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(226, 101, 43, 0.2);
}

.step-card .step-content p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 992px) {
  .steps-horizontal {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    min-width: max-content;
    scroll-snap-type: x mandatory;
  }

  .step-card {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
  }

  .steps-horizontal-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--orange) var(--line-2);
  }

  .steps-horizontal-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .steps-horizontal-scroll::-webkit-scrollbar-track {
    background: var(--line-2);
    border-radius: 999px;
  }

  .steps-horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 999px;
  }
}

/* ==========================================================================
   14. CHECK / X LISTS
   ========================================================================== */
.check-list, .x-list {
  list-style: none;
}

.check-list li, .x-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-2);
}

.check-list li:last-child, .x-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-text);
  font-weight: 700;
}

.x-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--red-text);
  font-weight: 700;
}

.check-card {
  background-color: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}

.check-card.positive {
  border-top: 3px solid var(--green-text);
}

.check-card.negative {
  border-top: 3px solid var(--red-text);
}

.check-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.check-card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.check-card-icon.positive {
  background: var(--green-soft);
  color: var(--green-text);
}

.check-card-icon.negative {
  background: var(--red-soft);
  color: var(--red-text);
}

/* ==========================================================================
   15. CALLOUT
   ========================================================================== */
.callout {
  background-color: var(--orange-soft-bg);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 18px 24px;
  margin-top: 24px;
  font-size: 0.9rem;
}

.callout strong {
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.callout p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   16. STATS GRID
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 28px 20px;
  background-color: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.stat-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   17. DELIVERABLES
   ========================================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background-color: var(--bg-2);
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  color: var(--text-2);
}

.deliverable::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  min-width: 18px;
}

/* ==========================================================================
   18. CHECKLIST SECTION
   ========================================================================== */
.checklist-group {
  margin-bottom: 32px;
}

.checklist-group h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.checklist-group li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-2);
  list-style: none;
}

.checklist-group li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 1.1rem;
}

/* ==========================================================================
   18.5. GALLERY STRIP SECTION
   ========================================================================== */
.gallery-section {
  padding-block: clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.gallery-scroll-container {
  width: 100%;
  overflow-x: auto;
  padding-block: 10px 24px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  padding-inline: var(--pad);
  width: max-content;
}

.gallery-item {
  flex: 0 0 280px;
  width: 280px;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background-color: var(--panel-solid);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.gallery-item img {
  width: 100% !important;
  height: 190px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  border-radius: 0 !important;
}

.gallery-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
  background: var(--line-2);
  border-radius: 999px;
  margin-inline: var(--pad);
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 999px;
}

/* ==========================================================================
   19. IMAGE COMPONENTS
   ========================================================================== */
.img-feature,
img.img-feature,
.img-feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: block;
}

.img-rounded {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.img-full {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: 40px;
}

/* ==========================================================================
   20. TABLE OF CONTENTS
   ========================================================================== */
.toc-layout {
  align-items: stretch;
  gap: clamp(24px, 4vw, 48px);
}

.toc-content {
  background-color: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.toc-image {
  height: 100%;
  min-height: 100%;
  display: flex;
}

.toc-side-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.toc h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
}

/* Mapa de navegación: una sección debajo de la otra, en lista enumerada */
.toc-grid-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.toc-stage {
  margin-bottom: 16px;
}

.toc-grid-list .toc-stage {
  margin-bottom: 0;
}

.toc-stage-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.toc-list {
  list-style: none;
  counter-reset: toc-item;
  margin: 0;
  padding: 0;
}

.toc-list li {
  counter-increment: toc-item;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.toc-list li::before {
  content: counter(toc-item, decimal-leading-zero);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  min-width: 18px;
}

.toc-list a {
  padding: 3px 0;
  font-size: 0.76rem;
}

/* Franja 2: texto 4 puntos más chico */
#contenidos .toc-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

#contenidos .toc-content .lead {
  font-size: 0.86rem;
}

#contenidos .toc-stage-label {
  font-size: 0.62rem;
}

.toc a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s;
  border-bottom: 1px solid transparent;
}

.toc a:hover {
  color: var(--orange);
}

/* ==========================================================================
   21. CTA SECTIONS
   ========================================================================== */
#contacto {
  position: relative;
  background-image: url('https://res.cloudinary.com/dyqwdjebj/image/upload/v1785445062/predio-areo-canton_ixo7b2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.cta-banner {
  position: relative;
  z-index: 2;
  background: rgba(15, 8, 4, 0.65);
  border-radius: var(--radius);
  padding: clamp(44px, 6vw, 72px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.cta-banner .eyebrow {
  color: var(--orange-bright);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-banner .eyebrow::before {
  background: var(--orange-bright);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-banner h2 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.cta-banner h2 em {
  color: var(--orange-bright);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.cta-banner .lead {
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.cta-banner p,
.cta-banner-desc,
.cta-banner-subdesc {
  color: #FFFFFF;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.cta-banner .tm {
  color: var(--orange-bright);
}

.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-top: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-inline p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   22. FOOTER
   ========================================================================== */
.footer {
  padding: 40px var(--pad);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 36px;
  opacity: 0.7;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-dim-2);
}

.footer-text a {
  color: var(--orange);
  text-decoration: underline;
}

/* ==========================================================================
   23. SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   24. ADDITIONAL UTILITIES
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-orange {
  color: var(--orange);
}

.mb-0 {
  margin-bottom: 0;
}

.mt-sm {
  margin-top: 20px;
}

.mt-md {
  margin-top: 40px;
}

.gap-sm {
  gap: 16px;
}

/* ==========================================================================
   25. RESPONSIVE BREAKPOINTS
   ========================================================================== */
/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
  h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }
  
  .two-col.reverse > *:first-child {
    order: 1;
  }
  .two-col.reverse > *:last-child {
    order: 0;
  }
  
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    flex-direction: column;
    gap: 5px;
  }
  
  .menu-btn span {
    width: 22px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: 0.3s;
  }
  
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
  
  .toc-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-inline {
    flex-direction: column;
    text-align: center;
  }
  
  .table-scroll {
    overflow-x: auto;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .check-card {
    padding: clamp(20px, 4vw, 24px);
  }

  .accordion-body-inner {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .img-feature,
  img.img-feature,
  .img-feature img {
    height: 240px;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Franja con foto de fondo (Fechas y ubicación) ---------- */
.photo-section {
  position: relative;
  overflow: hidden;
}
.photo-section > .wrap {
  position: relative;
  z-index: 2;
}
.photo-section .photo-card {
  text-align: center;
  max-width: 900px;
}
.photo-section .photo-card h2,
.photo-section .photo-card h3,
.photo-section .photo-card p,
.photo-section .photo-card td,
.photo-section .photo-card th,
.photo-section .photo-card strong {
  color: #FFFFFF;
}
.photo-section .photo-card h2 em,
.photo-section .photo-card h3 em {
  color: var(--orange-bright);
}
.photo-section .photo-card h2,
.photo-section .photo-card .lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.photo-section .hero-overlay {
  background: rgba(0, 0, 0, 0.32);
}
.photo-section .photo-card {
  opacity: 1 !important;
  transform: none !important;
}
.photo-section .photo-card .table-styled {
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border-radius: 10px;
}
.photo-section .photo-card .table-styled th {
  background-color: var(--orange);
  color: #FFFFFF;
  border-bottom: none;
}
.photo-section .photo-card .table-styled th:first-child { border-top-left-radius: 10px; }
.photo-section .photo-card .table-styled th:last-child { border-top-right-radius: 10px; }
.photo-section .photo-card .callout {
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}
.photo-section .photo-card .table-scroll,
.photo-section .photo-card h3,
.photo-section .photo-card > p:not(.lead):not(.eyebrow) {
  text-align: left;
}

/* ---------- Chips de fechas en las tarjetas de fase ---------- */
.card-phase .chip {
  padding: 4px 11px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  gap: 6px;
  margin-bottom: 12px;
}
.card-phase .chip::before {
  width: 5px;
  height: 5px;
}

/* ---------- Galería horizontal de mapas por fase ---------- */
.maps-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 18px;
  scroll-padding-left: 4px;
}
.maps-gallery::-webkit-scrollbar { height: 8px; }
.maps-gallery::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.22);
  border-radius: 99px;
}
.maps-slide {
  flex: 0 0 min(88%, 780px);
  scroll-snap-align: center;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}
.maps-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.maps-slide figcaption {
  padding: 12px 16px 14px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: center;
}
@media (max-width: 640px) {
  .maps-slide { flex-basis: 92%; }
}
