/* Global design tokens (from Tailwind config and src/index.css) */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 9%;
  --maroon: 0 100% 25%;
  --sky-blue: 202 71% 73%;
  --gold: 50 100% 50%;
  --white: 0 0% 100%;
  --primary: 0 100% 25%;
  --primary-foreground: 0 0% 100%;
  --primary-light: 0 100% 35%;
  --primary-dark: 0 100% 15%;
  --secondary: 202 71% 73%;
  --secondary-foreground: 0 0% 9%;
  --secondary-light: 202 71% 83%;
  --secondary-dark: 202 71% 63%;
  --accent: 50 100% 50%;
  --accent-foreground: 0 0% 9%;
  --accent-light: 50 100% 60%;
  --accent-dark: 50 100% 40%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 9%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 9%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 100% 25%;
  --gradient-maroon: linear-gradient(135deg, hsl(0 100% 25%) 0%, hsl(0 100% 15%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(0 100% 25% / 0.9) 0%, hsl(0 100% 15% / 0.8) 100%);
  --gradient-sky: linear-gradient(135deg, hsl(202 71% 73%) 0%, hsl(202 71% 63%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(50 100% 50%) 0%, hsl(50 100% 40%) 100%);
  --shadow-soft: 0 2px 8px hsl(0 100% 25% / 0.1);
  --shadow-medium: 0 4px 16px hsl(0 100% 25% / 0.15);
  --shadow-strong: 0 8px 32px hsl(0 100% 25% / 0.2);
  --shadow-glow: 0 0 24px hsl(50 100% 50% / 0.3);
  --glass-bg: hsl(0 0% 100% / 0.1);
  --glass-border: hsl(0 0% 100% / 0.2);
  --radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease-out;
  --container-max: 1400px;
  --container-pad: 2rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}
.no-scroll { overflow: hidden; height: 100vh; }

/* Utilities */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.row { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.p-8 { padding: 32px; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }
.muted { color: hsl(var(--muted-foreground)); }
.muted-bg { background: hsl(var(--muted)); }
.accent { color: hsl(var(--accent)); }
.text-on-dark { color: hsl(var(--primary-foreground)); }
.text-on-dark\/90 { color: hsla(var(--primary-foreground) / 0.9); }
.text-primary { color: hsl(var(--primary)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-accent { color: hsl(var(--accent)); }
.h3 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.h4 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.h5 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.small { font-size: .875rem; }
.bold { font-weight: 700; }

/* Animations */
@keyframes fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scale-in { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 20px hsl(var(--accent) / 0.3); } 50% { box-shadow: 0 0 40px hsl(var(--accent) / 0.6); } }
.animate-fade-in { animation: fade-in .6s ease-out both; }
.animate-fade-in-up { animation: fade-in-up .8s ease-out both; }
.animate-scale-in { animation: scale-in .4s ease-out both; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid transparent; padding: .75rem 1.25rem; border-radius: var(--radius); cursor: pointer; transition: var(--transition-smooth); font-weight: 600; }
.btn i { width: 1.25rem; height: 1.25rem; }
.btn-sm { padding: .5rem .75rem; font-size: .875rem; }
.btn-lg { padding: .9rem 1.35rem; font-size: 1rem; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { filter: brightness(1.05); box-shadow: var(--shadow-strong); }
.btn-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); box-shadow: var(--shadow-medium); }
.btn-secondary:hover { background: hsl(var(--secondary-light)); box-shadow: var(--shadow-strong); }
.btn-outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.btn-outline:hover { background: hsl(var(--muted)); }
.btn-outline-accent { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.btn-outline-accent:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); box-shadow: var(--shadow-glow); }
.btn-outline-contrast { border-color: hsl(var(--primary-foreground)); color: hsl(var(--primary-foreground)); }
.btn-outline-contrast:hover { background: hsl(var(--primary-foreground)); color: hsl(var(--primary)); }
.btn-cta { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); box-shadow: var(--shadow-glow); }
.btn-cta:hover { filter: brightness(1.05); }
.btn-hero { background: hsl(var(--primary-foreground)); color: hsl(var(--primary)); box-shadow: var(--shadow-strong); }
.btn-hero:hover { box-shadow: var(--shadow-glow); }
.btn-glass { background: hsl(0 0% 100% / .1); color: hsl(var(--primary-foreground)); border-color: hsl(0 0% 100% / .2); }
.btn-glass:hover { background: hsl(0 0% 100% / .2); }
.icon { padding: .6rem; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: .25rem .5rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.badge-outline { background: transparent; border: 1px solid hsl(var(--border)); }
.badge-primary { color: hsl(var(--primary)); border-color: hsl(var(--primary)); }

/* Cards */
.card { background: hsl(var(--card)); color: hsl(var(--card-foreground)); border-radius: var(--radius); overflow: hidden; transition: var(--transition-smooth); box-shadow: var(--shadow-medium); }
.card { position: relative; }
.card__header { padding: 24px 32px; border-bottom: 1px solid hsl(var(--border)); }
.card__content { padding: 24px 32px; }
.card__content p { line-height: 1.65; }
.shadow-medium { box-shadow: var(--shadow-medium); }
.hover-shadow-strong:hover { box-shadow: var(--shadow-strong); transform: translateY(-4px); }
.gradient-maroon { background: var(--gradient-maroon); }

/* Sections */
.section { position: relative; padding: 80px 0; overflow: hidden; }
.section-muted { background: hsl(var(--muted) / 1); }
.section__header { text-align: center; margin-bottom: 64px; }
.section__title { font-size: clamp(2rem, 4vw, 3rem); color: hsl(var(--primary)); margin: 0 0 16px; font-weight: 800; }
.section__desc { font-size: clamp(1.125rem, 2vw, 1.25rem); color: hsl(var(--muted-foreground)); max-width: 60ch; margin: 0 auto; }
.section__bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .1; }

