/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         hsl(0,0%,4%);
  --fg:         hsl(45,10%,95%);
  --card:       hsl(0,0%,7%);
  --secondary:  hsl(0,0%,12%);
  --primary:    hsl(43,74%,49%);
  --primary-fg: hsl(0,0%,4%);
  --muted:      hsl(0,0%,60%);
  --border:     hsl(0,0%,18%);
  --radius:     0.75rem;
  --font-body:  'Inter', sans-serif;
  --font-display: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout helpers ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section {
  padding: 5rem 0;
}
@media (min-width: 768px)  { .section { padding: 7rem 0; } }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.section--alt { background: var(--secondary); }

/* ── Typography ── */
.display { font-family: var(--font-display); font-weight: 700; }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.text-gold { color: var(--primary); }

.text-gradient {
  background: linear-gradient(90deg, var(--primary), hsl(43,74%,60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(43,74%,49%,0.3); }
  50%       { box-shadow: 0 0 40px hsl(43,74%,49%,0.6); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.animate-fade-up { animation: fade-up 0.6s ease-out forwards; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}
.btn:hover { transform: scale(1.05); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}
.btn-primary:hover {
  background: hsl(43,74%,44%);
  box-shadow: 0 8px 30px hsl(43,74%,49%,0.3);
}

.btn-hero {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px hsl(43,74%,49%,0.25);
}
.btn-hero:hover {
  background: hsl(43,74%,44%);
  box-shadow: 0 8px 35px hsl(43,74%,49%,0.4);
}

.btn-ghost {
  color: var(--muted);
  padding: 1rem 1.5rem;
}
.btn-ghost:hover { color: var(--fg); }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: hsl(43,74%,49%,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px hsl(43,74%,49%,0.1);
}

/* ── Icon container ── */
.icon-box {
  background: hsl(43,74%,49%,0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background 0.3s;
}
.card:hover .icon-box { background: hsl(43,74%,49%,0.2); }

.icon-box--sm  { width: 3rem;  height: 3rem; }
.icon-box--md  { width: 3.5rem; height: 3.5rem; }
.icon-box--lg  { width: 4rem;  height: 4rem; border-radius: 1rem; }

/* ── Glass effect ── */
.glass {
  background: hsl(0,0%,7%,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsl(0,0%,18%,0.5);
  border-radius: var(--radius);
}

/* ── SVG Icons ── */
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.icon--sm  { width: 1rem;   height: 1rem; }
.icon--md  { width: 1.5rem; height: 1.5rem; }
.icon--lg  { width: 2rem;   height: 2rem; }
.icon--xl  { width: 1.75rem; height: 1.75rem; }

/* ── HEADER ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
#header.scrolled {
  background: hsl(0,0%,4%,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-fg);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: block; } }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  padding: 0.5rem;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1rem;
  animation: fade-in 0.2s ease-out;
}
#mobile-menu.open { display: block; }

#mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
#mobile-menu .nav-link { font-size: 1.1rem; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, hsl(43,74%,49%,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, hsl(43,74%,49%,0.05) 0%, transparent 50%),
              var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.hero-content { text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(0,0%,12%,0.5);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
@media (min-width: 1024px) { .hero-subtitle { margin-left: 0; } }

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }

.hero-image-wrap { position: relative; }

.hero-image-inner {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
  aspect-ratio: 1;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, hsl(43,74%,49%,0.2), transparent 70%);
  border-radius: 1.5rem;
  filter: blur(24px);
}

.hero-image-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(0,0%,18%,0.5);
  aspect-ratio: 1;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  animation: float 3s ease-in-out infinite;
}
.hero-float-card .stat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-float-card .stat-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.hero-float-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  animation: float 3s ease-in-out infinite 0.2s;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 2s ease-in-out infinite;
}

/* ── CONCEPT ── */
.concept-image-wrap {
  position: relative;
  max-width: 24rem;
  margin: 0 auto 4rem;
}
.concept-image-wrap img {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px hsl(0,0%,0%,0.4);
}
.concept-image-label {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card { padding: 1.5rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.feature-card p  { font-size: 0.875rem; color: var(--muted); }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 8rem; height: 8rem;
  background: hsl(43,74%,49%,0.05);
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.3s;
}
.benefit-card:hover::after { opacity: 1; }

.benefit-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: hsl(43,74%,49%,0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 1rem 0 0.75rem;
}

.benefit-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.benefit-card p  { color: var(--muted); font-size: 0.9rem; }

/* ── HOW IT WORKS ── */
.timeline {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 2.25rem;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), hsl(43,74%,49%,0.3), transparent);
  display: none;
}
@media (min-width: 640px) { .timeline::before { display: block; } }
@media (min-width: 1024px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-0.5px);
  }
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.timeline-item:last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
  }
  .timeline-item:nth-child(even) { flex-direction: row-reverse; }
}

.timeline-content { flex: 1; }
@media (min-width: 1024px) {
  .timeline-item:nth-child(odd) .timeline-content  { padding-right: 4rem; }
  .timeline-item:nth-child(even) .timeline-content { padding-left: 4rem; }
}

.timeline-spacer { display: none; }
@media (min-width: 1024px) { .timeline-spacer { display: block; flex: 1; } }

.timeline-dot {
  position: absolute;
  left: 2.25rem;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--bg);
  transform: translateX(-50%);
  display: none;
}
@media (min-width: 640px) { .timeline-dot { display: block; } }
@media (min-width: 1024px) {
  .timeline-dot { left: 50%; top: 2rem; }
}

