/*
Theme Name: Kupula Theme
Theme URI: https://example.com/kupula-theme
Author: Antigravity
Author URI: https://antigravity.google
Description: A functional WordPress theme for Kupula Marketing, converted from HTML/CSS.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kupula-theme
*/

:root{
  --bg: #f8f9fa;
  --text: #111827;
  --muted: #4b5563;
  --muted2: #6b7280;
  --line: rgba(0,0,0,0.08);
  --line2: rgba(0,0,0,0.05);
  --brand: #1d4ed8;
  --brand-light: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
  --radius: 16px;
  --radius2: 20px;
  --max: 1120px;

  /* Alternancia de secciones — claro / ligeramente más oscuro */
  --section-a: #ffffff;       /* blanco puro */
  --section-b: #f1f3f5;       /* gris muy suave */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height:1.6;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0; }
h1,h2,h3{ margin:0; letter-spacing:-0.025em; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skipLink{
  position:absolute; top:10px; left:10px;
  background:#fff; color:#111; padding:10px 12px;
  border-radius:12px; transform:translateY(-200%);
}
.skipLink:focus{ transform:translateY(0); }

/* ─── HEADER ─── */
.header, .siteHeader{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,0.90);
  backdrop-filter: blur(16px);
  border-bottom:1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.headerRow{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:16px;
}
.brand{ display:flex; align-items:center; gap:10px; min-width:180px; }
.brandMark{
  width:38px; height:38px; display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color:#fff; font-weight:900; font-size:17px;
  box-shadow: 0 4px 12px rgba(29,78,216,0.30);
}
.brandText{ display:flex; flex-direction:column; line-height:1.1; }
.brandName{ font-weight:800; font-size:15px; color:var(--text); }
.brandSub{ color:var(--muted2); font-size:12px; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li { margin: 0; padding: 0; }
.nav a, .nav ul li a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.15s;
  display: block;
}
.nav a:hover, .nav ul li a:hover {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}
.nav a.active, .nav ul li.current-menu-item a, .nav ul li.current_page_item a {
  color: var(--text);
  background: rgba(0,0,0,0.06);
}

.navToggle{
  display:none; border:1px solid var(--line);
  background:#fff; color:var(--text);
  border-radius:10px; padding:9px 11px; cursor:pointer;
}
.navMobile{
  border-top:1px solid var(--line);
  background:rgba(255,255,255,0.97);
}
.navMobileInner{ display:grid; gap:8px; padding:14px 0 16px 0; }
.navMobileInner a{
  padding:12px 14px; border-radius:12px;
  border:1px solid var(--line); background:#fff;
  color:var(--text); font-weight:600;
}

/* ─── BOTONES ─── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 18px; border-radius:12px; font-weight:700; font-size:14px;
  letter-spacing:-0.01em; border:1px solid transparent;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color:#fff; box-shadow: 0 4px 14px rgba(29,78,216,0.28);
  transition:transform 0.15s, box-shadow 0.15s;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow: 0 8px 22px rgba(29,78,216,0.34);
}
.btn:active{ transform:translateY(0); }

.btnGhost{
  background:transparent; box-shadow:none; color:var(--text);
  border:1px solid rgba(0,0,0,0.18);
}
.btnGhost:hover{ background:rgba(0,0,0,0.04); box-shadow:none; }

.btnSmall{ padding:9px 14px; border-radius:10px; font-size:13px; }
.btnFull{ width:100%; }

.section{ padding:72px 0; }

.pill{
  display:inline-flex; padding:6px 12px;
  border:1px solid rgba(29,78,216,0.20); border-radius:999px;
  background:rgba(29,78,216,0.06); color:var(--brand);
  font-weight:700; font-size:12.5px; margin-bottom:14px;
}

.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:18px; margin-bottom:28px;
}
.sectionHead h2{ font-size:32px; color:var(--text); }
.sectionHead p{ color:var(--muted); max-width:520px; }

/* ═══════════════════════════════════════
   ALTERNANCIA CLARO / LIGERAMENTE OSCURO
   Secciones impares → blanco
   Secciones pares  → gris muy suave
   (En WP se usará dinámicamente o por clase)
═══════════════════════════════════════ */

.section-hero{
  padding:74px 0 40px 0;
  background: var(--section-b);
  border-bottom:1px solid var(--line);
}

.section-services{
  padding:72px 0;
  background: var(--section-a);
  border-bottom:1px solid var(--line);
}

.section-process{
  padding:72px 0;
  background: var(--section-b);
  border-bottom:1px solid var(--line);
}

.section-cases{
  padding:72px 0;
  background: var(--section-a);
  border-bottom:1px solid var(--line);
}

.section-about{
  padding:72px 0;
  background: var(--section-b);
  border-bottom:1px solid var(--line);
}

.section-faq{
  padding:72px 0;
  background: var(--section-a);
  border-bottom:1px solid var(--line);
}

.section-contact{
  padding:72px 0 86px 0;
  background: var(--section-b);
}

/* Compatibilidad otras páginas */
.sectionDark{
  background: var(--section-b);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.sectionLight{ background: var(--section-a); }

/* ─── HERO ─── */
.heroGrid{
  display:grid; grid-template-columns:1.05fr 0.95fr;
  gap:36px; align-items:center;
}
.heroCopy h1{
  font-size:48px; line-height:1.08; margin-bottom:16px;
  color:var(--text);
}
.lead{ color:var(--muted); font-size:16.5px; max-width:600px; line-height:1.65; }
.heroCtas{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.heroBadges{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:22px; }
.badge{
  padding:14px; border-radius:var(--radius);
  border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-sm);
}
.badgeTitle{ font-weight:800; font-size:13.5px; color:var(--text); }
.badgeText{ display:block; color:var(--muted2); font-size:12.5px; margin-top:3px; }

.heroMedia{ display:grid; gap:12px; }
.heroCard{
  position:relative; border-radius:var(--radius2); overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow-lg);
}
.heroImg{ width:100%; height:420px; object-fit:cover; }
.heroOverlay{
  position:absolute; left:14px; right:14px; bottom:14px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.overlayStat{
  padding:10px 13px; border-radius:14px;
  background:rgba(255,255,255,0.90); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.80);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.overlayBig{ font-weight:900; font-size:15px; color:var(--text); }
.overlaySmall{ display:block; color:var(--muted); font-size:12px; margin-top:1px; }
.miniStrip{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.miniStrip img{
  height:110px; width:100%; object-fit:cover;
  border-radius:14px; border:1px solid var(--line); box-shadow:var(--shadow-sm);
}

/* ─── SERVICIOS ─── */
.cardsGrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.card{
  padding:22px; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-sm);
  transition:box-shadow 0.2s, transform 0.2s;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.cardIcon{
  width:42px; height:42px; display:grid; place-items:center;
  border-radius:12px; border:1px solid rgba(29,78,216,0.15);
  background:rgba(29,78,216,0.07);
  margin-bottom:14px; font-size:20px;
}
.card h3{ font-size:17px; margin-bottom:8px; color:var(--text); }
.card p{ color:var(--muted); margin-bottom:12px; font-size:14px; }
.checkList{ margin:0; padding-left:18px; color:var(--muted2); font-size:13.5px; }
.checkList li{ margin:5px 0; }

/* ─── PROCESO ─── */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:10px; }
.step{
  border-radius:var(--radius2); border:1px solid var(--line);
  background:#fff; padding:18px; display:flex; gap:12px;
  box-shadow:var(--shadow-sm); transition:box-shadow 0.2s;
}
.step:hover{ box-shadow:var(--shadow); }
.stepNum{
  width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  font-weight:900; font-size:14px; flex-shrink:0;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color:#fff; box-shadow: 0 3px 10px rgba(29,78,216,0.28);
}
.stepBody h3{ font-size:15px; margin-bottom:4px; color:var(--text); }
.stepBody p{ color:var(--muted); font-size:13.5px; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:20px; align-items:center; }
.splitCopy{
  padding:24px; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff; box-shadow:var(--shadow-sm);
}
.splitCopy h3{ font-size:20px; margin-bottom:10px; color:var(--text); }
.splitCopy p{ color:var(--muted); margin-bottom:14px; font-size:14.5px; }
.splitMedia img{
  height:320px; width:100%; object-fit:cover;
  border-radius:var(--radius2); border:1px solid var(--line); box-shadow:var(--shadow-lg);
}

/* ─── CASOS ─── */
.casesGrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.case{
  overflow:hidden; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-sm); transition:box-shadow 0.2s, transform 0.2s;
}
.case:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.case img{ height:190px; width:100%; object-fit:cover; }
.caseBody{ padding:18px; }
.caseBody h3{ font-size:17px; margin-bottom:4px; color:var(--text); }
.caseMeta{ color:var(--muted2); font-size:13px; margin-bottom:12px; }
.caseKpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.kpi{
  padding:10px 8px; border-radius:12px;
  border:1px solid var(--line); background:var(--section-b);
  text-align:center;
}
.kpiBig{ font-weight:900; font-size:15px; color:var(--brand); }
.kpiSmall{ display:block; color:var(--muted2); font-size:11.5px; margin-top:2px; }

.quote{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:18px; }
.quoteCard{
  padding:22px; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff; box-shadow:var(--shadow-sm);
}
.quoteText{ font-size:15px; color:var(--muted); line-height:1.65; font-style:italic; }
.quoteMeta{ margin-top:14px; }
.quoteName{ font-weight:800; font-size:14px; color:var(--text); }
.quoteRole{ display:block; color:var(--muted2); font-size:13px; margin-top:2px; }

/* ─── SOBRE ─── */
.aboutGrid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
.aboutCopy{
  padding:24px; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff; box-shadow:var(--shadow-sm);
}
.aboutCopy p{ color:var(--muted); margin-bottom:14px; font-size:15px; }
.aboutCtas{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:12px 0; }
.stat{
  padding:14px 12px; border-radius:14px;
  border:1px solid var(--line); background:var(--section-b); text-align:center;
}
.statBig{ font-weight:900; font-size:22px; color:var(--brand); }
.statSmall{ display:block; color:var(--muted2); font-size:12px; margin-top:3px; }
.aboutMedia{ position:relative; }
.aboutMedia img{
  height:420px; width:100%; object-fit:cover;
  border-radius:var(--radius2); border:1px solid var(--line); box-shadow:var(--shadow-lg);
}
.aboutTag{
  position:absolute; left:14px; bottom:14px;
  padding:9px 14px; border-radius:999px;
  background:rgba(255,255,255,0.92); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.90);
  font-weight:700; font-size:13px; color:var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ─── FAQ ─── */
.faq{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.faqItem{
  padding:16px 18px; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-sm); transition:box-shadow 0.2s;
}
.faqItem[open]{ box-shadow:var(--shadow); }
.faqItem summary{
  cursor:pointer; font-weight:700; font-size:15px; color:var(--text);
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:8px;
}
.faqItem summary::after{
  content:'+'; font-size:20px; font-weight:300;
  color:var(--muted2); flex-shrink:0; transition:transform 0.2s;
}
.faqItem[open] summary::after{ content:'−'; }
.faqItem summary::-webkit-details-marker{ display:none; }
.faqItem p{ color:var(--muted); margin-top:12px; font-size:14.5px; line-height:1.65; }

/* ═══════════════════════════════════════
   CONTACTO
   (Este CSS está pensado para los formularios que WP manejará, como Contact Form 7)
═══════════════════════════════════════ */
.contactGrid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:36px; align-items:start;
}
.contactCopy h2{ font-size:34px; margin-bottom:12px; color:var(--text); }
.contactCopy > p{ color:var(--muted); margin-bottom:22px; font-size:15.5px; }

.contactCards{ display:grid; gap:10px; margin-bottom:24px; }
.contactCard{
  padding:14px 18px; border-radius:16px;
  border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-sm);
  display:flex; align-items:center; gap:14px;
  transition:box-shadow 0.2s;
}
.contactCard:hover{ box-shadow:var(--shadow); }
.contactCardIcon{
  width:36px; height:36px; border-radius:10px;
  display:grid; place-items:center;
  background:rgba(29,78,216,0.08); border:1px solid rgba(29,78,216,0.14);
  font-size:16px; flex-shrink:0;
}
.contactCardInfo{ display:flex; flex-direction:column; gap:2px; }
.contactTitle{
  color:var(--muted2); font-weight:700; font-size:11px;
  text-transform:uppercase; letter-spacing:0.06em; display:block;
}
.contactLink{ font-weight:700; font-size:14.5px; color:var(--text); }
.contactLink:hover{ color:var(--brand); }
.contactNote{
  color:var(--muted2); font-size:13px; padding:10px 14px;
  border-radius:12px; background:rgba(0,0,0,0.03);
  border:1px solid var(--line);
}

