/* ===== Imbel Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal-900: #004047;
  --teal-700: #006973;
  --teal-600: #006C74;
  --teal-500: #00B4C5;
  --teal-100: #A0EFFD;
  --teal-50: rgba(0,180,197,0.08);
  --warm-700: #5F2B01;
  --warm-600: #8D4E23;
  --warm-400: #DE9160;
  --warm-300: #FFB68A;
  --warm-100: #FFDAD6;
  --bg-primary: #F9F9FF;
  --bg-card: #E7EEFF;
  --bg-card-alt: #DEE8FF;
  --bg-soft: #F0F3FF;
  --text-primary: #3C494B;
  --text-dark: #111C2C;
  --text-white: #FFFFFF;
  --border-soft: #D8E3FA;
  --border-muted: #BBC9CB;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-full: 9999px;
  --shadow-soft: 0px 8px 30px 0px rgba(0,180,197,0.08);
  --shadow-card: 0px 10px 40px -10px rgba(0,180,197,0.08);
  --shadow-subtle: 0px 1px 2px 0px rgba(0,0,0,0.05);
  --max-w: 1152px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Nav ===== */
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  background: rgba(249,249,255,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-subtle);
  display: flex; align-items: center; justify-content: center;
  animation: navFadeIn 0.5s ease-out both;
}
body > *:not(.topnav) {
  animation: pageFadeIn 0.4s ease-out 0.1s both;
}
.topnav-inner {
  width: 100%; max-width: 1280px;
  padding: 0 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.topnav-logo {
  font-size: 32px; font-weight: 700; letter-spacing: -0.32px;
  color: var(--teal-700); line-height: 40px;
  display: flex; align-items: center; gap: 6px;
}
.topnav-logo svg { width: 22px; height: 22px; fill: var(--teal-700); }
.topnav-links {
  display: flex; align-items: center; gap: 0;
}
.topnav-links a {
  padding: 0 16px; font-size: 16px; line-height: 24px;
  color: var(--text-primary); transition: color 0.2s;
}
.topnav-links a:hover { color: var(--teal-700); }
.topnav-links a.active {
  color: var(--teal-700); font-weight: 700;
  border-bottom: 2px solid var(--teal-700);
  padding-bottom: 2px;
}
.btn-contact {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 24px; border-radius: var(--radius-full);
  background: var(--teal-500);
  color: var(--teal-900); font-weight: 700; font-size: 13px;
  letter-spacing: 0.65px; line-height: 16px;
  box-shadow: 0px 4px 14px 0px rgba(0,180,197,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-contact:hover { transform: translateY(-1px); box-shadow: 0px 6px 20px 0px rgba(0,180,197,0.3); }
.btn-contact-dark {
  background: var(--teal-700);
  color: #fff;
  box-shadow: 0px 4px 15px 0px rgba(0,180,197,0.2);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-radius: 32px 32px 0 0;
  padding: 48px 64px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand h2 {
  font-size: 32px; font-weight: 700; letter-spacing: -0.32px;
  color: var(--teal-700); line-height: 40px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.footer-brand h2 svg { width: 20px; height: 20px; fill: var(--teal-700); }
.footer-brand p { font-size: 16px; line-height: 24px; color: var(--text-primary); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 16px; line-height: 24px; color: var(--text-primary); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-700); }
.footer-col a.active { font-weight: 700; color: var(--teal-700); }
.footer-copyright {
  max-width: 1280px; margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(187,201,203,0.3);
  text-align: center; font-size: 14px; color: var(--text-primary);
}

/* ===== Footer Extended ===== */
.footer-extended {
  background: var(--bg-card);
  border-radius: 32px 32px 0 0;
  padding: 48px 64px;
}
.footer-ext-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-ext-brand h2 {
  font-size: 28px; font-weight: 700;
  color: var(--teal-700); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.footer-ext-brand p {
  font-size: 14px; line-height: 22px;
  color: var(--text-primary);
}
.footer-ext-col h4 {
  font-size: 14px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px;
}
.footer-ext-col a {
  display: block; font-size: 14px; line-height: 24px;
  color: var(--text-primary); margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-ext-col a:hover { color: var(--teal-700); }
.footer-ext-copy {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 64px 0;
  text-align: center; font-size: 13px;
  color: var(--text-primary);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; border-radius: var(--radius-full);
  background: var(--teal-700); color: #fff;
  font-weight: 700; font-size: 16px; line-height: 24px;
  box-shadow: 0px 4px 6px -1px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0px 6px 12px -2px rgba(0,0,0,0.15); }

.btn-gradient {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  color: #fff; font-weight: 700; font-size: 18px; line-height: 28px;
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0px 14px 20px -4px rgba(0,0,0,0.15); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; border-radius: var(--radius-full);
  border: 2px solid var(--teal-700); color: var(--teal-700);
  font-weight: 700; font-size: 13px; letter-spacing: 0.65px; line-height: 16px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: rgba(0,105,115,0.05); }

.btn-warm-gradient {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--warm-600), var(--warm-400));
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.65px; line-height: 16px;
  box-shadow: 0px 10px 40px -10px rgba(0,180,197,0.08);
  transition: transform 0.2s;
}
.btn-warm-gradient:hover { transform: translateY(-1px); }

/* ===== Chips ===== */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 13px; letter-spacing: 0.65px; line-height: 16px;
}
.chip-teal { background: var(--bg-card-alt); color: var(--teal-700); }
.chip-warm { background: #FFDBC8; color: var(--warm-700); }
.chip-active { background: var(--teal-700); color: #fff; }

/* ===== Section helpers ===== */
.section { padding: 96px 64px; max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 48px; font-weight: 800; letter-spacing: -0.96px;
  line-height: 56px; color: var(--teal-700); margin-bottom: 12px;
}
.section-header h3 {
  font-size: 32px; font-weight: 700; letter-spacing: -0.32px;
  line-height: 40px; color: var(--teal-700); margin-bottom: 12px;
}
.section-header p {
  font-size: 18px; font-weight: 500; line-height: 28px;
  color: var(--text-primary); max-width: 672px; margin: 0 auto;
}

/* ===== Cards ===== */
.glass-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), var(--shadow-soft);
  padding: 32px;
}

/* ===== Hamburger Menu (Mobile) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .topnav-inner { padding: 0 24px; }
  .hamburger { display: flex; }
  .topnav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(249,249,255,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .topnav-links.open { display: flex; }
  .topnav-links a { padding: 12px 16px; font-size: 18px; border-radius: 12px; }
  .topnav-links a:hover { background: var(--bg-card); }
  .topnav-links a.active { border-bottom: none; padding-bottom: 12px; background: var(--bg-card); }
  .btn-contact, .btn-contact-dark { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 32px 24px; }
  .footer-extended { padding: 32px 24px; }
  .footer-ext-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== WhatsApp Floating Button ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waFloat 2s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.wa-float:hover { animation: none; transform: scale(1.1); }

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
