:root {
  --navy: #071225;
  --navy-soft: #0d1c32;
  --orange: #ed7d00;
  --orange-dark: #c96600;
  --white: #ffffff;
  --paper: #f8f5ef;
  --sand: #eee7dd;
  --blue-soft: #eaf0f5;
  --ink: #111827;
  --grey-dark: #4f5965;
  --grey: #747b84;
  --border: rgba(7, 18, 37, 0.13);
  --white-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 25px 70px rgba(7, 18, 37, 0.1);
  --container: 1240px;
  --header-height: 84px;
}

/* ======================================================
   RESET
====================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.75rem, 4.4vw, 4.7rem);
}

h2 {
  font-size: clamp(2.05rem, 3.3vw, 3.6rem);
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.15;
}

p {
  color: var(--grey-dark);
}

.container {
  width: min(
    calc(100% - 44px),
    var(--container)
  );
  margin-inline: auto;
}

/* ======================================================
   GENERALES
====================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  flex: 0 0 28px;
  background: var(--orange);
  content: "";
}

.eyebrow--light {
  color: #ffad52;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 170ms ease,
    color 170ms ease,
    background 170ms ease,
    border-color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--orange {
  background: var(--orange);
  color: var(--white);
}

.button--orange:hover {
  background: var(--orange-dark);
}

.button--outline-orange {
  border-color: var(--orange);
  background: transparent;
  color: var(--orange-dark);
}

.button--outline-orange:hover {
  background: var(--orange);
  color: var(--white);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ======================================================
   CABECERA
====================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(7, 18, 37, 0.07);
  background: rgba(248, 245, 239, 0.96);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  color: var(--navy);
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: 1.55rem;
}

.brand-text span {
  margin-top: 7px;
  color: var(--orange);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav > a:not(.button) {
  position: relative;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
}

.desktop-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 170ms ease;
}

.desktop-nav > a:not(.button):hover::after,
.desktop-nav > a.is-active::after {
  transform: scaleX(1);
}

.header-button {
  min-height: 46px;
  padding: 10px 18px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 1px;
  background: var(--navy);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* ======================================================
   HERO
====================================================== */

.about-hero {
  overflow: hidden;
  background: var(--paper);
}

.about-hero-grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: 0.96fr 1.04fr;
}

.about-hero-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 78px 70px 78px 0;
}

.about-hero-copy h1 {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--navy);
}

.about-hero-copy p {
  max-width: 590px;
  margin-bottom: 16px;
  font-size: 0.96rem;
  line-height: 1.72;
}

.about-hero-copy .button {
  align-self: flex-start;
  margin-top: 12px;
}

.about-hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
  clip-path:
    polygon(
      18% 0,
      100% 0,
      100% 100%,
      0 100%
    );
}

.about-hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    saturate(0.65)
    contrast(0.92)
    brightness(0.58);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 245, 239, 0.22),
      rgba(7, 18, 37, 0.48)
    );
}

.about-hero-symbol {
  position: absolute;
  top: 50%;
  left: 58%;
  z-index: 2;
  display: flex;
  width: 180px;
  height: 180px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.about-hero-symbol::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  height: 3px;
  background: var(--orange);
  content: "";
}

.about-hero-symbol::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 130px;
  background: rgba(255, 255, 255, 0.82);
  content: "";
}

.about-hero-symbol strong {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 4.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}

.about-hero-symbol strong::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 145px;
  background: rgba(255, 255, 255, 0.82);
  content: "";
}

.about-hero-symbol strong::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88px;
  height: 3px;
  background: var(--white);
  content: "";
}

.symbol-top,
.symbol-bottom {
  position: absolute;
  z-index: 3;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.44em;
  text-transform: uppercase;
}

.symbol-top {
  top: 10px;
  right: 20px;
}

.symbol-bottom {
  bottom: 10px;
  left: 21px;
}

.about-hero-corner {
  position: absolute;
  top: 64px;
  right: 38px;
  z-index: 2;
  width: 135px;
  height: 135px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
}

/* ======================================================
   POSICIONAMIENTO
====================================================== */

.positioning {
  padding: 105px 0;
  background: var(--white);
}

.positioning-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
  align-items: start;
}

.positioning-heading h2 {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--navy);
}

.positioning-copy {
  max-width: 680px;
  padding-top: 46px;
}

