/*
Theme Name: Verrières Turpin-Longueville
Theme URI: https://verrieres.turpin-longueville.com/
Author: DBCREA
Description: Thème WordPress responsive pour les verrières atelier d’artiste Turpin-Longueville.
Version: 1.1.0
Text Domain: verrieres-turpin
*/

:root {
  --ink: #222a2e;
  --ink-soft: #4e5a60;
  --orange: #e96835;
  --green: #89c64a;
  --paper: #ffffff;
  --fog: #edf1f2;
  --line: #d9dfe2;
  --page: min(1180px, calc(100vw - 2rem));
  color-scheme: light;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #eef2f4; color: var(--ink); font-size: 16px; line-height: 1.6; }
body.admin-bar .site-header { top: auto; }
img { max-width: 100%; height: auto; }
a { color: #b74927; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  z-index: 10000;
  top: .75rem;
  left: .75rem;
  width: auto;
  height: auto;
  clip: auto;
  background: #fff;
  padding: .75rem 1rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: rgb(32 39 43 / 96%);
  color: #fff;
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  width: var(--page);
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand { display: inline-flex; align-items: center; gap: .85rem; color: #fff; text-decoration: none; }
.brand__mark { display: grid; grid-template-columns: repeat(5, 1fr); width: 62px; height: 32px; border: 2px solid #fff; }
.brand__mark i { border-right: 2px solid #fff; }
.brand__mark i:last-child { border: 0; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.brand__text small { color: #bbc5c9; font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }

.menu-toggle {
  display: none;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  padding: .55rem .75rem;
}

.primary-nav > ul,
.primary-nav li { margin: 0; padding: 0; list-style: none; }
.primary-nav > ul { display: flex; align-items: center; gap: .15rem; }
.primary-nav a { display: block; border-radius: 7px; color: #e7ecee; padding: .65rem .55rem; font-size: .83rem; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover,
.primary-nav a:focus-visible { background: rgb(255 255 255 / 10%); color: #fff; }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
  position: absolute;
  display: none;
  top: calc(100% + .45rem);
  left: 0;
  min-width: 260px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  background: #2b3439;
  box-shadow: 0 20px 45px rgb(0 0 0 / 28%);
  padding: .45rem;
}
.primary-nav .sub-menu a { padding: .65rem .75rem; white-space: normal; }
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.primary-nav .menu-cta { margin-left: .35rem; background: var(--orange); color: #fff; padding-inline: .8rem; }
.header-cart { display: inline-flex; gap: .4rem; align-items: center; color: #fff; font-weight: 800; text-decoration: none; }
.header-cart span { display: grid; min-width: 1.45rem; height: 1.45rem; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: .72rem; }

.site-main { min-height: 60vh; }
.page-shell { width: var(--page); margin: 0 auto; }
.content-card { margin: 2rem auto 4rem; border-radius: 22px; background: #fff; box-shadow: 0 20px 70px rgb(31 47 55 / 9%); padding: clamp(1.2rem, 4vw, 3rem); }
.content-card--wide { width: min(1420px, calc(100vw - 2rem)); }
.page-title { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
.entry-content h2 { margin-top: 2.1rem; color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.18; }
.entry-content h3 { margin-top: 1.6rem; color: var(--ink-soft); }
.entry-content p { max-width: 80ch; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: .65rem; }
.entry-content img { border-radius: 12px; }
.entry-content .phocagallery-box-file,
.entry-content [class*="phocagallery-box"] { display: inline-block; vertical-align: top; margin: .3rem; }

.site-lightbox { width: min(1100px, calc(100vw - 2rem)); max-width: none; height: min(820px, calc(100vh - 2rem)); max-height: none; overflow: hidden; border: 0; border-radius: 18px; background: #11191d; color: #fff; padding: 1rem; box-shadow: 0 30px 100px rgb(0 0 0 / 55%); }
.site-lightbox::backdrop { background: rgb(5 10 12 / 86%); backdrop-filter: blur(5px); }
.site-lightbox figure { display: grid; width: 100%; height: 100%; place-items: center; margin: 0; }
.site-lightbox img { max-width: 100%; max-height: calc(100% - 2.5rem); border-radius: 10px; object-fit: contain; }
.site-lightbox figcaption { align-self: end; color: #dce3e6; text-align: center; }
.site-lightbox button { position: absolute; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; background: rgb(20 28 32 / 84%); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.site-lightbox__close { top: 1rem; right: 1rem; }
.site-lightbox__previous { top: 50%; left: 1rem; transform: translateY(-50%); }
.site-lightbox__next { top: 50%; right: 1rem; transform: translateY(-50%); }

.hero { position: relative; min-height: 610px; overflow: hidden; background: #1d2428; color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(16 22 25 / 92%) 0%, rgb(16 22 25 / 63%) 48%, rgb(16 22 25 / 15%) 100%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; z-index: 1; display: grid; width: var(--page); min-height: 610px; align-content: center; margin: 0 auto; padding: 5rem 0; }
.hero__content > * { max-width: 710px; }
.hero__eyebrow { margin: 0 0 .8rem; color: #ff9d73; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.hero__lead { margin: 1.35rem 0; color: #dce3e6; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.site-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #fff; border-radius: 9px; background: #fff; color: var(--ink); padding: .85rem 1.15rem; font-weight: 800; text-decoration: none; }
.site-button--accent { border-color: var(--orange); background: var(--orange); color: #fff; }
.site-button--ghost { background: transparent; color: #fff; }

.trust-strip { position: relative; z-index: 2; width: var(--page); margin: -45px auto 0; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgb(0 0 0 / 16%); }
.trust-strip article { min-height: 130px; border-right: 1px solid var(--line); padding: 1.25rem; }
.trust-strip article:last-child { border: 0; }
.trust-strip b { display: block; color: var(--orange); font-size: 2rem; line-height: 1; }
.trust-strip strong { display: block; margin-top: .55rem; }
.trust-strip span { color: var(--ink-soft); font-size: .86rem; }

.home-section { width: var(--page); margin: 5rem auto; }
.home-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.home-section__heading h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.06; }
.home-section__heading p { max-width: 460px; color: var(--ink-soft); }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.style-card { position: relative; min-height: 420px; overflow: hidden; border-radius: 18px; background: var(--ink); color: #fff; }
.style-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .45s; }
.style-card:hover img { transform: scale(1.035); }
.style-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(14 19 21 / 88%)); }
.style-card__content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 1.3rem; }
.style-card__content h3 { margin: 0; font-size: 1.55rem; }
.style-card__content p { margin: .25rem 0 .7rem; color: #dce3e6; }
.style-card__content a { color: #fff; font-weight: 800; }

.home-process { padding: 5rem 0; background: var(--ink); color: #fff; }
.home-process__inner { width: var(--page); margin: 0 auto; }
.home-process__inner > h2 { margin: 0 0 2rem; font-size: clamp(2rem, 4vw, 3rem); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-grid article { border: 1px solid rgb(255 255 255 / 15%); border-radius: 15px; padding: 1.2rem; }
.process-grid b { display: block; color: #ff8c60; font-size: 2.4rem; }
.process-grid h3 { margin: .6rem 0 .3rem; }
.process-grid p { margin: 0; color: #bec9cd; }

.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.gallery-strip a { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-strip a:hover img { transform: scale(1.06); }

.site-footer { margin-top: 4rem; background: #1d2428; color: #d4dcdf; }
.site-footer__grid { display: grid; width: var(--page); grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin: 0 auto; padding: 3.5rem 0; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #d4dcdf; }
.site-footer__legal { border-top: 1px solid rgb(255 255 255 / 12%); padding: 1rem; text-align: center; font-size: .82rem; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; display: none; top: 100%; right: 0; left: 0; max-height: calc(100vh - 78px); overflow: auto; background: #252e33; padding: .8rem 1rem 1.2rem; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: block; }
  .primary-nav a { padding: .75rem; }
  .primary-nav .sub-menu { position: static; display: block; min-width: 0; border: 0; box-shadow: none; background: rgb(255 255 255 / 4%); margin: 0 0 .3rem 1rem; }
  .header-cart { margin-left: auto; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .brand__text small { display: none; }
  .hero, .hero__content { min-height: 540px; }
  .hero__media::after { background: linear-gradient(0deg, rgb(16 22 25 / 94%), rgb(16 22 25 / 42%)); }
  .trust-strip { margin-top: -28px; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .trust-strip article:nth-child(2) { border-right: 0; }
  .trust-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .home-section__heading { display: block; }
  .style-grid, .process-grid { grid-template-columns: 1fr; }
  .style-card { min-height: 340px; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand__mark { width: 48px; }
  .brand__text strong { font-size: .83rem; }
  .header-cart { font-size: 0; }
  .hero__actions { display: grid; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Identité graphique historique Turpin-Longueville */
@font-face {
  font-family: "FontAwesome";
  src: url("assets/legacy/plugins/system/ns_fontawesome/fontawesome/fonts/fontawesome-webfont-9f1d09fc6c.woff2") format("woff2"),
       url("assets/legacy/plugins/system/ns_fontawesome/fontawesome/fonts/fontawesome-webfont-9f1d09fc6c.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html { background: #c5d2de; }
body {
  width: 100%;
  margin: 0;
  background: #c5d2de;
  color: #303f50;
  font: 13px/1.35 Arial, "Arial Unicode MS", Helvetica, sans-serif;
}

.site-header,
.site-main,
.site-footer {
  width: min(1000px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: relative;
  top: auto;
  z-index: 20;
  height: 200px;
  background: #4c565f url("assets/legacy/templates/verr2/images/header.jpg") center top / 1000px 200px no-repeat;
  color: #fff;
}

.site-header__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  margin: 0;
}

.brand {
  position: absolute;
  inset: 0 0 35px;
  display: block;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.brand__mark,
.brand__text { display: none; }

.primary-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35px;
  background: linear-gradient(#59646c, #2d363d);
}
.primary-nav > ul {
  display: flex;
  width: 100%;
  height: 35px;
  align-items: stretch;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.primary-nav li { position: relative; }
.primary-nav > ul > li { flex: 0 1 auto; border-right: 1px solid #222b31; border-left: 1px solid rgb(255 255 255 / 12%); }
.primary-nav a {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  color: #ddd;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a:focus { background: #22292e; color: #fff; }
.primary-nav .menu-item-has-children > a::after { content: "⌄"; margin-left: 5px; color: #aaa; font-size: 11px; }
.primary-nav .sub-menu {
  position: absolute;
  z-index: 30;
  top: 35px;
  left: 0;
  display: none;
  min-width: 230px;
  border: 0;
  border-radius: 0;
  background: #303a41;
  box-shadow: 0 10px 22px rgb(0 0 0 / 30%);
  padding: 0;
}
.primary-nav .sub-menu a { justify-content: flex-start; border-bottom: 1px solid rgb(255 255 255 / 9%); padding: 9px 12px; white-space: normal; }
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.header-cart { display: none; }
.menu-toggle { display: none; }

.site-main { min-height: 550px; overflow: hidden; background: #fff; }
.content-card,
.content-card--wide {
  width: auto;
  margin: 5px 0 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 20px;
}
.page-title { margin: 0 0 15px; color: #4c565f; font-size: 22px; font-weight: 400; }
.site-breadcrumb { margin: -10px 0 18px; color: #303f50; font: 12px/1.4 Arial, sans-serif; }
.site-breadcrumb a { color: #303f50; }
.entry-content { color: #303f50; font-size: 13px; }
.entry-content h1,
.entry-content h2 { color: #4c565f; font: 400 20px/1.2 Arial, sans-serif; }
.entry-content h2 { margin-top: 22px; }
.entry-content h3 { color: #4c565f; font-size: 17px; }
.entry-content a { color: #607e9f; }
.entry-content img { border-radius: 0; }

.legacy-home-intro { padding: 14px 33px 10px; text-align: center; }
.legacy-buy-button {
  display: inline-block;
  border-radius: 10px;
  background: #92d050;
  color: #fff;
  padding: 9px 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.legacy-buy-button:hover,
.legacy-buy-button:focus { background: #80bd40; color: #fff; }
.legacy-home-intro h1 { margin: 10px 0 14px; color: #4c565f; font-size: 20px; font-weight: 400; line-height: 1.2; }
.legacy-home-intro h1 strong,
.legacy-home-intro h1 em { color: #fc7c3d; font-style: normal; font-weight: 700; }
.legacy-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.legacy-steps article {
  position: relative;
  min-height: 145px;
  overflow: hidden;
  border-radius: 19px;
  background: #4d5861;
  color: #fff;
  padding: 8px 7px 10px;
}
.legacy-steps article > i { display: block; height: 56px; color: #fff; font-size: 45px; line-height: 56px; }
.legacy-steps article > img { position: absolute; top: 64px; left: calc(50% - 37px); width: 75px; height: 75px; object-fit: contain; }
.legacy-steps article p { position: relative; z-index: 1; margin: 42px 0 0; font-size: 13px; line-height: 1.18; }
.legacy-steps article a { color: #fc7c3d; text-decoration: none; }

.legacy-slideshow { padding: 0 0 10px; background: #fff; }
.legacy-slideshow__viewport { position: relative; width: 700px; max-width: 100%; aspect-ratio: 3 / 2; margin: 0 auto; overflow: hidden; background: #e7eaec; }
.legacy-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.legacy-slide.is-active { opacity: 1; }
.legacy-slide img { width: 100%; height: 100%; object-fit: cover; }
.legacy-slide > a { display: block; width: 100%; height: 100%; }
.legacy-slide figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; margin: 0; background: rgb(255 255 255 / 85%); color: #303f50; padding: 10px 18px; font-size: 15px; text-align: left; }
.legacy-slideshow__dots { display: flex; min-height: 58px; align-items: center; justify-content: flex-end; gap: 9px; padding: 0 100px; }
.legacy-slideshow__dots button { width: 17px; height: 17px; border: 0; border-radius: 50%; background: #c7c7c7; padding: 0; cursor: pointer; }
.legacy-slideshow__dots button[aria-current="true"] { background: #777; box-shadow: inset 0 0 0 4px #aaa; }
.legacy-press img { display: block; width: 100%; height: auto; }

.site-footer { margin-top: 0; border-top: 1px dotted #ccc; background: #fff; color: #6986a5; }
.site-footer p { margin: 0; padding: 27px 20px; font-size: 12px; text-align: center; }
.site-footer a { color: #6986a5; }

/* Le configurateur conserve son moteur moderne avec la palette et la densité historiques. */
.vc-app,
.vc-cart,
.vc-checkout { --vc-orange: #fc7c3d; --vc-ink: #303f50; --vc-muted: #697786; font-family: Arial, sans-serif; }
.vc-topline { align-items: center; border-radius: 10px; background: #fc7c3d; color: #fff; padding: 7px 12px; }
.vc-topline .vc-eyebrow,
.vc-topline h1 + p { display: none; }
.vc-topline h1 { color: #fff; font-size: 23px; font-weight: 400; }
.vc-topline .vc-link-button { border-color: rgb(255 255 255 / 75%); color: #fff; }
.vc-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 25px; margin-top: 8px; }
.vc-summary { top: 1rem; font-size: 12px; }
.vc-price-card { border: 10px solid #ccc; border-radius: 12px; background: #fff; color: #303f50; padding: 8px; text-align: center; }
.vc-price-card span,
.vc-price-card small { color: #303f50; }
.vc-price-card strong { color: #303f50; font-size: 18px; }
.vc-summary-list { border: 0; border-radius: 12px; background: #ccc; padding: 10px; }
.vc-summary-list div { display: block; border: 0; padding: 1px 0; }
.vc-summary-list dt,
.vc-summary-list dd { display: inline; color: #303f50; font-size: 12px; font-weight: 400; }
.vc-summary-list dt::after { content: " : "; }
.vc-cart-link { border-radius: 10px; padding: 7px 9px; }
.vc-preview-card,
.vc-panel,
.vc-cart-item,
.vc-contact-form,
.vc-confirmation,
.vc-empty { border-radius: 0; box-shadow: none; }
.vc-preview-card { border: 0; }
.vc-preview-toolbar { padding: 5px 8px; }
.vc-preview { max-height: 360px; border-radius: 0; background: #fff; }
.vc-steps { gap: 3px; margin: 5px 0; }
.vc-steps button { border: 0; border-radius: 10px; background: #eee; padding: 4px 2px; }
.vc-steps button span { width: 22px; height: 22px; margin-bottom: 2px; line-height: 22px; }
.vc-steps button[aria-current] { background: #fc7c3d; color: #fff; }
.vc-panel { min-height: 330px; border-top: 8px solid #eee; padding: 12px; }
.vc-panel-heading { margin-bottom: 12px; }
.vc-panel-heading > span { color: #fc7c3d; font-size: 25px; }
.vc-panel-heading h2 { color: #303f50; font-size: 20px; }
.vc-choice { border-radius: 8px; }
.vc-button--accent,
.vc-button:not(.vc-button--ghost) { background: #fc7c3d; }

@media (max-width: 1000px) {
  html, body { background: #fff; }
  .primary-nav a { padding-right: 7px; padding-left: 7px; font-size: 12px; }
}

@media (max-width: 820px) {
  .site-header { height: 150px; background-size: 750px 150px; }
  .site-header__inner { height: 150px; }
  .brand { bottom: 42px; }
  .menu-toggle { position: absolute; right: 12px; bottom: 5px; display: inline-flex; border: 1px solid rgb(255 255 255 / 45%); background: #303a41; color: #fff; padding: 7px 12px; }
  .primary-nav { top: 100%; bottom: auto; display: none; height: auto; max-height: calc(100vh - 150px); overflow: auto; background: #303a41; padding: 7px; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: block; height: auto; }
  .primary-nav > ul > li { border: 0; }
  .primary-nav a { justify-content: flex-start; padding: 10px; font-size: 14px; }
  .primary-nav .sub-menu { position: static; display: block; min-width: 0; background: rgb(255 255 255 / 5%); box-shadow: none; margin-left: 15px; }
  .legacy-home-intro { padding: 14px; }
  .legacy-steps { grid-template-columns: 1fr 1fr; }
  .legacy-slideshow__dots { justify-content: center; padding: 0 15px; }
  .vc-layout { grid-template-columns: 1fr; }
  .vc-summary { position: static; }
}

@media (max-width: 520px) {
  .site-header { height: 120px; background-size: 600px 120px; }
  .site-header__inner { height: 120px; }
  .primary-nav { max-height: calc(100vh - 120px); }
  .legacy-home-intro h1 { font-size: 18px; }
  .legacy-steps { grid-template-columns: 1fr; }
  .legacy-steps article { min-height: 135px; }
  .legacy-slideshow__dots { flex-wrap: wrap; gap: 7px; padding: 12px 15px; }
  .legacy-slideshow__dots button { width: 13px; height: 13px; }
  .content-card,
  .content-card--wide { padding: 12px; }
  .vc-topline { display: block; }
  .vc-top-actions { justify-content: flex-start; margin-top: 7px; }
}