.step-card { padding: 2rem; }
.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(43,74%,49%,0.3);
  line-height: 1;
}
.step-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.timeline-cta { text-align: center; margin-top: 4rem; }

/* ── TARGETS ── */
.targets-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 640px)  { .targets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .targets-grid { grid-template-columns: repeat(3, 1fr); } }

.target-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
}
.target-card h3 { font-weight: 600; margin-bottom: 0.25rem; }
.target-card p  { font-size: 0.8rem; color: var(--muted); }

/* ── COMMITMENTS ── */
.commitments-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .commitments-grid { grid-template-columns: repeat(3, 1fr); } }

.commitment-card { padding: 2rem; }
.commitment-card h3 { font-size: 1.35rem; font-weight: 600; margin: 1.5rem 0 1rem; }
.commitment-card p  { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.7; }
.commitment-features { display: flex; flex-direction: column; gap: 0.5rem; }
.commitment-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }

/* ── STATS ── */
.stats-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px)  { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card { text-align: center; padding: 2rem; }
.stat-card .icon-box { margin: 0 auto 1rem; }
.stat-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.25rem; }
.stat-card p  { font-size: 0.875rem; color: var(--muted); }

/* ── FINAL CTA ── */
#cta { position: relative; overflow: hidden; }
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, hsl(43,74%,49%,0.1), transparent 60%),
              radial-gradient(ellipse at 10% 100%, hsl(43,74%,49%,0.06), transparent 50%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 { margin-bottom: 1.25rem; }
.cta-inner > p { color: var(--muted); font-size: 1.05rem; max-width: 42rem; margin: 0 auto 2.5rem; }

.cta-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.cta-service-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsl(0,0%,7%,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── FOOTER ── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
}
.footer-inner { padding: 3rem 0 2rem; }
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
}
.footer-brand { text-align: center; }
@media (min-width: 768px) { .footer-brand { text-align: left; } }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .footer-logo { justify-content: flex-start; } }
.footer-logo .logo-text { font-size: 1.35rem; }
.footer-brand p { font-size: 0.875rem; color: var(--muted); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-sep { height: 1px; background: var(--border); margin: 1.5rem 0; }
.footer-copy { text-align: center; font-size: 0.875rem; color: var(--muted); }

/* ── WHATSAPP FLOAT ── */
#whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: background 0.2s, transform 0.2s;
  animation: pulse-glow 2s ease-in-out infinite;
}
#whatsapp-float:hover { background: #20BA5C; transform: scale(1.05); }
#whatsapp-float span { display: none; }
@media (min-width: 640px) { #whatsapp-float span { display: inline; } }

/* ── Section header helper ── */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.section-header p { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }
