/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a56db;
  --blue-dark: #1040b0;
  --blue-light: #e8f0fe;
  --accent: #0ea5e9;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --mid: #475569;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --whatsapp: #25d366;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.14);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.accent { color: var(--blue); }

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-desc {
  color: var(--mid);
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,.3); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; transform: translateY(-2px); }
.btn-whatsapp svg { width: 18px; height: 18px; }

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 24px rgba(0,0,0,.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.logo-text {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.logo-text em { display: block; font-style: normal; font-weight: 400; font-size: .75rem; color: var(--mid); }

.navbar:not(.scrolled) .logo-text { color: var(--white); }
.navbar:not(.scrolled) .logo-text em { color: rgba(255,255,255,.7); }

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,.9);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.12); }

.navbar.scrolled .nav-links a { color: rgba(255,255,255,.85); }
.navbar.scrolled .nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-cta { padding: 10px 20px; font-size: .88rem; }
.navbar:not(.scrolled) .nav-cta { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); color: var(--white); }
.navbar:not(.scrolled) .nav-cta:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
  padding-left: clamp(32px, 6vw, 80px);
  padding-right: 0;
  min-height: 100vh;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%       { opacity: .85; transform: scale(1.08); }
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000;
}


.hero-content {
  flex: 1;
  padding-top: 120px;
  padding-bottom: 60px;
  max-width: 640px;
  text-align: left;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
  margin-top: 4px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Hero photo */
.hero-image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: photoFloat 7s ease-in-out infinite;
  filter: brightness(.6) saturate(0.9);
}

.hero-image-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,.4) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #000 0%, rgba(0,0,0,.8) 15%, rgba(0,0,0,.2) 35%, transparent 60%),
    linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 15%, transparent 40%),
    linear-gradient(to bottom, rgba(0,0,0,.3) 0%, transparent 20%);
  z-index: 2;
}

/* ===== ABOUT ===== */
.about { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark-2);
  max-width: 220px;
}

.card-icon { font-size: 1.6rem; }
.card-1 { top: 40px; left: 20px; }
.card-2 { bottom: 80px; right: 20px; }

.about-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(26,86,219,.35);
}

.about-text .section-eyebrow { margin-bottom: 8px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--mid); margin-bottom: 16px; line-height: 1.75; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.pillar {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}

.pillar.visible {
  opacity: 1;
  transform: translateX(0);
}

.pillar:nth-child(1) { transition-delay: 0s; }
.pillar:nth-child(2) { transition-delay: .1s; }
.pillar:nth-child(3) { transition-delay: .2s; }
.pillar:nth-child(4) { transition-delay: .3s; }

.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark-2);
}

.pillar-icon {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}

/* ===== SERVICES ===== */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--blue) 0%, #1040b0 100%);
  border-color: transparent;
  color: var(--white);
}

.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,.8); }
.service-card.featured .service-link { color: rgba(255,255,255,.9); }
.service-card.featured .service-icon { background: rgba(255,255,255,.15); color: var(--white); }

.service-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon {
  width: 72px;
  height: 72px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
}
.service-icon svg { width: 72px; height: 72px; }
.service-card.featured .service-icon { color: rgba(255,255,255,.85); }

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--mid); font-size: .92rem; line-height: 1.65; margin-bottom: 20px; }

.service-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
  display: inline-block;
}
.service-link:hover { gap: 8px; }

/* ===== AI FEATURES ===== */
.ai-features { background: var(--dark); color: var(--white); }
.ai-features .section-eyebrow { color: var(--accent); }
.ai-features .section-header h2 { color: var(--white); }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.ai-item {
  padding: 40px 36px;
  background: var(--dark);
  transition: background var(--transition);
}
.ai-item:hover { background: var(--dark-2); }

.ai-num {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.ai-item h4 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.ai-item p { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.65; }

/* ===== PRICING ===== */
.pricing { background: var(--light); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all var(--transition);
}

.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,86,219,.08), var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pricing-desc { color: var(--mid); font-size: .9rem; margin-bottom: 28px; line-height: 1.55; }

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-card li { font-size: .9rem; color: var(--dark-2); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 60%, #0ea5e9 100%);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner h2 .accent { color: var(--accent); }
.cta-inner p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-eyebrow { margin-bottom: 8px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--mid); margin-bottom: 36px; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--dark);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--blue); }
.contact-item span { color: var(--dark); font-weight: 500; }

.social-links { display: flex; gap: 10px; }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--light);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: all var(--transition);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-2px); }

/* Contact Form */
.contact-form {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--mid);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-mark { background: rgba(255,255,255,.12); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text em { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: .6;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.5); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 999;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    padding: 12px 32px;
  }
  .nav-links.open a:hover { background: rgba(255,255,255,.1); border-radius: 8px; }

  .hamburger { display: flex; z-index: 1001; }

  .hero-image-wrap { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 28px; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .ai-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .contact-form { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .ai-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
