:root {
  --ink: #0d0f12;
  --slate: #2c3138;
  --muted: #6a717c;
  --line: #d5d8de;
  --paper: #f7f7f8;
  --white: #ffffff;
  --signal: #c41e3a;
  --signal-deep: #9e1730;
  --shell: min(1160px, calc(100% - 48px));
  --display: "Archivo", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Public Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #f0f1f3 100%);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--signal);
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s cubic-bezier(.2, .8, .2, 1) var(--delay, 0ms),
    transform .65s cubic-bezier(.2, .8, .2, 1) var(--delay, 0ms);
}

.reveal.is-visible,
.hero .reveal {
  opacity: 1;
  transform: none;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
}

.header.is-scrolled {
  border-color: var(--line);
}

.header-bar {
  display: grid;
  min-height: 74px;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo img { width: 188px; }

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav a {
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
}

.nav a:hover { color: var(--signal); }

.tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang,
.phone {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.lang:hover,
.phone:hover { color: var(--ink); }

.cabinet {
  padding: 9px 13px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.cabinet:hover { background: var(--signal); }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
}

.drawer {
  position: fixed;
  inset: 74px 0 0;
  z-index: 35;
  background: rgba(13, 15, 18, .4);
}

.drawer-inner {
  display: grid;
  gap: 2px;
  padding: 18px 20px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.drawer-inner > a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 650;
  font-stretch: 105%;
  text-decoration: none;
}

.drawer-meta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.drawer-meta a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: min(90vh, 820px);
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-veil { position: absolute; inset: 0; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: grayscale(1) contrast(1.08);
  will-change: transform;
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(13, 15, 18, .2) 0%, rgba(13, 15, 18, .55) 48%, rgba(13, 15, 18, .92) 100%),
    linear-gradient(90deg, rgba(196, 30, 58, .22), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px 0 78px;
}

.hero-rule {
  width: 56px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--signal);
  transform-origin: left;
}

.hero-rule.is-visible {
  animation: rule-grow .7s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes rule-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.brand {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(36px, 5.8vw, 68px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.055em;
  line-height: .92;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  font-stretch: 104%;
  letter-spacing: -.03em;
  line-height: 1.18;
}

.hero .lead {
  max-width: 480px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.btn-primary {
  color: var(--white);
  background: var(--signal);
}

.btn-primary:hover {
  background: var(--signal-deep);
  transform: translateY(-1px);
}

.btn-primary.invert {
  color: var(--ink);
  background: var(--white);
}

.btn-primary.invert:hover {
  color: var(--white);
  background: var(--signal);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.btn-ghost.on-dark {
  border-color: rgba(255, 255, 255, .4);
}

/* Sections */

.section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.section-head.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--signal);
}

.eyebrow.light { color: rgba(255, 255, 255, .65); }
.eyebrow.light span { color: #ff7a8c; }

h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 750;
  font-stretch: 108%;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-transform: uppercase;
}

.section-head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.head-link {
  color: var(--signal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.head-link:hover { color: var(--signal-deep); }

/* Audiences */

.audiences {
  padding: 100px 0 36px;
}

.audience-rail {
  border-top: 1px solid var(--ink);
}

.audience {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s, padding-left .25s;
}

.audience:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(196, 30, 58, .05), transparent 40%);
}

.audience-no {
  color: var(--signal);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-stretch: 110%;
}

.audience strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.audience span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.audience em {
  color: var(--signal);
  font-size: 22px;
  font-style: normal;
  transition: transform .25s ease;
}

.audience:hover em { transform: translateX(5px); }

/* Services — table, not cards */

.services {
  padding: 84px 0;
}

.service-table {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.service-table a {
  display: grid;
  grid-template-columns: 48px 1fr 160px auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s;
}

.service-table a:hover {
  background: rgba(13, 15, 18, .025);
}

.service-table span {
  color: var(--signal);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.service-table strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 650;
  font-stretch: 105%;
  letter-spacing: -.025em;
}

.service-table small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: right;
}

.service-table em {
  color: var(--ink);
  font-size: 18px;
  font-style: normal;
}

.service-table a:hover em { color: var(--signal); }

.section-foot {
  margin-top: 24px;
}

.section-foot a {
  color: var(--signal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Figures */

.figures {
  padding: 28px 0 90px;
}

.figure-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--ink);
}

.figure {
  padding: 28px 20px 8px 0;
  border-right: 1px solid var(--line);
}

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

.figure strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -.05em;
  line-height: 1;
}

.figure span {
  display: block;
  max-width: 170px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* News */

.news {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-list {
  border-top: 1px solid var(--ink);
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-stretch: 105%;
}

.news-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 650;
  font-stretch: 105%;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.news-item h3 a { text-decoration: none; }
.news-item h3 a:hover { color: var(--signal); }

/* Contact */

.contact {
  padding: 28px 0 90px;
}

.contact-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: end;
  padding: 42px 40px;
  color: var(--white);
  background: var(--ink);
}

.contact-band h2 { color: var(--white); }

.contact-band p:last-child {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* Footer */

.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand img {
  width: 178px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer h3 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li { margin-top: 7px; }

.footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer a:hover { color: var(--signal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* Responsive */

@media (max-width: 1040px) {
  .nav { display: none; }
  .phone { display: none; }
  .menu-btn { display: inline-flex; }
  .header-bar { grid-template-columns: 1fr auto; }
  .service-table a {
    grid-template-columns: 40px 1fr auto;
  }
  .service-table small { display: none; }
  .figure-strip { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }

  .hero { min-height: min(86vh, 700px); }
  .hero-content { padding-bottom: 48px; }
  .brand { font-size: clamp(30px, 11vw, 44px); }
  .hero h1 { font-size: clamp(22px, 6.4vw, 30px); }

  .audiences,
  .services,
  .news { padding: 68px 0; }
  .figures { padding: 12px 0 68px; }

  .section-head.split {
    align-items: start;
    flex-direction: column;
  }

  .audience {
    grid-template-columns: 40px 1fr auto;
    min-height: 0;
    gap: 12px;
  }

  .audience strong { font-size: 22px; }

  .service-table a {
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
  }

  .service-table strong { font-size: 17px; }

  .figure-strip,
  .contact-band,
  .footer-grid,
  .news-item {
    grid-template-columns: 1fr;
  }

  .figure {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .figure:last-child { border-bottom: 0; }

  .news-item { gap: 10px; padding: 20px 0; }

  .contact-band {
    gap: 24px;
    padding: 32px 22px;
  }

  .contact-actions { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-rule.is-visible { animation: none; }
  .hero-media img { transform: none !important; }
}
