:root {
  --milk: #f7f1e7;
  --paper: #fffaf2;
  --sand: #e8dbc7;
  --sage: #77836f;
  --sage-dark: #4f604c;
  --olive: #9ca26d;
  --ink: #2c2924;
  --muted: #6f6a61;
  --line: rgba(74, 67, 54, 0.16);
  --shadow: 0 18px 50px rgba(78, 68, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--milk);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(88, 78, 58, 0.12);
  background: rgba(247, 241, 231, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: var(--sage-dark);
}

.brand span {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.site-menu a,
.small-cta {
  text-decoration: none;
}

.site-menu > a:not(.small-cta) {
  position: relative;
  padding: 7px 0;
}

.site-menu > a:not(.small-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--sage-dark);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-menu > a.is-active {
  color: var(--sage-dark);
  font-weight: 700;
}

.site-menu > a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.small-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--sage);
  border-radius: 8px;
  color: var(--sage-dark);
  font-weight: 700;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--sage);
  border-radius: 8px;
  background: transparent;
  color: var(--sage-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.header-call i,
.header-call svg {
  display: none;
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 44px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 54px;
}

.hero-divider {
  height: 8px;
  border-top: 1px solid rgba(79, 96, 76, 0.18);
  border-bottom: 1px solid rgba(79, 96, 76, 0.18);
  background: #dce2d5;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.hero-copy > * {
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 82px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 56px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--sage-dark);
  border-radius: 8px;
  background: var(--sage-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(79, 96, 76, 0.22);
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #40513f;
}

.button.secondary {
  background: transparent;
  color: var(--sage-dark);
  box-shadow: none;
}

.place-line,
.hero-actions span {
  color: var(--muted);
  min-width: 0;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
  object-position: 50% 100%;
}

.hero-portrait::after {
  display: none;
}

.hero-portrait figcaption {
  position: absolute;
  right: 26px;
  bottom: 22px;
  z-index: 1;
  color: #fffaf2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-portrait-title {
  display: none;
}

.section {
  padding: 88px 0;
}

section[id] {
  scroll-margin-top: 96px;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
}

.text-flow {
  color: var(--muted);
  font-size: 18px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.benefits span,
.note-grid p,
.map-card,
.caution,
.certificate-teaser,
.review-card,
.service-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 12px 34px rgba(78, 68, 48, 0.08);
}

.benefits span {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 700;
}

.warm-band {
  background: #efe4d3;
}

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

.service-card {
  min-height: 0;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-title h3 {
  margin: 0;
}

.price-note {
  display: inline-flex;
  margin: -6px 0 26px;
  padding: 10px 14px;
  border: 1px solid rgba(79, 96, 76, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 8px 20px rgba(78, 68, 48, 0.08);
  color: var(--sage-dark);
  font-weight: 700;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #e2eadc;
  color: var(--sage-dark);
}

.icon-chip svg {
  width: 22px;
  height: 22px;
}

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

.steps article {
  padding: 24px;
  border-top: 2px solid var(--sage);
  background: rgba(255, 250, 242, 0.58);
  transition: transform 180ms ease, background 180ms ease;
}

.steps span {
  color: var(--olive);
  font-weight: 900;
}

.step-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.steps h3 {
  margin: 0;
}

.steps p {
  margin: 12px 0 0;
}

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

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.note-grid p {
  margin: 0;
  padding: 20px;
  font-weight: 700;
}

.map-card {
  padding: 28px;
  color: var(--muted);
}

.soft-map {
  position: relative;
  min-height: 260px;
  margin-top: 22px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, transparent 46%, rgba(79, 96, 76, 0.32) 46% 49%, transparent 49%),
    linear-gradient(35deg, transparent 58%, rgba(156, 162, 109, 0.32) 58% 61%, transparent 61%),
    radial-gradient(circle at 48% 50%, #77836f 0 7px, transparent 8px),
    #e5ddcf;
}

.soft-map span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(18px, -38px);
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--sage-dark);
  font-weight: 800;
}

.gallery-section {
  background: #f9f5ee;
}

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

.photo-card {
  margin: 0;
}

button.photo-card {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.photo-card img,
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.photo-placeholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8efe1, #d9ddcb);
}

.photo-placeholder::before,
.photo-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.photo-placeholder::before {
  left: 18%;
  right: 18%;
  bottom: 20%;
  height: 30%;
  background: rgba(255, 250, 242, 0.8);
}

.photo-placeholder::after {
  width: 72px;
  height: 72px;
  right: 18%;
  top: 18%;
  background: rgba(119, 131, 111, 0.3);
}

.photo-placeholder.back {
  background: linear-gradient(145deg, #efe1d0, #bfc8b5);
}

.photo-placeholder.table {
  background: linear-gradient(145deg, #f7f1e7, #cab89d);
}

.photo-placeholder.hands {
  background: linear-gradient(145deg, #e7d5bd, #eef3e8);
}

.photo-placeholder.home {
  background: linear-gradient(145deg, #fffaf2, #d4ded0);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.photo-card > span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.certificate-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.certificate-teaser p {
  margin-bottom: 0;
  color: var(--muted);
}

.certificates-section {
  scroll-margin-top: 96px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.preview-certificate-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(78, 68, 48, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.preview-certificate-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.preview-certificate-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.preview-certificate-card.is-landscape img,
.certificate-card.is-landscape img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.preview-certificate-card span {
  display: block;
  padding: 13px 14px;
  font-weight: 700;
  line-height: 1.3;
}

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

.review-card {
  padding: 26px;
}

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

.review-card strong {
  color: var(--sage-dark);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.caution {
  padding: 32px;
  color: var(--muted);
}

.caution h2 {
  color: var(--ink);
}

.caution small {
  color: var(--sage-dark);
  font-weight: 700;
}

.final-cta {
  padding: 92px 0;
  text-align: center;
  background: var(--sage-dark);
  color: #fff;
}

.final-cta p,
.final-cta span,
.final-cta small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .button {
  margin: 20px 0 12px;
  border-color: #fff;
  background: #fff;
  color: var(--sage-dark);
}

.footer {
  padding: 34px 0 90px;
  background: #2f332e;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.sticky-call {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9;
  display: none;
  transform: translateY(120%);
  transition: transform 180ms ease;
}

.sticky-call .button {
  width: 100%;
  min-height: 50px;
}

.cert-hero {
  padding: 94px 0 60px;
  background: #efe4d3;
}

.cert-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

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

.certificate-card {
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.certificate-card img,
.certificate-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(#fffaf2 0 0) padding-box,
    repeating-linear-gradient(0deg, #d9cdb9 0 1px, transparent 1px 24px);
  border-bottom: 1px solid var(--line);
}

.certificate-card img {
  display: block;
  object-fit: contain;
  background: #fff;
}

.certificate-card.is-landscape img {
  background: var(--paper);
}

.certificate-placeholder span {
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
}

.certificate-placeholder.large {
  min-height: min(68vh, 620px);
}

.certificate-placeholder.large span {
  font-size: 34px;
}

.certificate-card > span {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.certificate-card small {
  color: var(--muted);
}

.certificate-dialog {
  width: min(760px, calc(100% - 28px));
  padding: 22px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.certificate-dialog::backdrop {
  background: rgba(44, 41, 36, 0.58);
}

.dialog-close {
  float: right;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}

.certificate-dialog img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.call-dialog,
.photo-dialog {
  width: min(480px, calc(100% - 28px));
  padding: 26px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.call-dialog::backdrop,
.photo-dialog::backdrop {
  background: rgba(44, 41, 36, 0.58);
}

.call-dialog h2 {
  margin-bottom: 12px;
  font-size: 34px;
}

.call-dialog p:not(.eyebrow) {
  color: var(--muted);
}

.photo-dialog {
  width: min(920px, calc(100% - 28px));
}

.photo-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.photo-dialog p {
  margin: 14px 0 0;
  color: var(--muted);
}

.reveal {
  animation: reveal 420ms ease both;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.section-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .service-card:hover,
  .steps article:hover {
    transform: translateY(-3px);
  }

  .service-card:hover {
    box-shadow: 0 16px 38px rgba(78, 68, 48, 0.13);
  }

  .steps article:hover {
    background: rgba(255, 250, 242, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes reveal {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-visual,
  .hero-portrait img {
    min-height: 420px;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .gallery-grid,
  .certificates-grid,
  .certificate-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .header-inner {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 9px 14px;
    transition: padding 220ms ease;
  }

  .brand {
    display: block;
    max-height: 40px;
    margin-bottom: 5px;
    overflow: hidden;
    font-size: 24px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 220ms ease, margin-bottom 220ms ease, opacity 160ms ease, transform 220ms ease;
  }

  .header-call {
    position: absolute;
    right: 14px;
    top: 54px;
    width: 44px;
    min-height: 40px;
    padding: 0;
    z-index: 2;
    background: var(--milk);
    transition: top 220ms ease;
  }

  .header-call span {
    display: none;
  }

  .header-call i,
  .header-call svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .site-menu {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    min-width: 0;
    width: calc(100% - 54px);
    max-width: calc(100% - 54px);
    gap: 0 8px;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
  }

  .site-menu > a:not(.small-cta) {
    padding: 4px 0;
    white-space: nowrap;
  }

  .site-header.is-compact .header-inner {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-header.is-compact .brand {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
  }

  .site-header.is-compact .header-call {
    top: 6px;
  }

  .certificate-dialog {
    width: min(860px, calc(100% - 16px));
    padding: 12px;
  }

  .certificate-dialog img {
    max-height: 76vh;
  }

  .certificates-page .header-inner {
    gap: 10px;
    min-width: 0;
  }

  .certificates-page .brand {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 24px;
    white-space: nowrap;
  }

  .certificates-page .small-cta {
    flex: 0 1 auto;
    max-width: 150px;
    min-height: 40px;
    padding: 0 8px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cert-hero .wrap,
  .certificates-grid {
    min-width: 0;
  }

  .menu-toggle {
    display: none;
  }

  h1 {
    font-size: clamp(32px, 9.5vw, 37px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .lead {
    font-size: 16px;
  }

  .hero {
    min-height: 0;
    padding: 0 0 28px;
  }

  .hero-grid {
    gap: 26px;
    margin-top: -28px;
  }

  .hero-visual {
    order: -1;
    min-height: 440px;
  }

  .hero-portrait img {
    min-height: 440px;
    object-position: 50% 100%;
  }

  .hero-portrait figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .hero-portrait-title {
    display: block;
    max-width: 310px;
    color: #fffaf2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.04;
    text-shadow: -1px -1px 0 rgba(38, 32, 25, 0.7), 1px -1px 0 rgba(38, 32, 25, 0.7), -1px 1px 0 rgba(38, 32, 25, 0.7), 1px 1px 0 rgba(38, 32, 25, 0.7);
  }

  .hero-portrait-name {
    display: none;
  }

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

  .hero-copy .eyebrow,
  .hero-copy h1 {
    display: none;
  }

  .place-line {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    align-items: start;
  }

  .hero-actions .button {
    width: min(100%, 230px);
  }

  .section {
    padding: 44px 0;
  }

  #visit.section {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .services-grid,
  .steps,
  .note-grid,
  .reviews-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .certificates-grid,
  .certificate-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-grid .photo-card img,
  .gallery-grid .photo-placeholder {
    aspect-ratio: 1 / 1;
  }

  .gallery-grid figcaption,
  .gallery-grid .photo-card > span {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.25;
  }

  .certificate-card > span {
    gap: 4px;
    padding: 10px;
  }

  .certificate-card strong,
  .preview-certificate-card span {
    font-size: 13px;
  }

  .certificate-card small {
    font-size: 11px;
    line-height: 1.25;
  }

  .preview-certificate-card span {
    padding: 9px 10px;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 18px;
  }

  .benefits span {
    position: relative;
    padding: 0 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
  }

  .benefits span::before {
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    content: "";
    background: var(--sage);
  }

  .steps {
    gap: 8px;
  }

  .steps article {
    padding: 15px;
  }

  .steps h3 {
    font-size: 17px;
  }

  .steps p,
  .note-grid p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .note-grid {
    gap: 8px;
    margin-top: 10px;
  }

  .note-grid p {
    padding: 14px;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .certificate-teaser {
    display: grid;
  }

  .sticky-call {
    display: none;
  }

  .final-cta {
    padding: 44px 0;
  }

  .final-cta h2 {
    margin-bottom: 12px;
    font-size: 31px;
  }

  .final-cta .button {
    min-height: 48px;
    margin: 14px 0 8px;
  }

  .footer {
    padding: 20px 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .footer-inner {
    display: grid;
    gap: 5px;
  }

  .call-dialog {
    padding: 22px;
  }

  .call-dialog h2 {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .certificates-page .site-header .small-cta {
    display: none;
  }

  .cert-hero h1,
  .cert-hero p {
    max-width: 330px;
  }

  .cert-hero h1 {
    font-size: 32px;
    word-break: break-word;
  }
}
