/* ============================================
   Mouro Digital — общие стили
   Токены дизайна согласованы с брендбуком (Figma)
   ============================================ */

:root {
  /* Цвета — точные значения из брендбука */
  --color-bg: #fdf9f3;            /* основной фон */
  --color-navy: #1b2741;          /* основной текст / header / footer */
  --color-brand: #184b23;         /* главный бренд-акцент / CTA / логотип */
  --color-accent-soft: #cfe0a1;   /* тихие акценты / highlight / badge */
  --color-support: #bad2d2;       /* вторичные фоны / схемы / графики / UI-support */
  --color-text-muted: #55606c;
  --color-border: rgba(27, 39, 65, 0.14);

  --font-display: "Labrada", serif;
  --font-body: "Inter", sans-serif;

  /* Сетка: 6 колонок, margin 100 (десктоп), gutter 20 */
  --grid-margin: 100px;
  --grid-margin-tablet: 48px;
  --grid-margin-mobile: 20px;
  --grid-gutter: 20px;

  --max-width: 1400px;
  --radius-btn: 8px;
  --radius: 10px;
  --border-width: 1px;
  --section-gap: 100px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-navy);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin-mobile);
}

@media (min-width: 720px) {
  .container { padding: 0 var(--grid-margin-tablet); }
}

@media (min-width: 1100px) {
  .container { padding: 0 var(--grid-margin); }
}

/* ---------- Типографика (по спеке брендбука) ---------- */

/* H1 — Labrada Medium 144/110%/-4% (десктоп, со responsive-уменьшением) */
.text-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 9rem); /* 144px = 9rem на большом экране */
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--color-navy);
}

/* H2 — Labrada Bold 40/0% */
.text-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem); /* 40px = 2.5rem */
  letter-spacing: 0;
  margin: 0;
  color: var(--color-navy);
}

/* Подзаголовок / лейбл — Inter Medium 30/125%/-1%, заглавные */
.text-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.5rem; /* 24px — сокращено под UI, 30px оставлен как опция text-eyebrow-lg */
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

.text-eyebrow-lg {
  font-size: 1.875rem; /* 30px */
}

/* Card title — Inter Bold 20/-1%, versales */
.text-h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem; /* 20px */
  letter-spacing: 0em; /* con mayúsculas, -1% resulta demasiado apretado */
  text-transform: uppercase;
  margin: 0;
  color: var(--color-navy);
}

/* Lead text — Inter Medium 20 */
.text-lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0;
}

/* Body — Inter Regular 16 */
.text-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem; /* 16px */
  color: var(--color-text-muted);
  margin: 0;
}

/* Минимальный размер текста на сайте — 15px */
.text-small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 32px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem; /* 15px min */
  color: var(--color-navy);
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-brand);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 160px 0 var(--section-gap);
  background-image:
    linear-gradient(100deg, rgba(253, 249, 243, 0.82) 0%, rgba(253, 249, 243, 0.35) 42%, rgba(253, 249, 243, 0) 68%),
    url("../img/hero-bg.jpg");
  background-size: cover, cover;
  background-position: center, center;
  overflow: hidden;
  text-align: left;
}

.hero-inner {
  position: relative;
  max-width: 820px;
}

.hero-eyebrow {
  color: var(--color-brand);
  margin-bottom: 12px;
}

.hero-title {
  margin: 8px 0 28px;
}

.hero-text {
  max-width: 440px;
  margin: 0 0 40px;
}

.hero-text.is-draft {
  font-style: italic;
  border-left: 2px solid var(--color-brand);
  padding-left: 14px;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  border: var(--border-width) solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), opacity var(--transition);
  font-family: var(--font-body);
  font-weight: 600; /* SemiBold */
  font-size: 1.05rem; /* ~24px se reserva para CTAs grandes del hero; botones estándar 1.05rem para legibilidad de UI */
}

.btn-hero {
  font-size: 1.5rem; /* 24px — botón grande de hero, según spec */
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-support);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

/* ---------- Secciones ---------- */

.section {
  padding: var(--section-gap) 0;
}

.section-alt {
  background: var(--color-support);
  background: linear-gradient(180deg, rgba(186, 210, 210, 0.25), rgba(186, 210, 210, 0.25));
}

.section-title {
  margin: 0 0 48px;
}

/* ---------- Qué hacemos: tarjetas ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gutter);
}

.card {
  background: var(--color-bg);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 20px 20px; /* top 40 / left-right 20, según spec */
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0 0 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.tag {
  background: var(--color-accent-soft);
  color: var(--color-brand);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.card-visual {
  flex: 1;
  margin-bottom: 20px;
  min-height: 120px;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: var(--border-width) solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-link {
  margin-top: auto;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-navy);
}

.card-link::after {
  content: "→";
  margin-left: 6px;
  transition: margin var(--transition);
  display: inline-block;
}

.card-link:hover::after {
  margin-left: 10px;
}

.product-item {
  margin-bottom: 18px;
}

.product-card-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}

.product-card-text {
  flex: 1;
  min-width: 0;
}

