/* ═══════════════════════════════════════
   toup.es — Global Stylesheet
   ═══════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --bg: #F8F8F6;
  --white: #FFFFFF;
  --dark: #0C0C0C;
  --mid: #3A3A3A;
  --muted: #8A8A8A;
  --muted-2: #C0C0BC;
  --accent: #1A6BFF;
  --accent-light: #EEF3FF;
  --accent-mid: #C8D9FF;
  --green: #0FA958;
  --green-light: #EDFBF3;
  --border: #E4E4E0;
  --border-dark: #D0D0CA;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 68px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--dark);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 700; letter-spacing: -0.5px;
}
.nav-logo-text {
  font-size: 15px; font-weight: 700; color: var(--dark); letter-spacing: -0.3px;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 14px; color: var(--mid); font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

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

.nav-phone {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--dark);
  border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--dark);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--dark); color: white; }

.nav-cta {
  display: inline-block;
  background: var(--dark); color: white;
  padding: 9px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.82; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  width: 36px; height: 36px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--dark); color: white;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  display: inline-block;
  background: var(--white); color: var(--dark);
  border: 1px solid var(--border);
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--dark); }

.btn-white {
  display: inline-block;
  background: white; color: var(--dark);
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  white-space: nowrap; transition: opacity 0.2s; flex-shrink: 0;
}
.btn-white:hover { opacity: 0.9; }

.btn-accent {
  display: inline-block;
  background: var(--accent); color: white;
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  transition: opacity 0.2s;
}
.btn-accent:hover { opacity: 0.85; }

/* ─── SECTIONS BASE ─── */
section { padding: 100px 40px; }
.container { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 300;
  letter-spacing: -1.5px; line-height: 1.1; color: var(--dark);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px; color: var(--muted); max-width: 520px;
  line-height: 1.7; font-weight: 300;
}

/* ─── ANIMATIONS ─── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(15,169,88,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(15,169,88,0); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,0.65); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── HERO (HOME) ─── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 40px 80px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px 6px 8px;
  margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse 2.2s infinite; flex-shrink: 0;
}
.hero-badge span { font-size: 12px; font-weight: 500; color: var(--mid); }

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 300; line-height: 1.05; letter-spacing: -2px;
  color: var(--dark); margin-bottom: 28px; max-width: 800px;
  opacity: 0; animation: slideUp 0.8s ease 0.1s forwards;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 18px; color: var(--muted); max-width: 520px;
  line-height: 1.7; font-weight: 300; margin-bottom: 40px;
  opacity: 0; animation: slideUp 0.8s ease 0.25s forwards;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; animation: slideUp 0.8s ease 0.4s forwards;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
  opacity: 0; animation: slideUp 0.8s ease 0.55s forwards;
}
.hero-stat-value {
  font-family: 'Fraunces', serif;
  font-size: 36px; font-weight: 300; color: var(--dark);
  letter-spacing: -1px; line-height: 1;
}
.hero-stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 64px) 40px 80px;
}
.page-hero .section-eyebrow { color: rgba(255,255,255,0.4); }
.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 300;
  letter-spacing: -2px; line-height: 1.05;
  color: white; margin-bottom: 20px; max-width: 700px;
}
.page-hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.5);
  font-weight: 300; max-width: 520px; line-height: 1.7;
}

/* ─── PROBLEMA ─── */
#problema { background: var(--dark); }
#problema .section-eyebrow { color: rgba(255,255,255,0.4); }
#problema .section-title  { color: white; }
#problema .section-sub    { color: rgba(255,255,255,0.5); }

.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.08); margin-top: 56px;
}
.problem-card { background: #111; padding: 40px; }
.problem-pct {
  font-family: 'Fraunces', serif;
  font-size: 56px; font-weight: 300; color: white;
  letter-spacing: -2px; line-height: 1; margin-bottom: 12px;
}
.problem-pct span { color: var(--accent); }
.problem-label { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.5; }

.problem-cta-row {
  margin-top: 56px; padding: 40px;
  background: var(--accent); display: flex;
  justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.problem-cta-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2.5vw, 28px); font-weight: 300;
  font-style: italic; color: white; max-width: 520px;
}

