/*
Theme Name: Juan Tejada Personal Brand
Theme URI: https://juantejada.com
Author: Juan Ramon Tejada Galindo
Description: Personal brand for Juan Tejada — AI Solutions and Consultant. Dark premium, purple glow accents, Plus Jakarta Sans. Linear/Vercel-grade aesthetic.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: juantejada
*/

:root {
  --pp: #8B6CFF;
  --pp-deep: #6A47E8;
  --pp-bright: #B9A5FF;
  --teal: #5EEAD4;
  --bg: #0A0912;
  --bg-2: #070610;
  --el: #16141F;
  --el-2: #1C1929;
  --bd: rgba(255,255,255,0.08);
  --bd-2: rgba(255,255,255,0.14);
  --bd-pp: rgba(139,108,255,0.35);
  --tx: #F5F3FA;
  --t2: #A09BB0;
  --t3: #6B6680;
  --glow-pp: rgba(139,108,255,0.42);
  --glow-teal: rgba(139,108,255,0.12);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--t2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--pp); color: #fff; }
a { color: var(--pp-bright); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--tx);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }

.accent {
  background: linear-gradient(120deg, var(--pp-bright), var(--pp));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--pp-bright);
  margin: 0 0 1rem;
}
.label::before { content: ''; width: 22px; height: 2px; background: var(--pp); border-radius: 2px; }
.label.center { justify-content: center; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--t2); font-size: 1.02rem; margin-top: 0.9rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--pill);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, background 0.25s, border-color 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--pp); color: #fff; box-shadow: 0 8px 24px rgba(124,92,252,0.4); }
.btn-primary:hover { background: var(--pp-deep); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(124,92,252,0.55); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--tx); border-color: var(--bd); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--bd-2); transform: translateY(-2px); }
.btn .ico { transition: transform 0.25s; }
.btn:hover .ico { transform: translateX(3px); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,9,18,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--bd);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; color: var(--tx); letter-spacing: -0.02em; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--pp), var(--pp-deep));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; box-shadow: 0 4px 16px rgba(124,92,252,0.5);
}
.nav-menu { display: flex; align-items: center; gap: 1.8rem; }
.nav-menu a { color: var(--t2); font-size: 0.92rem; font-weight: 500; }
.nav-menu a:hover { color: var(--tx); }
.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.lang-pill { display: inline-flex; background: rgba(255,255,255,0.06); border: 1px solid var(--bd); border-radius: var(--pill); padding: 3px; }
.lang-pill a { padding: 4px 11px; font-size: 0.72rem; font-weight: 700; border-radius: var(--pill); color: var(--t3); letter-spacing: 0.04em; }
.lang-pill a.active { background: var(--pp); color: #fff; }

@media (max-width: 860px) { .nav-menu { display: none; } }
@media (max-width: 600px) { .header-cta .btn-primary { display: none; } }

/* ===== HERO ===== */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -120px; left: -100px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--glow-pp) 0%, transparent 62%);
  filter: blur(12px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -180px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--glow-teal) 0%, transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(139,108,255,0.1); border: 1px solid rgba(139,108,255,0.3);
  color: var(--pp-bright); font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 0.95rem; border-radius: var(--pill); margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(94,234,212,0.6);} 50% { box-shadow: 0 0 0 8px rgba(94,234,212,0);} }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 1.3rem; color: var(--tx); }
.hero-sub { color: var(--t2); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 46ch; margin: 0 0 2rem; line-height: 1.6; }
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/4.6; max-width: 380px; margin-left: auto;
  border: 1px solid var(--bd-2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,108,255,0.1);
}
@media (max-width: 920px) { .hero-photo { margin: 0 auto; max-width: 320px; } }
.hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(139,108,255,0.12) 0%, transparent 40%, rgba(10,9,18,0.6) 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: contrast(1.05) brightness(0.95) saturate(0.85); }
.hero-photo .glow {
  position: absolute; inset: -2px; z-index: -1; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--pp), transparent 60%);
}