.positioning-copy p {
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ======================================================
   FORMA DE TRABAJAR
====================================================== */

.working-method {
  padding: 100px 0;
  background: var(--paper);
}

.working-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.working-heading h2 {
  margin-bottom: 0;
  color: var(--navy);
}

.working-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.working-card {
  min-height: 280px;
  padding: 34px 32px;
  border-right: 1px solid var(--border);
}

.working-card:last-child {
  border-right: 0;
}

.working-card > span {
  display: block;
  margin-bottom: 52px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
}

.working-card h3 {
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: 1.65rem;
}

.working-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

/* ======================================================
   MÉTRICAS
====================================================== */

.about-metrics {
  padding: 55px 0 32px;
  background: var(--white);
}

.metrics-kicker {
  display: block;
  margin-bottom: 30px;
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  display: flex;
  min-width: 0;
  min-height: 150px;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  border-right: 1px solid var(--border);
}

.metric:last-child {
  border-right: 0;
}

.metric-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 125, 0, 0.35);
  border-radius: 50%;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 700;
}

.metric-number {
  display: block;
  color: var(--navy);
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: clamp(2rem, 3.05vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.metric-label {
  display: block;
  margin-top: 10px;
  color: var(--grey-dark);
  font-size: 0.8rem;
  white-space: nowrap;
}

.metric--featured .metric-number {
  color: var(--orange-dark);
}

.metrics-note {
  max-width: 900px;
  margin: 22px auto 0;
  color: var(--grey);
  font-size: 0.68rem;
  text-align: center;
}

/* ======================================================
   DIFERENCIALES
====================================================== */

.differences {
  padding: 105px 0;
  background: var(--navy);
  color: var(--white);
}

.differences-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.differences-heading h2 {
  color: var(--white);
  font-size: clamp(2.05rem, 3.2vw, 3.5rem);
}

.differences-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.differences-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.differences-list article {
  min-height: 120px;
  padding: 24px;
  border-right: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
}

.differences-list article:nth-child(2n) {
  border-right: 0;
}

.differences-list article:nth-child(n + 5) {
  border-bottom: 0;
}

.differences-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 700;
}

.differences-list strong {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ======================================================
   MODELO
====================================================== */

.about-model {
  padding: 105px 0;
  background: var(--white);
}

.about-model-heading {
  max-width: 740px;
  margin-bottom: 58px;
}

.about-model-heading h2 {
  color: var(--navy);
}

.about-model-heading p {
  max-width: 680px;
}

.model-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.model-track::before {
  position: absolute;
  top: 63px;
  right: 9%;
  left: 9%;
  height: 1px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(7, 18, 37, 0.23) 0,
      rgba(7, 18, 37, 0.23) 8px,
      transparent 8px,
      transparent 14px
    );
  content: "";
}

.model-step {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.model-number {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 700;
}

.model-icon {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(237, 125, 0, 0.35);
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  font-size: 1.15rem;
}

.model-step h3 {
  font-size: 0.9rem;
}

.model-step p {
  font-size: 0.75rem;
}

/* ======================================================
   EQUIPO
====================================================== */

.team {
  padding: 105px 0;
  background: var(--paper);
}

.team-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.team-heading h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 3.2vw, 3.55rem);
}

.team-heading p {
  max-width: 670px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.team-member {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--border);
  background: var(--white);
}

.team-member-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--navy);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter:
    saturate(0.82)
    contrast(0.96);
  transition: transform 450ms ease;
}

.team-member:hover .team-member-image img {
  transform: scale(1.025);
}

.team-member-index {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--white);
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 0.85;
  text-shadow:
    0 4px 24px rgba(7, 18, 37, 0.5);
}

.team-member-content {
  padding: 38px 36px 42px;
}

.team-member-role {
  display: block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-member-content h3 {
  margin-bottom: 20px;
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
}

.team-member-content p {
  font-size: 0.82rem;
  line-height: 1.7;
}

.profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-toggle span {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 125, 0, 0.45);
  border-radius: 50%;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.profile-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.profile-expanded {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.profile-expanded > div {
  min-height: 0;
  overflow: hidden;
}

.profile-expanded.is-open {
  grid-template-rows: 1fr;
}

.profile-expanded.is-open > div {
  padding-top: 22px;
}

/* ======================================================
   PRINCIPIOS
====================================================== */

.principles {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

.principles-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.principles-heading h2 {
  color: var(--white);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
}

.principle:nth-child(3n) {
  border-right: 0;
}

.principle:nth-child(n + 4) {
  border-bottom: 0;
}

.principle > span {
  display: block;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 700;
}

.principle h3 {
  color: var(--white);
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: 1.5rem;
}

.principle p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

/* ======================================================
   CTA
====================================================== */

.about-cta {
  padding: 105px 0;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(237, 125, 0, 0.15),
      transparent 24%
    ),
    var(--navy);
  border-top: 1px solid var(--white-border);
}

.about-cta-inner {
  max-width: 780px;
}

.about-cta h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 3.4vw, 3.75rem);
}

.about-cta p {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.68);
}

/* ======================================================
   FOOTER
====================================================== */

