:root {
  --color-brand-dark: #0a0f1c;
  --color-brand-amber: #f59e0b;
  --color-brand-amber-hover: #d97706;
  --color-brand-amber-light: #fbbf24;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-white: #ffffff;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 10px 25px rgb(15 23 42 / 0.08);
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 1.75rem;
  --container: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background: var(--color-white);
  color: var(--color-slate-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container--narrow {
  max-width: 56rem;
}

.container--content {
  max-width: 64rem;
}

.container--article {
  max-width: 48rem;
}

/* Top bar */
.top-bar {
  background: var(--color-brand-dark);
  color: var(--color-slate-400);
  font-size: 0.75rem;
  padding: 0.5rem 0;
}

.top-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.top-bar__phone {
  min-width: 0;
  max-width: 100%;
}

.top-bar__email {
  display: none;
}

.top-bar__worktime {
  text-align: left;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .top-bar {
    font-size: 0.875rem;
    padding: 0.625rem 0;
  }

  .top-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .top-bar__phone {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-bar__email {
    display: block;
  }

  .top-bar__worktime {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-slate-100);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0;
}

.site-header__brand {
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 3rem);
}

.site-header__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-slate-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow-wrap: anywhere;
}

.site-header__tagline {
  margin: 0.125rem 0 0;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--color-slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  color: var(--color-slate-700);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  border-color: var(--color-brand-amber);
  color: var(--color-brand-amber);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.375rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-slate-700);
  background: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  border-color: var(--color-brand-amber);
  color: var(--color-brand-amber);
}

.about-dropdown {
  position: relative;
}

.about-dropdown__chevron {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
}

.about-dropdown__menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 13.75rem;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s;
}

.about-dropdown:hover .about-dropdown__menu,
.about-dropdown:focus-within .about-dropdown__menu {
  opacity: 1;
  visibility: visible;
}

.about-dropdown__menu > div,
.about-dropdown__menu {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-slate-100);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.about-dropdown__item {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--color-slate-700);
  transition: background 0.15s, color 0.15s;
}

.about-dropdown__item:hover,
.about-dropdown__item.is-active {
  background: #fffbeb;
  color: var(--color-brand-amber-hover);
  font-weight: 500;
}

.mobile-nav {
  border-top: 1px solid var(--color-slate-100);
  padding: 0.5rem 0 1rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  background: #fffbeb;
  color: var(--color-brand-amber-hover);
}

.mobile-about {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-slate-100);
}

.mobile-about__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
  cursor: pointer;
  list-style: none;
}

.mobile-about__summary::-webkit-details-marker {
  display: none;
}

.mobile-about__summary.is-active,
.mobile-about__summary:hover {
  background: #fffbeb;
  color: var(--color-brand-amber-hover);
}

.mobile-about[open] .mobile-about__summary svg {
  transform: rotate(180deg);
}

.mobile-about__links {
  padding-left: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    margin-left: 1rem;
  }

  .site-header__brand {
    flex: 0 1 auto;
    max-width: min(20rem, 38%);
  }

  .site-header__row {
    padding: 1rem 0;
    gap: 1rem;
  }

  .site-header__title {
    font-size: 1.375rem;
  }

  .site-header__tagline {
    font-size: 0.6875rem;
  }
}

@media (min-width: 1280px) {
  .desktop-nav {
    gap: 0.25rem;
    margin-left: 1.5rem;
  }

  .nav-link {
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
  }

  .site-header__brand {
    max-width: min(24rem, 42%);
  }

  .site-header__title {
    font-size: 1.5rem;
  }

  .site-header__tagline {
    font-size: 0.75rem;
  }
}

@media (min-width: 1440px) {
  .nav-link {
    padding: 0.5rem 0.875rem;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-slate-900) 50%, var(--color-slate-800));
  color: var(--color-white);
  padding: 3rem 0;
  overflow-x: clip;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__grid > * {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  max-width: 100%;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: rgb(245 158 11 / 0.15);
  color: #fcd34d;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.625rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-slate-300);
  overflow-wrap: anywhere;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 100%;
}

.hero__stats > div {
  min-width: 0;
}

.hero__stats strong {
  display: block;
  font-size: clamp(1.25rem, 5vw, 1.875rem);
  color: #fbbf24;
}