/* ===== STATS ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); position: relative; z-index: 2; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--el); border: 1px solid var(--bd); border-radius: var(--radius); padding: 1.4rem 1.3rem; transition: border-color 0.3s, transform 0.3s; }
.stat:hover { border-color: var(--bd-pp); transform: translateY(-3px); }
.stat-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(139,108,255,0.14); color: var(--pp-bright); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 0.8rem; }
.stat-val { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--tx); letter-spacing: -0.02em; line-height: 1; }
.stat-lbl { font-size: 0.82rem; color: var(--t3); font-weight: 500; margin-top: 0.4rem; }

/* ===== CLIENTS ===== */
.clients { border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.clients-title { text-align: center; color: var(--t3); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2rem; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.7rem; }
.client-chip { background: var(--el); border: 1px solid var(--bd); border-radius: var(--pill); padding: 0.6rem 1.3rem; font-weight: 700; font-size: 0.95rem; color: var(--t2); letter-spacing: -0.01em; transition: transform 0.25s, border-color 0.25s, color 0.25s; }
.client-chip:hover { transform: translateY(-2px); border-color: var(--bd-pp); color: var(--tx); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-text h2 { margin-bottom: 1.3rem; }
.about-text p { color: var(--t2); margin-bottom: 1.2rem; }
.about-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3.6; border: 1px solid var(--bd-2); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.about-media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(139,108,255,0.1) 0%, transparent 45%, rgba(10,9,18,0.35) 100%); }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: contrast(1.04) brightness(0.95) saturate(0.85); }
.about-float {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(22,20,31,0.82); backdrop-filter: blur(12px);
  border: 1px solid var(--bd-2); border-radius: var(--radius);
  padding: 1rem 1.2rem; max-width: 220px;
}
.about-float .ico { color: var(--pp-bright); font-size: 1.4rem; margin-bottom: 0.4rem; display: block; }
.about-float .ttl { font-weight: 700; color: var(--tx); font-size: 0.95rem; margin-bottom: 0.2rem; }
.about-float .sub { font-size: 0.8rem; color: var(--t3); }

/* ===== SERVICES ===== */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.services-head h2 { margin: 0; max-width: 18ch; }
.services-head p { color: var(--t2); margin: 0; max-width: 30ch; font-size: 0.95rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--el); border: 1px solid var(--bd); border-radius: var(--radius-lg);
  padding: 1.7rem; position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--bd-pp); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.service-card.feat { background: linear-gradient(155deg, #2a2147 0%, #16141f 78%); border-color: var(--bd-pp); }
.service-card.feat::before { content: ''; position: absolute; top: -50px; right: -50px; width: 170px; height: 170px; background: radial-gradient(circle, var(--glow-pp), transparent 70%); pointer-events: none; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; position: relative; z-index: 1; }
.service-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--pp-bright); background: rgba(139,108,255,0.14); padding: 0.3rem 0.7rem; border-radius: var(--pill); }
.service-ico { width: 44px; height: 44px; border-radius: 13px; background: rgba(139,108,255,0.14); color: var(--pp-bright); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.service-card h3 { font-size: 1.2rem; margin: 0 0 0.5rem; position: relative; z-index: 1; }
.service-card p { color: var(--t2); font-size: 0.9rem; margin: 0; line-height: 1.55; flex: 1; position: relative; z-index: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.2rem; position: relative; z-index: 1; }
.service-tag { font-size: 0.68rem; font-weight: 600; color: var(--t2); background: rgba(255,255,255,0.06); padding: 0.25rem 0.6rem; border-radius: var(--pill); }

/* ===== WORK ===== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1rem; }
@media (max-width: 920px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  background: var(--el); border: 1px solid var(--bd); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); border-color: var(--bd-pp); }
.work-frame { background: var(--bg-2); padding: 0.6rem 0.8rem; display: flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid var(--bd); }
.work-frame i { width: 8px; height: 8px; border-radius: 50%; background: #2a2738; display: inline-block; }
.work-frame .addr { margin-left: 0.6rem; font-family: monospace; font-size: 0.68rem; color: var(--t3); }
.work-shot { aspect-ratio: 16/10; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.work-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-shot.gen-ta { background: linear-gradient(135deg, #0B1225, #1B3A6B); }
.work-shot.gen-cp { background: linear-gradient(135deg, #0F1F3D, #2563EB); }
.work-shot.gen-ent { background: linear-gradient(135deg, #241F33, #4a3a8f); }
.work-shot .nm { color: #fff; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; z-index: 1; opacity: 0.96; }
.work-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.work-meta { font-size: 0.72rem; font-weight: 600; color: var(--pp-bright); letter-spacing: 0.03em; margin-bottom: 0.5rem; }
.work-body h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.work-body p { color: var(--t2); font-size: 0.88rem; margin: 0 0 1rem; line-height: 1.55; flex: 1; }
.work-link-row { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.88rem; color: var(--pp-bright); }
.work-link-row .ico { transition: transform 0.25s; }
.work-card:hover .work-link-row .ico { transform: translate(3px,-3px); }
.work-card a.cover { position: absolute; inset: 0; z-index: 3; text-indent: -9999px; overflow: hidden; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.process-steps { display: flex; flex-direction: column; gap: 0.8rem; }
.pstep { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--bd); background: var(--el); transition: all 0.3s; }
.pstep:hover { border-color: var(--bd-pp); }
.pstep.active { background: linear-gradient(155deg, #2a2147 0%, #16141f 80%); border-color: var(--bd-pp); }
.pstep.active .pstep-desc { display: block; }
.pstep-no { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: rgba(139,108,255,0.14); color: var(--pp-bright); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem; }
.pstep.active .pstep-no { background: var(--pp); color: #fff; box-shadow: 0 4px 14px rgba(124,92,252,0.5); }
.pstep-ttl { font-weight: 600; color: var(--tx); font-size: 1rem; }
.pstep-desc { font-size: 0.85rem; color: var(--t2); margin-top: 0.3rem; display: none; }
.process-panel {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--bd-2); background: linear-gradient(160deg, #16141f, #0d0b16);
  padding: 1.8rem; box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.process-panel::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, var(--glow-pp), transparent 70%); pointer-events: none; }
.process-panel-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--bd); }
.process-panel-head .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(139,108,255,0.16); color: var(--pp-bright); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.process-panel-head .ttl { font-weight: 700; color: var(--tx); font-size: 1rem; }
.process-panel-head .sub { font-size: 0.78rem; color: var(--t3); }
.stack-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.stack-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0.9rem 0.5rem; border-radius: var(--radius); background: rgba(255,255,255,0.04); border: 1px solid var(--bd); transition: border-color 0.25s, transform 0.25s, background 0.25s; }
.stack-item:hover { border-color: var(--bd-pp); transform: translateY(-2px); background: rgba(139,108,255,0.08); }
.stack-item .si-ico { font-size: 1.4rem; color: var(--pp-bright); }
.stack-item .si-name { font-size: 0.72rem; font-weight: 600; color: var(--t2); text-align: center; }

/* ===== CONTACT ===== */
.contact-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #1a1430 0%, #0d0b16 90%);
  border: 1px solid var(--bd-pp); border-radius: var(--radius-xl);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}
