@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500&display=swap");

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #d9d9d9;
  --soft: #f5f5f5;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
}

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

.container {
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.promo-bar {
  background: #efefef;
  border-bottom: 1px solid var(--line);
}

.promo-bar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.promo-bar p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.promo-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.header-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-top {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.header-top > * {
  min-width: 0;
}

.header-left,
.header-right {
  display: flex;
  flex: 1 1 0;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 400;
}

.header-right {
  justify-content: flex-end;
}

.icon-text {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
  display: none;
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--black);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.15em;
  text-align: center;
  white-space: nowrap;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.site-logo {
  display: none;
  width: 220px;
  height: 62px;
  object-fit: contain;
}

#siteLogoFallback {
  display: inline-block;
}

.mega-menu {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: block;
  background: #fff;
}

.mega-menu-grid {
  position: relative;
  min-height: 0;
}

.mega-root {
  margin: 0;
  list-style: none;
  padding: 0;
  min-height: 62px;
  border-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mega-root li {
  padding: 10px 2px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.22s ease, color 0.22s ease;
}

.mega-root li:hover {
  border-bottom-color: #777;
  color: #222;
}

.mega-root li.active {
  background: transparent;
  border-bottom-color: var(--black);
}

.mega-panel {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 25;
  padding: 20px 0 24px;
  background: #f7f7f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.mega-panel-inner {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.mega-panel-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  justify-content: center;
  gap: 14px;
}

.mega-card {
  position: relative;
  color: var(--text);
}

.mega-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mega-card-title-top {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 400;
}

.mega-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 84px;
  max-width: 84px;
  margin: 0 auto;
  background: #fff;
}

.mega-menu.expanded .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-panel-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 400;
}

.mega-group-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin-bottom: 10px;
  overflow-x: auto;
  white-space: nowrap;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mega-group-tab {
  border: 0;
  background: transparent;
  padding: 0 0 7px;
  font-size: 15px;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mega-group-tab:hover {
  border-bottom-color: #888;
  color: #222;
}

.mega-group-tab.active {
  border-bottom-color: var(--black);
  color: var(--black);
}

.mega-service-tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 10px;
}

.mega-services-row {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  row-gap: 8px;
  margin-bottom: 8px;
}

.mega-group-side-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111;
  text-align: right;
  white-space: nowrap;
}

.mega-services-row.no-side-title {
  grid-template-columns: max-content;
  justify-content: center;
}