/* ─── RESULTADOS (new section) ─── */
.section-resultados { background: var(--dark); }
.section-resultados .section-eyebrow { color: rgba(255,255,255,0.4); }
.section-resultados .section-title  { color: white; }
.section-resultados .section-sub    { color: rgba(255,255,255,0.5); }

.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.08); margin-top: 56px; margin-bottom: 40px;
}
.metric-card {
  background: #111; padding: 40px; text-align: center;
}
.metric-value {
  font-family: 'Fraunces', serif;
  font-size: 52px; font-weight: 300; color: white;
  letter-spacing: -2px; line-height: 1; margin-bottom: 8px;
}
.metric-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.metric-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.4; }

.resultados-note {
  font-size: 14px; color: rgba(255,255,255,0.4);
  text-align: center; max-width: 600px;
  margin: 0 auto 32px; line-height: 1.6;
}
.resultados-cta { text-align: center; }

/* ─── SERVICIOS ─── */
#servicios { background: var(--white); }

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 56px;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.service-card:hover {
  box-shadow: var(--shadow); border-color: var(--border-dark);
  transform: translateY(-3px);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--accent-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.service-card h3 {
  font-size: 18px; font-weight: 600; color: var(--dark);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.service-desc {
  font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px;
}
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 600;
  background: var(--white); border: 1px solid var(--border);
  color: var(--mid); padding: 4px 10px; border-radius: 100px;
}

/* ─── CASOS ─── */
#casos { background: var(--bg); }

.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 56px;
}
.case-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.case-img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
}
.case-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #E8E8E4 0%, #D0D0CA 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.case-tags { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.case-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-light); padding: 3px 8px; border-radius: 100px;
}
.case-card h3 {
  font-size: 16px; font-weight: 600; color: var(--dark);
  margin-bottom: 6px; letter-spacing: -0.2px;
}
.case-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }

.case-metric {
  display: flex; align-items: center; gap: 8px;
  padding-top: 16px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.case-metric-value {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 300; color: var(--dark); letter-spacing: -0.5px;
}
.case-metric-label { font-size: 12px; color: var(--muted); line-height: 1.3; }

.case-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-top: 14px; transition: opacity 0.2s;
}
.case-link:hover { opacity: 0.75; }

/* ─── FILTER TABS (proyectos) ─── */
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px;
}
.filter-tab {
  padding: 8px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--mid);
  transition: all 0.2s; font-family: 'Plus Jakarta Sans', sans-serif;
}
.filter-tab.active {
  background: var(--dark); color: white; border-color: var(--dark);
}
.filter-tab:hover:not(.active) { border-color: var(--dark); }

/* ─── PROJECT DETAIL ─── */
.project-hero-img {
  width: 100%; height: 480px; object-fit: cover; display: block;
  margin-top: var(--nav-h);
}
.project-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 64px;
  align-items: start; padding: 80px 40px;
  max-width: 1100px; margin: 0 auto;
}
.project-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 300; color: var(--dark);
  margin-bottom: 16px; margin-top: 48px; letter-spacing: -1px;
  line-height: 1.2;
}
.project-content h2:first-child { margin-top: 0; }
.project-content p {
  font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 20px;
}

.project-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.project-info {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.project-info-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.project-info-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px;
  gap: 12px;
}
.project-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.project-info-row strong { color: var(--dark); font-weight: 600; flex-shrink: 0; }
.project-info-row span { color: var(--muted); text-align: right; }

.project-cta-box {
  background: var(--dark); border-radius: var(--radius); padding: 28px;
}
.project-cta-box p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.5; margin-bottom: 16px;
}
.project-cta-box a { display: block; text-align: center; }

.project-services {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0;
}