.contact-card::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 500px; height: 380px; background: radial-gradient(circle, var(--glow-pp), transparent 64%); pointer-events: none; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card .label { color: var(--pp-bright); justify-content: center; }
.contact-card h2 { color: var(--tx); font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; margin: 0 auto 1rem; }
.contact-card .lead { color: var(--t2); max-width: 46ch; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.contact-ctas { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.contact-meta { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.contact-meta a { color: var(--t2); font-size: 0.92rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.45rem; }
.contact-meta a:hover { color: var(--tx); }
.contact-meta .ico { color: var(--pp-bright); }

/* ===== FOOTER ===== */
.site-footer { padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; border-top: 1px solid var(--bd); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--bd); }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a { color: var(--t2); font-size: 0.9rem; font-weight: 500; }
.footer-nav a:hover { color: var(--tx); }
.footer-contact { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--tx); font-weight: 600; font-size: 0.9rem; }
.footer-contact .ico { color: var(--pp-bright); }
.footer-giant {
  font-size: clamp(3.5rem, 17vw, 13rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.85; white-space: nowrap; text-align: center;
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  background: linear-gradient(180deg, var(--tx) 8%, rgba(139,108,255,0.22) 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 0 2.5rem; }
.footer-bottom span { font-size: 0.82rem; color: var(--t3); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bd); display: inline-flex; align-items: center; justify-content: center; color: var(--t2); transition: all 0.25s; }
.footer-social a:hover { background: var(--pp); color: #fff; border-color: var(--pp); transform: translateY(-2px); }

/* ===== LANG TOGGLE ===== */
.lang-en { display: none; }
body.lang-en .lang-es { display: none; }
body.lang-en .lang-en { display: inline; }
body.lang-en ul.lang-es { display: none; }
body:not(.lang-en) ul.lang-en { display: none; }
body.lang-en .lang-en.block { display: block; }

/* ===== ANIMATIONS ===== */
/* Animations apply only when JS marks body .anim-ready — content visible by default otherwise */
.anim-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.anim-ready .reveal.in { opacity: 1; transform: translateY(0); }
.anim-ready .hero-grid > div > * { opacity: 0; animation: heroUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards; }
.anim-ready .hero-grid > div > *:nth-child(1) { animation-delay: 0.08s; }
.anim-ready .hero-grid > div > *:nth-child(2) { animation-delay: 0.16s; }
.anim-ready .hero-grid > div > *:nth-child(3) { animation-delay: 0.24s; }
.anim-ready .hero-grid > div > *:nth-child(4) { animation-delay: 0.32s; }
.anim-ready .hero-grid > div > *:nth-child(5) { animation-delay: 0.4s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px);} to { opacity: 1; transform: translateY(0);} }
@media (prefers-reduced-motion: reduce) { .anim-ready .reveal, .anim-ready .hero-grid > div > * { opacity: 1 !important; transform: none !important; animation: none !important; } }

@media print { .site-header, .hero-ctas, .contact-ctas, .lang-pill { display: none !important; } body { background: #fff; color: #000; } }
