/* ============================================================
   ElSEOLatino — Global Styles v2.0 (Flat / Netlify)
   ============================================================ */
:root {
  --navy-deep: #0a0e27;
  --navy: #101845;
  --navy-mid: #1a2460;
  --navy-light: #243080;
  --gold: #d4a843;
  --gold-bright: #f0c45a;
  --gold-dark: #b8902e;
  --electric: #4f8fff;
  --electric-glow: rgba(79,143,255,0.15);
  --cyan: #00d4aa;
  --white: #ffffff;
  --cream: #faf6ee;
  --text-light: rgba(255,255,255,0.75);
  --text-lighter: rgba(255,255,255,0.5);
  --shadow-gold: 0 4px 30px rgba(212,168,67,0.25);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--gold); color: var(--navy-deep);
  padding: 8px 16px; border-radius: 0 0 6px 6px;
  font-weight: 700; z-index: 10000; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 40px; display: flex; align-items: center;
  justify-content: space-between; transition: all 0.4s ease; background: transparent;
}
.navbar.scrolled {
  background: rgba(10,14,39,0.92); backdrop-filter: blur(20px);
  padding: 12px 40px; box-shadow: 0 1px 0 rgba(212,168,67,0.15);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  font-weight: 900; letter-spacing: -0.5px;
}
.nav-logo-text .gold { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-light); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-deep) !important; padding: 10px 24px; border-radius: 6px;
  font-weight: 700 !important; letter-spacing: 0.3px !important;
  text-transform: uppercase !important; font-size: 0.82rem !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
  box-shadow: 0 2px 15px rgba(212,168,67,0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.lang-toggle {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; width: 40px; height: 40px; color: var(--white); cursor: pointer;
  transition: all 0.3s ease; margin-left: 10px; padding: 0;
}
.lang-toggle:hover { background: rgba(212,168,67,0.15); border-color: var(--gold); transform: scale(1.1); }
.lang-flag { font-size: 1.4rem; line-height: 1; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  z-index: 1001; background: none; border: none; padding: 8px;
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ========== HERO — with uploaded background image ========== */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; padding: 120px 60px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,39,0.55) 0%, rgba(10,14,39,0.25) 50%, rgba(10,14,39,0.65) 100%),
    url('hero-bg.png') center/cover no-repeat;
}
.hero-geo-1 { position: absolute; top: 15%; right: 8%; width: 350px; height: 350px; border: 1px solid rgba(79,143,255,0.08); border-radius: 50%; animation: geo-rotate 30s linear infinite; }
.hero-geo-2 { position: absolute; top: 20%; right: 12%; width: 250px; height: 250px; border: 1px solid rgba(212,168,67,0.06); border-radius: 50%; animation: geo-rotate 20s linear infinite reverse; }
.hero-geo-3 { position: absolute; bottom: 10%; left: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(79,143,255,0.03) 0%, transparent 70%); border-radius: 50%; }
@keyframes geo-rotate { to { transform: rotate(360deg); } }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  background: rgba(79,143,255,0.1); border: 1px solid rgba(79,143,255,0.25);
  border-radius: 100px; font-family: 'Space Mono', monospace; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--electric);
  margin-bottom: 32px; opacity: 0; animation: fade-up 0.8s ease 0.2s forwards;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--electric); border-radius: 50%; animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -1.5px;
  margin-bottom: 28px; opacity: 0; animation: fade-up 0.8s ease 0.4s forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero h1 em { font-style: italic; color: var(--gold); position: relative; }
.hero h1 em::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0.5; }
.hero h1 .ai-text { background: linear-gradient(135deg, var(--electric), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: normal; }
.hero-sub { font-size: 1.15rem; line-height: 1.7; color: var(--text-light); max-width: 560px; margin-bottom: 40px; opacity: 0; animation: fade-up 0.8s ease 0.6s forwards; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; opacity: 0; animation: fade-up 0.8s ease 0.8s forwards; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-deep); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.3px; text-decoration: none; border-radius: 8px;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(212,168,67,0.3); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 35px rgba(212,168,67,0.45); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: transparent; color: var(--white); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.2);
  transition: all 0.3s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,168,67,0.05); }

