:root {
  --color-red: #e30613;
  --color-black: #111111;
  --color-graphite: #1c1c1f;
  --color-light: #f5f5f5;
  --color-mid-gray: #b8b8b8;
  --color-white: #ffffff;
  --container-width: 1240px;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-black);
  background: var(--color-white);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 10px max(18px, calc((100vw - var(--container-width)) / 2));
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.site-header--solid {
  position: sticky;
  color: var(--color-black);
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 6px 8px;
  background: var(--color-white);
  border-radius: 6px;
}

.brand img {
  width: 148px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-red);
}

.language {
  color: currentColor;
  opacity: 0.72;
}

.language a {
  color: currentColor;
}

.language a.is-active {
  color: var(--color-red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 17px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-cta,
.btn-primary {
  border: 1px solid var(--color-red);
  color: var(--color-white);
  background: var(--color-red);
}

.nav-cta:hover,
.btn-primary:hover {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.btn-outline {
  border: 1px solid var(--color-black);
  color: var(--color-black);
  background: transparent;
}

.btn-outline--light {
  border-color: var(--color-white);
  color: var(--color-white);
}

.nav-button {
  display: none;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: 86px 0 72px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(135deg, #101010 0%, #242427 58%, #0f0f10 100%);
}

.hero::before,
.technical-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.45) 19px 21px);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.badge,
.eyebrow,
.product-category {
  display: inline-flex;
  align-items: center;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge {
  padding: 9px 12px;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 860px;
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 74px);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  text-transform: uppercase;
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.source-link {
  display: inline-flex;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-light {
  background: var(--color-light);
}

.split-grid,
.contact-grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.copy-block p,
.section-head p,
.contact-grid p {
  margin: 0;
  color: #4d4d52;
}

.copy-block p + p {
  margin-top: 18px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.fact,
.usage-card,
.product-card,
.benefit-grid article,
.feature-grid article {
  background: var(--color-white);
  border: 1px solid #e3e3e3;
  border-radius: 8px;
}

.fact {
  padding: 24px;
}

.fact strong {
  display: block;
  color: var(--color-red);
  font-size: 42px;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.section-head {
  max-width: 790px;
  margin-bottom: 42px;
}

.section-head--wide {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 48px;
}

.usage-grid,
.benefit-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.usage-card,
.benefit-grid article,
.feature-grid article {
  padding: 28px;
}

.line-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--color-red);
  color: var(--color-red);
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
}

.carousel-shell {
  position: relative;
}

.product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 292px);
  gap: 22px;
  overflow-x: auto;
  padding: 8px 58px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-row::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedede;
  border-radius: 50%;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow:hover {
  border-color: var(--color-red);
  color: var(--color-white);
  background: var(--color-red);
}

.carousel-arrow span {
  display: block;
  margin-top: -3px;
  font-size: 36px;
  line-height: 1;
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.product-card {
  min-height: 440px;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.product-card a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
}

.product-figure {
  display: grid;
  min-height: 190px;
  place-items: center;
  margin: -6px -6px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 6, 19, 0.12), transparent 48%),
    var(--color-light);
  border-radius: 6px;
}

.product-figure img {
  width: min(82%, 230px);
  max-height: 178px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.product-card:hover .product-figure img {
  transform: scale(1.06);
}

.product-card p {
  color: #4d4d52;
}

.product-detail-hero {
  padding: 118px 0 84px;
  background: var(--color-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.product-detail-media {
  display: grid;
  min-height: 470px;
  place-items: center;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(227, 6, 19, 0.12), transparent 42%),
    var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-media img {
  width: min(86%, 520px);
  max-height: 410px;
  object-fit: contain;
}

.product-detail-copy h1 {
  margin-top: 14px;
  color: var(--color-black);
}

.product-detail-copy .lead {
  color: #4d4d52;
}

.product-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.product-meta-row > span {
  padding: 18px;
  background: var(--color-white);
  border-left: 4px solid var(--color-red);
}

.product-meta-row > span,
.product-meta-row strong {
  display: block;
}

.product-meta-row span {
  color: #66666b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-application-box {
  margin: 16px 0 22px;
}

.product-application-box p {
  margin: 0 0 8px;
  color: var(--color-black);
  font-size: 14px;
}

.product-application-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 18px;
}

.product-application-icons figure {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 118px;
  margin: 0;
}

.product-application-icons img {
  width: auto;
  height: 22px;
  max-width: 92px;
  object-fit: contain;
}

.product-application-icons figcaption {
  max-width: 118px;
  color: var(--color-black);
  font-size: 11px;
  line-height: 1.25;
}

.feature-grid article p {
  color: #4d4d52;
}

.spec-rim {
  margin: 26px 0 12px;
}

.spec-table-wrap {
  overflow: visible;
  margin-bottom: 28px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: var(--color-white);
}

.spec-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.text-link {
  margin-top: auto;
  color: var(--color-red);
  font-weight: 900;
  text-transform: uppercase;
}

.technical-band {
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-graphite);
}

.technical-band .container {
  position: relative;
  z-index: 1;
}

.technical-band .eyebrow,
.technical-band h2 {
  color: var(--color-white);
}

.technical-band article {
  color: var(--color-black);
}

.contact-section {
  background: linear-gradient(180deg, var(--color-light), var(--color-white));
}

.page-hero {
  padding: 118px 0 70px;
  color: var(--color-white);
  background:
    linear-gradient(115deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.68)),
    url("https://celimotyres.com/template/default/images/bg.jpg?1225-2") center / cover;
}

.page-hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.content-section {
  padding: 76px 0;
}

.narrow {
  max-width: 980px;
}

.cms-content-section .rich-text,
.cms-content-section .contact-grid,
.cms-content-section .section,
.cms-content-section .cta-band {
  margin-bottom: 36px;
}

.rich-text h2,
.rich-text h3 {
  margin: 30px 0 12px;
}

.rich-text p,
.rich-text li {
  color: #4d4d52;
  line-height: 1.75;
}

.rich-text a {
  color: var(--color-red);
  font-weight: 800;
}

.rich-text a.btn-primary {
  color: var(--color-white);
}

.rich-text a.btn-primary:hover {
  color: var(--color-white);
}

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

.contact-form-grid label,
.full-field {
  display: grid;
  gap: 8px;
  color: #34343a;
  font-weight: 800;
}

.field,
.contact-form-grid input,
.full-field textarea {
  width: 100%;
  border: 1px solid #d9d9de;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--color-black);
  font: inherit;
}

.full-field {
  margin-top: 18px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.save-note {
  color: #666670;
  font-size: 0.95rem;
}

.admin-success,
.admin-error {
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 800;
}

.admin-success {
  color: #13532a;
  background: #e7f6ec;
}

.admin-error {
  color: #7a1111;
  background: #fde8e8;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
}

.contact-note {
  margin-top: 34px;
  padding: 22px;
  border-left: 4px solid var(--color-red);
  background: var(--color-white);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.08);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
}

.inquiry-form textarea,
.inquiry-form .checkbox,
.inquiry-form button {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  text-transform: none !important;
}

.checkbox input {
  width: auto;
}

.site-footer {
  color: var(--color-white);
  background: var(--color-black);
  border-top: 3px solid var(--color-red);
  padding: 54px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 176px;
  padding: 8px 12px;
  background: var(--color-white);
  border-radius: 6px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 15px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: #d7d7d7;
}

.footer-credit {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  line-height: 1.4;
}

.footer-credit a {
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus {
  color: var(--color-white);
  text-decoration: underline;
}

.tire-visual {
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 22%, #1a1a1d 23% 35%, #050505 36% 51%, transparent 52%),
    repeating-conic-gradient(from 4deg, #0c0c0e 0 9deg, #303035 10deg 15deg, #0c0c0e 16deg 24deg);
  box-shadow: inset 0 0 0 14px #0a0a0c, inset 0 0 0 28px #2d2d31, 0 26px 60px rgba(0, 0, 0, 0.38);
}

.tire-visual--hero {
  position: absolute;
  right: -90px;
  bottom: 60px;
  width: min(52vw, 660px);
  aspect-ratio: 1;
  opacity: 0.68;
}

.tire-visual--card {
  width: 154px;
  aspect-ratio: 1;
}

.product-hero {
  padding: 132px 0 84px;
  background: var(--color-light);
}

.gallery-panel,
.product-summary {
  background: var(--color-white);
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 14px 48px rgba(17, 17, 17, 0.08);
}

.gallery-panel {
  padding: 24px;
}

.product-main-image {
  display: grid;
  min-height: 430px;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(227, 6, 19, 0.13), transparent 42%),
    linear-gradient(135deg, #f8f8f8, #e8e8e8);
  border-radius: 6px;
}

.product-main-image img {
  width: min(78%, 420px);
  max-height: 380px;
  object-fit: contain;
}

.product-main-image span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #606064;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tire-visual--detail {
  width: min(72vw, 330px);
  aspect-ratio: 1;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.thumb-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 12px 10px;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 800;
  cursor: pointer;
}

.thumb-row a:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.product-summary {
  padding: 42px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #57575c;
  font-weight: 800;
}

.availability-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.availability-box div {
  padding: 18px;
  background: var(--color-light);
  border-left: 4px solid var(--color-red);
}

.availability-box span,
.availability-box strong {
  display: block;
}

.availability-box span {
  color: #66666b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-wrap {
  overflow: visible;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: var(--color-white);
}

.table-wrap--secondary {
  margin-top: 22px;
}

table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

caption {
  padding: 18px;
  color: var(--color-white);
  background: var(--color-graphite);
  font-weight: 900;
  text-align: left;
}

th,
td {
  padding: 11px 8px;
  border-bottom: 1px solid #e7e7e7;
  text-align: left;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

th {
  color: var(--color-white);
  background: var(--color-black);
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
}

td {
  font-size: 13px;
  line-height: 1.3;
}

tbody tr:hover {
  background: rgba(227, 6, 19, 0.06);
}

.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.media-video-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.07);
}

.media-video-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.media-video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #111111;
}

.media-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1120px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
  }

  .nav-button span,
  .nav-button span::before,
  .nav-button span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .nav-button span::before {
    transform: translateY(-7px);
  }

  .nav-button span::after {
    transform: translateY(5px);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    color: var(--color-black);
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav a,
  .main-nav span {
    padding: 12px;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .split-grid,
  .contact-grid,
  .product-hero-grid,
  .product-detail-grid,
  .section-head--wide {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .facts-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usage-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: 138px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 56px;
  }

  .hero-content {
    margin-top: 0;
  }

  .section {
    padding: 52px 0;
  }

  .button-row,
  .inquiry-form,
  .availability-box,
  .footer-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    display: grid;
  }

  .product-row {
    grid-auto-columns: minmax(246px, 82vw);
    padding-right: 46px;
    padding-left: 46px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-arrow span {
    font-size: 30px;
  }

  .footer-grid,
  .inquiry-form {
    display: grid;
  }

  .media-video-grid {
    grid-template-columns: 1fr;
  }

  .product-summary {
    padding: 28px;
  }

  .product-main-image {
    min-height: 330px;
  }

  .product-detail-hero {
    padding: 72px 0 54px;
  }

  .product-detail-media {
    min-height: 310px;
    padding: 20px;
  }

  .product-meta-row {
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-template-columns: 1fr;
  }
}
