:root {
  --apv-azul-oscuro: #0b1b36;
  --apv-azul: #1b3d6d;
  --apv-azul-claro: #4f6bff;
  --apv-turquesa: #5ce0c6;
  --apv-dorado: #ffd166;
  --apv-blanco: #ffffff;
  --apv-gris-fondo: #f4f7fc;
  --apv-gris-texto: #5c6a85;
  --apv-radius-lg: 28px;
  --apv-radius-md: 20px;
  --apv-radius-sm: 14px;
  --apv-shadow-lg: 0 32px 60px rgba(12, 27, 54, 0.18);
  --apv-shadow-md: 0 20px 38px rgba(27, 61, 109, 0.12);
  --apv-shadow-sm: 0 12px 22px rgba(27, 61, 109, 0.1);
  --apv-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--apv-font);
  background: linear-gradient(180deg, #f6f7fb 0%, #ecf2ff 70%, #f8fafc 100%);
  color: #102038;
  line-height: 1.65;
}

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

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

.apv-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6vw;
  background: rgba(11, 27, 54, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 32px rgba(9, 20, 37, 0.35);
}

.apv-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--apv-blanco);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.apv-nav__brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.apv-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--apv-blanco);
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.apv-nav__cta:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.apv-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  padding: 90px 6vw 70px;
  align-items: flex-start;
}

.apv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(94, 122, 255, 0.16);
  color: #4e6bff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4px;
}

.apv-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.apv-hero__copy h1 {
  margin: 24px 0 18px;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  color: #0c1d3a;
}

.apv-hero__copy p {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--apv-gris-texto);
}

.apv-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.apv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apv-btn--primary {
  background: linear-gradient(135deg, #4f6bff 0%, #5ce0c6 100%);
  color: #0c1d3a;
  box-shadow: 0 18px 32px rgba(79, 107, 255, 0.3);
}

.apv-btn--ghost {
  background: rgba(12, 29, 58, 0.08);
  color: #0c1d3a;
  border: 1px solid rgba(12, 29, 58, 0.15);
}

.apv-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(12, 29, 58, 0.18);
}

.apv-hero__stats {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.apv-hero__stats div {
  background: var(--apv-blanco);
  border-radius: var(--apv-radius-md);
  padding: 20px;
  box-shadow: var(--apv-shadow-sm);
  border: 1px solid rgba(79, 107, 255, 0.1);
}

.apv-hero__stats dt {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #294887;
}

.apv-hero__stats dd {
  margin: 8px 0 0;
  color: var(--apv-gris-texto);
  font-size: 14px;
}

.apv-hero__image {
  position: relative;
  min-height: 420px;
  border-radius: var(--apv-radius-lg);
  overflow: hidden;
  box-shadow: var(--apv-shadow-lg);
  margin: 0;
}

.apv-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apv-hero__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 14px 18px;
  border-radius: var(--apv-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: #0c1d3a;
  font-weight: 600;
  box-shadow: var(--apv-shadow-sm);
  max-width: 220px;
}

.apv-section {
  padding: 70px 6vw;
}

.apv-section__header {
  max-width: 720px;
  margin-bottom: 48px;
}

.apv-section__header h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #0c1d3a;
}

.apv-section__header p {
  margin: 0;
  color: var(--apv-gris-texto);
  font-size: 17px;
}

.apv-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.apv-card {
  background: var(--apv-blanco);
  border-radius: var(--apv-radius-md);
  padding: 32px;
  box-shadow: var(--apv-shadow-md);
  border: 1px solid rgba(27, 61, 109, 0.08);
  display: grid;
  gap: 14px;
}

.apv-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--apv-radius-sm);
  background: rgba(79, 107, 255, 0.12);
  font-size: 24px;
}

.apv-card h3 {
  margin: 0;
  font-size: 20px;
  color: #102038;
}

.apv-card p {
  margin: 0;
  color: var(--apv-gris-texto);
}

