:root {
  --rojo-defensor: #D6121F;
  --rojo-profundo: #A50A14;
  --rojo-oscuro: #6E0309;
  --blanco: #FFFFFF;
  --negro: #000000;
  --gris: #f5f5f5;
  --texto-suave: #6b6b6b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Barlow", Arial, sans-serif;
  background: var(--gris);
  color: var(--negro);
}

.page {
  min-height: 100vh;
  padding: 48px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.browser-frame {
  width: min(1180px, 100%);
  background: var(--blanco);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.nav {
  height: 92px;
  background: var(--rojo-defensor);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px;
  border-bottom: 2px solid rgba(255,255,255,.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0px;
  color: var(--blanco);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
  font-size: 22px;
}

.brand-logo { width: 60px; max-height: 100%; flex: 0 0 auto; display: block; object-fit: contain; }

.menu-toggle,
.menu-close,
.menu-backdrop {
  display: none;
}

.menu {
  display: flex;
  gap: 44px;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.menu a {
  color: var(--blanco);
  text-decoration: none;
  opacity: 0.92;
  font-weight: 400;
  font-family: "Barlow", Arial, sans-serif;
}

.menu .cta-small {
  border: 1px solid rgba(255,255,255,.72);
  padding: 13px 21px;
  border-radius: 6px;
  opacity: 1;
  font-weight: 900;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 16px;
}

.menu a[aria-current="page"] {
  background: var(--blanco);
  color: var(--rojo-defensor);
  padding: 14px 22px;
  border-radius: 6px;
  opacity: 1;
  font-weight: 900;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 16px;
}

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 690px; }

.hero-left {
  background: var(--rojo-defensor);
  color: var(--blanco);
  padding: 56px 70px 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-left::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  right: -180px;
  bottom: -130px;
}

.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.95;
}

.headline {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(60px, 5.8vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.02em;
  max-width: 620px;
  margin-top: 18px;
}

.copy {
  margin-top: 30px;
  max-width: 500px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.96);
}

.copy strong, .form-card p strong, .legal strong, .section-text strong { font-weight: 700; }

.stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  border-top: 2px solid rgba(255,255,255,.24);
  padding-top: 28px;
  position: relative;
  z-index: 1;
}

.stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  line-height: 0.9;
  font-weight: 900;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
}

.hero-right {
  background: var(--blanco);
  border-bottom: 34px solid var(--rojo-defensor);
  padding: 86px 58px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-card { width: 100%; max-width: 440px; margin: auto; }

.form-card h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--rojo-defensor);
  letter-spacing: -0.03em;
}

.form-card p {
  margin-top: 12px;
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

form { margin-top: 32px; display: grid; gap: 16px; }

label {
  display: block;
  margin-bottom: 6px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #555;
  font-weight: 700;
}

input, select {
  border-radius: 6px;
  width: 100%;
  height: 48px;
  border: 1px solid #d7d7d7;
  padding: 0 14px;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  background: #fff;
  outline: none;
}

input:focus, select:focus {
  border-color: var(--rojo-defensor);
  box-shadow: 0 0 0 3px rgba(214, 18, 31, 0.12);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.submit {
  height: 54px;
  border-radius: 6px;
  border: 0;
  background: var(--rojo-defensor);
  color: var(--blanco);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 4px;
}

.legal {
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.28;
  color: #555 !important;
  margin-top: 4px !important;
}

.section-page {
  min-height: 620px;
  padding: 92px 70px;
  background: var(--blanco);
  color: var(--rojo-defensor);
  border-top: 1px solid rgba(214,18,31,.18);
}

.section-page.red { background: var(--rojo-defensor); color: var(--blanco); }

.section-kicker {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(58px, 6vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 900;
  max-width: 720px;
}

.section-text {
  margin-top: 30px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.75;
  color: inherit;
  opacity: .95;
}

.section-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section-card {
  border: 1px solid currentColor;
  padding: 28px;
  min-height: 180px;
}

.section-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 0.95;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-card p { font-size: 14px; line-height: 1.55; }

.contact-box {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 720px;
}

.contact-item { border: 1px solid currentColor; padding: 22px; font-size: 15px; }

@media (max-width: 900px) {
  body { background: var(--blanco); }
  body.menu-open { overflow: hidden; }
  .page {
    padding: 0;
    min-height: auto;
  }
  .browser-frame { border-radius: 0; }
  .nav {
    height: 96px;
    min-height: 96px;
    padding: 18px 28px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand div {
    overflow-wrap: anywhere;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 6px;
    background: transparent;
    color: var(--blanco);
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    display: block;
  }

  .menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 6px;
    background: transparent;
    color: var(--blanco);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .menu {
    width: min(320px, calc(100vw - 48px));
    height: 100vh;
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 30;
    background: var(--rojo-defensor);
    box-shadow: -22px 0 54px rgba(0, 0, 0, .22);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 26px 24px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease;
    overflow-y: auto;
  }

  .menu.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .menu a {
    width: 100%;
    border-radius: 6px;
    font-size: 17px;
    line-height: 1;
    padding: 14px 16px;
  }

  .menu .cta-small {
    margin-top: 6px;
    padding: 14px 16px;
    font-size: 17px;
    text-align: center;
  }

  .menu a[aria-current="page"] {
    padding: 14px 16px;
    font-size: 17px;
  }

  .menu-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, .42);
  }
  .hero { grid-template-columns: 1fr; }
  .hero-left, .hero-right { padding: 56px 28px; }
  .section-page { padding: 64px 28px; }
  .section-grid, .contact-box { grid-template-columns: 1fr; }
  .stats { gap: 14px; }
  .stat strong { font-size: 36px; }
}

@media (max-width: 560px) {
  .brand { font-size: 20px; gap: 0px; }
  .brand-logo { width: 42px; max-height: 100%; }

  .nav {
    padding: 18px 22px;
  }

  .menu {
    width: min(300px, calc(100vw - 38px));
    gap: 14px;
  }

  .menu a {
    font-size: 16px;
  }

  .menu .cta-small {
    padding: 14px 16px;
    font-size: 16px;
  }

  .menu a[aria-current="page"] {
    padding: 14px 16px;
    font-size: 16px;
  }
  .headline { font-size: 62px; }
  .section-title { font-size: 54px; }
  .grid-2, .stats { grid-template-columns: 1fr; }
  .form-card h2 { font-size: 38px; }
}