/* Grids */
.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr; }
.grid-2-md { grid-template-columns: 1fr; }
.grid-2-lg { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-4-xl { grid-template-columns: 1fr; }
.grid-gallery { grid-template-columns: 1fr; }
.grid-footer { grid-template-columns: 1fr; }
/* Tailwind breakpoints: sm:640, md:768, lg:1024, xl:1280, 2xl:1536 */
@media (min-width: 640px) {
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-2-md { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-2-lg { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); } /* Values: lg:4 */
  .grid-gallery { grid-template-columns: repeat(4, 1fr); }
  .grid-footer { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1280px) {
  .grid-4-xl { grid-template-columns: repeat(4, 1fr); } /* Focus Areas: xl:4 */
}

/* Navbar */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: var(--transition-smooth); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 48px; height: 48px; border-radius: 9999px; object-fit: cover; box-shadow: var(--shadow-soft); }
.nav__title { font-weight: 800; font-size: 1.25rem; color: hsl(var(--foreground)); display: none; }
@media (min-width: 640px) { .nav__title { display: inline; } }
.nav__links { display: none; list-style: none; gap: 8px; padding: 0; margin: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: 8px; color: hsl(var(--foreground)); text-decoration: none; transition: var(--transition-fast); }
.nav__link:hover { color: hsl(var(--primary)); background: hsl(var(--primary) / .1); }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: none; padding: .5rem; border-radius: 8px; }
@media (min-width: 768px) { .nav__links { display: flex; } .nav__toggle { display: none; } }
.nav--scrolled { background: var(--glass-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); box-shadow: var(--shadow-medium); }
.nav--white { background: hsl(var(--background)); border-bottom: 1px solid var(--glass-border); box-shadow: var(--shadow-medium); backdrop-filter: none; }

/* Mobile sheet */
.sheet { position: fixed; inset: 0; background: hsl(0 0% 0% / .2); opacity: 0; pointer-events: none; transition: var(--transition-smooth); }
.sheet__content { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: hsl(var(--background)); box-shadow: var(--shadow-strong); transform: translateX(100%); transition: var(--transition-smooth); padding: 24px; display: flex; flex-direction: column; }
.sheet__brand { display: flex; align-items: center; gap: 12px; margin-top: 32px; margin-bottom: 24px; }
.sheet__logo { width: 40px; height: 40px; border-radius: 9999px; object-fit: cover; }
.sheet__title { font-weight: 800; color: hsl(var(--primary)); }
.sheet__close { margin-left: auto; border: none; background: transparent; padding: 6px; border-radius: 8px; }
.sheet__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sheet__link { display: flex; align-items: center; gap: .75rem; padding: .75rem; border-radius: 8px; color: hsl(var(--foreground)); text-decoration: none; }
.sheet__link:hover { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.sheet--open { opacity: 1; pointer-events: auto; }
.sheet--open .sheet__content { transform: translateX(0); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero__content { position: relative; z-index: 1; text-align: center; color: hsl(var(--primary-foreground)); }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin: 0 0 1rem; }
.hero__subtitle { font-size: clamp(1.125rem, 2.5vw, 1.5rem); color: hsla(var(--primary-foreground) / .9); margin: 0 auto 2rem; max-width: 48ch; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero__actions a { text-decoration: none; }
.hero__float { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); }
.hero__dot { width: 24px; height: 24px; border-radius: 9999px; background: hsl(var(--accent) / .3); animation: pulse 2s infinite; }
.hero-text { background-image: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--accent-light))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Readability helpers */
.text-shadow-strong { text-shadow: 0 2px 6px rgba(0,0,0,.45), 0 6px 18px rgba(0,0,0,.35); }

