:root {
  --color-bg: #f7f4fb;
  --color-surface: #fcfbff;
  --color-dark: #07102f;
  --color-dark-2: #111b4a;
  --color-text: #101632;
  --color-muted: #5f6786;
  --color-primary: #4f6bff;
  --color-secondary: #b86cff;
  --color-pink: #e46dff;
  --color-soft-purple: #d2d2ff;
  --color-soft-pink: #f3dff0;
  --color-soft-blue: #eef1ff;
  --color-card: #ffffff;
  --color-white: #ffffff;

  --font-main: "Manrope", Arial, Helvetica, sans-serif;
  --font-heading: "Poppins", "Manrope", Arial, Helvetica, sans-serif;

  --container: 1380px;

  --shadow-soft: 0 14px 40px rgba(82, 88, 170, 0.08);
  --shadow-medium: 0 18px 50px rgba(82, 88, 170, 0.12);
  --shadow-strong: 0 24px 80px rgba(48, 54, 124, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: linear-gradient(180deg, #faf8fc 0%, #f6f4fa 100%);
  color: var(--color-text);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* =========================
   GLOBAL TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.home-hero-content h1,
.home-intro h2,
.home-section-heading h2,
.home-cta h2,
.nosotros-hero h1,
.nosotros-about-content h2,
.nosotros-mvv-heading h2,
.nosotros-mvv-card h3,
.nosotros-team-heading h2,
.nosotros-process-heading h2,
.nosotros-cta h2 {
  font-family: var(--font-heading);
}

body,
button,
input,
textarea,
select,
.btn,
.header-cta,
.header-login,
.main-nav a,
.section-label,
.eyebrow,
.intro-highlight-item,
.intro-about-link {
  font-family: var(--font-main);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--color-white);
  padding: 18px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(95, 89, 255, 0.22), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(216, 107, 255, 0.18), transparent 24%),
    linear-gradient(90deg, #050b25 0%, #07133f 48%, #07102f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  width: 132px;
  height: auto;
}

.main-nav {
  margin-left: auto;
}

.main-menu,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.15px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-white);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transform: scaleX(0.55);
  transition: 0.2s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #315fff 0%, #d96bff 100%);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.1px;
  box-shadow: 0 16px 34px rgba(104, 97, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(104, 97, 255, 0.36);
}

.header-cta-icon {
  font-size: 18px;
  line-height: 1;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.05px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.2s ease;
}

.header-login:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #315fff 0%, #d96bff 100%);
  color: var(--color-white);
  box-shadow: 0 16px 34px rgba(104, 97, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(104, 97, 255, 0.34);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

/* =========================
   LABELS
========================= */

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #5d63ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(97, 99, 255, 0.14);
  box-shadow: 0 10px 24px rgba(92, 98, 179, 0.06);
}

/* =========================
   BASE SECTIONS
========================= */

.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.2px;
}

.section-text {
  color: var(--color-muted);
  line-height: 1.7;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background:
    radial-gradient(circle at 80% 20%, rgba(144, 92, 255, 0.12), transparent 20%),
    linear-gradient(90deg, #050b25 0%, #07133f 52%, #07102f 100%);
  color: var(--color-white);
  padding: 30px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1020px) {
  .main-menu,
  .main-nav ul {
    gap: 22px;
  }

  .header-cta {
    padding: 0 18px;
  }
}

@media (max-width: 900px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    padding: 15px 0;
  }

  .header-content {
    gap: 18px;
  }

  .site-logo img {
    width: 112px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .header-login {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-logo img {
    width: 104px;
  }
}