@font-face {
  font-family: "Cofidis Extended";
  src: url("../fonts/CofidisExt-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Extended";
  src: url("../fonts/CofidisExt-Black.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Extended";
  src: url("../fonts/CofidisExt-xBlack.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Normal";
  src: url("../fonts/CofidisN-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Normal";
  src: url("../fonts/CofidisN-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Normal";
  src: url("../fonts/CofidisN-xBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Normal";
  src: url("../fonts/CofidisN-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cofidis Normal";
  src: url("../fonts/CofidisN-xBlack.otf") format("opentype");
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --burgundy: #68012e;
  --pink: #e40041;
  --pink-soft: #ffbfd2;
  --gold: #fdc100;
  --sand: #f2f0ea;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: rgba(0, 0, 0, 0.08);
  --taupe: #bcb6a6;
  --white: #fff;
  --extended: "Cofidis Extended", "Arial Narrow", Impact, sans-serif;
  --normal: "Cofidis Normal", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--normal);
  font-weight: 400;
  line-height: 1.5;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.shell--products {
  width: min(1300px, calc(100% - 48px));
}

.topbar {
  background: var(--burgundy);
  color: var(--white);
  text-align: center;
  padding: 14px 24px;
}

.topbar p {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.4;
}

/* ——— Hero (mobile first) ——— */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--sand);
  padding: 0;
  overflow: hidden; /* en mobile; desktop lo abre para el card */
}

.hero__col--copy {
  order: 1;
  position: relative;
  z-index: 2;
  width: min(1300px, calc(100% - 48px));
  margin-inline: auto;
  padding: 40px 0 32px;
  background: var(--sand);
}

.hero__copy {
  text-align: left;
  max-width: 672px;
}

.hero__logo {
  width: 180px;
  margin-bottom: 28px;
}

.hero__eyebrow {
  color: var(--burgundy);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero h1 {
  margin-top: 10px;
  font-family: var(--extended);
  font-weight: 900;
  color: var(--pink);
  font-size: clamp(36px, 10vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero h1 span {
  display: block;
}

.hero__title-alt {
  color: var(--burgundy);
}

.hero__lead {
  margin-top: 20px;
  font-family: var(--extended);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 28em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 18px 28px;
  background: var(--pink);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--extended);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

.hero__cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.hero__col--media {
  order: 2;
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 0;
}

.hero__img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
  background: #1a1a1a;
}

.hero__img-wrap picture,
.hero__img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__img {
  object-fit: cover;
  object-position: center 18%;
}

.hero__card {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  width: min(360px, calc(100% - 48px));
  transform: translateX(-50%);
  background: var(--burgundy);
  color: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 24px 40px rgba(67, 0, 28, 0.24);
}

.hero__card-title {
  font-family: var(--extended);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
}

.hero__card-sub {
  margin-top: 8px;
  color: var(--pink-soft);
  font-size: 17px;
  line-height: 1.3;
}

.hero__bars {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__bars span {
  display: block;
  width: 40px;
  height: 8px;
  border-radius: 8px;
  background: var(--pink);
}

.hero__bars .is-gold {
  background: var(--gold);
}

/* ——— Products ——— */
.products {
  padding: 56px 0 48px;
}

.products__intro {
  text-align: center;
  max-width: 733px;
  margin-inline: auto;
}

.products__eyebrow {
  font-family: var(--extended);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: var(--burgundy);
}

.products h2 {
  margin-top: 8px;
  font-family: var(--extended);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--burgundy);
}

.products h2 span {
  color: var(--pink);
}

.products__lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.4;
}

.products__grid {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.product {
  background: var(--sand);
  border-radius: 12px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  text-align: center;
  min-height: 100%;
}

.product__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.product__logo {
  width: min(240px, 100%);
  height: auto;
  object-fit: contain;
}

.product h3 {
  color: var(--burgundy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.product__top > p {
  font-size: 15px;
  line-height: 1.4;
  max-width: 28em;
}

.product__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(104, 1, 46, 0.18);
}

.product__term {
  color: var(--burgundy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.product__term sup {
  font-size: 0.65em;
  font-weight: 700;
}

.product__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

.product__link img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.product__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Banner ——— */
.banner {
  background: #68012e;
  overflow: hidden;
}

.banner picture {
  display: block;
  width: 100%;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ——— Transparency ——— */
.transparency {
  padding: 56px 0;
}

.transparency h2 {
  font-family: var(--extended);
  font-weight: 900;
  color: var(--pink);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
}

.transparency h2 span {
  display: block;
  color: var(--burgundy);
}

.transparency__grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.transparency__grid li {
  border: 1px solid var(--taupe);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.transparency__index {
  color: var(--pink);
  font-family: var(--extended);
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.transparency__grid h3 {
  margin-top: 16px;
  color: var(--burgundy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.transparency__grid p:last-child {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
}

/* ——— Footer ——— */
.helpbar {
  background: var(--burgundy);
  color: var(--white);
  text-align: center;
  padding: 20px 24px;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.5;
}

.helpbar p {
  margin: 0;
}

.helpbar__cta {
  color: var(--gold);
  text-decoration: none;
}

.helpbar__cta u {
  text-underline-offset: 2px;
}

.legal {
  padding: 40px 0 48px;
  text-align: center;
}

.legal h2 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal p {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
}

.legal__product {
  margin-top: 32px;
  font-size: 14px;
}

.legal__product sup {
  font-size: 0.7em;
}

.legal__example {
  font-weight: 800;
  line-height: 1.65;
}

.legal u {
  text-underline-offset: 2px;
}

/* ——— Desktop ——— */
@media (min-width: 1024px) {
  .shell {
    width: min(1120px, calc(100% - 80px));
  }

  .shell--products {
    width: min(1300px, calc(100% - 80px));
  }

  .topbar {
    padding: 12px 24px;
  }

  .topbar p {
    font-size: 18px;
    line-height: 27px;
  }

  .products {
    padding: 96px 0 88px;
  }

  .products__eyebrow {
    font-size: 22px;
  }

  .products h2 {
    font-size: 38px;
  }

  .products__lead {
    margin-top: 8px;
    font-size: 24px;
    line-height: 1.3;
  }

  .products__grid {
    margin-top: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .product {
    min-height: 600px;
    padding: 30px 20px;
    gap: 0;
  }

  .product__top {
    gap: 50px;
  }

  .product__logo {
    width: 280px;
  }

  .product h3 {
    font-size: 22px;
  }

  .product__top > p {
    font-size: 18px;
    line-height: 1.4;
  }

  .product__bottom {
    margin-top: auto;
    gap: 30px;
    padding-top: 30px;
  }

  .product__term {
    font-size: 22px;
  }

  .product__link {
    font-size: 22px;
  }

  .product__link img {
    width: 28px;
    height: 28px;
  }

  .banner {
    display: flex;
    justify-content: flex-end;
    background: #68012e;
  }

  .banner picture {
    width: min(100%, 1920px);
    margin-left: auto;
  }

  .banner img {
    width: 100%;
  }

  .transparency {
    padding: 96px 0 80px;
  }

  .transparency .shell {
    width: min(1280px, calc(100% - 80px));
  }

  .transparency h2 {
    font-size: 40px;
    line-height: 1.2;
  }

  .transparency__grid {
    margin-top: 48px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .transparency__grid li {
    padding: 36px 40px 40px;
    min-height: 288px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .transparency__index {
    font-size: 40px;
  }

  .transparency__grid h3 {
    font-size: 22px;
  }

  .transparency__grid p:last-child {
    font-size: 18px;
    max-width: 28em;
    margin-inline: auto;
  }

  .helpbar {
    font-size: 18px;
    line-height: 27px;
    padding: 12px 24px;
  }

  .helpbar p {
    white-space: nowrap;
  }

  .legal {
    width: min(1554px, calc(100% - 80px));
    padding: 56px 0 72px;
    text-align: center;
  }

  .legal h2 {
    font-size: 18px;
  }

  .legal p {
    font-size: 14px;
  }
}

/* Hero lado a lado solo con ancho suficiente; si no, la imagen queda debajo del texto */
@media (min-width: 1200px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: min(997px, 92vh);
    overflow: visible;
  }

  .hero__col--copy {
    order: 0;
    z-index: 0;
    width: auto;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 72px clamp(64px, 7vw, 120px) 72px max(40px, calc((100vw - 1300px) / 2));
  }

  .hero__copy {
    width: 100%;
    max-width: 560px;
  }

  .hero__logo {
    width: 300px;
    margin-bottom: 48px;
  }

  .hero__eyebrow {
    font-size: 27px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: 78px;
    line-height: 1.02;
  }

  .hero__lead {
    margin-top: 36px;
    font-size: 30px;
    line-height: 1.35;
    max-width: 15em;
  }

  .hero__cta {
    margin-top: 48px;
    min-height: 106px;
    padding: 28px 40px;
    font-size: 30px;
  }

  .hero__col--media {
    order: 0;
    z-index: 1;
    width: auto;
    margin-left: 0;
    min-height: 100%;
    padding: 0;
    align-self: stretch;
    overflow: visible;
  }

  .hero__img-wrap {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: transparent;
  }

  .hero__img-wrap picture {
    position: absolute;
    inset: 0;
    display: block;
  }

  .hero__img {
    /* Pegada arriba y abajo a todo el alto del hero; se mantiene la curvatura */
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: left center;
  }

  .hero__card {
    left: 0;
    right: auto;
    bottom: 14%;
    width: min(530px, 78%);
    padding: 48px;
    transform: translateX(-22%);
    z-index: 2;
  }

  .hero__card-title {
    font-size: 37px;
    line-height: 1.15;
  }

  .hero__card-sub {
    font-size: 27px;
    line-height: 1.5;
  }

  .hero__bars {
    margin-top: 18px;
    gap: 15px;
  }

  .hero__bars span {
    width: 51px;
    height: 9px;
  }
}

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