:root {
  --brand: #005bff;
  --brand-bright: #2e7aff;
  --navy: #0d1b52;
  --navy-deep: #050d28;
  --ink: #101828;
  --muted: #52607a;
  --pale: #eaf2ff;
  --line: #dce7f5;
  --white: #ffffff;
  --header-height: 80px;
  --container: 1216px;
  --shadow-soft: 0 18px 55px rgb(13 27 82 / 8%);
  --shadow-card: 0 24px 70px rgb(13 27 82 / 13%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

address {
  font-style: normal;
}

::selection {
  background: #cfe0ff;
  color: #071331;
}

:focus-visible {
  outline: 3px solid #6aa2ff;
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  translate: 0 -180%;
  padding: 12px 16px;
  border-radius: 12px;
  background: white;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgb(3 11 34 / 18%);
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: 0;
}

.site-container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 128px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: 672px;
}

.section-heading-centered {
  max-width: 768px;
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.about-section h2 {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: clamp(36px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  text-wrap: balance;
}

.section-heading h2 span,
.about-section h2 span {
  color: var(--brand);
}

.section-heading > p:not(.eyebrow):not(.relationship-pill),
.section-description {
  max-width: 576px;
  margin: 20px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.78;
}

/* Header */
/*
 * Newfold/WebHostBox agrega esta advertencia solo durante la vista previa.
 * Al quedar debajo del encabezado fijo conserva altura en el flujo y genera
 * una franja vacia antes del hero, por lo que se retira dentro de este tema.
 */
body.partmana-site > .nfd-site-preview-warning {
  display: none !important;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgb(115 172 255 / 18%);
  background: linear-gradient(110deg, rgb(5 13 40 / 94%), rgb(13 27 82 / 91%));
  box-shadow: 0 8px 32px rgb(2 8 25 / 13%);
  backdrop-filter: blur(18px) saturate(145%);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-width: 0;
}

.brand-logo-image {
  width: 220px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 32px);
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: rgb(255 255 255 / 85%);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 4px;
  bottom: -2px;
  left: 4px;
  height: 1px;
  background: #22d3ee;
  content: "";
  scale: 0 1;
  transition: scale 180ms ease;
}

.desktop-nav a:hover {
  color: white;
}

.desktop-nav a:hover::after {
  scale: 1 1;
}

.partner-header-button,
.mobile-partner-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgb(34 211 238 / 70%);
  border-radius: 12px;
  background: rgb(34 211 238 / 5%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  transition: translate 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.partner-header-button svg,
.mobile-partner-button svg {
  width: 16px;
  height: 16px;
  color: #67e8f9;
}

.partner-header-button:hover {
  translate: 0 -2px;
  background: rgb(34 211 238 / 12%);
  box-shadow: 0 10px 30px rgb(0 91 255 / 20%);
}

.menu-button,
.mobile-menu {
  display: none;
}

/* Hero */
.front-page-main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(800px, calc(100svh - var(--header-height)));
  margin-top: 0;
  overflow: hidden;
  background: white;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bed4f7 20%, #bed4f7 80%, transparent);
  content: "";
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 16%, rgb(46 122 255 / 10%), transparent 400px),
    linear-gradient(90deg, white 0%, rgb(255 255 255 / 98%) 37%, rgb(255 255 255 / 28%) 62%, transparent 100%);
  content: "";
}

.hero-visual::after {
  position: absolute;
  bottom: -288px;
  left: -256px;
  width: 448px;
  height: 448px;
  border: 1px solid rgb(0 91 255 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgb(0 91 255 / 3%), 0 0 0 144px rgb(0 91 255 / 2%);
  content: "";
}

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

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  padding-block: 96px;
}

.hero-copy {
  max-width: 656px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgb(0 91 255 / 15%);
  border-radius: 999px;
  background: rgb(255 255 255 / 80%);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgb(13 27 82 / 7%);
  backdrop-filter: blur(8px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.hero h1 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(38px, 5.1vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-bright) 55%, #00a7e9 100%);
  background-clip: text;
  color: transparent;
}

.hero-slogan {
  margin: 28px 0 0;
  color: var(--navy);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-slogan strong {
  color: var(--brand);
}

.hero-description {
  max-width: 592px;
  margin: 20px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: translate 250ms ease, border-color 250ms ease, background 250ms ease,
    box-shadow 250ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
  transition: translate 250ms ease;
}

.button:hover {
  translate: 0 -2px;
}

.button:hover svg {
  translate: 2px 0;
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
  box-shadow: 0 14px 34px rgb(0 91 255 / 25%);
}

.button-primary:hover {
  border-color: #004fe0;
  background: #004fe0;
  box-shadow: 0 18px 40px rgb(0 91 255 / 32%);
}

.button-secondary {
  border-color: rgb(0 91 255 / 30%);
  background: rgb(255 255 255 / 85%);
  color: var(--brand);
  box-shadow: 0 10px 28px rgb(13 27 82 / 7%);
}

.button-secondary:hover {
  border-color: rgb(0 91 255 / 60%);
  background: var(--pale);
}

.button-light {
  flex: none;
  border-color: white;
  background: white;
  color: var(--navy);
  box-shadow: 0 14px 34px rgb(1 8 31 / 20%);
}

.button-light:hover {
  background: #eff6ff;
}

/* About */
.about-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgb(234 242 255 / 80%), transparent 480px),
    white;
}

.about-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: center;
  gap: 48px;
}

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