.hero-stats { display: flex; gap: 48px; opacity: 0; animation: fade-up 0.8s ease 1s forwards; }
.stat { position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -24px; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: rgba(255,255,255,0.15); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.stat-label { font-size: 0.78rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.hero-cards { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 16px; opacity: 0; animation: fade-left 1s ease 1.2s forwards; }
.hero-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 22px 26px; width: 260px; transition: all 0.4s ease; }
.hero-card:hover { transform: translateX(-8px); border-color: rgba(212,168,67,0.3); background: rgba(212,168,67,0.08); }
.hero-card-icon { font-size: 1.6rem; margin-bottom: 10px; }
.hero-card-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.hero-card-desc { font-size: 0.78rem; color: var(--text-lighter); line-height: 1.5; }
.hero-card .ai-badge { display: inline-block; padding: 2px 8px; background: rgba(79,143,255,0.15); border: 1px solid rgba(79,143,255,0.3); border-radius: 4px; font-family: 'Space Mono', monospace; font-size: 0.6rem; color: var(--electric); letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }

@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-left { from { opacity: 0; transform: translate(40px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }

/* ========== SECTIONS SHARED ========== */
section { position: relative; }
.section-eyebrow { font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; max-width: 560px; }

/* ========== AI ADVANTAGE ========== */
.ai-advantage { padding: 120px 60px; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79,143,255,0.06) 0%, transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); overflow: hidden; }
.ai-advantage::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(79,143,255,0.3), transparent); }
.ai-advantage-header { text-align: center; margin-bottom: 70px; }
.ai-advantage-header .section-eyebrow { color: var(--electric); }
.ai-advantage-header .section-subtitle { margin: 0 auto; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto 60px; }
.ai-card { background: rgba(79,143,255,0.03); border: 1px solid rgba(79,143,255,0.1); border-radius: 20px; padding: 40px 32px; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); position: relative; overflow: hidden; }
.ai-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--electric), transparent); opacity: 0; transition: opacity 0.5s; }
.ai-card:hover { background: rgba(79,143,255,0.06); border-color: rgba(79,143,255,0.25); transform: translateY(-4px); }
.ai-card:hover::before { opacity: 1; }
.ai-card-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(79,143,255,0.15), rgba(79,143,255,0.05)); border-radius: 14px; font-size: 1.5rem; margin-bottom: 24px; }
.ai-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.ai-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.ai-card .tech-tag { display: inline-block; padding: 4px 12px; background: rgba(79,143,255,0.1); border: 1px solid rgba(79,143,255,0.2); border-radius: 100px; font-family: 'Space Mono', monospace; font-size: 0.65rem; color: var(--electric); letter-spacing: 1px; text-transform: uppercase; margin-top: 16px; }

.ai-compare { max-width: 700px; margin: 0 auto; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 40px; }
.ai-compare-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; text-align: center; margin-bottom: 32px; }
.compare-row { margin-bottom: 24px; }
.compare-row:last-child { margin-bottom: 0; }
.compare-label { font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; }
.compare-label span { color: var(--text-lighter); font-weight: 400; }
.compare-bars { display: flex; flex-direction: column; gap: 6px; }
.compare-bar { height: 8px; border-radius: 4px; position: relative; overflow: hidden; background: rgba(255,255,255,0.05); }
.compare-bar-fill { height: 100%; border-radius: 4px; transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1); width: 0; }
.compare-bar-fill.ours { background: linear-gradient(90deg, var(--electric), var(--cyan)); box-shadow: 0 0 15px rgba(79,143,255,0.3); }
.compare-bar-fill.theirs { background: rgba(255,255,255,0.15); }
.compare-bar-label { font-size: 0.68rem; color: var(--text-lighter); margin-top: 4px; }
.compare-bar-label.highlight { color: var(--electric); font-weight: 600; }

