:root {
  --red: #f31627;
  --red-dark: #c70e1d;
  --ink: #26272d;
  --ink-soft: #454750;
  --muted: #6d7280;
  --line: #e7e9ee;
  --paper: #ffffff;
  --cloud: #f6f7f9;
  --blue: #246bfe;
  --green: #12a36c;
  --amber: #f2a900;
  --whatsapp: #20b45b;
  --shadow: 0 18px 45px rgba(38, 39, 45, 0.1);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 233, 238, 0.86);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 174px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.ghost-link {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
}

.site-nav a:hover,
.ghost-link:hover {
  color: var(--red);
  background: #fff1f2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  font-weight: 800;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(243, 22, 39, 0.18);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(243, 22, 39, 0.24);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.button-secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--red);
  background: #fff8f8;
  box-shadow: none;
}

.button-light {
  color: var(--red);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.button-full {
  width: 100%;
}

.section,
.section-band {
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
}

.section-band {
  background:
    linear-gradient(90deg, rgba(246, 247, 249, 0.98) 0%, rgba(255, 255, 255, 0.98) 58%),
    linear-gradient(135deg, rgba(243, 22, 39, 0.1), rgba(36, 107, 254, 0.08));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  gap: 58px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

/* Buscador de Dominios - Cápsula Unificada */
.domain-search {
  max-width: 690px;
  margin-bottom: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.domain-search label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 850;
  font-size: 0.95rem;
}

.domain-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 99px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.domain-bar:focus-within {
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(243, 22, 39, 0.08);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 12px;
  transition: color 0.25s ease;
}

.domain-bar:focus-within .search-icon {
  color: var(--red);
}

.domain-bar input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.domain-bar input::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.domain-bar .button {
  min-height: 44px;
  border-radius: 99px;
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.form-note {
  margin: 12px 0 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.domain-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbfc;
}

.domain-result[hidden] {
  display: none;
}

.domain-result strong,
.domain-result span {
  display: block;
}

.domain-result strong {
  color: var(--ink);
}

.domain-result span {
  color: var(--muted);
  font-size: 0.92rem;
}

.domain-result .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
  box-shadow: none;
}

.domain-result.is-available {
  border-color: rgba(18, 163, 108, 0.35);
  background: rgba(18, 163, 108, 0.08);
}

.domain-result.is-managed {
  border-color: rgba(36, 107, 254, 0.24);
  background: rgba(36, 107, 254, 0.08);
}

.domain-result.is-unavailable,
.domain-result.is-error {
  border-color: rgba(243, 22, 39, 0.24);
  background: #fff8f8;
}

.hero-visual {
  --hero-x: 0px;
  --hero-y: 0px;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  overflow: visible;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(38, 39, 45, 0.2));
  transform: translate(var(--hero-x), var(--hero-y));
  animation: hero-float 5.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translate(var(--hero-x), var(--hero-y));
  }

  50% {
    transform: translate(calc(var(--hero-x) * 0.7), calc(var(--hero-y) - 14px));
  }
}