/* CTA */
.section-parallax { position: relative; overflow: hidden; padding: 80px 0; }
.cta__bg { position: absolute; inset: 0; background-position: center; background-size: cover; }
.cta__overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.section-parallax .container { position: relative; z-index: 1; }
.cta__title { color: hsl(var(--primary-foreground)); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin: 0 0 16px; }
.cta__subtitle { color: hsla(var(--primary-foreground) / .9); font-size: clamp(1.125rem, 2vw, 1.5rem); margin: 0 auto 40px; max-width: 52ch; }
.cta__actions { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 48px; }
.cta__actions a { text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid hsla(var(--primary-foreground) / .2); }
.stat { text-align: center; color: hsl(var(--primary-foreground)); animation: fade-in .6s ease-out both; }
.stat__num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: hsl(var(--accent)); margin-bottom: 8px; }
.stat__label { color: hsla(var(--primary-foreground) / .8); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) {
  .hero__actions { flex-direction: column; }
}

/* Timeline */
.timeline { 
  margin-top: 48px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 16px; 
  color: hsl(var(--muted-foreground)); 
  width: 100%; 
}

.timeline__dot { 
  width: 32px; 
  height: 32px; 
  border-radius: 9999px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0; /* prevent shrinking */
}

.timeline__dot.primary { 
  background: hsl(var(--primary)); 
  color: hsl(var(--primary-foreground)); 
}

.timeline__dot.secondary { 
  background: hsl(var(--secondary)); 
  color: hsl(var(--secondary-foreground)); 
}

.timeline__line { 
  flex: 1; /* stretch line equally */
  height: 2px; 
  background: hsl(var(--primary)); 
}

.timeline__label { 
  font-size: .875rem; 
  font-weight: 600; 
  white-space: nowrap; /* keep label in one line */
}

/* Mobile adjustments */
@media (max-width: 639px) {
  .timeline { 
    gap: 8px; 
    transform: scale(0.9);   /* zoom out slightly */
  }

  .timeline__dot { 
    width: 24px; 
    height: 24px; 
    font-size: 0.65rem; 
  }

  .timeline__line { 
    flex: 1; 
  }

  .timeline__label { 
    font-size: 0.75rem; 
  }
}



/* Forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; color: hsl(var(--foreground)); }
.field input, .field textarea { width: 100%; padding: .75rem 1rem; border: 1px solid hsl(var(--input)); border-radius: var(--radius); background: hsl(var(--background)); color: hsl(var(--foreground)); outline: none; transition: var(--transition-fast); }
.field input:focus, .field textarea:focus { border-color: hsl(var(--ring)); box-shadow: 0 0 0 4px hsl(var(--ring) / .1); }

/* Footer */
.footer { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding: 64px 0; }
.footer__logo { width: 64px; height: 64px; border-radius: 9999px; object-fit: cover; box-shadow: var(--shadow-soft); }
.footer__sep { border: none; height: 1px; background: hsla(var(--primary-foreground) / .2); margin: 32px 0; }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__link { display: inline-flex; align-items: center; gap: .75rem; color: hsla(var(--primary-foreground) / .8); text-decoration: none; padding: .25rem 0; }
.footer__link:hover { color: hsl(var(--primary-foreground)); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; position: relative; }
.filter-indicator { position: absolute; background: hsl(var(--primary)); border-radius: 9999px; z-index: 0; pointer-events: none; transition: transform .3s ease, width .3s ease, height .3s ease; }
.filters .btn { position: relative; z-index: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 60; }
.lightbox--open { display: flex; }
.lightbox__inner { position: relative; max-width: 1024px; max-height: 90vh; }
.lightbox__inner img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; top: 16px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.lightbox__close { right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; color: #fff; display: grid; gap: 8px; justify-items: center; }

/* Helpers */
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 3rem; height: 3rem; }

/* Spacing utilities (used in About section) */
.space-y-8 > * + * { margin-top: 32px; }

/* Objectives card tweaks so step number doesn't overlap text */
@media (max-width: 767px) {
  .objective-card .card__content { padding-right: 84px; }
  .objective-card .objective-step { top: 12px; right: 12px; width: 44px; height: 44px; }
}

@media (min-width: 768px) {
  .objective-card .card__content { padding-right: 96px; }
}

/* Contact: WhatsApp row responsive stacking without HTML changes */
@media (max-width: 767px) {
  #contact .card .muted-bg.p-8.rounded { flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
  #contact .card .muted-bg.p-8.rounded .h5 { text-align: left; }
}

/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 70; }
.modal--open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__content { position: relative; background: #fff; width: min(640px, 92vw); border-radius: 12px; box-shadow: var(--shadow-strong); padding: 24px; text-align: center; }
.modal__close { position: absolute; right: 12px; top: 12px; background: transparent; border: none; padding: 6px; border-radius: 8px; }
.modal__icon { width: 56px; height: 56px; border-radius: 9999px; background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.modal__title { font-size: 1.25rem; font-weight: 800; color: hsl(var(--foreground)); margin: 0 0 8px; }
.modal__text { color: hsl(var(--muted-foreground)); margin: 0 0 16px; }