.premium-card {
  height: 100%;
  padding: 28px;
  border: 1px solid rgb(185 207 240 / 62%);
  border-radius: 16px;
  background: linear-gradient(145deg, rgb(255 255 255 / 98%), rgb(247 250 255 / 92%));
  box-shadow: var(--shadow-soft);
  transition: translate 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.premium-card:hover {
  translate: 0 -6px;
  border-color: rgb(46 122 255 / 42%);
  box-shadow: var(--shadow-card);
}

.icon-tile {
  display: grid;
  width: 52px;
  height: 52px;
  flex: none;
  place-items: center;
  border: 1px solid rgb(0 91 255 / 15%);
  border-radius: 16px;
  background: linear-gradient(145deg, white, var(--pale));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
  transition: scale 250ms ease, border-color 250ms ease, background 250ms ease,
    color 250ms ease;
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.premium-card h3 {
  margin: 24px 0 0;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.premium-card p {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

/* Solutions */
.solutions-section {
  overflow: hidden;
  border-block: 1px solid rgb(219 234 254 / 80%);
  background: #f8fbff;
}

.network-grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(rgb(0 91 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 91 255 / 4%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.solutions-content {
  position: relative;
}

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

.solution-card {
  position: relative;
  display: flex;
  height: 100%;
  align-items: flex-start;
  gap: 20px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgb(185 207 240 / 65%);
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 15px 48px rgb(13 27 82 / 6%);
  transition: translate 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.solution-card::after {
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgb(0 91 255 / 5%);
  content: "";
  transition: scale 300ms ease;
}

.solution-card:hover {
  translate: 0 -5px;
  border-color: rgb(46 122 255 / 42%);
  box-shadow: 0 22px 64px rgb(13 27 82 / 11%);
}

.solution-card:hover::after {
  scale: 1.7;
}

.solution-card:hover .icon-tile {
  scale: 1.05;
  border-color: rgb(0 91 255 / 35%);
  background: var(--brand);
  color: white;
}

.solution-card h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.solution-card p {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

/* Process */
.process-section {
  overflow: hidden;
  background: white;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 56px;
}

.relationship-pill {
  display: inline-flex;
  margin: 28px 0 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid::before {
  position: absolute;
  top: 92px;
  right: 16.5%;
  left: 16.5%;
  height: 1px;
  opacity: 0.45;
  background-image: linear-gradient(90deg, var(--brand) 45%, transparent 45%);
  background-size: 10px 1px;
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  margin-inline: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgb(0 91 255 / 28%);
}

.step-icon {
  display: grid;
  width: 104px;
  height: 104px;
  margin: 16px auto 0;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  background: white;
  color: var(--brand);
  box-shadow: 0 16px 45px rgb(13 27 82 / 10%);
}

.step-icon > svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.6;
}

.process-logo {
  overflow: hidden;
}

.process-logo-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.process-step h3 {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.process-step p {
  max-width: 272px;
  margin: 12px auto 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

/* Partner CTA */
.partner-cta-section {
  padding-bottom: clamp(76px, 9vw, 128px);
  background: white;
}

.partner-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 40px 48px;
  border: 1px solid rgb(110 172 255 / 35%);
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgb(5 13 40 / 98%), rgb(13 27 82 / 96%) 55%, rgb(0 91 255 / 92%)),
    var(--navy);
  box-shadow: 0 26px 70px rgb(13 27 82 / 18%);
}

.partner-cta::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black 40%, black);
  content: "";
}

.cta-orb {
  position: absolute;
  top: -192px;
  right: 14%;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: #22d3ee;
  filter: blur(80px);
  opacity: 0.18;
}

.cta-icon,
.cta-copy,
.partner-cta .button {
  position: relative;
  z-index: 1;
}

.cta-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: none;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 16px;
  background: rgb(255 255 255 / 10%);
  color: white;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
  backdrop-filter: blur(8px);
}

.cta-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.7;
}

.cta-copy {
  flex: 1;
}

.cta-copy > p {
  margin-bottom: 0;
  color: #a5f3fc;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-copy h2 {
  margin: 8px 0 0;
  color: white;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.03em;
}

.cta-copy > span {
  display: block;
  max-width: 672px;
  margin-top: 12px;
  color: rgb(219 234 254 / 85%);
  font-size: 16px;
  line-height: 1.5;
}

/* Contact */
.contact-section {
  overflow: hidden;
  border-top: 1px solid #dbeafe;
  background: #f8fbff;
}

.contact-glow {
  position: absolute;
  top: -352px;
  left: -288px;
  width: 608px;
  height: 608px;
  border-radius: 50%;
  background: rgb(46 122 255 / 14%);
  filter: blur(32px);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 48px;
}

.contact-details {
  margin-top: 32px;
}

.contact-details a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.contact-details a + a {
  margin-top: 8px;
}

.contact-details a > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--pale);
  color: var(--brand);
  transition: background 180ms ease, color 180ms ease;
}

.contact-details a svg {
  width: 16px;
  height: 16px;
}

.contact-details a:hover {
  color: var(--brand);
}

.contact-details a:hover > span {
  background: var(--brand);
  color: white;
}

.contact-details > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: #64748b;
  font-size: 14px;
}

.contact-details > p svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--brand);
}