.apv-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #1f2f4d;
  font-size: 15px;
}

.apv-card li {
  position: relative;
  padding-left: 18px;
}

.apv-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(135deg, #4f6bff, #5ce0c6);
}

.apv-experience {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.apv-experience__image {
  position: relative;
  border-radius: var(--apv-radius-lg);
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(200deg, rgba(11, 27, 54, 0.2), rgba(11, 27, 54, 0)),
    url('https://images.unsplash.com/photo-1581539260423-0400551d7a91?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  box-shadow: var(--apv-shadow-lg);
}

.apv-experience__copy h3 {
  margin: 0 0 16px;
  font-size: 24px;
  color: #102038;
}

.apv-experience__copy p {
  margin: 0 0 20px;
  color: var(--apv-gris-texto);
}

.apv-experience__copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.apv-experience__copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #1f2f4d;
}

.apv-experience__copy li::before {
  content: '✔';
  color: var(--apv-turquesa);
  font-size: 18px;
}

.apv-process {
  background: linear-gradient(135deg, #102341 0%, #1f3f6f 70%, #0f1d3b 100%);
  color: var(--apv-blanco);
  border-radius: var(--apv-radius-lg);
  padding: 56px;
  box-shadow: var(--apv-shadow-lg);
  margin-top: 56px;
}

.apv-process h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.apv-process__steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 36px;
}

.apv-process__step {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--apv-radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 34px rgba(92, 224, 198, 0.2);
}

.apv-process__step span {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--apv-turquesa);
  letter-spacing: 1.6px;
}

.apv-process__step h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  color: var(--apv-blanco);
}

.apv-process__step p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.apv-cta {
  margin-top: 60px;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  padding: 70px 6vw 90px;
  background: linear-gradient(135deg, rgba(15, 27, 50, 0.9), rgba(27, 61, 109, 0.85)),
    url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: var(--apv-blanco);
  border-top-left-radius: var(--apv-radius-lg);
  border-top-right-radius: var(--apv-radius-lg);
  box-shadow: 0 -24px 48px rgba(8, 16, 32, 0.45);
}

.apv-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.apv-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.apv-form {
  display: grid;
  gap: 18px;
}

.apv-form input {
  padding: 16px 18px;
  border-radius: var(--apv-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--apv-blanco);
  font-size: 16px;
}

.apv-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.apv-form input:focus {
  outline: none;
  border-color: var(--apv-turquesa);
  background: rgba(255, 255, 255, 0.16);
}

/* Campo de teléfono con prefijo */
.apv-form .phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--apv-radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.apv-form .phone-field:focus-within {
  border-color: var(--apv-turquesa);
  background: rgba(255, 255, 255, 0.16);
}

.apv-form .phone-field .prefix {
  display: flex;
  align-items: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  color: var(--apv-blanco);
  font-size: 16px;
  white-space: nowrap;
  user-select: none;
}

.apv-form .phone-field input {
  flex: 1;
  border: none;
  padding: 16px 18px;
  border-radius: 0;
  background: transparent;
  color: var(--apv-blanco);
  font-size: 16px;
}

.apv-form .phone-field input:focus {
  outline: none;
  border-color: transparent;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--apv-radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.form-message.success {
  background: rgba(92, 224, 198, 0.18);
  color: #08382d;
  border: 1px solid rgba(92, 224, 198, 0.35);
}

.form-message.error {
  background: rgba(255, 120, 120, 0.18);
  color: #601919;
  border: 1px solid rgba(255, 120, 120, 0.3);
}

.apv-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 6vw 40px;
  background: #050c18;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.apv-footer a {
  color: rgba(92, 224, 198, 0.82);
  font-weight: 500;
}

.apv-footer a:hover {
  color: var(--apv-blanco);
}

@media (max-width: 960px) {
  .apv-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .apv-hero {
    padding-top: 80px;
  }
}

@media (max-width: 640px) {
  .apv-process {
    padding: 40px 28px;
  }
}