/* FORMULARIO */
.form{
  padding:28px; border-radius:var(--radius2);
  border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-lg);
}
.formTitle{
  font-size:18px; font-weight:800; color:var(--text);
  margin-bottom:20px; padding-bottom:16px;
  border-bottom:1px solid var(--line);
  display:flex; align-items:center; gap:10px;
}
.formTitleIcon{
  width:32px; height:32px; border-radius:10px;
  display:grid; place-items:center;
  background:rgba(29,78,216,0.08); border:1px solid rgba(29,78,216,0.14);
  font-size:15px;
}
.formRow{ display:grid; gap:6px; margin-bottom:14px; }
.formRowDuo{
  display:grid; grid-template-columns:1fr 1fr;
  gap:14px; margin-bottom:14px;
}
.formRowDuo .formRow{ margin-bottom:0; }

label{ font-weight:700; font-size:13px; color:var(--muted); display:flex; align-items:center; gap:4px; }
label .req{ color:var(--brand); }

input, select, textarea{
  width:100%; border-radius:12px;
  border:1px solid rgba(0,0,0,0.14); background:#fafafa;
  color:var(--text); padding:11px 13px; outline:none;
  font-size:14px; font-family:inherit;
  transition:border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder{ color:rgba(0,0,0,0.30); }
input:focus, select:focus, textarea:focus{
  border-color:rgba(29,78,216,0.50);
  background:#fff;
  box-shadow:0 0 0 3px rgba(29,78,216,0.10);
}
input:hover:not(:focus), select:hover:not(:focus), textarea:hover:not(:focus){
  border-color:rgba(0,0,0,0.22);
}
textarea{ resize:vertical; min-height:100px; }

.checkboxRow{
  display:flex; align-items:flex-start; gap:10px;
  margin-bottom:16px; font-size:13px; color:var(--muted2);
}
.checkboxRow input[type="checkbox"]{
  width:17px; height:17px; min-width:17px; margin-top:2px;
  border-radius:5px; cursor:pointer; padding:0; accent-color:var(--brand);
}
.checkboxRow a{ color:var(--brand); text-decoration:underline; }
.checkboxRow label{ color:var(--muted2); font-weight:400; }

.btnSubmit{
  width:100%; padding:13px 16px; font-size:15px; border-radius:12px;
  font-weight:800; border:none; cursor:pointer;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color:#fff; box-shadow:0 6px 20px rgba(29,78,216,0.28);
  transition:transform 0.15s, box-shadow 0.15s;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.btnSubmit:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(29,78,216,0.36);
}
.btnSubmit:active{ transform:translateY(0); }
.formFine{ margin-top:11px; color:var(--muted2); font-size:12px; text-align:center; }

/* ─── FOOTER ─── */
.footer{
  border-top:1px solid var(--line);
  padding:40px 0 20px 0; background:#fff;
}
.footerGrid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }
.footerBrand{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.footerText{ color:var(--muted); max-width:400px; font-size:14px; }
.footerCols{ display:grid; grid-template-columns:1fr 1fr; gap:16px; justify-content:end; }
.footerCol{ display:grid; gap:8px; }
.footerTitle{ font-weight:800; color:var(--text); font-size:13.5px; margin-bottom:4px; }
.footerCol a{ color:var(--muted); font-weight:600; font-size:14px; transition:color 0.15s; }
.footerCol a:hover{ color:var(--text); }
.footerMuted{ color:var(--muted2); font-weight:600; font-size:14px; }
.footerBottom{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-top:24px; padding-top:16px;
  border-top:1px solid var(--line); color:var(--muted2);
}

/* ─── RESPONSIVE ─── */
@media (max-width:980px){
  .nav{ display:none; }
  .navToggle{ display:inline-flex; }
  .heroGrid{ grid-template-columns:1fr; }
  .heroImg{ height:380px; }
  .cardsGrid{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr 1fr; }
  .split{ grid-template-columns:1fr; }
  .casesGrid{ grid-template-columns:1fr; }
  .quote{ grid-template-columns:1fr; }
  .aboutGrid{ grid-template-columns:1fr; }
  .aboutMedia img{ height:360px; }
  .faq{ grid-template-columns:1fr; }
  .contactGrid{ grid-template-columns:1fr; }
  .footerGrid{ grid-template-columns:1fr; }
  .formRowDuo{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .heroCopy h1{ font-size:36px; }
  .heroBadges{ grid-template-columns:1fr; }
  .miniStrip{ grid-template-columns:1fr; }
  .miniStrip img{ height:150px; }
  .form{ padding:18px; }
}

/* ─── BLOG ─── */
.blogHero{
  padding: 56px 0 48px;
  background: var(--section-b);
  border-bottom: 1px solid var(--line);
}
.blogHeroCopy{ max-width: 640px; }
.blogHeroCopy h1{ font-size: 40px; margin-bottom: 12px; }
.blogHeroCopy p{ color: var(--muted); font-size: 16px; }
.blogFilters{
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 22px;
}
.filterBtn{
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: all 0.15s;
}
.filterBtn:hover, .filterBtn.active{
  background: var(--brand); color: #fff;
  border-color: var(--brand); box-shadow: 0 4px 12px rgba(29,78,216,0.22);
}
.blogSection{ padding: 64px 0; background: var(--section-a); }
.blogGrid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.postCard{
  border-radius: var(--radius2); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: inherit;
}
.postCard:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.postCard img{ width: 100%; height: 180px; object-fit: cover; display: block; }
.postCardBody{
  padding: 20px; flex: 1;
  display: flex; flex-direction: column;
}
.postMeta{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.postCat{
  display: inline-block; padding: 4px 10px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(29,78,216,0.08); color: var(--brand);
  border: 1px solid rgba(29,78,216,0.15);
}
.postDate{ font-size: 12px; color: var(--muted2); font-weight: 600; }
.postCard h2{
  font-size: 17px; line-height: 1.35; margin-bottom: 10px;
  color: var(--text); letter-spacing: -0.02em;
}
.postCard p{ color: var(--muted); font-size: 13.5px; line-height: 1.6; flex: 1; }
.postReadMore{
  margin-top: 16px; font-size: 13px; font-weight: 700;
  color: var(--brand); display: flex; align-items: center; gap: 4px;
}
.articleDivider{ border: none; border-top: 1px solid var(--line); margin: 0; }
.articleSection{ padding: 72px 0; }
.articleSection:nth-child(odd){ background: var(--section-b); }
.articleSection:nth-child(even){ background: var(--section-a); }
.articleWrap{ max-width: 740px; margin: 0 auto; }
.articleHeader{ margin-bottom: 30px; }
.articleMeta{
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.articleHeader h2{
  font-size: 30px; line-height: 1.2; color: var(--text); margin-bottom: 0;
}
.articleBody{ color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.articleBody p{ margin-bottom: 16px; }
.articleBody h3{ font-size: 19px; color: var(--text); margin: 28px 0 10px; letter-spacing: -0.02em; }
.articleBody h4{ font-size: 16px; color: var(--text); margin: 20px 0 8px; }
.articleBody ul, .articleBody ol{ padding-left: 22px; margin-bottom: 16px; }
.articleBody li{ margin: 6px 0; }
.articleBody strong{ color: var(--text); font-weight: 700; }
@media (max-width: 980px){ .blogGrid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){
  .blogGrid{ grid-template-columns: 1fr; }
  .blogHeroCopy h1{ font-size: 30px; }
  .articleHeader h2{ font-size: 24px; }
}

/* ── ABOUT PAGE EXTRAS ── */

/* HERO */
.about-hero {
  padding: 80px 0 60px 0;
  background: var(--section-b);
  border-bottom: 1px solid var(--line);
}

/* HOW WE WORK — 2 columnas de 4 items */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.how-item {
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.how-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.how-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  box-shadow: 0 3px 10px rgba(29,78,216,0.28);
}
.how-body h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px 0;
}
.how-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* TEAM SECTION */
.team-section {
  padding: 80px 0;
  background: var(--section-b);
  border-top: 1px solid var(--line);
}
.team-intro {
  max-width: 620px;
  margin: 0 auto 48px auto;
  text-align: center;
}
.team-intro h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.team-intro p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.team-intro-copy {
  margin-bottom: 32px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card-top {
  padding: 26px 24px 20px 24px;
  border-bottom: 1px solid var(--line2);
}
.team-role-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29,78,216,0.07);
  border: 1px solid rgba(29,78,216,0.18);
  color: var(--brand);
  font-weight: 700;
  font-size: 11.5px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.team-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 2px 0;
  letter-spacing: -0.02em;
}
.team-title {
  font-size: 13px;
  color: var(--muted2);
  font-weight: 600;
}
.team-card-body {
  padding: 18px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.team-skill {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--section-b);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.team-langs {
  font-size: 12.5px;
  color: var(--muted2);
  font-weight: 600;
}
.team-langs span {
  color: var(--muted);
  font-weight: 400;
}

/* CTA FINAL */
.about-cta {
  padding: 72px 0;
  background: var(--section-a);
  border-top: 1px solid var(--line);
  text-align: center;
}
.about-cta h2 {
  font-size: 34px;
  margin-bottom: 12px;
  color: var(--text);
}
.about-cta p {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 28px auto;
  line-height: 1.65;
}
.about-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SERVICIOS PAGE EXTRAS ── */
.services-hero {
  padding: 80px 0 56px 0;
  background: var(--section-b);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.services-hero h1 {
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: -0.03em;
}
.services-hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── GRID DE SERVICIOS ── */
.services-section {
  padding: 80px 0;
  background: var(--section-a);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── CARD DE SERVICIO ── */
.service-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-header {
  padding: 26px 26px 20px 26px;
  border-bottom: 1px solid var(--line2);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(29, 78, 216, 0.07);
  border: 1px solid rgba(29, 78, 216, 0.14);
}
.service-card-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  padding-top: 4px;
  letter-spacing: -0.02em;
}

.service-card-body {
  padding: 20px 26px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.service-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── CARD DESTACADA (span 2 columnas) ── */
.service-card-wide {
  grid-column: span 2;
}
.service-card-wide .service-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

/* ── CTA FINAL ── */
.services-cta {
  padding: 72px 0;
  background: var(--section-b);
  border-top: 1px solid var(--line);
  text-align: center;
}
.services-cta h2 {
  font-size: 34px;
  margin-bottom: 14px;
  color: var(--text);
}
.services-cta p {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px auto;
  line-height: 1.65;
}
.services-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 980px){
  .team-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card-wide { grid-column: span 2; }
  .services-hero h1 { font-size: 34px; }
}
@media (max-width: 600px){
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: span 1; }
  .service-card-wide .service-card-body { grid-template-columns: 1fr; }
  .services-hero h1 { font-size: 28px; }
}