.product-card-visual {
  flex: 0 0 42%;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.product-card-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-item strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.product-item p {
  margin: 0;
}

.step-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.step-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.step-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: var(--border-width) solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  color: var(--color-brand);
  font-weight: 700;
}

.step-list strong {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
}

.step-list p {
  margin: 2px 0 0;
  font-size: 0.9375rem;
}

/* ---------- Nuestros productos ---------- */

.products-eyebrow {
  color: var(--color-brand);
  margin-bottom: 12px;
}

.products-desc {
  max-width: 560px;
  margin-bottom: 64px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gutter);
  margin-bottom: 56px;
}

.products-grid .product-block:last-child {
  border-left: var(--border-width) solid var(--color-border);
  padding-left: 40px;
}

.product-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.product-descriptor {
  color: var(--color-navy);
  margin: 0 0 14px;
}

.product-block > .text-body {
  max-width: 480px;
  margin: 0 0 20px;
}

.product-mini-flow {
  color: var(--color-brand);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
}

.product-block-visual {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

/* Marco de dispositivo: gris-azulado claro (color corporativo secundario), nunca oscuro */
.device-frame {
  flex: 1;
  max-width: 150px;
  border: 3px solid var(--color-support);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(27, 39, 65, 0.1);
}

.device-frame img {
  width: 100%;
  display: block;
}

.device-frame-offset {
  margin-top: 32px;
}

.product-block .tag-list {
  margin-bottom: 20px;
}

.products-proof-line {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}

.products-secondary-cta {
  display: block;
  text-align: center;
}

/* ---------- Servicios y experiencia ---------- */

.services-eyebrow {
  color: var(--color-brand);
  margin-bottom: 12px;
}

.services-desc {
  max-width: 560px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gutter);
  margin-bottom: 40px;
}

.service-item {
  padding-right: 8px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg);
  border: var(--border-width) solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: 18px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-item .text-h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.service-phrase {
  font-size: 0.9375rem;
  margin-bottom: 18px;
}

.service-item .tag-list {
  margin-bottom: 0;
}

.services-cta {
  display: block;
}

/* ---------- Reconocimientos y programas ---------- */

.recognitions-section .section-title {
  margin-bottom: 48px;
}

.recognitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gutter);
}

.recognitions-grid .recognition-item:not(:first-child) {
  border-left: var(--border-width) solid var(--color-border);
  padding-left: 40px;
}

.recognition-logo {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.recognition-logo-placeholder {
  border: 1px dashed var(--color-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  white-space: nowrap;
}

.recognition-logo-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.recognition-subtitle {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}

.recognition-status {
  font-size: 0.9375rem;
  color: var(--color-navy);
  margin: 0 0 8px;
  max-width: 320px;
}

.recognition-fact {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy);
  color: var(--color-bg);
  padding: var(--section-gap) 0 30px;
}

.site-footer a {
  color: var(--color-bg);
}

.site-footer .logo img {
  height: 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--grid-gutter);
  margin-bottom: 48px;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-soft);
  margin: 0 0 16px;
}

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

.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.footer-bottom {
  border-top: var(--border-width) solid rgba(253, 249, 243, 0.15);
  padding-top: 20px;
  font-size: 0.9375rem;
  color: rgba(253, 249, 243, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Agentes de voz con IA ---------- */

.voice-eyebrow {
  color: var(--color-brand);
  margin-bottom: 12px;
}

.voice-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--color-brand);
  margin: 16px 0 20px;
  max-width: 640px;
}

.voice-desc {
  max-width: 560px;
  margin-bottom: 64px;
}

.voice-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto;
  grid-auto-flow: column;
  column-gap: 32px;
  row-gap: 0;
  margin-bottom: 56px;
}

.voice-step {
  display: contents;
}

.voice-step-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg);
  border: var(--border-width) solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: 20px;
}

.voice-step-icon svg {
  width: 26px;
  height: 26px;
}

/* Línea conectora entre pasos: vive en el gap de la grilla, no afecta el ancho de columnas */
.voice-step:not(:last-child) .voice-step-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 32px;
  height: 1px;
  background: var(--color-border);
  transform: translateY(-50%);
}

.voice-step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-navy);
  margin: 0 0 8px;
}

.voice-step-caption {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 10px;
}

.voice-step-examples {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand);
  margin: 0;
  letter-spacing: 0.01em;
  min-height: 1.2em; /* asegura la misma altura de fila aunque el paso no tenga ejemplos */
}

.voice-accent-line {
  max-width: 620px;
  font-style: italic;
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-brand);
  padding-left: 16px;
  margin-bottom: 56px;
}

.voice-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.voice-cta-secondary-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.voice-cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.voice-cta-secondary {
  font-size: 0.9375rem;
}

/* ---------- Voice agent hook (placeholder) ---------- */