.hero__stats p {
  margin: 0.25rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--color-slate-400);
  overflow-wrap: anywhere;
}

.hero__panel {
  padding: 1.5rem;
  border-radius: var(--radius-3xl);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  backdrop-filter: blur(8px);
  min-width: 0;
}

.hero__panel h3 {
  margin: 0;
  font-size: 1.125rem;
}

.hero__panel p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-300);
  overflow-wrap: anywhere;
}

@media (min-width: 480px) {
  .hero__stats {
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 36rem;
  }

  .hero__stats p {
    font-size: 0.875rem;
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .hero__badge {
    font-size: 0.875rem;
  }

  .hero__panel {
    padding: 2rem;
  }

  .hero__panel h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }

  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Sections */
.section {
  padding: 3rem 0;
  overflow-x: clip;
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 0;
  }
}

.section--muted {
  background: var(--color-slate-50);
}

.section--soft {
  background: linear-gradient(135deg, var(--color-slate-50), var(--color-white));
}

.section-title {
  margin: 0 0 3.5rem;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 1.875rem);
  font-weight: 800;
  color: var(--color-slate-900);
}

.section-title span {
  color: var(--color-brand-amber);
}

.section-title--page {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--advantages {
  grid-template-columns: 1fr;
}

.grid--projects {
  grid-template-columns: 1fr;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .grid--3,
  .grid--advantages {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--advantages {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.service-card {
  display: block;
  padding: 2rem;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__image {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 1.25rem;
}

.service-card__image--large {
  height: 12rem;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  margin-bottom: 0;
}

.service-card--large {
  padding: 0;
  overflow: hidden;
}

.service-card__body {
  padding: 1.5rem;
}

.service-card h2,
.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.advantage-card {
  padding: 1.5rem;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}

.advantage-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.advantage-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-slate-600);
}

/* Projects carousel */
.projects-carousel {
  overflow-x: clip;
}

.projects-carousel__track {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  margin: 0;
  padding: 0 0 0.5rem;
}

.projects-carousel__track::-webkit-scrollbar {
  display: none;
}

.projects-carousel__list {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card--carousel {
  width: 280px;
  flex-shrink: 0;
  padding: 1.25rem;
  scroll-snap-align: start;
}

.projects-carousel__list {
  scroll-snap-type: x mandatory;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}

.project-card:hover .project-card__image {
  transform: scale(1.02);
}

.project-card__image--cover {
  border-radius: 0;
  margin-bottom: 0;
}

.project-card__body {
  padding: 1.5rem;
}

.project-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.project-card__year {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand-amber);
}

.project-card__description {
  margin: 0.625rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.projects-carousel__progress-wrap {
  margin-top: 2rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--color-slate-200);
  overflow: hidden;
}

.projects-carousel__progress {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--color-brand-amber);
  transition: width 0.15s;
}

.projects-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-slate-100);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-brand-amber);
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}

.carousel-btn:hover {
  transform: scale(1.05);
  border-color: var(--color-brand-amber);
  background: var(--color-brand-amber);
  color: var(--color-white);
}

@media (min-width: 640px) {
  .project-card--carousel {
    width: 320px;
  }

  .projects-carousel__track {
    margin: 0 -0.5rem;
    padding: 0 0.5rem 0.5rem;
  }
}

/* News */
.news-list {
  display: grid;
  gap: 1.5rem;
}

.news-list--page {
  margin-top: 3.5rem;
}

.news-card {
  padding: 2rem;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.news-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-brand-amber);
}

.news-card h2,
.news-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.news-card h2 {
  font-size: 1.5rem;
}

.news-card h2 a:hover,
.news-card h3 a:hover {
  color: var(--color-brand-amber-hover);
}

.news-card p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.news-card__more {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-amber-hover);
}

.news-card__more:hover {
  color: #b45309;
}

/* Page layouts */
.page-main {
  padding: 5rem 0;
  flex: 1;
}

.page-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
}

.page-title--center {
  text-align: center;
}

.page-title--light {
  color: var(--color-white);
}

.page-lead {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.page-lead--center {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.page-lead--light {
  color: var(--color-slate-300);
}

.page-hero {
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-slate-800));
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-brand-amber-hover);
}

.back-link:hover {
  color: #b45309;
}