.contact-form {
  position: relative;
  padding: 32px;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 70px rgb(13 27 82 / 9%);
}

.contact-trap {
  position: absolute !important;
  top: auto !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd8ea;
  border-radius: 12px;
  background: #fbfdff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field textarea {
  min-height: 134px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7b879d;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #aebfd8;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px rgb(0 91 255 / 11%);
  outline: none;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.form-field input[aria-invalid="true"]:focus,
.form-field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgb(180 35 24 / 10%);
}

.message-field {
  margin-top: 20px;
}

.privacy-short-notice {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f7faff;
  color: #52607a;
  font-size: 12px;
  line-height: 1.65;
}

.privacy-short-notice p {
  margin: 0;
}

.privacy-short-notice p + p {
  margin-top: 8px;
}

.privacy-short-notice a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-options {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.consent-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
}

.consent-option input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.consent-option input[aria-invalid="true"] {
  outline: 2px solid #b42318;
  outline-offset: 2px;
}

.consent-option strong {
  color: var(--navy);
}

.turnstile-field {
  margin-top: 20px;
}

.partmana-turnstile {
  min-height: 65px;
}

.partmana-turnstile[aria-invalid="true"] {
  border-radius: 6px;
  outline: 2px solid #b42318;
  outline-offset: 3px;
}