.voice-agent-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(27, 39, 65, 0.3);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card-body {
    flex-direction: column;
  }
  .product-card-visual {
    flex-basis: auto;
    max-width: 220px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--color-bg);
    padding: 100px 24px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 22px;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding: 130px 0 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .voice-flow {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    row-gap: 28px;
  }
  .voice-step-icon::after {
    display: none;
  }
  .voice-cta-row {
    align-items: flex-start;
  }
  .voice-cta-secondary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .products-grid .product-block:last-child {
    border-left: none;
    padding-left: 0;
    border-top: var(--border-width) solid var(--color-border);
    padding-top: 40px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .recognitions-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .recognitions-grid .recognition-item:not(:first-child) {
    border-left: none;
    padding-left: 0;
    border-top: var(--border-width) solid var(--color-border);
    padding-top: 32px;
  }
}
/* ---------- Шрифты (свои копии, без Google Fonts) ---------- */
@font-face {
  font-family: "Labrada";
  src: url("../fonts/Labrada-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   Mouro Digital — лендинг (дополнения к base.css)
   ============================================ */

html {
  scroll-padding-top: 16px;
}

/* ---------- Header ---------- */

.site-header .container {
  max-width: none;
  padding: 0 clamp(20px, 5.2vw, 100px);
}

/* ---------- Hero: композиция как в макете Figma ---------- */

.hero {
  --hero-fs: clamp(2.5rem, 7.5vw, 9rem);
  --hero-indent: 0px;
  min-height: clamp(620px, 54vw, 1041px);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background-image:
    linear-gradient(rgba(253, 249, 243, 0.22), rgba(253, 249, 243, 0.22)),
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero .container {
  max-width: none;
}

.hero-inner {
  max-width: none;
  width: 100%;
}

.hero .text-h1 {
  font-size: var(--hero-fs);
}

.hero-title {
  margin: 0 0 clamp(24px, 3vw, 56px);
}

.hero-title-line {
  display: block;
}

.hero-body {
  max-width: 540px;
  position: relative;
  isolation: isolate;
}

/* мягкая светлая подложка под текстом: читаемость на детальном фоне */
.hero-body::before {
  content: "";
  position: absolute;
  inset: -28px -36px -28px -36px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(253, 249, 243, 0.78) 0%, rgba(253, 249, 243, 0.55) 55%, rgba(253, 249, 243, 0) 100%);
  filter: blur(6px);
}

.hero-eyebrow {
  font-size: clamp(1.05rem, 1.56vw, 1.875rem);
  color: var(--color-brand);
  margin: 0 0 12px;
}

.hero-text {
  font-size: clamp(1rem, 1.05vw, 1.25rem);
  color: var(--color-navy);
  max-width: none;
  margin: 0 0 20px;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 32px;
}

.hero-status .text-small {
  color: var(--color-navy);
}

.hero .btn-hero {
  font-size: clamp(1.05rem, 1.25vw, 1.5rem);
}

@media (min-width: 900px) {
  .hero {
    --hero-indent: calc(var(--hero-fs) * 3.9);
  }
  .hero .container {
    padding-left: 21vw;
    padding-right: 5vw;
  }
  .hero-title-line {
    white-space: nowrap;
  }
  .hero-title-line-2 {
    padding-left: var(--hero-indent);
  }
  .hero-body {
    margin-left: var(--hero-indent);
  }
}

/* ---------- Секции ---------- */

.section-alt {
  background: rgba(186, 210, 210, 0.22);
}

/* ---------- Три направления ---------- */

.landing-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.landing-grid .card-visual {
  flex: none;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #fff;
  margin-bottom: 20px;
}

.landing-grid .card > .text-small {
  margin: 0 0 24px;
}

.tag-outline {
  background: transparent;
  border: var(--border-width) solid var(--color-border);
  color: var(--color-navy);
}

.design-visual svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1279px) {
  .landing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .landing-grid .card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Контакты ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-lead {
  color: var(--color-navy);
  max-width: 460px;
  margin: 0 0 28px;
}

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

.contact-list li {
  padding: 18px 0;
  border-top: var(--border-width) solid var(--color-border);
}

.contact-list li:last-child {
  border-bottom: var(--border-width) solid var(--color-border);
}

.contact-label {
  display: block;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-list a,
.contact-list address {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  color: var(--color-navy);
}

.contact-list a:hover {
  color: var(--color-brand);
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- Footer ---------- */

.footer-landing {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-legal {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(253, 249, 243, 0.8);
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-link:hover { color: var(--color-brand); }

/* одинаковая высота блока тегов в карточках: рисунки на одном уровне */
@media (min-width: 901px) {
  .landing-grid .tag-list {
    min-height: 82px;
    align-content: flex-start;
  }
}

/* у всех тегов одинаковая рамка (у зелёных прозрачная), чтобы высота строк совпадала */
.landing-grid .tag {
  border: var(--border-width) solid transparent;
}
.landing-grid .tag-outline {
  border-color: var(--color-border);
}

/* вводный текст карточки: резерв под две строки, чтобы рисунки не «плыли» */
@media (min-width: 901px) {
  .landing-grid .card > .text-body {
    min-height: 3em;
  }
}
