:root {
  --editorial-navy: #0c2740;
  --editorial-navy-deep: #081d30;
  --editorial-red: #b5122f;
  --editorial-red-dark: #941027;
  --editorial-gold: #c99224;
  --editorial-ivory: #fbf8f2;
  --editorial-paper: #fffdf9;
  --editorial-ink: #13283b;
  --editorial-muted: #5d6670;
  --editorial-rule: #ded8ce;
  --home-wide: 1760px;
  --home-gutter: clamp(20px, 3vw, 56px);
}

.home-redesign {
  background: var(--editorial-paper);
  color: var(--editorial-ink);
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.6;
}

.home-redesign h1,
.home-redesign h2,
.home-redesign h3,
.home-redesign .stat-value,
.home-redesign .footer-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
}

.home-redesign a:focus-visible,
.home-redesign button:focus-visible {
  outline: 3px solid var(--editorial-gold);
  outline-offset: 4px;
}

.home-redesign .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, .97);
  border-bottom: 1px solid rgba(12, 39, 64, .1);
  backdrop-filter: blur(14px);
}

.home-redesign .header-inner {
  max-width: calc(var(--home-wide) + 2 * var(--home-gutter));
  min-height: 88px;
  margin: 0 auto;
  padding: 14px var(--home-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-redesign .logo img {
  width: auto;
  height: 50px;
}

.home-redesign .primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-redesign .primary-nav > ul > li > a {
  position: relative;
  padding: 14px 4px;
  border-radius: 0;
  color: var(--editorial-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  background: transparent;
}

.home-redesign .primary-nav > ul > li > a::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 7px;
  height: 2px;
  background: var(--editorial-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.home-redesign .primary-nav > ul > li > a:hover,
.home-redesign .primary-nav > ul > li > a.active {
  color: var(--editorial-navy);
  background: transparent;
}

.home-redesign .primary-nav > ul > li > a:hover::before,
.home-redesign .primary-nav > ul > li > a.active::before {
  transform: scaleX(1);
}

.home-redesign .has-sub > a::after {
  margin-left: 4px;
}

.home-redesign .submenu {
  top: calc(100% - 4px);
  left: -14px;
  padding: 10px;
  min-width: 240px;
  border: 1px solid var(--editorial-rule);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(8, 29, 48, .13);
  background: var(--editorial-paper);
}

.home-redesign .submenu a {
  padding: 9px 12px;
  border-radius: 2px;
  font-size: 13px;
}

.home-redesign .submenu a:hover {
  color: var(--editorial-red);
  background: #f5f0e7;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--editorial-rule);
  border-radius: 2px;
  background: var(--editorial-paper);
  color: var(--editorial-navy);
  font-size: 20px;
  cursor: pointer;
}

.editorial-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: stretch;
  background: url('assets/hero-home.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.editorial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 25, 43, .56);
}

.editorial-hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: calc(var(--home-wide) + 2 * var(--home-gutter));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 110px var(--home-gutter) 64px;
}

.hero-eyebrow {
  position: absolute;
  top: 58px;
  left: var(--home-gutter);
  margin: 0;
  color: var(--editorial-gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.editorial-hero__copy h1 {
  max-width: none;
  color: #ffffff;
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: .95;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.editorial-rule {
  width: 76px;
  height: 3px;
  margin: 24px 0 22px;
  background: var(--editorial-gold);
}

.editorial-hero__copy p {
  width: 100%;
  min-width: 0;
  max-width: none;
  color: #eef3f7;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  overflow-wrap: break-word;
  white-space: nowrap;
}

.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.editorial-btn {
  min-height: 50px;
  padding: 14px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--editorial-navy);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.editorial-btn:hover {
  transform: translateY(-2px);
}

.editorial-btn--primary {
  color: #fff;
  border-color: var(--editorial-red);
  background: var(--editorial-red);
}

.editorial-btn--primary:hover {
  border-color: var(--editorial-red-dark);
  background: var(--editorial-red-dark);
}

.editorial-btn--secondary {
  color: var(--editorial-navy);
  background: transparent;
}

.editorial-btn--secondary:hover {
  color: #fff;
  background: var(--editorial-navy);
}

.editorial-hero__media {
  display: none;
}

.editorial-hero .editorial-btn--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .88);
  background: rgba(5, 25, 43, .18);
}

.editorial-hero .editorial-btn--secondary:hover {
  color: var(--editorial-navy);
  border-color: #ffffff;
  background: #ffffff;
}

.editorial-hero .editorial-btn {
  padding-inline: 30px;
  border-radius: 999px;
}

.editorial-hero .editorial-actions {
  margin-top: 26px;
}

.trust-band {
  background: var(--editorial-navy);
  color: #fff;
}

.trust-band__inner {
  max-width: calc(var(--home-wide) + 2 * var(--home-gutter));
  min-height: 184px;
  margin: 0 auto;
  padding: 28px var(--home-gutter);
  display: grid;
  grid-template-columns: .8fr 1.5fr .8fr;
  align-items: center;
}

.trust-stat {
  min-height: 82px;
  padding: 0 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .42);
}

.trust-stat:last-child {
  border-right: 0;
}

.stat-value {
  color: #e1aa3b;
  font-size: clamp(35px, 3vw, 47px);
  line-height: 1;
}

.stat-value--numeric {
  font-family: 'Manrope', Arial, sans-serif !important;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.04em;
}

.trust-stat:nth-child(2) .stat-value {
  font-size: clamp(27px, 2.5vw, 40px);
}

.stat-label {
  margin-top: 10px;
  color: #eff3f7;
  font-size: 13px;
}

.editorial-section {
  padding: 124px var(--home-gutter);
}

.editorial-section__inner {
  max-width: var(--home-wide);
  margin: 0 auto;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 54px;
  text-align: center;
}

.editorial-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--editorial-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-heading h2,
.coverage-copy h2,
.editorial-cta h2 {
  color: var(--editorial-navy-deep);
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: 1.03;
  letter-spacing: -.025em;
}

.section-heading p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--editorial-muted);
  font-size: 16px;
}

.heading-rule {
  width: 54px;
  height: 2px;
  margin: 26px auto 0;
  background: var(--editorial-gold);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-item {
  min-width: 0;
  padding: 5px 34px 4px;
  border-right: 1px solid var(--editorial-rule);
}

.service-item:first-child {
  padding-left: 0;
}

.service-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--editorial-gold);
  font-size: 35px;
}