.form-security-unavailable {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #f5c2c0;
  border-radius: 12px;
  background: #fff5f5;
  color: #8a1c13;
  font-size: 13px;
  line-height: 1.55;
}

.form-security-unavailable a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
}

.form-submit {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgb(0 91 255 / 20%);
  transition: translate 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.form-submit svg {
  width: 16px;
  height: 16px;
  transition: translate 250ms ease;
}

.form-submit:hover {
  translate: 0 -2px;
  background: #004fe0;
  box-shadow: 0 18px 40px rgb(0 91 255 / 30%);
}

.form-submit:hover svg {
  translate: 2px 0;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  translate: none;
  box-shadow: none;
}

.form-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.form-status[data-state="success"] {
  color: #067647;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="sending"] {
  color: var(--navy);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% -20%, rgb(0 91 255 / 32%), transparent 512px),
    linear-gradient(120deg, #03091b, #071332 55%, #0d1b52);
  color: white;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(100deg, transparent 55%, rgb(255 255 255 / 3%));
  content: "";
  pointer-events: none;
}

.footer-content {
  position: relative;
  padding-block: 64px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr 1fr;
  gap: 40px;
}

.footer-description {
  max-width: 384px;
  margin: 20px 0 0;
  color: rgb(219 234 254 / 70%);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer .brand-logo-image {
  width: min(280px, 100%);
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  background: rgb(255 255 255 / 5%);
  color: #dbeafe;
  font-size: 15px;
  font-weight: 700;
  transition: translate 180ms ease, border-color 180ms ease, background 180ms ease,
    color 180ms ease;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.social-links a:hover {
  translate: 0 -2px;
  border-color: rgb(34 211 238 / 50%);
  background: rgb(34 211 238 / 10%);
  color: #67e8f9;
}

.social-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: rgb(219 234 254 / 78%);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

.social-hub-link svg {
  width: 16px;
  height: 16px;
  color: #22d3ee;
  transition: translate 180ms ease;
}

.social-hub-link:hover {
  color: #67e8f9;
}

.social-hub-link:hover svg:last-child {
  translate: 3px 0;
}

.footer-column h3 {
  margin: 0;
  color: #22d3ee;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(219 234 254 / 72%);
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #67e8f9;
}

.footer-column svg {
  width: 16px;
  height: 16px;
  color: #22d3ee;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: rgb(219 234 254 / 55%);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  color: rgb(219 234 254 / 80%);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-bottom p:last-child span {
  color: #22d3ee;
}

/* Paginas informativas y contenido nativo de WordPress */
.partmana-page {
  min-height: calc(100vh - 380px);
  padding: calc(var(--header-height) + 72px) 0 96px;
  background:
    radial-gradient(circle at 88% 8%, rgb(46 122 255 / 9%), transparent 360px),
    linear-gradient(180deg, #f8fbff 0, #ffffff 340px);
}

.partmana-page-content {
  max-width: 880px;
}

.partmana-entry {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.partmana-entry + .partmana-entry {
  margin-top: 32px;
}

.partmana-entry h1,
.partmana-error-page h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.partmana-entry-content {
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}

.partmana-entry-content > *:last-child {
  margin-bottom: 0;
}

.partmana-entry-content h2,
.partmana-entry-content h3 {
  margin: 40px 0 16px;
  color: var(--navy);
  line-height: 1.2;
}

.partmana-entry-content ul,
.partmana-entry-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.partmana-entry-content ul {
  list-style: disc;
}

.partmana-entry-content ol {
  list-style: decimal;
}

.partmana-entry-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-notice-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.privacy-page-title {
  margin-bottom: 16px !important;
}

.privacy-notice-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.privacy-language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.privacy-language-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #cbd8ea;
  border-radius: 999px;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.privacy-notice > h1 {
  margin: 48px 0 20px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.privacy-notice > h2 {
  margin: 36px 0 14px;
  padding-top: 4px;
  border-top: 1px solid #e5edf8;
  color: var(--navy);
  font-size: clamp(21px, 3vw, 27px);
}

.privacy-notice table {
  display: table;
  width: 100%;
  margin: 20px 0 28px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.privacy-notice th,
.privacy-notice td {
  padding: 12px;
  border: 1px solid #cbd8ea;
  text-align: left;
  vertical-align: top;
}

.privacy-notice th {
  background: var(--navy);
  color: white;
}

.privacy-notice tbody tr:nth-child(even) {
  background: #f7faff;
}

@media (max-width: 767px) {
  .privacy-table-scroll {
    overflow-x: auto;
  }

  .privacy-notice table {
    min-width: 680px;
  }
}

.partmana-error-page {
  padding-block: clamp(72px, 12vw, 140px);
}

.partmana-error-page > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1023px) {
  .about-layout,
  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .process-layout,
  .contact-layout {
    gap: 48px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-cta {
    padding: 36px 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .site-container {
    width: min(calc(100% - 20px), var(--container));
  }

  .desktop-nav,
  .partner-header-button {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 12px;
    background: transparent;
    color: white;
    transition: background 180ms ease;
  }

  .menu-button:hover {
    background: rgb(255 255 255 / 10%);
  }

  .menu-button svg {
    width: 24px;
    height: 24px;
  }

  .menu-close-icon {
    display: none;
  }

  .menu-button[aria-expanded="true"] .menu-open-icon {
    display: none;
  }

  .menu-button[aria-expanded="true"] .menu-close-icon {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    visibility: hidden;
    border-top: 1px solid rgb(255 255 255 / 10%);
    background: rgb(7 18 49 / 98%);
    opacity: 0;
    translate: 0 -12px;
    pointer-events: none;
    box-shadow: 0 24px 55px rgb(2 8 25 / 30%);
    backdrop-filter: blur(18px);
    transition: opacity 250ms ease, translate 250ms ease, visibility 250ms ease;
  }

  .mobile-menu[data-open="true"] {
    visibility: visible;
    opacity: 1;
    translate: 0;
    pointer-events: auto;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    padding-block: 16px;
  }

  .mobile-nav > a:not(.mobile-partner-button) {
    padding: 14px 8px;
    border-bottom: 1px solid rgb(255 255 255 / 8%);
    color: rgb(255 255 255 / 90%);
    font-size: 14px;
    font-weight: 500;
  }

  .mobile-partner-button {
    margin-top: 16px;
    border-color: var(--brand);
    background: var(--brand);
    font-weight: 700;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    top: auto;
    height: 48%;
  }

  .hero-visual::before {
    background: linear-gradient(180deg, white 0%, rgb(255 255 255 / 20%) 36%, transparent 80%);
  }

  .hero-visual img {
    object-position: 64% center;
  }

  .partmana-page {
    padding: calc(var(--header-height) + 40px) 0 64px;
  }

  .hero-layout {
    padding-block: 64px;
  }

  .hero-copy {
    padding-bottom: 320px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.75;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding: 6px 4px 20px;
    scroll-snap-type: x proximity;
  }

  .premium-card {
    scroll-snap-align: start;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-grid::before {
    top: 35px;
    bottom: 35px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background-image: linear-gradient(180deg, var(--brand) 45%, transparent 45%);
    background-size: 1px 10px;
  }

  .process-step {
    padding-inline: 12px;
  }

  .partner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .partner-cta .button {
    width: 100%;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .site-header .brand-logo-image {
    width: 190px;
  }

  .section-heading h2,
  .about-section h2 {
    font-size: 36px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .hero-copy {
    padding-bottom: 300px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .solution-card {
    padding: 24px;
  }

  .contact-form {
    padding: 20px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
