﻿:root {
  --bg: #141215;
  --ink: #f6f2f0;
  --muted: #b7aeb2;
  --accent: #e63a65;
  --accent-dark: #c52c55;
  --paper: #1d1a1f;
  --line: rgba(255,255,255,0.1);
  --shadow: 0 24px 40px rgba(0,0,0,0.35);
  --nav-glass: rgba(12, 12, 16, 0.75);
  --nav-glass-soft: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

#inicio { scroll-margin-top: 140px; }
#cta { scroll-margin-top: 32px; }

@media (max-width: 640px) {
  section[id] { scroll-margin-top: 96px; }
  #inicio { scroll-margin-top: 140px; }
  #porque { scroll-margin-top: 74px; }
  #servicios { scroll-margin-top: 74px; }
  #cta { scroll-margin-top: 32px; }
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  padding-top: 0;
  transition: background-color 300ms ease, color 300ms ease;
}

body, body * {
  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

body.theme-light {
  --bg: #f4f2f3;
  --ink: #1d1a1f;
  --muted: #5f5a60;
  --accent: #1aa3a1;
  --accent-dark: #158c8b;
  --paper: #ffffff;
  --line: rgba(0,0,0,0.08);
  --shadow: 0 20px 30px rgba(0,0,0,0.12);
  --nav-glass: rgba(255,255,255,0.75);
  --nav-glass-soft: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.08);
}

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

.hero {
  padding: calc(28px + 86px) 7vw 64px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 280px at 50% 35%, rgba(230,58,101,0.18), transparent 70%),
    url("../fotos/hero-hombrealfondo.png?v=20260305") center/cover no-repeat;
}

.hero-grid {
  width: 100%;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  z-index: 100;
  padding: 4px 16px;
  margin-bottom: 0;
  background:
    linear-gradient(160deg, var(--nav-glass-soft), rgba(255,255,255,0.02)),
    var(--nav-glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    0 12px 28px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.14) inset,
    0 0 26px rgba(255,255,255,0.06) inset;
  backdrop-filter: blur(14px);
  isolation: isolate;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 90;
}

.logo {
  font-family: "League Spartan", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.logo-img {
  width: 160px;
  height: auto;
  display: block;
}
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 2px 6px;
  border-radius: 999px;
  background: #1b1a1f;
  box-shadow: none;
}



.nav-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  width: max-content;
  color: var(--muted);
}
.nav-links .nav-cta { display: none; }
.nav-links a {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.nav-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  align-self: center;
}

