/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:root {
  --background: #f8f9fb;
  --foreground: #1a2236;
  --card: #ffffff;
  --card-foreground: #1a2236;
  --primary: #2447b8;
  --primary-foreground: #fafbfd;
  --secondary: #e8edfb;
  --secondary-foreground: #2a3a6e;
  --muted: #eef1f8;
  --muted-foreground: #6b7691;
  --accent: #3a5fdc;
  --accent-foreground: #fafbfd;
  --border: #e1e6f0;
  --hero-gradient-start: #1a2747;
  --hero-gradient-end: #2c4a8a;
  --surface: #f3f5fa;
  --highlight: #1cb89b;
  --highlight-foreground: #ffffff;

  --radius: 0.5rem;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-corporate: 0 4px 24px -4px rgba(36, 71, 184, 0.12);
  --shadow-card-hover: 0 12px 40px -8px rgba(36, 71, 184, 0.18);
}

body { font-family: var(--font-body); background: var(--background); color: var(--foreground); line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.02em; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.gradient-hero { background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end)); }
.gradient-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .header-inner { height: 5rem; } }
.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo img { height: 2.5rem; width: auto; object-fit: contain; }
.logo span { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; color: var(--foreground); }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color 0.2s; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); font-weight: 600; }
.header-actions { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .header-actions { display: flex; } }
.header-phone { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.header-phone:hover { color: var(--primary); }
.menu-toggle { display: block; padding: 0.5rem; color: var(--foreground); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }
.icon-close { display: none; }
.menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-close { display: block; }
.nav-mobile { display: none; background: var(--card); border-bottom: 1px solid var(--border); padding: 1rem; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile .btn { margin-top: 0.5rem; width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; font-weight: 600; border-radius: var(--radius); transition: all 0.2s; white-space: nowrap; }
.btn-default { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.625rem 1.5rem; font-size: 0.9375rem; }
.btn-xl { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 0.625rem; }
.btn-cta { background: var(--highlight); color: var(--highlight-foreground); }
.btn-cta:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 20px -4px rgba(28, 184, 155, 0.4); }
.btn-hero { background: var(--highlight); color: var(--highlight-foreground); }
.btn-hero:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-hero-outline { background: transparent; color: var(--primary-foreground); border: 2px solid rgba(255, 255, 255, 0.3); }
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.btn-outline { background: transparent; color: var(--foreground); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Sections */
main { min-height: 60vh; }
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.bg-surface { background: var(--surface); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: 8rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .hero { padding-top: 10rem; padding-bottom: 7rem; } }
.hero-page { padding-top: 8rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .hero-page { padding-top: 10rem; padding-bottom: 5rem; } }
.hero-pattern { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 18c0-9.94-8.06-18-18-18S0 8.06 0 18s8.06 18 18 18 18-8.06 18-18z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; pointer-events: none; }
.hero-content { position: relative; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(255, 255, 255, 0.6); margin-bottom: 1rem; }
.hero h1 { font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--primary-foreground); margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .text-highlight { color: var(--highlight); }
.hero p { font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; max-width: 36rem; }
@media (min-width: 640px) { .hero p { font-size: 1.25rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-img { display: none; }
@media (min-width: 1024px) { .hero-img { display: block; } }
.hero-img img { border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); }

/* StatsBar */
.stats-bar { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 2.5rem 0; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-value { font-size: 1.875rem; font-weight: 800; margin-bottom: 0.25rem; }
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }
.stat-label { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 500; }

/* Section heading */
.section-heading { text-align: center; max-width: 48rem; margin: 0 auto; }
.section-heading.left { text-align: left; margin: 0; max-width: 48rem; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); margin-bottom: 0.75rem; }
.section-tag.light { color: rgba(255, 255, 255, 0.6); }
.section-heading h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; color: var(--foreground); margin-bottom: 1rem; }
@media (min-width: 640px) { .section-heading h2 { font-size: 2.25rem; } }
.section-heading h2.light { color: var(--primary-foreground); }
.section-heading p { font-size: 1.125rem; line-height: 1.6; color: var(--muted-foreground); }
.section-heading p.light { color: rgba(255, 255, 255, 0.7); }

/* Cards */
.cards-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
.cards-grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; transition: all 0.3s; }
.service-card:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(36, 71, 184, 0.2); }
.service-card .icon-wrap { width: 3rem; height: 3rem; border-radius: 0.5rem; background: var(--secondary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: background 0.2s; }
.service-card:hover .icon-wrap { background: rgba(36, 71, 184, 0.1); }
.service-card .icon-wrap svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.service-card h3 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; }
.service-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

.center { text-align: center; }
.mt-10 { margin-top: 2.5rem; }
.mt-8 { margin-top: 2rem; }

