/* ===========================================
   CIRCANVAS® — Brand Design System
   Minimalista · Educativo · Lúdico
   =========================================== */

/* --- Custom Properties --- */
:root {
  --blue:        #1F4E79;
  --blue-light:  #2B6DAD;
  --blue-pale:   #EBF3FA;
  --green:       #00B050;
  --green-dark:  #009A44;
  --green-pale:  #E8F9F0;
  --orange:      #FFC000;
  --orange-dark: #E5AC00;
  --magenta:     #C00080;
  --aqua:        #009DE1;
  --dark:        #14213D;
  --gray-900:    #2B2D42;
  --gray-600:    #6C757D;
  --gray-400:    #ADB5BD;
  --gray-100:    #F8F9FA;
  --white:       #FFFFFF;
  --font-display:'Fredoka', sans-serif;
  --font-body:   'Nunito', sans-serif;
  --radius:      0.75rem;
  --radius-lg:   1.25rem;
  --shadow-sm:   0 1px 3px rgba(20,33,61,0.06);
  --shadow-md:   0 4px 20px rgba(20,33,61,0.08);
  --shadow-lg:   0 12px 40px rgba(20,33,61,0.10);
  --transition:  0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--blue);
  font-weight: 700;
  line-height: 1.25;
}

a { text-decoration: none; }

/* --- Utility --- */
.text-green  { color: var(--green) !important; }
.text-orange { color: var(--orange) !important; }
.text-blue   { color: var(--blue) !important; }
.bg-soft     { background: var(--gray-100); }
.bg-blue-pale{ background: var(--blue-pale); }

.section-pad { padding: 5.5rem 0; }

@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 600px;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ============================
   NAVBAR
   ============================ */
.navbar-cir {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20,33,61,0.04);
  padding: 0.5rem 0;
  transition: box-shadow var(--transition);
}
.navbar-cir.scrolled { box-shadow: var(--shadow-md); }

.navbar-cir .navbar-brand img { height: 44px; }

.navbar-cir .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-900);
  padding: 0.5rem 0.85rem !important;
  transition: color var(--transition);
}
.navbar-cir .nav-link:hover,
.navbar-cir .nav-link.active { color: var(--green); }

/* ============================
   BUTTONS
   ============================ */
.btn-green {
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  transition: all var(--transition);
}
.btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,176,80,0.25);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  transition: all var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  transition: all var(--transition);
}
.btn-blue:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--blue) 0%, var(--dark) 100%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 75%, rgba(0,176,80,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(0,157,225,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}
.hero-tag .pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 560px;
  margin-bottom: 1.25rem;
}
.hero h1 span {
  color: var(--green);
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

/* Video embed */
.hero-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  aspect-ratio: 16 / 9;
  max-width: 540px;
  margin: 0 auto;
}
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-proof {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-proof-item span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange);
  line-height: 1;
}
.hero-proof-item small {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ============================
   VALUE PROPS — 3 cols
   ============================ */
.val-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,33,61,0.05);
  height: 100%;
  transition: all var(--transition);
}
.val-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.val-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.val-card h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.val-card p  { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 0; }

/* ============================
   JOURNEY — El Viaje
   ============================ */
.phase-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.station-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.station-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.station-card h6 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--gray-900);
}
.station-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,33,61,0.04);
  height: 100%;
}
.testi-card blockquote {
  font-style: italic;
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--green);
}
.testi-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
}
.testi-role {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ============================
   FAQ
   ============================ */
.faq-acc .accordion-item {
  border: none;
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-acc .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
}
.faq-acc .accordion-button:not(.collapsed) {
  background: var(--green-pale);
  color: var(--blue);
  box-shadow: none;
}
.faq-acc .accordion-body {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================
   CONTACT FORM
   ============================ */
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid rgba(20,33,61,0.12);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,176,80,0.1);
}
.contact-form label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.85); }

.btn-white {
  background: var(--white);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: all var(--transition);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: var(--green-dark);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
}
.site-footer a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--green); }

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  margin-right: 0.4rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================
   SCROLL-TO-TOP
   ============================ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,176,80,0.25);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-2px); background: var(--green-dark); }

/* ============================
   FORM SUCCESS
   ============================ */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.form-success i {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 1rem;
}