.logo { justify-self: start; padding-left: 4px; }
.nav-cta-group {
  justify-self: end;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: end;
  flex-direction: column;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  gap: 3px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.nav-toggle-bar {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav.is-open .nav-links { display: flex; }
.nav.is-open + .nav-overlay {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.hero-centered .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.hero-centered .hero-copy {
  display: grid;
  justify-items: center;
}

.hero-centered .eyebrow {
  margin-top: 44px;
}

.hero-centered .lead {
  max-width: 680px;
}

.hero-centered .hero-cta {
  justify-content: center;
}

.hero-centered .meta {
  justify-content: center;
  flex-wrap: wrap;
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--muted);
}

.eyebrow-pill {
  background: rgba(230,58,101,0.12);
  color: var(--ink);
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.eyebrow-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.eyebrow-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

h1 {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.05;
  margin: 12px 0 16px;
}

.accent { color: var(--accent); display: block; }

.hero-centered h1 span {
  display: block;
  color: #f2eef0;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
}

body.theme-light .eyebrow,
body.theme-light .hero-centered h1,
body.theme-light .hero-centered h1 span,
body.theme-light .lead,
body.theme-light .hero-cta > .btn {
  color: #f6f2f0;
}

body.theme-light .hero h1,
body.theme-light .hero h1 span {
  color: #f6f2f0;
}

body.theme-light .hero .eyebrow-pill {
  background: rgba(230,58,101,0.12);
  color: #f6f2f0;
}

body.theme-light .nav-links a:not(.nav-cta) {
  color: #1d1a1f;
}

body.theme-light .nav-links a:not(.nav-cta) {
  border-bottom-color: rgba(0,0,0,0.12);
}

body.theme-light .nav-sep {
  background: rgba(0,0,0,0.18);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 18px rgba(230,58,101,0.3);
  transition: transform 0.15s ease, background 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: none;
}

.btn-contact {
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2b262c, #141217);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
  font-weight: 700;
}

.btn-contact:hover {
  background: linear-gradient(135deg, #3a333c, #1a171c);
}

.btn-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
  line-height: 1;
}

.btn-icon--arrow {
  width: 22px;
  height: 22px;
  font-size: 1rem;
}

.btn-back {
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #f3edf7;
  background: rgba(10, 9, 12, 0.25);
  backdrop-filter: blur(6px);
}

.btn-back:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(10, 9, 12, 0.35);
  transform: translateY(-2px);
}

.btn-icon--back {
  width: 26px;
  height: 26px;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}


.btn-icon--whatsapp {
  border: none;
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.btn-icon--whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.scroll-down {
  width: 44px;
  height: 44px;
  margin-top: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(230,58,101,0.22), rgba(230,58,101,0.08));
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.scroll-down svg {
  width: 18px;
  height: 18px;
  display: block;
}

.scroll-down:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 360px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-media picture {
  width: 100%;
  height: 100%;
  display: block;
}

.blob {
  display: none;
}

.badge {
  display: inline-block;
  margin-top: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent);
}

.section { padding: 56px 7vw; }

.why {
  position: relative;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(230,58,101,0.12), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.why .section-title,
.why-grid {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
}

.why-card {
  background: #1b181d;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--shadow);
}

.why-card + .why-card {
  border-left: none;
  border-left: 1px solid var(--line);
}

.why-card:first-child {
  border-radius: 16px 0 0 16px;
}

.why-card:last-child {
  border-radius: 0 16px 16px 0;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 12px;
}

.why-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.why-card h3 {
  margin: 6px 0 8px;
  font-size: 1.2rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

body.theme-light .why::before {
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 110, 200, 0.12), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(0,0,0,0.05), transparent 50%);
}

body.theme-light .why-card {
  background: #ffffff;
  color: #1d1a1f;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 18px 28px rgba(0,0,0,0.12);
}

body.theme-light .why-card + .why-card {
  border-left-color: rgba(0,0,0,0.08);
}

body.theme-light .why-icon {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  color: #1d1a1f;
}

body.theme-light .why-card p {
  color: #5f5a60;
}

body.theme-light .eyebrow-pill {
  background: rgba(30, 110, 200, 0.18);
  color: #1d1a1f;
}


body.theme-light .eyebrow-icon {
  color: #1d1a1f;
}

body.theme-light .portfolio-head .eyebrow,
body.theme-light .portfolio-head .eyebrow-pill,
body.theme-light .portfolio-head .eyebrow-icon {
  color: #1d1a1f;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title h2 {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 8px;
}

.section-title p { color: var(--muted); margin: 0 0 24px; }

.section-title .faq-label {
  margin: 0 0 8px;
}

.section-title.center-title {
  text-align: center;
}

.section-title.faq-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title.faq-title .faq-label {
  justify-content: center;
  align-self: center;
}

#faq > .section-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  gap: 18px;
  justify-content: center;
}

.service-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-header h3 {
  margin: 0;
}

.plan-card .plan-header,
.plan-card .custom-header {
  min-height: 36px;
  align-items: center;
}

.plan-card h3 {
  line-height: 1.1;
}

.service-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-grid li {
  margin: 5px 0;
  color: var(--muted);
}

.service-grid li strong {
  color: var(--ink);
}

.service-grid .highlight {
  color: var(--ink);
}

.service-grid li.has-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-grid .list-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(36, 211, 102, 0.18);
  color: #7ef0a7;
}

.service-grid .list-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

body.theme-light .service-grid .list-icon {
  background: rgba(0,0,0,0.08);
  color: #1d1a1f;
}

body.theme-light .custom-list .list-icon {
  background: rgba(0,0,0,0.08);
  color: #1d1a1f;
}

body.theme-light .plan-kicker,
body.theme-light .plan-kicker--custom {
  color: #5f5a60;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px;
}

.plan-kicker {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 600;
}

.plan-kicker--custom {
  color: #bfe7ff;
}

.plan-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.plan-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.76);
}

.plan-trust--essential span {
  border-color: rgba(97, 194, 122, 0.18);
  background: rgba(97, 194, 122, 0.08);
  color: #d8f7e1;
}