.service-item h3 {
  margin: 18px 0 8px;
  color: var(--editorial-navy-deep);
  font-size: 29px;
  line-height: 1.05;
}

.service-item p {
  min-height: 78px;
  color: var(--editorial-muted);
  font-size: 14px;
  line-height: 1.55;
}

.text-link {
  margin-top: 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--editorial-red);
  font-size: 13px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--editorial-red-dark);
}

.clients-editorial {
  padding-top: 108px;
  background: #ffffff;
  border-top: 1px solid #eef1f4;
  border-bottom: 1px solid #eef1f4;
}

.clients-editorial .section-heading {
  margin-bottom: 36px;
}

.client-wordmarks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.client-wordmark {
  min-height: 168px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eef1f4;
  border-bottom: 1px solid #eef1f4;
}

.client-wordmark:nth-child(5n) {
  border-right: 0;
}

.client-wordmark:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.client-wordmark img {
  width: 100%;
  height: 128px;
  object-fit: contain;
  filter: saturate(.9);
  transition: filter .2s ease, transform .2s ease;
}

a.client-wordmark:hover img {
  filter: saturate(1.15);
  transform: translateY(-2px);
}

.coverage-editorial {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 470px;
  background: var(--editorial-ivory);
}

.coverage-copy {
  padding: 72px clamp(38px, 7vw, 108px) 72px max(var(--home-gutter), calc((100vw - var(--home-wide)) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.coverage-copy h2 {
  max-width: 520px;
}

.coverage-copy .editorial-rule {
  margin: 24px 0 20px;
}

.coverage-copy p {
  max-width: 520px;
  color: var(--editorial-muted);
  font-size: 16px;
}

.coverage-media {
  min-height: 470px;
  background: url('assets/merida-monumento-patria.png') center center / cover no-repeat;
}

.editorial-cta {
  padding: 96px 28px;
  text-align: center;
  background: var(--editorial-navy);
  color: #fff;
}

.editorial-cta .editorial-kicker {
  color: #e1aa3b;
}

.editorial-cta h2 {
  max-width: 920px;
  margin: 0 auto;
  color: #fff;
}

.editorial-cta p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #d9e3eb;
}

.editorial-cta .editorial-actions {
  justify-content: center;
}

.editorial-cta .editorial-btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .82);
}

.editorial-cta .editorial-btn--secondary:hover {
  color: var(--editorial-navy);
  background: #fff;
}

.home-redesign .site-footer {
  padding: 72px 28px 38px;
  text-align: center;
  background: var(--editorial-navy-deep);
  color: #dbe4ec;
}

