:root {
  --bg: #0e0e0f;
  --bg-soft: #17181a;
  --panel: #1f2125;
  --text: #f4f5f7;
  --muted: #b8bec8;
  --line: #31343b;
  --brand: #d61f2c;
  --brand-2: #ff4d58;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -5%, rgba(214, 31, 44, 0.3), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(255, 77, 88, 0.12), transparent 40%),
    linear-gradient(150deg, #0b0b0c 0%, #131417 40%, #0c0d0f 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
}

.brand-logo {
  width: clamp(118px, 30vw, 162px);
  height: auto;
  max-height: 48px;
  background: transparent;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand-copy {
  display: none;
}

.brand-mark {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 1.2px;
  font-size: 2rem;
  color: #fff;
  line-height: 0.9;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1rem;
}

.nav-links {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: rgba(12, 12, 14, 0.97);
  border-bottom: 1px solid var(--line);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  padding: 14px 4%;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.nav-links a.active {
  color: #fff;
  background: rgba(214, 31, 44, 0.22);
}

.nav-links a:hover {
  color: #fff;
}

.page-hero {
  padding: 54px 0 20px;
}

.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #dbe0ea;
  background: #17191d;
  font-size: 0.88rem;
}

.chip-link:hover {
  border-color: var(--brand-2);
  color: #fff;
}

.page-links .card {
  display: grid;
  gap: 12px;
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.eyebrow {
  color: var(--brand-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1 {
  margin: 10px 0 14px;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 1px;
  line-height: 0.95;
  font-size: clamp(2.3rem, 9vw, 5.2rem);
}

.lead {
  color: #d7dbe2;
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #b71621);
  color: #fff;
  box-shadow: 0 12px 28px rgba(214, 31, 44, 0.3);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-list li {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
  color: #e7ebf2;
}

.section {
  padding: 42px 0;
}

.section-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 1px;
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0;
}

.section-text {
  color: var(--muted);
  max-width: 62ch;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.diploma-layout {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.diploma-contact-note {
  margin-top: 18px;
}

.diploma-feature-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.diploma-feature {
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.diploma-media {
  border-radius: 14px;
  overflow: hidden;
  background: #0f1013;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: min(100%, 280px);
  margin: 0 auto;
}

.diploma-media img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
}

.diploma-feature-promo .diploma-media {
  width: min(100%, 320px);
}

.diploma-media-promo img {
  object-fit: contain;
  background: #f4f318;
}

.diploma-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.diploma-body h3,
.diploma-body p {
  margin: 0;
}

.diploma-pricing-grid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.diploma-price-card {
  background: linear-gradient(165deg, #202329, #17191d);
}

.price-line {
  margin: 0 0 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.04rem;
}

.diploma-extras,
.diploma-save-note {
  margin-top: 14px;
}

.diploma-gallery {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.diploma-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1013;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #dbe0ea;
}

.detail-list li {
  line-height: 1.5;
}

.card-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.diploma-highlights {
  margin-top: 14px;
}

.diploma-checklist {
  margin-top: 14px;
}

.timeline {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.timeline-item {
  background: #15171a;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.timeline-item h3 {
  margin: 0 0 8px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.event-card {
  margin-top: 18px;
  background: linear-gradient(160deg, #16181c, #101115);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.event-card h3 {
  margin: 0 0 8px;
}

.event-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.autosalon-layout {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.autosalon-cover {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #101115;
}

.autosalon-cover img {
  width: 100%;
  display: block;
}

.autosalon-copy {
  display: grid;
  gap: 12px;
}

.autosalon-copy .section-text {
  margin: 0;
}

.autosalon-highlights {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.inline-link {
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
}

.inline-link:hover {
  color: var(--brand-2);
  border-bottom-color: var(--brand-2);
}

.news-wrap {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  border: 1px solid var(--line);
  background: #17191d;
  color: #dbe0ea;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.86rem;
}

.chip.active {
  border-color: rgba(214, 31, 44, 0.8);
  background: rgba(214, 31, 44, 0.2);
  color: #fff;
}

.news-grid {
  display: grid;
  gap: 12px;
}

.news-card {
  background: #121315;
  border: 1px solid #2f3238;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.news-thumb {
  min-height: 130px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  display: flex;
  align-items: end;
  justify-content: end;
  padding: 10px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.65)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 8px,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.02) 16px
    ),
    linear-gradient(120deg, #7d1119, #d61f2c 55%, #3b3d43 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.news-thumb.has-cover {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: #0f1013;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(15, 16, 19, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.news-card h4 {
  margin: 0;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-link {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.85rem;
}

.news-link-button {
  cursor: pointer;
  color: #fff;
  background: rgba(214, 31, 44, 0.18);
}

.news-link.is-disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-style: dashed;
  pointer-events: none;
}

.news-link:hover {
  border-color: var(--brand-2);
}

.reader-open {
  overflow: hidden;
}

.reader-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 4, 6, 0.84);
}

.reader-modal[aria-hidden="true"] {
  display: none;
}

.reader-shell {
  width: min(1120px, 100%);
  max-height: min(92vh, 980px);
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #17191d, #0e1013);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.reader-close {
  justify-self: end;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.reader-topbar {
  display: grid;
  gap: 12px;
}

.reader-topbar h2 {
  margin: 8px 0 0;
}

.reader-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.reader-stage-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

.reader-stage {
  min-height: 55vh;
  max-height: 62vh;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 40%),
    #0c0d0f;
  padding: 6px;
  display: grid;
  place-items: center;
  perspective: 1800px;
}

.reader-book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: max-content;
  max-width: none;
  transform-origin: center;
  transition: none;
  position: relative;
  will-change: auto;
}

.reader-book::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
  transform: translateX(-0.5px);
  pointer-events: none;
  z-index: 3;
}

.reader-book.is-flipping-next {
  animation: none;
}

.reader-book.is-flipping-prev {
  animation: none;
}

.page-sheet {
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  min-height: 180px;
  display: grid;
  place-items: start center;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.page-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  display: none;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.page-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  pointer-events: none;
}

#pdf-sheet-left {
  transform-origin: right center;
}

#pdf-sheet-right {
  transform-origin: left center;
}

.page-sheet.is-empty {
  visibility: hidden;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.reader-stage canvas {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  background: #fff;
}

.reader-book.is-flipping-next #pdf-sheet-right {
  animation: none !important;
}

.reader-book.is-flipping-prev #pdf-sheet-left {
  animation: none !important;
}

.reader-book.is-flipping-next #pdf-sheet-right::after {
  animation: none !important;
}

.reader-book.is-flipping-prev #pdf-sheet-left::after {
  animation: none !important;
}

.reader-book.is-flipping-next #pdf-sheet-right::before {
  right: 0;
  animation: none !important;
}

.reader-book.is-flipping-prev #pdf-sheet-left::before {
  left: 0;
  animation: none !important;
}