.plan-trust--custom span {
  border-color: rgba(102, 204, 255, 0.2);
  background: rgba(102, 204, 255, 0.08);
  color: #d9efff;
}

.price-now {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.price-old {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: line-through;
}

.price-badge {
  display: inline-flex;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(36,211,102,0.2);
  color: #baf3cf;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  height: 24px;
  align-items: center;
}

body.theme-light .price-badge {
  background: rgba(26, 163, 161, 0.18);
  color: #0f5a59;
  border: 1px solid rgba(26, 163, 161, 0.25);
}

.featured-card {
  border: 2px solid rgba(230,58,101,0.6);
  box-shadow: 0 16px 28px rgba(230,58,101,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 24%),
    linear-gradient(160deg, rgba(230,58,101,0.08), rgba(17,16,20,0.92));
}

.custom-card {
  border: 1px solid rgba(230,58,101,0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 24%),
    linear-gradient(160deg, rgba(49, 111, 255, 0.12), rgba(17,16,20,0.92));
  box-shadow: 0 16px 28px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.custom-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  background: linear-gradient(135deg, rgba(102, 204, 255, 0.95), rgba(34, 122, 191, 0.9));
  border: 1px solid rgba(102, 204, 255, 0.6);
  color: #0e141b;
  box-shadow: 0 12px 22px rgba(70, 150, 220, 0.3);
}

.custom-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% -12%;
  height: 58%;
  background:
    radial-gradient(circle at 50% 65%, rgba(110, 185, 255, 0.38), transparent 42%),
    radial-gradient(circle at 78% 26%, rgba(53, 104, 255, 0.24), transparent 34%);
  filter: blur(34px);
  opacity: 1;
  pointer-events: none;
}

.custom-card > * {
  position: relative;
  z-index: 1;
}

.featured-card::before {
  content: none;
}

.featured-card {
  position: relative;
  overflow: hidden;
}

.featured-card > * {
  position: relative;
  z-index: 1;
}

.custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-header h3 {
  margin: 0;
  line-height: 1.1;
}

.custom-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfe7ff;
  background: rgba(102, 204, 255, 0.18);
  border: 1px solid rgba(102, 204, 255, 0.45);
  line-height: 1.1;
  height: 24px;
  align-items: center;
  white-space: nowrap;
}

.custom-price {
  margin: 6px 0 8px;
  color: var(--ink);
  font-weight: 700;
}

.custom-note {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 38ch;
}

.custom-list li {
  color: var(--ink);
}

.custom-list .list-icon {
  background: rgba(102, 204, 255, 0.18);
  color: #bfe7ff;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  min-height: 52px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.plan-cta--essential {
  background:
    linear-gradient(135deg, rgba(122, 218, 188, 0.92), rgba(62, 160, 138, 0.9));
  border: 1px solid rgba(170, 232, 210, 0.35);
  color: #0f1714;
  box-shadow:
    0 0 0 1px rgba(210, 248, 233, 0.12) inset,
    0 10px 18px rgba(66, 168, 140, 0.18);
}

.plan-cta--custom {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.38), transparent 35%),
    linear-gradient(135deg, rgba(184, 224, 255, 0.98), rgba(96, 160, 230, 0.94));
  border: 1px solid rgba(205, 236, 255, 0.65);
  color: #101722;
  box-shadow:
    0 0 0 1px rgba(232, 248, 255, 0.18) inset,
    0 12px 24px rgba(88, 150, 218, 0.25),
    0 0 30px rgba(120, 190, 245, 0.22);
}

.plan-cta::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 40%);
  opacity: 0.8;
  pointer-events: none;
}

.plan-cta .btn-icon--arrow {
  margin-left: 8px;
  transform: translateY(-1px);
}

.plan-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 26px rgba(0,0,0,0.28),
    0 0 22px rgba(255,255,255,0.08);
}

.plan-cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.25),
    0 16px 28px rgba(0,0,0,0.28);
}

.plan-cta--essential:hover {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3), transparent 35%),
    linear-gradient(135deg, rgba(134, 224, 190, 0.98), rgba(72, 170, 146, 0.94));
}

.plan-cta--custom:hover {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.32), transparent 35%),
    linear-gradient(135deg, rgba(176, 214, 255, 0.98), rgba(104, 160, 228, 0.94));
}

