:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-300: #5eead4;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;
  --action-red: #e9272d;
  --action-red-dark: #c91f25;
  --action-red-soft: #fff1f1;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe4ee;
  --soft: #f8fafc;
  --white: #ffffff;
  --danger: #dc2626;
  --content-max: 1240px;
  --gutter: 40px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--brand-800);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--brand-900);
  color: var(--white);
  font-size: 14px;
}

.box {
  width: min(var(--content-max), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.topbar .box,
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar .box {
  justify-content: space-between;
  min-height: 42px;
}

.nav-inner {
  justify-content: flex-start;
}

.top-links,
.social-links,
.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links {
  margin-left: auto;
}

.top-links a {
  color: #d7fffa;
}

.social-links {
  gap: 8px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-facebook svg,
.social-icon-youtube svg {
  fill: currentColor;
  stroke: none;
}

.social-icon:hover {
  background: var(--action-red);
  border-color: var(--action-red);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}

.brand-copy > span {
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  color: #334155;
  font-weight: 700;
  font-size: 15px;
  padding: 28px 0;
  border-bottom: 3px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--action-red);
  border-bottom-color: var(--action-red);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--action-red);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(233, 39, 45, 0.24);
}

.btn-primary:hover {
  background: var(--action-red-dark);
}

.btn-light {
  background: var(--white);
  color: var(--brand-900);
  border-color: var(--line);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.hero {
  background: linear-gradient(90deg, #ffffff 0%, #f0fdfa 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 56px;
  min-height: 620px;
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-600);
  box-shadow: 0 0 0 7px rgba(20, 184, 166, 0.16);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin: 0;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0;
  margin: 24px 0 20px;
}

.hero h1 span,
.accent {
  color: var(--action-red);
}

.lead {
  color: #475569;
  font-size: 19px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-media {
  position: relative;
}

.portrait-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--brand-50);
}

.hero-badge {
  position: absolute;
  left: -20px;
  bottom: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  max-width: 260px;
}

.hero-badge strong {
  display: block;
  color: var(--brand-800);
  margin-bottom: 4px;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--brand-900);
  color: var(--white);
}

.section-dark .section-head p,
.section-dark .lead {
  color: #ccfbf1;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-head .kicker {
  color: var(--brand-700);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card,
.info-panel,
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

.card {
  padding: 24px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p,
.muted {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  padding: 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

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

.stat strong {
  display: block;
  color: var(--brand-700);
  font-size: 22px;
  margin-bottom: 6px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.info-panel {
  padding: 30px;
}

.list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
  color: #334155;
}

.list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-500);
  margin-top: 9px;
}

.page-hero {
  padding: 70px 0;
  background: var(--brand-900);
  color: var(--white);
  text-align: center;
}

.page-hero p {
  max-width: 760px;
  color: #ccfbf1;
  margin: 16px auto 0;
  font-size: 18px;
}

.filter-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.media-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 34px;
}

.chip {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #475569;
  font-weight: 800;
  white-space: nowrap;
}

.chip.active {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}

.gallery-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.media-card,
.blog-card {
  overflow: hidden;
  padding: 0;
}

.media-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--brand-50);
}

.media-card .body,
.blog-card .body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  gap: 14px;
}

.contact-item .icon-box {
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 7px;
  color: #334155;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

.status {
  margin-top: 14px;
  font-weight: 800;
}

.status.ok {
  color: var(--brand-700);
}

.status.err {
  color: var(--danger);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
}

.legal-card h2 {
  font-size: 26px;
  margin-top: 32px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #475569;
}

.footer {
  margin-top: auto;
  background: #0f172a;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 32px;
  padding: 56px 0;
}

.footer h2,
.footer h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.footer p,
.footer a,
.footer li {
  color: #cbd5e1;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 18px 0;
  color: #94a3b8;
  font-size: 14px;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 980px) {
  :root {
    --gutter: 28px;
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
    overflow: hidden;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a.active {
    border-bottom-color: var(--line);
    background: var(--brand-50);
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-badge {
    left: 0;
  }

  .card-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .box {
    width: min(var(--content-max), calc(100% - 28px));
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand-copy > span {
    font-size: 10px;
  }

  .hero {
    text-align: left;
  }

  .hero-grid {
    gap: 34px;
    padding: 44px 0;
  }

  .hero-badge {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .media-tabs {
    gap: 6px;
  }

  .media-tabs .chip {
    min-height: 38px;
    padding: 8px 4px;
    font-size: 11px;
  }

  .card-grid,
  .gallery-grid,
  .blog-grid,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 380px) {
  .media-tabs .chip {
    font-size: 10px;
  }
}