.reader-nav {
  border: 1px solid var(--line);
  background: #17191d;
  color: #fff;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
}

.reader-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.reader-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

@keyframes pageTurnRight {
  0% { transform: perspective(2200px) rotateY(0deg) rotateZ(0deg) scaleX(1); }
  35% { transform: perspective(2200px) rotateY(-22deg) rotateZ(-0.35deg) scaleX(0.992); }
  58% { transform: perspective(2200px) rotateY(-30deg) rotateZ(-0.5deg) scaleX(0.985); }
  82% { transform: perspective(2200px) rotateY(-12deg) rotateZ(-0.22deg) scaleX(0.995); }
  100% { transform: perspective(2200px) rotateY(0deg) rotateZ(0deg) scaleX(1); }
}

@keyframes pageTurnLeft {
  0% { transform: perspective(2200px) rotateY(0deg) rotateZ(0deg) scaleX(1); }
  35% { transform: perspective(2200px) rotateY(22deg) rotateZ(0.35deg) scaleX(0.992); }
  58% { transform: perspective(2200px) rotateY(30deg) rotateZ(0.5deg) scaleX(0.985); }
  82% { transform: perspective(2200px) rotateY(12deg) rotateZ(0.22deg) scaleX(0.995); }
  100% { transform: perspective(2200px) rotateY(0deg) rotateZ(0deg) scaleX(1); }
}