.band {
  background: #1a161b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brands .section-title {
  text-align: center;
}

.logo-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #1d1a20;
  padding: 14px 0;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 20s linear infinite;
  padding: 0 16px;
}

.logo-pill {
  background: #221f25;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.demo-carousel {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 12px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.carousel-btn:hover {
  transform: translateY(-1px);
}

.demo-slide {
  background: #1f1b22;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: min(900px, 100%);
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.demo-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #151216;
  display: block;
}

.demo-body {
  padding: 18px 18px 22px;
}

.demo-body ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
}

.demo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step h4 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
}


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

.info div {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 16px;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-btn {
  width: 100%;
}

.contact {
  background: linear-gradient(120deg, rgba(230,58,101,0.08), rgba(20,18,21,0.6));
}

.portfolio-head {
  max-width: 600px;
}

.portfolio-head .eyebrow {
  margin-bottom: 10px;
}

.portfolio-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.portfolio-media {
  display: flex;
  justify-content: flex-end;
}

.portfolio-media img {
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(0,0,0,0.35);
}


.portfolio-head .btn {
  margin: 14px 0 10px;
  padding: 12px 22px;
  font-weight: 600;
  border-radius: 999px;
  color: #f7f2f4;
  border: 1px solid rgba(255,255,255,0.25);
  background:
    linear-gradient(135deg, rgba(230,58,101,0.95), rgba(126,29,79,0.85)) padding-box,
    linear-gradient(135deg, rgba(255,120,170,0.9), rgba(126,29,79,0.6)) border-box;
  box-shadow:
    0 10px 22px rgba(230,58,101,0.28),
    0 0 18px rgba(230,58,101,0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portfolio-head .btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(230,58,101,0.35),
    0 0 22px rgba(230,58,101,0.35);
  border-color: transparent;
}

.portfolio-hero {
  min-height: 70svh;
  background:
    radial-gradient(600px 280px at 50% 35%, rgba(230,58,101,0.18), transparent 70%),
    url("../fotos/hero-hombrealfondo.png?v=20260305") center/cover no-repeat;
}

.portfolio-page {
  padding-top: 24px;
}

.portfolio-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 22px 40px rgba(0,0,0,0.4);
}

.portfolio-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #17151a;
  overflow: hidden;
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 8px;
}

.portfolio-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.portfolio-card-body p {
  margin: 0;
  color: var(--muted);
}

.portfolio-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
}

.portfolio-link {
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
}

.contact-head {
  max-width: 520px;
  margin-bottom: 18px;
}

.contact-head h2 {
  margin: 8px 0 10px;
}

.contact-head p {
  margin: 0;
  color: var(--muted);
}
.contact-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  margin-top: 18px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.contact-card strong {
  display: block;
  font-weight: 700;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.copy-btn {
  margin-left: auto;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}

.copy-btn:hover {
  color: var(--ink);
  border-color: rgba(255,255,255,0.2);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(36, 211, 102, 0.12);
  border: 1px solid rgba(36, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7ef0a7;
  flex-shrink: 0;
}

.contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cta-form {
  display: grid;
  gap: 12px;
}

.cta-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #171419;
  color: var(--ink);
  font: inherit;
}

.cta-form textarea {
  resize: vertical;
  min-height: 120px;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: #9b9196;
}

body.theme-light .contact {
  background: linear-gradient(120deg, rgba(30, 110, 200, 0.12), rgba(244,242,243,0.95));
}

body.theme-light .contact-head p,
body.theme-light .contact-sub,
body.theme-light .contact-card span,
body.theme-light .form-status,
body.theme-light .form-note {
  color: #5f5a60;
}

body.theme-light .contact-card,
body.theme-light .contact-form {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 18px 28px rgba(0,0,0,0.12);
}

body.theme-light .contact-avatar {
  border-color: rgba(0,0,0,0.08);
}

body.theme-light .contact-icon {
  background: rgba(26, 163, 161, 0.12);
  border-color: rgba(26, 163, 161, 0.35);
  color: #1aa3a1;
}

body.theme-light .cta-form label {
  color: #4a464b;
}

body.theme-light .cta-form input,
body.theme-light .cta-form textarea {
  background: #f4f2f3;
  color: #1d1a1f;
  border-color: rgba(0,0,0,0.1);
}

body.theme-light .cta-form input::placeholder,
body.theme-light .cta-form textarea::placeholder {
  color: #8a848a;
}

.form-status {
  margin: 4px 0 0;
  color: var(--muted);
  min-height: 1.2em;
}

.form-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.note-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.note-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}