/* ========== SERVICIOS ========== */
.servicios { padding: 120px 60px; background: radial-gradient(ellipse 50% 40% at 80% 20%, rgba(212,168,67,0.04) 0%, transparent 70%), linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }
.servicios-header { text-align: center; margin-bottom: 70px; }
.servicios-header .section-subtitle { margin: 0 auto; }
.servicios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.servicio-card { position: relative; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 44px 38px; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); overflow: hidden; text-decoration: none; color: inherit; display: block; }
.servicio-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.5s; }
.servicio-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(212,168,67,0.2); transform: translateY(-4px); }
.servicio-card:hover::before { opacity: 1; }
.servicio-card.featured { border-color: rgba(79,143,255,0.2); background: rgba(79,143,255,0.03); }
.servicio-card.featured::before { background: linear-gradient(90deg, transparent, var(--electric), transparent); }
.servicio-number { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 900; color: rgba(212,168,67,0.08); position: absolute; top: 20px; right: 30px; line-height: 1; }
.servicio-card.featured .servicio-number { color: rgba(79,143,255,0.08); }
.servicio-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(212,168,67,0.05)); border-radius: 14px; font-size: 1.5rem; margin-bottom: 24px; }
.servicio-card.featured .servicio-icon { background: linear-gradient(135deg, rgba(79,143,255,0.15), rgba(79,143,255,0.05)); }
.servicio-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.servicio-card > p { color: var(--text-light); font-size: 0.92rem; line-height: 1.65; margin-bottom: 24px; }
.servicio-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.servicio-features li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-light); }
.servicio-features li::before { content: '◆'; color: var(--gold); font-size: 0.5rem; flex-shrink: 0; }
.servicio-card.featured .servicio-features li::before { color: var(--electric); }

/* ========== PROCESO ========== */
.proceso { padding: 120px 60px; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.proceso-header { text-align: center; margin-bottom: 70px; }
.proceso-header .section-subtitle { margin: 0 auto; }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 32px; width: 1px; background: linear-gradient(180deg, var(--electric), var(--gold), var(--cyan)); }
.timeline-item { display: flex; gap: 32px; margin-bottom: 48px; position: relative; }
.timeline-dot { width: 64px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--navy-deep); border: 2px solid var(--electric); border-radius: 50%; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.2rem; color: var(--electric); z-index: 1; }
.timeline-content h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* ========== TESTIMONIALS ========== */
.testimonials { padding: 120px 60px; background: radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212,168,67,0.04) 0%, transparent 70%), linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }
.testimonials-header { text-align: center; margin-bottom: 70px; }
.testimonials-header .section-subtitle { margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 36px 32px; transition: all 0.4s ease; }
.testimonial-card:hover { border-color: rgba(212,168,67,0.2); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-lighter); margin-top: 2px; }

/* ========== CTA ========== */
.cta-section { padding: 120px 60px; text-align: center; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212,168,67,0.06) 0%, transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.cta-section .section-subtitle { margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--gold); margin-top: 32px; }
.cta-phone a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
.cta-phone a:hover { color: var(--gold-bright); }

/* ========== FOOTER ========== */
.footer { padding: 60px 60px 32px; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto 40px; }
.footer-brand p { color: var(--text-lighter); font-size: 0.85rem; line-height: 1.7; margin-top: 16px; max-width: 300px; }
.footer h4 { font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-lighter); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--text-lighter); font-size: 0.78rem; }

/* ========== SERVICE PAGES ========== */
.service-hero { padding: 160px 60px 80px; background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,36,96,0.8) 0%, transparent 70%), linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }
.service-hero .section-title { max-width: 700px; }
.service-hero .section-subtitle { max-width: 600px; }
.service-content { padding: 80px 60px 120px; max-width: 900px; margin: 0 auto; }
.service-content h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; margin: 48px 0 16px; }
.service-content h2:first-child { margin-top: 0; }
.service-content p { color: var(--text-light); font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.service-content ul { list-style: none; margin-bottom: 24px; }
.service-content ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-bottom: 8px; }
.service-content ul li::before { content: '◆'; color: var(--gold); font-size: 0.5rem; flex-shrink: 0; margin-top: 8px; }
.service-cta-box { background: rgba(212,168,67,0.06); border: 1px solid rgba(212,168,67,0.2); border-radius: 20px; padding: 40px; text-align: center; margin-top: 60px; }
.service-cta-box h2 { margin-top: 0; }