@keyframes pageCurlShadeRight {
  0% { opacity: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); }
  36% { opacity: 0.7; background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(255, 255, 255, 0.14) 46%, rgba(0, 0, 0, 0.06)); }
  68% { opacity: 0.48; background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.08) 48%, rgba(0, 0, 0, 0.03)); }
  100% { opacity: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); }
}

@keyframes pageCurlShadeLeft {
  0% { opacity: 0; background: linear-gradient(270deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); }
  36% { opacity: 0.7; background: linear-gradient(270deg, rgba(0, 0, 0, 0.34), rgba(255, 255, 255, 0.14) 46%, rgba(0, 0, 0, 0.06)); }
  68% { opacity: 0.48; background: linear-gradient(270deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.08) 48%, rgba(0, 0, 0, 0.03)); }
  100% { opacity: 0; background: linear-gradient(270deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); }
}

@keyframes pageEdgeRight {
  0% { opacity: 0; transform: translateX(0) scaleX(1); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); }
  40% { opacity: 0.62; transform: translateX(0.6px) scaleX(1.1); background: linear-gradient(90deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.05)); }
  72% { opacity: 0.34; transform: translateX(0.2px) scaleX(1.02); background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02)); }
  100% { opacity: 0; transform: translateX(0) scaleX(1); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); }
}

@keyframes pageEdgeLeft {
  0% { opacity: 0; transform: translateX(0) scaleX(1); background: linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); }
  40% { opacity: 0.62; transform: translateX(-0.6px) scaleX(1.1); background: linear-gradient(270deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.05)); }
  72% { opacity: 0.34; transform: translateX(-0.2px) scaleX(1.02); background: linear-gradient(270deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02)); }
  100% { opacity: 0; transform: translateX(0) scaleX(1); background: linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); }
}

.gallery-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.gallery-card {
  background: #121315;
  border: 1px solid #2f3238;
  border-radius: 14px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-meta {
  padding: 12px;
}

.gallery-meta h4 {
  margin: 0 0 4px;
}

.gallery-meta p {
  margin: 0;
  color: var(--muted);
}

.cta {
  background: linear-gradient(160deg, #191b20, #0f1012);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  color: #d8dde6;
}

.contact-divider {
  height: 1px;
  margin: 4px 0 6px;
  background: rgba(255, 255, 255, 0.14);
}

.contact-item {
  display: grid;
  gap: 4px;
  padding: 8px 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-grid {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.map-card {
  display: grid;
  gap: 12px;
  background: #131417;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

.inquiry-form {
  display: grid;
  gap: 10px;
  background: #131417;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.inquiry-form label {
  font-size: 0.92rem;
  color: #d8dde6;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #343842;
  background: #0f1013;
  color: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 0;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(214, 31, 44, 0.2);
}

.form-note {
  margin: 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 20px 0 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 860px) {
  .brand-logo {
    width: 168px;
    max-height: 54px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    border: 0;
    background: transparent;
    gap: 6px;
  }

  .nav-links a {
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
  }

  .grid.services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid.process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .diploma-layout {
    grid-template-columns: 1fr 1fr;
  }

  .detail-list.two-col {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .diploma-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diploma-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .diploma-feature {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
  }

  .diploma-feature:nth-child(even) .diploma-media {
    order: 2;
    margin-left: auto;
  }

  .diploma-feature:nth-child(even) .diploma-body {
    order: 1;
  }

  .autosalon-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .autosalon-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reader-topbar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .reader-stage-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .reader-book {
    align-items: start;
    justify-items: stretch;
  }

  .page-sheet:first-child {
    border-right-width: 0;
  }

  .page-sheet:last-child {
    border-left-width: 0;
  }

  .reader-nav {
    min-width: 120px;
    height: 54px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-card {
    grid-template-columns: 1.2fr auto;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