.form-target {
  display: none;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer {
  padding: 28px 7vw 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .service-grid, .info, .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-content { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-media { justify-content: flex-start; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  .demo-carousel { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
  .demo-slide { min-width: 100%; grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-grid, .info, .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 12px; }
  .nav {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
    gap: 8px;
    padding: 8px 12px;
    top: 12px;
    width: min(100%, calc(100vw - 24px));
    border-radius: 18px;
  }
  .logo-img { width: 114px; }
  .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(250px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background:
      linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02)),
      rgba(12, 12, 16, 0.7);
    box-shadow:
      0 18px 38px rgba(0,0,0,0.45),
      0 0 0 1px rgba(255,255,255,0.14) inset,
      0 0 22px rgba(255,255,255,0.08) inset;
    backdrop-filter: blur(14px);
    transform: translateY(-8px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    will-change: transform, opacity;
    transition: transform 120ms ease-out, opacity 120ms ease-out;
    z-index: 101;
  }
  body.theme-light .nav-links {
    background:
      linear-gradient(160deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
      rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
    box-shadow:
      0 18px 38px rgba(0,0,0,0.18),
      0 0 0 1px rgba(0,0,0,0.04) inset;
  }
  .nav-links .nav-sep { display: none; }
  .nav.is-open .nav-links {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .nav-toggle { display: inline-flex; }
  .nav-cta-group {
    gap: 8px;
  }
  .nav-cta-group .btn-contact {
    display: none;
  }
  .theme-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
    text-align: left;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
      0 10px 20px rgba(0,0,0,0.25),
      0 0 0 1px rgba(255,255,255,0.08) inset;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.2;
    font-size: 0.96rem;
  }
  .nav-links a:not(.nav-cta) {
    border: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav-links a:not(.nav-cta):last-of-type {
    border-bottom: none;
  }
  .nav-links a:hover {
    background: rgba(255,255,255,0.08);
  }
  .nav-links .nav-cta {
    display: block;
    text-align: center;
    color: #0f1714;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.05)),
      linear-gradient(135deg, rgba(138, 230, 203, 0.98), rgba(84, 184, 160, 0.94));
    border: 1px solid rgba(210, 248, 235, 0.55);
    box-shadow:
      0 12px 22px rgba(66, 168, 140, 0.22),
      0 0 0 1px rgba(255,255,255,0.22) inset;
    margin-top: 2px;
    font-weight: 700;
  }
  .nav > .btn {
    display: none;
  }
  .blob { width: 320px; height: 320px; }
  .hero-media { aspect-ratio: 9 / 16; }
  .plan-trust { gap: 6px; }
  .plan-trust span { font-size: 0.76rem; }
  .hero-media img {
    object-fit: contain;
    object-position: center;
    background: #121015;
  }
}

@media (max-width: 640px) {
  .hero {
    background:
      radial-gradient(600px 280px at 50% 35%, rgba(230,58,101,0.18), transparent 70%),
      url("../fotos/hero-hombrealfondo%209%2016.png?v=20260305") center/cover no-repeat;
  }
}

body.theme-light .scroll-down {
  background: radial-gradient(circle at 30% 30%, rgba(230,58,101,0.22), rgba(230,58,101,0.08));
  color: #f6f2f0;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

.btn-contact {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 10px 22px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.14) inset;
  color: var(--ink);
  padding: 10px 18px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.14) inset;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: translateY(0);
}

.btn-contact .btn-icon--orbit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  margin-right: 8px;
  font-size: 1rem;
}

@media (max-width: 360px) {
  .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.2;
    padding: 12px 16px;
  }
  .hero-cta, .nav { gap: 12px; }
  .blob { width: 260px; height: 260px; }
  .badge {
    right: 10px;
    bottom: 10px;
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}
  .custom-header {
    align-items: flex-start;
  }
  .custom-header h3 {
    font-size: 1.1rem;
  }
  .custom-badge {
    max-width: 100%;
    height: auto;
    padding: 6px 10px;
    border-radius: 999px;
  }