.mega-service-tab {
  border: 0;
  background: transparent;
  padding: 0 0 6px;
  font-size: 14px;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.mega-service-tab:hover {
  border-bottom-color: #888;
}

.mega-service-tab.active {
  border-bottom-color: var(--black);
  color: var(--black);
}

.mega-divider {
  border-top: 1px solid #ddd;
  margin: 0 0 16px;
}

.mega-card-sublevel {
  display: grid;
  gap: 6px;
  position: static;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 8px 0 0;
}

.mega-sublevel-link {
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mega-sublevel-link:hover {
  border-bottom-color: var(--black);
}

.mega-product-card {
  text-align: center;
  padding-bottom: 6px;
}

.mega-card-label {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.mega-view-all-wrap {
  text-align: center;
  margin: 18px 0 18px;
}

.mega-view-all {
  text-underline-offset: 4px;
  font-size: 14px;
}

.hero-feature {
  position: relative;
  min-height: 78vh;
}

.hero-feature img {
  height: 78vh;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(28px, 5.2vw, 56px);
  font-weight: 400;
}

.hero-content p {
  max-width: 760px;
  margin: 14px auto;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 300;
}

.link-btn {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 84px 0;
}

.editorial-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.editorial-card h3 {
  margin: 14px 0 8px;
  font-size: 28px;
  font-weight: 400;
}

.editorial-card p {
  margin: 0 0 12px;
  color: #2d2d2d;
  line-height: 1.45;
}

.editorial-card a {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}

.wide-feature {
  position: relative;
  min-height: 70vh;
  margin: 10px 0 80px;
}

.wide-feature img {
  height: 70vh;
  object-fit: cover;
}

.wide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.wide-content h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 400;
}

.wide-content p {
  max-width: 700px;
  margin: 12px auto;
}

.carousel-zone {
  margin-bottom: 84px;
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.carousel-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.carousel-item {
  border: 1px solid var(--line);
  padding: 8px;
}

.carousel-item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.carousel-item h4 {
  margin: 10px 0 6px;
  font-size: 15px;
  font-weight: 400;
}

.carousel-item p {
  margin: 0 0 8px;
  color: #444;
  font-size: 14px;
}

.carousel-item button {
  border: 1px solid var(--black);
  background: #fff;
  color: var(--black);
  width: 100%;
  padding: 8px;
  cursor: pointer;
}

.contact-block {
  margin-bottom: 72px;
}

.contact-shell {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 22px;
}

.contact-shell__intro {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.contact-shell__intro p {
  margin: 8px 0 0;
  color: #555;
  line-height: 1.5;
}

.contact-block h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.contact-form,
.newsletter-inline {
  display: grid;
  gap: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  font-size: 12px;
  color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-inline input {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  width: 100%;
}

.contact-form button,
.newsletter-inline button {
  border: 1px solid var(--black);
  background: #000;
  color: #fff;
  padding: 11px;
  cursor: pointer;
  border-radius: 8px;
}

.contact-form button:disabled,
.newsletter-inline button:disabled,
.product-card button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-directory {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fafafa;
  padding: 18px;
}

.contact-directory__head {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.contact-directory__head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-directory__head select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}

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

.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.contact-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card p {
  margin: 0 0 12px;
  color: #4b5563;
  line-height: 1.45;
}

.contact-card a {
  text-decoration: none;
  border-bottom: 1px solid #111;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.contact-card--wa {
  background: #111;
}

.contact-card--wa h4,
.contact-card--wa p,
.contact-card--wa a {
  color: #fff;
}

.contact-card--wa a {
  border-bottom-color: #fff;
}

.contact-card--details {
  background: #f8fafc;
}

#contactStoreAddressText {
  font-weight: 500;
  color: #111827;
}

#contactStoreHoursText {
  white-space: pre-line;
  color: #374151;
}

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.contact-popup.is-open {
  display: block;
}

.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.contact-popup__panel {
  position: relative;
  margin: min(8vh, 44px) auto;
  width: min(760px, calc(100vw - 18px));
  max-height: calc(100vh - 22px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
  padding: 18px;
}

.contact-popup__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-popup__panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.footer-luxury {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.newsletter-box {
  text-align: center;
  margin-bottom: 40px;
}

.newsletter-box h3 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.newsletter-inline {
  width: min(560px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-columns h4 {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-columns a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #2a2a2a;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0 26px;
  font-size: 13px;
  color: #666;
}

.status {
  color: #4d4d4d;
  font-size: 13px;
}

.catalog-head {
  margin: 38px 0 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.product-card {
  border: 1px solid var(--line);
  padding: 8px;
}

.product-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-card h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 400;
}

.product-card p {
  margin: 0 0 8px;
}

.product-card button {
  border: 1px solid var(--black);
  background: #000;
  color: #fff;
  padding: 8px;
  width: 100%;
  cursor: pointer;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.cart-item {
  border: 1px solid var(--line);
  padding: 10px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 12px;
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 400;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-qty button {
  border: 1px solid #1f2937;
  background: #fff;
  color: #111827;
  border-radius: 6px;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  cursor: pointer;
}

.cart-qty span {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
}

.cart-qty .cart-remove {
  border-color: #ef4444;
  color: #b91c1c;
}

.summary {
  border: 1px solid var(--line);
  padding: 16px;
  align-self: start;
}

.admin {
  margin-top: 28px;
  margin-bottom: 40px;
}

.admin-block {
  margin-top: 24px;
}

.admin-card {
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: 12px;
}

.admin-row {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

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

.secondary {
  background: #5e5e5e;
  color: #fff;
}

.order-row,
.inquiry-row {
  border: 1px solid var(--line);
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
}

@media (max-width: 1100px) {
  .icon-text {
    display: inline-flex;
    align-items: center;
  }

  .mega-menu-grid {
    min-height: 0;
  }

  .mega-root {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding: 8px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    justify-content: stretch;
    width: 100%;
  }

  .mega-panel-grid {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }

  .mega-card img {
    width: 78px;
    max-width: 78px;
  }

  .mega-panel {
    position: static;
    display: block;
    border-top: 0;
    border-bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .mega-group-tabs {
    justify-content: flex-start;
    width: 100%;
  }

  .mega-service-tabs {
    justify-content: center;
    width: fit-content;
  }

  .mega-services-row {
    grid-template-columns: max-content;
    justify-content: center;
    gap: 8px;
  }

  .mega-group-side-title {
    text-align: center;
    font-size: 12px;
  }

  .mega-card-sublevel {
    position: static;
    display: grid;
    width: auto;
    border: 0;
    padding: 8px 0 0;
  }

  .mega-menu {
    display: none;
  }

  .mega-menu.open {
    display: block;
  }

}

@media (max-width: 860px) {
  .header-top {
    min-height: 66px;
  }

  .header-left a {
    display: none;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 48px 0;
  }

  .site-logo {
    width: 178px;
    height: 50px;
  }

  .carousel-track {
    grid-auto-columns: minmax(220px, 72vw);
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-inline {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .contact-shell__intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 10px;
  }

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

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

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .mega-root {
    grid-template-columns: 1fr;
  }

  .mega-panel-grid {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }
}

/* Compatibilita pagine catalogo/checkout esistenti */
.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 13px;
}

.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 10px;
  text-decoration: none;
  cursor: pointer;
}

.page-hero {
  position: relative;
  min-height: 0;
  background: #111;
  overflow: hidden;
}

.page-hero.page-hero--no-media {
  min-height: 24vh;
}

.page-hero.page-hero--h-compact img,
.page-hero.page-hero--h-compact iframe,
.page-hero.page-hero--h-compact video {
  max-height: 34vh;
}

.page-hero.page-hero--h-medium img,
.page-hero.page-hero--h-medium iframe,
.page-hero.page-hero--h-medium video {
  max-height: 50vh;
}

.page-hero.page-hero--h-large img,
.page-hero.page-hero--h-large iframe,
.page-hero.page-hero--h-large video {
  max-height: 66vh;
}

.page-hero img,
.page-hero iframe,
.page-hero video {
  max-height: var(--page-hero-height, none);
}

.page-hero.page-hero--no-media.page-hero--h-compact {
  min-height: 18vh;
}

.page-hero.page-hero--no-media.page-hero--h-medium {
  min-height: 24vh;
}

.page-hero.page-hero--no-media.page-hero--h-large {
  min-height: 32vh;
}

.page-hero.page-hero--no-media {
  min-height: var(--page-hero-height, 24vh);
}

.page-hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.page-hero iframe,
.page-hero video {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #000;
}

.page-hero video {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
}

.page-hero__overlay.page-hero__overlay--plain {
  background: transparent;
}

.page-hero__overlay h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 400;
  margin: 0;
}

.page-body {
  padding-top: 34px;
  padding-bottom: 52px;
  max-width: 900px;
}

.page-body.page-body--wide {
  max-width: min(1320px, 94vw);
}

.page-body p {
  line-height: 1.6;
  font-size: 17px;
}

.page-body .clp-template {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.clp-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.clp-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

.clp-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 400;
}

.clp-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.clp-block.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.clp-block.reverse .clp-media {
  order: 2;
}

.clp-media {
  position: relative;
  height: clamp(300px, 36vw, 520px);
  overflow: hidden;
  background: #f3f4f6;
}

.clp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.clp-content h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 400;
}

.clp-content p {
  margin: 0;
}

.clp-content.center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.clp-video {
  display: grid;
  gap: 14px;
}

.clp-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.clp-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.clp-video-frame img[data-template-media='hero'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.clp-full-media {
  display: grid;
  gap: 14px;
}

.clp-full-media__frame {
  position: relative;
  width: 100%;
  height: clamp(320px, 44vw, 640px);
  overflow: hidden;
  background: #000;
}

.clp-full-media__frame img,
.clp-full-media__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.clp-full-media__frame img {
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 860px) {
  .topbar .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
    display: none;
  }

  .topbar .nav.open {
    display: flex;
  }

  .clp-block,
  .clp-block.reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .clp-block.reverse .clp-media {
    order: 0;
  }

  .clp-media {
    height: 260px;
  }

  .clp-full-media__frame {
    height: 260px;
  }
}