.footer-brand {
  color: #fff;
  font-size: 29px;
}

.home-redesign .footer-triad {
  margin-top: 5px;
  color: #d5a348;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.footer-divider {
  max-width: 920px;
  height: 1px;
  margin: 28px auto;
  background: rgba(255, 255, 255, .13);
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #e6edf3;
  font-size: 13px;
}

.footer-contact a:hover,
.home-redesign .copy a:hover {
  color: #fff;
}

.footer-social {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  transition: border-color .2s ease, background .2s ease;
}

.footer-social a:hover {
  border-color: var(--editorial-gold);
  background: rgba(255, 255, 255, .08);
}

.home-redesign .copy {
  margin-top: 28px;
  color: #8ea0b0;
  font-size: 12px;
}

.home-redesign .wa-float {
  width: 56px;
  height: 56px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1fae5b;
  color: #fff;
  box-shadow: 0 10px 28px rgba(8, 29, 48, .25);
}

.home-redesign .wa-float i {
  font-size: 25px;
}

@media (max-width: 1050px) {
  .home-redesign .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-redesign .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    padding: 12px 24px 24px;
    background: var(--editorial-paper);
    border-bottom: 1px solid var(--editorial-rule);
    box-shadow: 0 20px 40px rgba(8, 29, 48, .12);
  }

  .home-redesign .primary-nav.is-open {
    display: block;
  }

  .home-redesign .primary-nav > ul {
    display: block;
  }

  .home-redesign .primary-nav > ul > li > a {
    display: block;
    padding: 13px 4px;
  }

  .home-redesign .submenu {
    display: block;
    position: static;
    min-width: 0;
    margin: 0 0 8px 14px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--editorial-rule);
    border-radius: 0;
    box-shadow: none;
  }

  .editorial-hero {
    background-position: 58% center;
  }

  .editorial-hero__copy {
    padding: 96px 44px 58px;
  }

  .hero-eyebrow {
    top: 48px;
    left: 44px;
  }

  .editorial-hero__copy h1,
  .editorial-hero__copy p {
    white-space: normal;
  }

  .service-item {
    padding: 5px 22px;
  }

  .coverage-copy {
    padding: 64px 46px;
  }
}

@media (max-width: 760px) {
  .home-redesign {
    overflow-x: hidden;
  }

  .home-redesign .header-inner {
    padding: 12px 20px;
  }

  .home-redesign .logo img {
    height: 44px;
  }

  .editorial-hero {
    min-height: 640px;
    background-position: 61% center;
  }

  .editorial-hero__copy {
    padding: 92px 24px 48px;
  }

  .editorial-hero__media {
    display: none;
  }

  .editorial-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-eyebrow {
    top: 40px;
    left: 24px;
    max-width: 100%;
    font-size: 10px;
    letter-spacing: .14em;
  }

  .editorial-hero__copy p {
    max-width: 100%;
  }

  .trust-band__inner {
    padding: 22px 24px;
    grid-template-columns: 1fr;
  }

  .trust-stat {
    min-height: 112px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
  }

  .trust-stat:last-child {
    border-bottom: 0;
  }

  .editorial-section {
    padding: 70px 24px;
  }

  .section-heading {
    margin-bottom: 44px;
    text-align: left;
  }

  .section-heading h2,
  .coverage-copy h2,
  .editorial-cta h2 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .section-heading p {
    margin-left: 0;
  }

  .heading-rule {
    margin-left: 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:first-child,
  .service-item:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--editorial-rule);
  }

  .service-item:first-child {
    padding-top: 0;
  }

  .service-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .service-item p {
    min-height: 0;
  }

  .client-wordmarks {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-wordmark,
  .client-wordmark:nth-child(5n),
  .client-wordmark:nth-last-child(-n + 4) {
    min-height: 100px;
    padding: 14px;
    border-right: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
  }

  .client-wordmark img {
    height: 80px;
  }

  .client-wordmark:nth-child(2n) {
    border-right: 0;
  }

  .client-wordmark:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .coverage-editorial {
    grid-template-columns: 1fr;
  }

  .coverage-copy {
    padding: 62px 24px;
  }

  .coverage-media {
    min-height: 330px;
  }

  .editorial-cta {
    padding: 64px 24px;
    text-align: left;
  }

  .editorial-cta .editorial-actions {
    justify-content: flex-start;
  }

  .footer-contact {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .editorial-actions,
  .editorial-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign *,
  .home-redesign *::before,
  .home-redesign *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