.project-result-card {
  background: var(--green-light); border: 1px solid #A8ECC8;
  border-radius: var(--radius); padding: 32px; margin: 32px 0; text-align: center;
}
.project-result-value {
  font-family: 'Fraunces', serif;
  font-size: 52px; font-weight: 300; color: var(--green);
  letter-spacing: -2px; line-height: 1; margin-bottom: 8px;
}
.project-result-label {
  font-size: 14px; color: var(--green); font-weight: 600; margin-bottom: 4px;
}
.project-result-sub { font-size: 13px; color: #5A9B76; }

.related-projects { padding: 80px 40px; border-top: 1px solid var(--border); }

/* ─── FORMADOR ─── */
#formador { background: var(--white); }
.formador-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-top: 56px;
}
.formador-text {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  font-weight: 300; margin-bottom: 28px;
}
.formador-text strong { color: var(--dark); font-weight: 600; }
.formador-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0;
}
.formador-stat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px;
}
.formador-stat-val {
  font-family: 'Fraunces', serif;
  font-size: 30px; font-weight: 300; color: var(--dark);
  letter-spacing: -1px; line-height: 1; margin-bottom: 4px;
}
.formador-stat-lbl { font-size: 12px; color: var(--muted); }

.formador-orgs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.org-badge {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 12px; font-weight: 600; color: var(--mid);
}
.formador-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.formador-photo {
  border-radius: var(--radius-sm); overflow: hidden; background: var(--border);
}
.formador-photo img {
  width: 100%; height: 200px; object-fit: cover; display: block;
}
.formador-photo:first-child { grid-column: span 2; }
.formador-photo:first-child img { height: 260px; }

