:root {
  --navy: #1a2432;
  --red: #e2231a;
  --red-tint: #fceceb;
  --text: #333333;
  --text-muted: #777777;
  --text-faint: #999999;
  --border: #f0f0f0;
  --border-strong: #e5e5e5;
  --bg-soft: #f8f8f8;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body {
  background: #ffffff;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
}

h1, h2, h3 { color: var(--navy); margin: 0; }

p { margin: 0; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--red); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

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

.logo { font-size: 28px; font-weight: 600; }
.logo-dark { color: var(--navy); }
.logo-accent { color: var(--red); }

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

.nav a { font-size: 14px; color: #444; }
.nav a.nav-cta { color: var(--red); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero */
.hero { padding: 72px 0; }

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy { flex: 1; }

.hero-copy h1 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.hero-copy p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; }

.hero-visual {
  flex: 1;
  border-radius: 16px;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.92) contrast(1.05);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(226, 35, 26, 0.55) 0%,
    rgba(226, 35, 26, 0) 38%,
    rgba(26, 36, 50, 0) 62%,
    rgba(26, 36, 50, 0.8) 100%
  );
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-dark { background: var(--navy); color: #fff; }

/* Partners */
.partners { padding: 4px 0 44px; }

.partners-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.partners-logos img {
  height: 34px;
  width: auto;
  display: block;
}

/* About */
.about { padding: 8px 0 48px; }

.about .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.about-text {
  max-width: 760px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-text p:last-child { margin-bottom: 0; }

/* Section heading */
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-heading h2 { font-size: 24px; margin-bottom: 12px; }
.section-heading p { font-size: 15px; color: var(--text-muted); }

/* Services (pillar overview) */
.services { padding: 48px 0; border-top: 1px solid var(--border); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pillar-card {
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.pillar-card .service-icon { margin-bottom: 14px; }

.pillar-card h3 { font-size: 16px; margin-bottom: 8px; }

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-card .pillar-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.service-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-summary {
  text-align: center;
  max-width: 680px;
  margin: 32px auto 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Approach */
.approach { padding: 48px 0; border-top: 1px solid var(--border); }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.approach-card {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 22px;
}

.approach-card h3 { font-size: 15px; margin-bottom: 8px; }
.approach-card p { font-size: 14px; color: var(--text-muted); }

/* Why us (editorial) */
.why-us { padding: 48px 0; border-top: 1px solid var(--border); }

.why-us .container { max-width: 720px; }

.why-us p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.why-us p:last-child { margin-bottom: 0; }

/* Checklists (benefits / ideal clients) */
.checklist-section { padding: 48px 0; border-top: 1px solid var(--border); }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.checklist li svg { flex: none; margin-top: 3px; }

/* Closing band */
.closing-band { background: var(--navy); padding: 56px 0; text-align: center; }

.closing-band p.closing-lead {
  color: #cbd2da;
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 8px;
  line-height: 1.7;
}

.closing-band .tagline {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  margin: 18px 0 24px;
}

.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* CTA band */
.cta-band { background: var(--red); padding: 32px 0; }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-inner p { color: #fff; font-size: 17px; font-weight: 600; }

/* Footer */
.site-footer { padding: 24px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links { display: flex; gap: 18px; }

/* Detail pages (servicios/*) */
.breadcrumb-link {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 20px 0 0;
}

.detail-hero { padding: 16px 0 32px; border-bottom: 1px solid var(--border); }

.detail-hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.detail-hero h1 { font-size: 30px; line-height: 1.3; margin-bottom: 16px; max-width: 760px; }

.detail-hero p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 14px;
}

.detail-hero p:last-child { margin-bottom: 0; }

.toc { padding: 28px 0; border-bottom: 1px solid var(--border); }

.toc p.toc-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toc-list a {
  display: inline-block;
  font-size: 13px;
  padding: 7px 14px;
  border: 0.5px solid var(--border-strong);
  border-radius: 20px;
  color: var(--navy);
}

.detail-section { padding: 40px 0; border-bottom: 1px solid var(--border); }

.detail-section h2 { font-size: 22px; margin-bottom: 6px; }
.detail-section h3 { font-size: 17px; margin: 28px 0 6px; }

.detail-section .section-kicker {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.detail-section p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.detail-section p:last-child { margin-bottom: 0; }

.detail-list {
  list-style: none;
  margin: 14px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.detail-list li svg { flex: none; margin-top: 3px; }

.detail-closing { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-top: 16px; }

.related-services { padding: 40px 0; }

.related-services p.related-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

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

.related-grid a {
  display: block;
  border: 0.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* Responsive */
@media (max-width: 800px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav.open { display: flex; }

  .nav a {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle { display: flex; }

  .hero-inner { flex-direction: column; }
  .hero-copy p { max-width: none; }
  .hero-visual { width: 100%; }

  .hero-copy h1 { font-size: 30px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .pillar-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .detail-hero h1 { font-size: 26px; }
}