/* ========== BLOG ========== */
.blog-hero { padding: 160px 60px 80px; background: linear-gradient(180deg, var(--navy-deep), var(--navy)); text-align: center; }
.blog-section { padding: 0 60px 120px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.blog-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; transition: all 0.4s ease; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { border-color: rgba(212,168,67,0.2); transform: translateY(-4px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--navy-mid); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-tag { font-family: 'Space Mono', monospace; font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--electric); margin-bottom: 10px; }
.blog-card-body h3, .blog-card-body h2 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-card-body p { color: var(--text-lighter); font-size: 0.82rem; line-height: 1.6; }

/* ========== 404 ========== */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.page-404 h1 { font-family: 'Playfair Display', serif; font-size: 8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.page-404 p { color: var(--text-light); font-size: 1.2rem; margin: 16px 0 32px; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs { padding: 0; margin-bottom: 12px; }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; font-size: 0.78rem; color: var(--text-lighter); }
.breadcrumbs a { color: var(--text-lighter); text-decoration: none; transition: color 0.3s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.4; }

/* ========== VIDEO EMBED ========== */
.video-showcase { margin: 32px 0 48px; }
.video-embed {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}
.video-caption {
  text-align: center; margin-top: 16px;
  font-size: 0.85rem; color: var(--text-lighter);
  font-style: italic;
}

/* ========== RESULTADOS / PROJECTS ========== */
.resultados { padding: 120px 60px; background: radial-gradient(ellipse 50% 40% at 50% 20%, rgba(212,168,67,0.04) 0%, transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.resultados-header { text-align: center; margin-bottom: 70px; }
.resultados-header .section-subtitle { margin: 0 auto; }

.project-card {
  max-width: 1100px; margin: 0 auto 48px;
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; overflow: hidden;
  transition: all 0.4s ease;
}
.project-card:hover { border-color: rgba(212,168,67,0.15); }
.project-card:last-child { margin-bottom: 0; }

.project-images { padding: 24px 24px 0; }
.project-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-single-img { max-width: 600px; }
.project-img-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.project-img-wrap img { width: 100%; height: auto; display: block; border-radius: 12px; }
.project-img-label {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.7); color: var(--white);
  padding: 4px 12px; border-radius: 6px;
  font-family: 'Space Mono', monospace; font-size: 0.65rem;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.project-img-label.after { background: rgba(212,168,67,0.85); color: var(--navy-deep); }

.project-info { padding: 28px 32px 32px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-tag {
  padding: 4px 12px; background: rgba(79,143,255,0.1);
  border: 1px solid rgba(79,143,255,0.2); border-radius: 100px;
  font-family: 'Space Mono', monospace; font-size: 0.62rem;
  color: var(--electric); letter-spacing: 1px; text-transform: uppercase;
}
.project-info h3 {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  font-weight: 900; margin-bottom: 4px;
}
.project-url { margin-bottom: 16px; }
.project-url a {
  color: var(--gold); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; transition: color 0.3s;
}
.project-url a:hover { color: var(--gold-bright); }
.project-desc {
  color: var(--text-light); font-size: 0.92rem;
  line-height: 1.7; margin-bottom: 24px;
}
.project-metrics {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
}
.project-metric { text-align: center; min-width: 100px; }
.project-metric-value {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  font-weight: 900; color: var(--gold); display: block; line-height: 1.2;
}
.project-metric-label {
  font-size: 0.72rem; color: var(--text-lighter);
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; display: block;
}

@media (max-width: 768px) {
  .resultados { padding: 80px 24px; }
  .project-before-after { grid-template-columns: 1fr; }
  .project-info { padding: 20px 20px 24px; }
  .project-info h3 { font-size: 1.3rem; }
  .project-metrics { gap: 16px; }
}

/* ========== SOCIAL STRIP ========== */
.social-strip {
  display: flex; justify-content: center; align-items: center; gap: 32px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.social-strip-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-lighter); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.3s ease;
}
.social-strip-link:hover { color: var(--gold); }
.social-strip-link svg { flex-shrink: 0; transition: transform 0.3s ease; }
.social-strip-link:hover svg { transform: scale(1.15); }

/* ========== SCROLL REVEAL ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-cards { display: none; }
  .ai-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,14,39,0.98);
    justify-content: center; align-items: center; z-index: 999; gap: 24px;
  }
  .nav-links.open a { font-size: 1.2rem; }
  .hero { padding: 120px 24px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat + .stat::before { display: none; }
  .ai-advantage, .servicios, .proceso, .testimonials, .cta-section { padding: 80px 24px; }
  .ai-grid, .servicios-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-hero, .service-hero { padding: 120px 24px 60px; }
  .blog-section { padding: 0 24px 80px; }
  .service-content { padding: 60px 24px 80px; }
}
