:root {
  --bg: #f7f3ed;
  --paper: #fbf8f4;
  --text: #171311;
  --brown: #5b2d10;
  --line: rgba(91, 45, 16, .18);
  --soft: #efe7de;
  --card-radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
button, a { font: inherit; }
img { display: block; max-width: 100%; }

.models { padding: 42px 24px 44px; }
.models__inner { max-width: 1480px; margin: 0 auto; }
.models__eyebrow {
  margin: 0;
  color: var(--brown);
  font-size: clamp(1rem, 1.25vw, 1.4rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.models__rule {
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px 0 18px;
  background: var(--brown);
}
.models__title {
  margin: 0 0 42px;
  font-size: clamp(2.25rem, 3.65vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.models__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.model-card { min-width: 0; display: flex; flex-direction: column; }
.model-card__kicker {
  margin: 0 0 14px;
  color: var(--brown);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}
.model-card__image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  overflow: hidden;
  background: transparent;
}
.model-card__image img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  object-position: center;
}
.model-card__body {
  flex: 1;
  padding: 22px 22px 26px;
  background: rgba(255,255,255,.28);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.model-card__title {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 2vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.model-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.model-card__list li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(.96rem, 1.05vw, 1.12rem);
  line-height: 1.42;
}
.model-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.05em;
  color: var(--brown);
  font-size: 1.3em;
  font-weight: 700;
}

.models__cta {
  margin-top: 18px;
  padding: 26px 42px;
  border-radius: 8px;
  background: linear-gradient(90deg, #efe5db 0%, #f5eee7 62%, #eadfd4 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.models__cta p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.42;
  font-weight: 700;
}
.models__cta-button {
  flex: 0 0 auto;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 42px;
  border-radius: 6px;
  background: var(--brown);
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 700;
  white-space: nowrap;
  transition: filter .2s ease;
}
.models__cta-button:hover,
.models__cta-button:focus-visible { filter: brightness(.88); }


@media (max-width: 1150px) {
  .models { padding-inline: 18px; }
  .models__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .model-card__image img { aspect-ratio: 1.35 / 1; }
  .models__cta { padding: 24px 28px; }
  .desktop-only { display: none; }
}

@media (max-width: 720px) {
  .models { padding: 28px 14px 32px; }
  .models__rule { margin-block: 13px 14px; width: 52px; height: 3px; }
  .models__title { margin-bottom: 26px; }
  .models__grid { grid-template-columns: 1fr; gap: 24px; }
  .model-card__kicker { text-align: left; margin-left: 2px; }
  .model-card__image img { aspect-ratio: 1.45 / 1; }
  .model-card__body { padding: 18px 18px 22px; }
  .model-card__title { margin-bottom: 16px; font-size: 1.35rem; line-height: 1.08; }
  .model-card__list { gap: 12px; }
  .models__cta { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .models__cta-button { width: 100%; min-height: 58px; padding-inline: 16px; white-space: nowrap; }
}

@media (max-width: 390px) {
  .models__cta-button { font-size: .94rem; }
  .model-card__list li { font-size: .94rem; }
  .model-card__title { font-size: 1.22rem; }
}

@media (max-width: 720px) {
  .models__title {
    font-size: clamp(1.6rem, 6.7vw, 2.65rem);
    line-height: 1.06;
  }
}

/* Master v3: tighter section transitions only */
.models{padding-top:20px;padding-bottom:20px}
@media (max-width:900px){.models{padding-top:16px;padding-bottom:18px}}
@media (max-width:600px){.models{padding-top:14px;padding-bottom:16px}}


/* Master v4: visual section separation only */
.models {
  background: linear-gradient(180deg,#fffdfb 0%,#fffaf5 100%);
}

/* Master v5 – tablet section spacing only */
@media (min-width:601px) and (max-width:1100px){
  .models{padding-top:8px;padding-bottom:10px}
}
