@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.1);
  --foreground: #0f172a;
  --background: #f8fafc;
  --card: #ffffff;
  --muted: #f1f5f9;
  --muted-fg: #64748b;
  --border: #e2e8f0;
  --radius: 0.75rem;
  --header-h: 70px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-blue: 0 4px 18px rgba(37,99,235,0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(37,99,235,0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--foreground) !important;
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background-color: var(--primary-light);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background-color: #1ebe5d;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
}

.btn-light-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: #fff;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-light-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--foreground);
  letter-spacing: -0.025em;
  gap: 0;
}
.logo-accent {
  color: var(--primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--muted-fg);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.phone-link {
  display: none;
  align-items: center;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.phone-link:hover { color: var(--primary); }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}
.menu-toggle:hover { border-color: var(--primary); }

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 90;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.mobile-menu.active { display: block; }

.nav-mobile { display: flex; flex-direction: column; }

.nav-link-mobile {
  display: block;
  padding: 0.9rem 1.5rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--muted);
  transition: background-color 0.15s, color 0.15s;
}
.nav-link-mobile:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.mobile-contacts {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.btn-whatsapp-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background-color: #25d366;
  color: #fff !important;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
}
.btn-whatsapp-mobile:hover { background-color: #1ebe5d; }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #eef2ff 0%, #e0eaff 40%, #f0f9ff 100%);
  overflow: hidden;
  position: relative;
}

/* decorative circles */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(37,99,235,0.1);
  color: var(--primary);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--foreground) !important;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  text-transform: none !important;
}

.hero-content h1 .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted-fg) !important;
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 460px;
  font-weight: 400;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.82rem;
  color: var(--muted-fg);
  font-weight: 500;
}
.hero-trust-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

/* Hero image */
.hero-image-wrapper {
  flex: 0 0 48%;
  max-width: 500px;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
}

.hero-badge-float {
  position: absolute;
  bottom: -1.25rem;
  left: -1.75rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}
.hero-badge-float-icon {
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--primary);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hero-badge-float-icon svg { width: 1.25rem; height: 1.25rem; }

.hero-badge-float-text { line-height: 1.3; }
.hero-badge-float-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}
.hero-badge-float-text span {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* ===========================
   SECTION SHARED
=========================== */
.section-subtitle-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.625rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--muted-fg);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===========================
   SERVICES
=========================== */
.services {
  padding: 5.5rem 0;
  scroll-margin-top: var(--header-h);
}

.services-header {
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--card);
  border-radius: 1.125rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(37,99,235,0.1);
  transform: translateY(-5px);
}

.service-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  background-color: var(--primary-light);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background-color 0.3s, color 0.3s;
}
.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: #fff;
}

.service-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
}

.service-card p {
  color: var(--muted-fg);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   ADVANTAGES
=========================== */
.advantages {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 50%, #2563eb 100%);
  scroll-margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.advantages::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  border-radius: 50%;
}
.advantages::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  border-radius: 50%;
}

.advantages .container { position: relative; z-index: 1; }

.advantages .section-subtitle-tag {
  color: rgba(255,255,255,0.65);
}
.advantages .section-title {
  color: #fff;
  margin-bottom: 2.5rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.adv-item {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.125rem;
  padding: 1.875rem;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s, transform 0.3s;
}
.adv-item:hover {
  background-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.adv-item h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}
.adv-item p {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(140deg, #eef2ff 0%, #e0eaff 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-container h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.cta-container p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding: 5.5rem 0;
  background-color: var(--foreground);
  color: #fff;
  scroll-margin-top: var(--header-h);
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact .section-title {
  color: #fff;
  margin-bottom: 1.75rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}
.contact-info strong {
  color: #fff;
  font-weight: 600;
}
.contact-info a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info a:hover { color: #fff; }

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 1.5rem;
  background-color: #020617;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ===========================
   FLOATING WHATSAPP BUTTON
=========================== */
.floating-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 3.625rem;
  height: 3.625rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: transform 0.25s, box-shadow 0.25s;
  z-index: 200;
  text-decoration: none;
}
.floating-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.55);
}

/* ===========================
   MEDIA QUERIES
=========================== */
@media (min-width: 640px) {
  .phone-link {
    display: flex;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 3.5rem 1.5rem;
    gap: 3rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-image-wrapper {
    width: 100%;
    max-width: 460px;
  }
  .hero-img {
    height: 380px;
  }
  .hero-badge-float {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .hero-img {
    height: 280px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