/* ─── METODOLOGÍA ─── */
#metodologia { background: var(--bg); }
.method-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); margin-top: 56px;
}
.method-step { background: var(--white); padding: 36px 28px; }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px; font-weight: 200; color: var(--muted-2);
  line-height: 1; margin-bottom: 20px; letter-spacing: -2px;
}
.method-step h3 {
  font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 10px;
}
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── BLOG ─── */
#blog { background: var(--white); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.blog-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; flex-shrink: 0;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.blog-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-light); padding: 3px 8px; border-radius: 100px;
}
.blog-date,
.blog-read { font-size: 12px; color: var(--muted-2); }
.blog-card h3 {
  font-size: 16px; font-weight: 600; color: var(--dark);
  letter-spacing: -0.2px; line-height: 1.4; margin-bottom: 10px;
}
.blog-excerpt {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  flex: 1; margin-bottom: 20px;
}
.blog-link {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto; transition: opacity 0.2s;
}
.blog-link:hover { opacity: 0.75; }
.blog-cta-row { margin-top: 48px; text-align: center; }
.blog-cta-row p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ─── PRECIO ─── */
#precio { background: var(--bg); }
.price-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: start; margin-top: 56px;
}
.price-card {
  background: var(--dark); border-radius: 20px; padding: 48px;
  position: relative; overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(26,107,255,0.15); border-radius: 50%;
  pointer-events: none;
}
.price-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 72px; font-weight: 300; color: white;
  letter-spacing: -3px; line-height: 1; margin-bottom: 4px;
}
.price-period { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 32px; }
.price-includes { margin-bottom: 32px; }
.price-includes li {
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px; color: rgba(255,255,255,0.75);
  display: flex; align-items: center; gap: 10px;
}
.price-includes li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0;
}
.price-guarantees { display: flex; flex-direction: column; gap: 16px; }
.guarantee {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.guarantee-icon {
  width: 40px; height: 40px; background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.guarantee h3 { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.guarantee-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── FAQ ─── */
#faq { background: var(--bg); }
.faq-list { margin-top: 48px; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.2s; gap: 16px;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  font-size: 18px; color: var(--muted);
  transition: transform 0.25s; flex-shrink: 0; line-height: 1;
}
.faq-a {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ─── CONTACTO ─── */
#contacto { background: var(--dark); }
#contacto .section-eyebrow { color: rgba(255,255,255,0.4); }
#contacto .section-title { color: white; }

.page-contacto { background: var(--dark); }
.page-contacto .page-hero { padding-bottom: 64px; }

.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; margin-top: 56px;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-info-label {
  font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.contact-info-val { font-size: 15px; color: rgba(255,255,255,0.85); }
.contact-info-val a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.contact-info-val a:hover { color: white; }

.contact-note {
  margin-top: 40px; padding: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
}
.contact-note p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.contact-note strong { color: rgba(255,255,255,0.75); }

.contact-form-wrap { background: var(--white); border-radius: 20px; padding: 40px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 12px; font-weight: 600; color: var(--mid);
  margin-bottom: 6px; letter-spacing: 0.05em;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; border: 1px solid var(--border);
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 14px; color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  outline: none; appearance: none;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--accent); background: white; }
.form-row textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%; background: var(--dark); color: white;
  border: none; border-radius: 100px; padding: 16px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-note-dark { font-size: 12px; color: rgba(255,255,255,0.35); text-align: center; margin-top: 16px; }

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success-icon {
  width: 56px; height: 56px; background: var(--green-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; font-size: 24px;
}
.form-success p { font-size: 16px; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.form-success span { font-size: 14px; color: var(--muted); }

/* ─── SOBRE NOSOTROS ─── */
.diferencias-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.diferencia-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.diferencia-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.diferencia-icon {
  font-size: 28px; margin-bottom: 16px;
}
.diferencia-card h3 {
  font-size: 17px; font-weight: 600; color: var(--dark);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.diferencia-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

.historia-text {
  max-width: 680px;
}
.historia-text p {
  font-size: 17px; color: var(--muted); line-height: 1.8;
  font-weight: 300; margin-bottom: 24px;
}
.historia-text p:last-child { margin-bottom: 0; }
.historia-text strong { color: var(--dark); font-weight: 600; }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 3s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
  animation: none;
}
.whatsapp-tooltip {
  position: absolute; right: 68px;
  background: var(--dark); color: white;
  font-size: 12px; font-weight: 500; font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 6px 12px; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark); border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ─── FOOTER ─── */
footer {
  background: #080808; padding: 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 12px; font-weight: 700;
}
.footer-logo-text { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.7); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  font-size: 12px; color: rgba(255,255,255,0.2);
  max-width: 1100px; margin: 24px auto 0; padding: 0 40px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--accent); padding: 80px 40px; text-align: center;
}
.cta-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 300;
  color: white; letter-spacing: -1px; margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 32px;
}

/* ─── RESPONSIVE 768px ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-phone { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
    flex-direction: column;
    gap: 0; align-items: flex-start;
    flex: none; justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 0; font-size: 15px; color: var(--dark); }
  .nav-right .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { font-size: 12px; padding: 8px 14px; }

  section { padding: 72px 20px; }
  #hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 28px; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-cta-row { flex-direction: column; align-items: flex-start; }

  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-value { font-size: 36px; }

  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr; }

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

  .formador-layout { grid-template-columns: 1fr; gap: 40px; }
  .formador-photos { grid-template-columns: 1fr 1fr; }

  .method-steps { grid-template-columns: 1fr 1fr; }

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

  .price-layout { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .project-layout { grid-template-columns: 1fr; }
  .project-hero-img { height: 280px; }
  .project-sidebar { position: static; }

  footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { padding: 0; }

  .whatsapp-float { bottom: 20px; right: 20px; }
  .whatsapp-tooltip { display: none; }

  .related-projects { padding: 60px 20px; }
}

/* ─── RESPONSIVE 480px ─── */
@media (max-width: 480px) {
  .cases-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .formador-photos { grid-template-columns: 1fr; }
  .formador-photo:first-child { grid-column: span 1; }
  .price-card { padding: 32px 24px; }
  .price-amount { font-size: 56px; }
  .contact-form-wrap { padding: 28px 20px; }
}
