/* ============================================
   Universal Visa Europe — PL/SPL Landing Page
   ============================================ */

:root {
  --blue-900: #0b1f3a;
  --blue-800: #122a4a;
  --blue-700: #1a3a66;
  --blue-600: #234b82;
  --blue-500: #2d5fa3;
  --blue-100: #e8eef7;
  --blue-50: #f3f6fb;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe57;
  --white: #ffffff;
  --gray-100: #f1f3f6;
  --gray-200: #e2e6ed;
  --gray-400: #9aa3b2;
  --gray-600: #5a6577;
  --gray-800: #2a3342;
  --danger: #c0392b;
  --success: #1e7a46;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.14);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 84px;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(72vw, 280px);
}

.logo img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* Prefer the sharp full-res asset when scaled */
  image-rendering: auto;
}

.header__nav {
  display: none;
  gap: 1.5rem;
}

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s ease;
}

.header__link:hover {
  color: var(--white);
}

.header__cta {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }

  .logo img {
    height: 64px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn__icon {
  font-size: 1.1em;
  line-height: 1;
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  width: 100%;
  max-width: 360px;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
}

.btn--primary {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}

.btn--primary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}

.btn--outline:hover {
  background: var(--blue-50);
}

.btn--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta-group--center {
  justify-content: center;
}

.cta-group .btn {
  flex: 1 1 100%;
}

@media (min-width: 540px) {
  .cta-group .btn {
    flex: 1 1 auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.92) 0%, rgba(26, 58, 102, 0.88) 55%, rgba(35, 75, 130, 0.85) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 24px
    );
  color: var(--white);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 5.5rem;
  }
}

/* ---------- Sections shared ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 750;
  color: var(--blue-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* ---------- Process + Video ---------- */
.process {
  padding: 4rem 0;
  background: var(--blue-50);
}

.video-wrap {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-900);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step__num {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-500);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.step__text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ---------- Partners ---------- */
.partners {
  position: relative;
  padding: 4rem 0;
  background: #f0f4fb;
  overflow: hidden;
}

.partners::before,
.partners::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.partners::before {
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(12, 36, 97, 0.055) 0%, transparent 70%);
}

.partners::after {
  bottom: -90px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30, 95, 138, 0.05) 0%, transparent 70%);
}

.partners .container {
  position: relative;
  z-index: 1;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1.25rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(12, 36, 97, 0.06);
  box-shadow: 0 2px 12px rgba(12, 36, 97, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(12, 36, 97, 0.1);
  border-color: rgba(30, 95, 138, 0.18);
}

.partner img {
  height: 52px;
  max-width: 140px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.partner:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .partner {
    min-height: 110px;
  }

  .partner img {
    height: 60px;
    max-width: 150px;
  }
}

@media (min-width: 960px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .partner {
    min-height: 120px;
    padding: 1.5rem 1.25rem;
  }

  .partner img {
    height: 68px;
    max-width: 160px;
  }
}

/* ---------- Form ---------- */
.form-section {
  padding: 4rem 0;
  background: var(--white);
}

.form-section__inner {
  max-width: 760px;
}

.employer-form {
  background: var(--blue-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .employer-form {
    padding: 2.25rem;
  }
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-field--full {
    grid-column: 1 / -1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-900);
}

.req {
  color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(45, 95, 163, 0.18);
}

.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: var(--danger);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: var(--danger);
}

.form-status[hidden] {
  display: none;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---------- Contact ---------- */
.contact {
  padding: 4rem 0;
  background: var(--blue-900);
  color: var(--white);
  text-align: center;
}

.contact .section-title {
  color: var(--white);
}

.contact .section-lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-inline: auto;
}

.contact__inner .cta-group {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer__brand {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-top: 0.35rem;
}