/* Glow de fondo */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(243, 22, 39, 0.12) 0%, rgba(36, 107, 254, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

/* Patrón de puntos decorativos */
.hero-dots {
  position: absolute;
  top: 10%;
  right: 12%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

/* Tarjetas flotantes */
.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(38, 39, 45, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease-out;
  pointer-events: none;
}

.badge-icon {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(38, 39, 45, 0.04);
}

.hero-badge div {
  display: flex;
  flex-direction: column;
}

.hero-badge strong {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-badge small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Posicionamiento específico y animaciones de flotación */
.badge-ssl {
  top: 22%;
  left: 2%;
  animation: badge-float-1 6s ease-in-out infinite;
}

.badge-mail {
  bottom: 22%;
  right: -2%;
  animation: badge-float-2 7s ease-in-out infinite;
}

.badge-speed {
  top: 48%;
  right: -6%;
  animation: badge-float-3 5.5s ease-in-out infinite;
}

@keyframes badge-float-1 {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes badge-float-2 {
  0%, 100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes badge-float-3 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.split-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.inline-heading > div {
  max-width: 820px;
}

.solution-grid,
.pricing-grid,
.web-grid,
.process {
  display: grid;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: repeat(4, 1fr);
}

.price-card,
.web-grid article,
.process article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-kicker,
.plan-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card p,
.web-grid p,
.process p {
  color: var(--muted);
}

/* Tarjetas de Soluciones */
.service-card {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 26px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 22, 39, 0.18);
  box-shadow: 0 20px 40px rgba(38, 39, 45, 0.06);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #fff1f2;
  color: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.05);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card .card-kicker {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--ink);
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
}

.service-card a:hover {
  color: var(--red);
  gap: 10px;
}

.service-card a svg {
  transition: transform 0.2s ease;
}

.service-card a:hover svg {
  transform: translateX(2px);
}

.section-muted {
  background: var(--cloud);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 26px;
  overflow: hidden;
}

.price-card.is-featured {
  border-color: rgba(243, 22, 39, 0.42);
  box-shadow: var(--shadow);
}

.price-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), #ff7a3c);
  content: "";
}

.price-card.is-featured::after {
  position: absolute;
  top: 18px;
  right: -38px;
  width: 140px;
  padding: 7px 0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  background: var(--red);
  transform: rotate(35deg);
  content: "Popular";
}

.plan-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.plan-head h3 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

.plan-head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.plan-copy {
  min-height: 76px;
}

.price {
  display: flex;
  align-items: start;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1;
}

.price span {
  margin-top: 8px;
  font-size: 1.2rem;
}

.price-note {
  margin: 8px 0 18px;
  font-size: 0.9rem;
}

.price-renewal {
  margin: -8px 0 20px;
  color: var(--ink) !important;
  font-size: 0.94rem;
  font-weight: 850;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
  content: "✓";
}

.price-card .button {
  margin-top: auto;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.tech-stack article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px 14px;
  min-height: 150px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tech-stack img {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.tech-stack h3 {
  margin: 3px 0 0;
  font-size: 1rem;
}

.tech-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}

.mail-table {
  display: grid;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.mail-table div {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mail-table div:last-child {
  border-bottom: 0;
}

.mail-table span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 850;
}

.section-red {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(38, 39, 45, 0.24), rgba(38, 39, 45, 0.08)),
    var(--red);
}

.section-red .eyebrow,
.section-red p,
.section-red .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.web-showcase {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.showcase-window {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(38, 39, 45, 0.16);
}

.showcase-track {
  display: flex;
  transition: transform 240ms ease;
}

.showcase-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  flex: 0 0 100%;
  min-width: 100%;
  color: var(--ink);
  background: #fff;
}

.showcase-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-right: 1px solid var(--line);
}

.showcase-slide div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.showcase-slide h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.slide-desc {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.slide-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.slide-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.slide-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.showcase-slide a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: var(--red);
  font-weight: 850;
  transition: gap 200ms ease;
}

.showcase-slide a:hover {
  gap: 12px;
}

.showcase-slide a svg {
  transition: transform 200ms ease;
}

.showcase-slide a:hover svg {
  transform: translateX(2px);
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  cursor: pointer;
}

.showcase-controls button:hover,
.showcase-controls button.is-active {
  color: var(--red);
  background: #fff;
}

.showcase-dots {
  display: flex;
  gap: 8px;
}

.showcase-dots button {
  width: 11px;
  height: 11px;
  min-height: auto;
  padding: 0;
  color: transparent;
  font-size: 0;
  background: rgba(255, 255, 255, 0.38);
  border-color: transparent;
  border-radius: 999px;
}

.process {
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (min-width: 981px) {
  .process::before {
    content: "";
    position: absolute;
    top: 54px; /* Alinear con el centro del círculo del icono */
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, var(--line) 70%);
    z-index: 0;
    opacity: 0.8;
  }
}

.process-card {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 22, 39, 0.24);
  box-shadow: 0 20px 38px rgba(38, 39, 45, 0.06);
}

.process-icon-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.process-icon {
  width: 100%;
  height: 100%;
  background: #fff1f2;
  color: var(--red);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(243, 22, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.process-card:hover .process-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.05);
}

.process-icon svg {
  width: 30px;
  height: 30px;
}

.process-number {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(38, 39, 45, 0.12);
  z-index: 2;
  transition: background 0.25s ease;
}

.process-card:hover .process-number {
  background: var(--red-dark);
}

.process-card h3 {
  font-size: 1.15rem;
  font-weight: 850;
  margin-bottom: 12px;
  color: var(--ink);
}

.process-card p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 980px) {
  .process::before {
    display: none;
  }
  .process-card {
    padding: 24px 20px;
  }
}