/* Steps */
.steps-grid { display: grid; gap: 2rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; }
.step .step-icon { width: 4rem; height: 4rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; box-shadow: var(--shadow-corporate); }
.step .step-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary-foreground); }
.step-tag { font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; }
.step h3 { font-weight: 700; margin: 0.25rem 0 0.5rem; font-size: 1rem; }
.step p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* Tech */
.tech-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 640px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
.tech-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; }
.tech-item .tech-icon { width: 2rem; height: 2rem; border-radius: 0.375rem; background: var(--secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tech-item .tech-icon svg { width: 1rem; height: 1rem; color: var(--primary); }
.tech-item span { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }

/* Support */
.support-card { background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.75rem; padding: 1.5rem; text-align: center; }
.support-card svg { width: 2rem; height: 2rem; color: var(--highlight); margin: 0 auto 0.75rem; }
.support-card h3 { color: var(--primary-foreground); font-weight: 700; margin-bottom: 0.25rem; font-size: 1rem; }
.support-card p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; }

/* Footer */
.footer { background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end)); color: var(--primary-foreground); }
.footer-inner { padding: 4rem 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo img { height: 2.75rem; width: auto; object-fit: contain; background: #ffffff; padding: 0.25rem 0.5rem; border-radius: 0.375rem; filter: none !important; -webkit-filter: none !important; }
.footer-logo span { font-weight: 800; font-size: 1.125rem; }
.footer-col p { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; line-height: 1.6; }
.footer-col h4 { font-weight: 600; margin-bottom: 1rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--primary-foreground); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; margin-top: 0.125rem; flex-shrink: 0; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); }

/* WhatsApp */
.whatsapp-btn { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; display: flex; align-items: center; gap: 0.5rem; background: var(--highlight); color: var(--highlight-foreground); padding: 0.75rem 1.25rem; border-radius: 9999px; box-shadow: 0 10px 30px -8px rgba(28, 184, 155, 0.5); font-weight: 600; font-size: 0.875rem; transition: all 0.3s; }
.whatsapp-btn:hover { transform: scale(1.05); box-shadow: 0 15px 40px -8px rgba(28, 184, 155, 0.6); }
.whatsapp-btn svg { width: 1.25rem; height: 1.25rem; }
.whatsapp-btn span { display: none; }
@media (min-width: 640px) { .whatsapp-btn span { display: inline; } }

/* About */
.about-grid { display: grid; gap: 3.5rem; align-items: flex-start; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { color: var(--muted-foreground); line-height: 1.7; margin-top: 1rem; }
.about-text strong { color: var(--foreground); font-weight: 600; }
.differentials { display: flex; flex-direction: column; gap: 0.5rem; }
.differentials h3 { font-weight: 700; margin-bottom: 1rem; }
.differential-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; }
.differential-item svg { width: 1.25rem; height: 1.25rem; color: var(--highlight); flex-shrink: 0; }
.differential-item span { font-weight: 500; color: var(--foreground); }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; text-align: center; transition: all 0.3s; }
.value-card:hover { box-shadow: var(--shadow-card-hover); }
.value-card .icon-wrap-lg { width: 3.5rem; height: 3.5rem; border-radius: 0.875rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: var(--shadow-corporate); }
.value-card .icon-wrap-lg svg { width: 1.75rem; height: 1.75rem; color: var(--primary-foreground); }
.value-card h3 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; }
.value-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* Services detail */
.service-detail { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; transition: all 0.3s; margin-bottom: 2rem; }
.service-detail:hover { box-shadow: var(--shadow-card-hover); }
.service-detail .row { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 1024px) { .service-detail .row { flex-direction: row; } }
.service-detail .icon-wrap-lg { width: 3.5rem; height: 3.5rem; border-radius: 0.875rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-corporate); }
.service-detail .icon-wrap-lg svg { width: 1.75rem; height: 1.75rem; color: var(--primary-foreground); }
.service-detail h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-detail .desc { color: var(--muted-foreground); line-height: 1.6; margin-bottom: 1rem; }
.feature-list { display: grid; gap: 0.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list .item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.feature-list .item svg { width: 1rem; height: 1rem; color: var(--highlight); flex-shrink: 0; }

/* Contact */
.contact-wrap { max-width: 36rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; }
.contact-card h4 { font-weight: 700; margin-bottom: 1rem; }
.contact-card .row { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.contact-item svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.contact-item .label { font-weight: 500; color: var(--foreground); display: block; }
a.contact-item:hover { color: var(--primary); }
.whatsapp-card { display: flex; align-items: center; gap: 0.75rem; background: var(--highlight); color: var(--highlight-foreground); border-radius: 0.75rem; padding: 1.5rem; transition: all 0.3s; }
.whatsapp-card:hover { box-shadow: 0 15px 30px -8px rgba(28, 184, 155, 0.4); }
.whatsapp-card svg { width: 2rem; height: 2rem; }
.whatsapp-card .title { font-weight: 700; }
.whatsapp-card .sub { font-size: 0.875rem; opacity: 0.85; }
.hours-card { background: var(--surface); border-radius: 0.75rem; padding: 1.5rem; }
.hours-card h4 { font-weight: 700; margin-bottom: 0.5rem; }
.hours-card p { font-size: 0.875rem; color: var(--muted-foreground); }


/* Animations */
.fade-up { animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.text-primary-foreground { color: var(--primary-foreground); }
