:root {
  --ink: #172331;
  --muted: #697483;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #10aaa6;
  --teal-dark: #067f81;
  --blue: #273f8f;
  --navy: #142237;
  --gold: #c69b5c;
  --line: rgba(23, 35, 49, 0.14);
  --shadow: 0 26px 70px rgba(20, 34, 55, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  padding: 10px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 34, 55, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 900;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.brand span {
  max-width: 340px;
  line-height: 1.15;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav a:hover {
  color: #bff7f4;
}

.hero {
  min-height: 56vh;
  display: grid;
  align-items: center;
  padding: 74px max(28px, calc((100vw - 1180px) / 2)) 86px;
  background:
    linear-gradient(105deg, rgba(18, 30, 49, 0.96) 0%, rgba(39, 63, 143, 0.88) 52%, rgba(16, 170, 166, 0.68) 100%),
    url("assets/marca-mcv.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.card-copy p {
  margin: 0 0 14px;
  color: #bff7f4;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 8vw, 7.4rem);
  font-weight: 700;
  line-height: 0.9;
}

.intro {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.75;
}

.access-section {
  width: min(1180px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin: -48px auto 92px;
}

.access-card {
  display: grid;
  grid-template-rows: 225px 1fr;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-media {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0f1c2d;
}

.form-card .card-media {
  background: linear-gradient(135deg, #f7ffff, #dff8f6);
}

.book-card .card-media {
  background: #070707;
}

.training-card .card-media {
  background:
    linear-gradient(135deg, #ecfbfa, #f6f8ff),
    #f7faf9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-card .card-media img {
  width: min(168px, 58%);
  height: auto;
  object-fit: contain;
}

.training-card .card-media img {
  object-fit: contain;
  padding: 18px;
}

.card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(4.8rem, auto) minmax(6.1rem, 1fr) auto;
  gap: 14px;
  padding: 26px;
  background: #fff;
}

.card-copy p {
  margin-bottom: 0;
  color: var(--teal-dark);
}

.card-copy h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 0.98;
}

.card-copy span {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.6;
}

.card-copy a {
  display: inline-flex;
  align-self: end;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.card-copy a:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 800;
}

.site-footer a {
  margin-left: auto;
  color: #bff7f4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header nav {
    display: none;
  }

  .access-section {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .access-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .card-media {
    height: auto;
    min-height: 100%;
  }

  .card-copy {
    grid-template-rows: auto auto 1fr auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 62px 22px 72px;
  }

  .hero-copy {
    width: min(300px, calc(100vw - 44px));
    margin-inline: auto;
  }

  h1 {
    font-size: 3.18rem;
    line-height: 0.94;
  }

  .intro {
    font-size: 1rem;
  }

  .access-section {
    width: min(100% - 28px, 420px);
    margin-bottom: 68px;
  }

  .access-card {
    grid-template-columns: 1fr;
    grid-template-rows: 210px 1fr;
  }

  .card-media {
    min-height: 0;
  }

  .card-copy {
    padding: 22px;
  }

  .card-copy h2 {
    font-size: 2rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer a {
    margin-left: 0;
  }
}