.contact-section {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.contact-form,
.contact-side {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.contact-form textarea {
  min-height: 138px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(243, 22, 39, 0.1);
}

.contact-form .button {
  justify-self: start;
}

.contact-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  background: #fbfdfc; /* Fondo sutilmente verdoso muy limpio */
  border: 1px solid rgba(32, 180, 91, 0.2);
  border-radius: 12px;
}

.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(32, 180, 91, 0.08);
  color: var(--whatsapp);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(32, 180, 91, 0.4);
  animation: pulse-active 1.6s infinite;
}

@keyframes pulse-active {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(32, 180, 91, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(32, 180, 91, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(32, 180, 91, 0);
  }
}

.whatsapp-logo {
  width: 64px;
  height: 64px;
  background: rgba(32, 180, 91, 0.1);
  color: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.whatsapp-logo svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-side h3 {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.contact-side p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 24px 0;
}

.button-whatsapp {
  background: var(--whatsapp) !important;
  border-color: var(--whatsapp) !important;
  box-shadow: 0 10px 20px rgba(32, 180, 91, 0.16) !important;
  gap: 8px;
  font-weight: 800;
  width: 100%;
  color: #fff !important;
}

.button-whatsapp:hover {
  background: #1ca351 !important;
  border-color: #1ca351 !important;
  box-shadow: 0 14px 24px rgba(32, 180, 91, 0.22) !important;
  transform: translateY(-1px);
}

.button-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-side .social-links {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.social-links a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-agent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.agent-launcher {
  display: grid;
  gap: 2px;
  min-width: 190px;
  min-height: 58px;
  padding: 10px 16px;
  color: #fff;
  text-align: left;
  background: var(--whatsapp);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(32, 180, 91, 0.28);
  cursor: pointer;
}

.agent-launcher span,
.agent-launcher strong {
  display: block;
}

.agent-launcher span {
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.82;
}

.agent-launcher strong {
  font-size: 1rem;
}

.agent-panel {
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(38, 39, 45, 0.18);
}

.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: #fff;
  background: var(--ink);
}

.agent-header span,
.agent-header strong {
  display: block;
}

.agent-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.agent-header button {
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.agent-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.agent-body p {
  margin: 0;
  color: var(--ink-soft);
}

.agent-body a {
  color: var(--red);
  font-weight: 850;
}

.agent-options {
  display: grid;
  gap: 8px;
}

.agent-options button {
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.agent-options button:hover {
  color: var(--red);
  border-color: rgba(243, 22, 39, 0.28);
  background: #fff8f8;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 64px;
  padding: 20px 24px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.site-footer {
  background: #f8f9fb;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 64px max(20px, calc((100vw - var(--max)) / 2)) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 174px;
  height: auto;
  margin-bottom: 18px;
  background: none;
  padding: 0;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 320px;
}

.footer-col h2 {
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--whatsapp) !important;
  margin-bottom: 6px;
}

.footer-whatsapp:hover {
  color: #1ca351 !important;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-location {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--red);
  border-color: rgba(243, 22, 39, 0.28);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsivo para el footer */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav {
    top: 78px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 8px 8px 0 0;
  }

  .header-actions {
    top: 372px;
    grid-column: 1 / -1;
    padding: 12px;
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }

  .nav-open .site-nav,
  .nav-open .header-actions {
    display: grid;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual img {
    width: min(100%, 360px);
    max-height: 480px;
  }

  .solution-grid,
  .pricing-grid,
  .process,
  .contact-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-slide {
    grid-template-columns: 1fr;
  }

  .showcase-slide img {
    height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .inline-heading {
    align-items: start;
    flex-direction: column;
  }

  .tech-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 660px) {
  .brand img {
    width: 150px;
  }

  .section,
  .section-band {
    padding: 64px 18px;
  }

  .hero {
    gap: 34px;
    padding-top: 44px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .solution-grid,
  .pricing-grid,
  .process,
  .contact-layout,
  .form-grid,
  .tech-stack,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .domain-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    padding: 10px;
    gap: 8px;
  }

  .search-icon {
    display: none;
  }

  .domain-bar input {
    padding: 8px 10px;
  }

  .domain-bar .button {
    width: 100%;
  }

  .domain-result {
    grid-template-columns: 1fr;
  }

  .domain-result .button {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .mail-table div {
    grid-template-columns: 1fr;
  }

  .showcase-slide img {
    height: 260px;
  }

  .showcase-slide div {
    padding: 24px;
  }

  .price-card {
    min-height: auto;
  }

  .plan-copy {
    min-height: auto;
  }

  .contact-agent {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .agent-launcher,
  .agent-panel {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img {
    animation: none;
    transform: none;
  }

  .showcase-track {
    transition: none;
  }
}