.site-footer {
  padding: 60px 0 22px;
  border-top: 1px solid var(--white-border);
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.15fr 0.75fr 0.9fr;
  gap: 40px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-brand strong {
  color: var(--white);
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: 1.2rem;
}

.footer-brand small {
  margin-top: 6px;
  color: var(--orange);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand-column p {
  max-width: 230px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.footer-grid nav,
.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.footer-grid nav strong,
.footer-contact strong {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid nav a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
}

.footer-grid nav a:hover,
.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--white-border);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.67rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.67rem;
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ======================================================
   ANIMACIONES
====================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav > a:not(.button) {
    font-size: 0.74rem;
  }

  .positioning-grid,
  .differences-grid {
    gap: 55px;
  }

  .metric {
    padding-right: 20px;
    padding-left: 20px;
  }

  .model-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 0;
  }

  .model-track::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 1900;
    display: grid;
    gap: 4px;
    padding: 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(248, 245, 239, 0.99);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 220ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 12px 4px;
    font-weight: 600;
  }

  .mobile-nav .button {
    margin-top: 8px;
    color: var(--white);
  }

  .about-hero-grid,
  .positioning-grid,
  .differences-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    padding: 70px 0;
  }

  .about-hero-visual {
    min-height: 430px;
    clip-path: none;
  }

  .positioning-copy {
    max-width: 100%;
    padding-top: 0;
  }

  .working-grid {
    grid-template-columns: 1fr;
  }

  .working-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .working-card:last-child {
    border-bottom: 0;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .team-member-image {
    height: 430px;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle:nth-child(3n) {
    border-right: 1px solid var(--white-border);
  }

  .principle:nth-child(2n) {
    border-right: 0;
  }

  .principle:nth-child(n + 4) {
    border-bottom: 1px solid var(--white-border);
  }

  .principle:nth-child(n + 5) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .brand-text span {
    font-size: 0.48rem;
  }

  .about-hero-copy {
    padding: 54px 0;
  }

  .about-hero-copy h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.4rem);
  }

  .about-hero-copy .button {
    width: 100%;
  }

  .about-hero-visual {
    min-height: 350px;
  }

  .about-hero-symbol {
    left: 50%;
    width: 140px;
    height: 140px;
  }

  .about-hero-symbol strong {
    font-size: 3.35rem;
  }

  .about-hero-corner {
    top: 24px;
    right: 18px;
    width: 88px;
    height: 88px;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .positioning,
  .working-method,
  .differences,
  .about-model,
  .team,
  .principles,
  .about-cta {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .metric-number {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .metric-label {
    white-space: normal;
  }

  .differences-list {
    grid-template-columns: 1fr;
  }

  .differences-list article:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--white-border);
  }

  .differences-list article:last-child {
    border-bottom: 0;
  }

  .model-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .model-step {
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }

  .model-number {
    grid-column: 2;
  }

  .model-icon {
    grid-row: 1 / 5;
    width: 58px;
    height: 58px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member-image {
    height: 430px;
  }

  .team-member-content {
    padding: 30px 24px 34px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--white-border);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand-text {
    display: none;
  }

  .team-member-image {
    height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-column {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ======================================================
   AVISO INFORMATIVO SOBRE COOKIES
====================================================== */

.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--navy);
  box-shadow:
    0 22px 65px rgba(7, 18, 37, 0.3);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease;
}

.cookie-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 30px;
  align-items: center;
}

.cookie-notice__content {
  max-width: 810px;
}

.cookie-notice__title {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family:
    "Playfair Display",
    Georgia,
    serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.cookie-notice__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.65;
}

.cookie-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-notice__button,
.cookie-notice__link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 170ms ease,
    color 170ms ease,
    border-color 170ms ease,
    transform 170ms ease;
}

.cookie-notice__button:hover,
.cookie-notice__link:hover {
  transform: translateY(-1px);
}

.cookie-notice__button {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.cookie-notice__button:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.cookie-notice__link {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.cookie-notice__link:hover {
  border-color: var(--orange);
  color: #ffad52;
}

.cookie-notice__button:focus-visible,
.cookie-notice__link:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 2px solid #ffad52;
  outline-offset: 3px;
}

/* Enlace permanente del footer */

.cookie-settings-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.67rem;
  line-height: inherit;
  text-align: left;
}

.cookie-settings-link:hover {
  color: var(--orange);
}

/* Responsive del aviso */

@media (max-width: 760px) {
  .cookie-notice {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 22px 20px;
  }

  .cookie-notice__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-notice__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-notice__button,
  .cookie-notice__link {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .cookie-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 20px 17px;
  }

  .cookie-notice__title {
    font-size: 1.12rem;
  }

  .cookie-notice__text {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice,
  .cookie-notice__button,
  .cookie-notice__link {
    transition: none;
  }
}