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

:root {
  --blue:        #3B82F6;
  --blue-dark:   #2563EB;
  --blue-light:  #EFF6FF;
  --blue-mid:    #DBEAFE;
  --purple:      #8B5CF6;
  --purple-light:#F5F3FF;
  --green:       #10B981;
  --green-light: #ECFDF5;
  --orange:      #F59E0B;
  --orange-light:#FFFBEB;

  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --sh-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --sh-lg: 0 12px 32px rgba(0,0,0,.09), 0 4px 8px rgba(0,0,0,.04);
  --sh-xl: 0 24px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 10px rgba(59,130,246,.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(59,130,246,.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  margin-top: 1px;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* HEADER */
#header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,231,235,.6);
  transition: box-shadow .2s;
}
#header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.logo-name { font-size: 15px; font-weight: 700; color: var(--gray-800); }

.nav-right { display: flex; align-items: center; gap: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue); }

/* Nav CTA button sizing */
.nav-cta { padding: 10px 20px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .25s;
}

#mobilePanel {
  display: none;
  border-top: 1px solid var(--gray-100);
  background: #fff;
}
#mobilePanel .container {
  padding-top: 16px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#mobilePanel a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
#mobilePanel a:last-child { border-bottom: none; }

/* Mobile panel CTA button */
.mobile-panel-cta { margin-top: 8px; justify-content: center; }

/* HERO */
#hero {
  position: relative;
  background: linear-gradient(150deg, #F8FAFF 0%, #EFF6FF 40%, #F0FDF4 100%);
  padding: 100px 0 88px;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}
.blob-1 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(59,130,246,.18), transparent 70%); top: -240px; right: -120px; }
.blob-2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(139,92,246,.14), transparent 70%); bottom: -160px; left: -80px; }
.blob-3 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(16,185,129,.1), transparent 70%); top: 40%; left: 45%; }

.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(239,246,255,.9);
  border: 1px solid rgba(59,130,246,.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 880px;
  margin: 0 auto 22px;
}

.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-ctas .btn { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

/* Hero stats center wrapper */
.hero-stats-center { display: flex; justify-content: center; }

.stats-strip {
  display: inline-flex;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229,231,235,.7);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.stat-item {
  padding: 20px 36px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 5px;
}

/* SERVICES */
#servicios { padding: 96px 0; background: var(--gray-50); }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.srv-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 26px 28px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
}
.srv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-xl);
  border-color: transparent;
}
.srv-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--sh-lg);
  background: linear-gradient(180deg, #fff 0%, #F8FBFF 100%);
}

.srv-top-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 13px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-blue  { background: var(--blue);  color: #fff; }
.badge-green { background: var(--green); color: #fff; }

.srv-icon   { font-size: 30px; margin-bottom: 14px; display: block; }
.srv-name   { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.srv-price  { font-size: 21px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; margin-bottom: 3px; }
.srv-del    { font-size: 12px; color: var(--gray-400); margin-bottom: 18px; }

.photo-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(245,158,11,.2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.srv-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.srv-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}
.srv-features li:last-child { border-bottom: none; }

/* Photo service card — features list top margin (no photo-tag above it) */
.srv-features--photo { margin-top: 22px; }

.pkg-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  border-radius: var(--r-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: #fff;
  margin-top: 28px;
}

.pkg-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.pkg-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.pkg-desc  { font-size: 14px; opacity: .85; max-width: 500px; line-height: 1.6; }

.pkg-right { text-align: center; flex-shrink: 0; }
.pkg-price { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.pkg-save  { font-size: 13px; opacity: .75; margin-top: 4px; margin-bottom: 20px; }

/* PROJECTS */
#proyectos { padding: 96px 0; background: #fff; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.proj-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: #fff;
  transition: all .25s ease;
}
.proj-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.proj-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.proj-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}
.proj-card:hover .proj-img img { transform: scale(1.05); }

.proj-chip {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
}

.proj-body { padding: 24px; }
.proj-name { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.proj-desc { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.tag-blue   { color: var(--blue);   background: var(--blue-light);   }
.tag-orange { color: var(--orange); background: var(--orange-light); }
.tag-purple { color: var(--purple); background: var(--purple-light); }

/* RESULTS */
#resultados { padding: 96px 0; background: var(--gray-50); }

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

.results-client { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .04em; margin-bottom: 8px; }
.results-desc   { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }

.results-highlight {
  background: #fff;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 24px;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
}

.hl-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 8px; }
.hl-text  { font-size: 15px; color: var(--gray-700); line-height: 1.6; }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-box {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px 20px;
  border: 1px solid var(--gray-200);
  transition: all .2s;
}
.metric-box:hover { box-shadow: var(--sh-md); border-color: transparent; }

.metric-num   { font-size: 34px; font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.metric-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }

/* Metric number color variants */
.metric-num--blue   { color: var(--blue); }
.metric-num--purple { color: var(--purple); }
.metric-num--green  { color: var(--green); }
.metric-num--orange { color: var(--orange); }

.campaign-img-box {
  margin-top: 14px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  padding: 16px;
  text-align: center;
}
.campaign-img-box span { display: block; font-size: 12px; color: var(--gray-400); margin-bottom: 10px; }
.campaign-img-box img  { max-width: 100%; border-radius: var(--r-sm); }

/* WHY ME */
#por-que { padding: 96px 0; background: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: all .25s;
}
.why-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-4px); }

.why-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 22px;
}

/* Icon wrap background variants */
.bg-blue-light   { background: var(--blue-light); }
.bg-green-light  { background: var(--green-light); }
.bg-purple-light { background: var(--purple-light); }

.why-title { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.why-desc  { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* CONTACT */
#contacto { padding: 96px 0; background: var(--gray-50); }

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

.contact-heading {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.contact-sub { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 40px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.contact-item { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--gray-700); }

.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* Contact icon color variant */
.contact-icon--orange { background: var(--orange-light); }

.ci-title { font-size: 13px; font-weight: 600; color: var(--gray-900); }
.ci-val   { font-size: 13px; color: var(--gray-500); }

.form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--sh-xl);
  border: 1px solid var(--gray-200);
}

.form-title { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 28px; }

.fg { margin-bottom: 18px; }
.fl { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }

.fi, .fs, .ft {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
  appearance: none;
}
.fi:focus, .fs:focus, .ft:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
  background: #fff;
}
.ft { min-height: 112px; resize: vertical; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--gray-400);
  pointer-events: none;
}

.btn-submit { width: 100%; padding: 14px; font-size: 15px; border-radius: var(--r-sm); justify-content: center; }

/* FOOTER */
footer { background: var(--gray-800); color: #fff; padding: 52px 0 32px; }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.footer-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.footer-name    { font-size: 15px; font-weight: 700; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.45); max-width: 280px; line-height: 1.5; }

.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.footer-nav a:hover { color: #fff; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-copy   { font-size: 12px; color: rgba(255,255,255,.35); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .results-inner { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .stats-strip { flex-direction: column; width: 100%; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }

  .why-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .pkg-banner { flex-direction: column; text-align: center; }
  .pkg-right  { width: 100%; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .metrics-grid  { grid-template-columns: 1fr; }
  .container     { padding: 0 16px; }
  .form-card     { padding: 28px 22px; }
  .pkg-banner    { padding: 28px 24px; }
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 9999;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