.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.breadcrumbs a:hover {
  color: var(--color-brand-amber-hover);
}

.service-hero-image {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: var(--radius-3xl);
  margin-top: 2rem;
}

.article-header {
  margin-top: 2rem;
}

.article-meta {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-brand-amber);
}

.article {
  margin-top: 2rem;
}

.project-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.project-gallery img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

@media (min-width: 640px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.history-text {
  display: grid;
  gap: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-slate-600);
}

@media (min-width: 640px) {
  .history-text {
    font-size: 1.125rem;
    line-height: 2;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-list {
  margin: 2.5rem 0 0;
}

.contact-list div {
  margin-bottom: 1.5rem;
}

.contact-list dt {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-brand-amber);
}

.contact-list dd {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  color: var(--color-slate-900);
}

.contact-panel {
  padding: 2rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  background: var(--color-slate-50);
}

.contact-panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.contact-panel__address {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-slate-600);
}

.contact-map {
  position: relative;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-white);
}

.contact-map__credit {
  position: absolute;
  z-index: 2;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #eee;
  text-decoration: none;
  opacity: 0.01;
}

.contact-map__credit--address {
  top: 0.875rem;
}

.contact-map__credit:focus-visible {
  opacity: 1;
  color: var(--color-brand-amber);
}

.contact-map iframe {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-map__link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-amber-hover);
}

.contact-map__link:hover {
  color: #b45309;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

/* Resources */
.resource-card {
  padding: 2rem;
  border: 1px solid rgb(245 158 11 / 0.1);
  border-radius: var(--radius-3xl);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgb(245 158 11 / 0.3);
  box-shadow: var(--shadow-md);
}

.resource-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #fef3c7;
}

.resource-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-xl);
  background: #fffbeb;
  color: var(--color-brand-amber);
  flex-shrink: 0;
}

.resource-card__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
}

.resource-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.resource-card__list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-700);
}

.resource-card__bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.375rem;
  border-radius: 999px;
  background: var(--color-brand-amber);
  flex-shrink: 0;
}

.resource-card__note {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-slate-100);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.resource-card__note-icon {
  color: var(--color-brand-amber);
  flex-shrink: 0;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

/* Certificates */
.certificates-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.certificate-card {
  overflow: hidden;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  background: var(--color-white);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.certificate-card__thumb {
  display: block;
  width: 100%;
  padding: 1rem 1rem 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.certificate-card__thumb img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  margin: 0 auto;
}

.certificate-card__title {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgb(0 0 0 / 0.9);
}

.certificate-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: none;
  color: var(--color-white);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
}

.certificate-modal__close:hover {
  color: #fbbf24;
}

.certificate-modal__image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0.5rem;
}

@media (min-width: 640px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xl);
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn--primary {
  margin-top: 1.5rem;
  background: var(--color-brand-amber);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-brand-amber-hover);
}

/* Rich text */
.rich-text {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-slate-700);
}

.rich-text > * + * {
  margin-top: 1rem;
}

.rich-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
}

.rich-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.rich-text ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.rich-text ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.rich-text blockquote {
  border-left: 4px solid var(--color-brand-amber);
  padding-left: 1rem;
  font-style: italic;
  color: var(--color-slate-600);
}

.rich-text strong,
.rich-text b {
  font-weight: 700;
  color: var(--color-slate-900);
}

.rich-text em,
.rich-text i {
  font-style: italic;
}

.rich-text u {
  text-decoration: underline;
}

.rich-text s,
.rich-text strike,
.rich-text del {
  text-decoration: line-through;
}

.rich-text a {
  color: var(--color-brand-amber-hover);
  text-decoration: underline;
}

.rich-text a:hover {
  color: #b45309;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--color-brand-dark);
  color: var(--color-slate-300);
  padding: 4rem 0 0;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__heading {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  color: var(--color-white);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-400);
}

.site-footer__list li {
  display: flex;
  gap: 0.75rem;
}

.site-footer__icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--color-brand-amber);
  stroke-width: 2;
}

.site-footer__list a:hover {
  color: var(--color-white);
}

.site-footer__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-slate-400);
}

.site-footer__copy {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--color-slate-800);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-slate-500);
}

@media (min-width: 640px) {
  .site-footer__copy {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
