/*
 * QUALIFICACE — Luxury conversion system
 * Loaded after the base theme. Keeps editorial content and SEO structure intact.
 */

:root {
  --qlx-night: #070a12;
  --qlx-ink: #0d111d;
  --qlx-ink-soft: #151b2a;
  --qlx-ivory: #f7f4ee;
  --qlx-paper: #eeebe4;
  --qlx-white: #fff;
  --qlx-violet: #7c55e8;
  --qlx-violet-light: #d8ccff;
  --qlx-gold: #e3c47b;
  --qlx-green: #355b48;
  --qlx-line: rgba(13,17,29,.14);
  --qlx-line-light: rgba(255,255,255,.15);
  --qlx-shadow: 0 1.75rem 5rem rgba(3,5,12,.18);
  --qlx-serif: "Cormorant Garamond", Georgia, serif;
  --qlx-sans: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  --qc-wide: 82.5rem;
  --qc-header-height: 5.25rem;
}

html { scroll-behavior: smooth; }
body {
  color: var(--qlx-ink);
  background: var(--qlx-ivory);
  font-family: var(--qlx-sans);
  line-height: 1.72;
}
body, button, input, select, textarea { font-family: var(--qlx-sans); }
::selection { color: #fff; background: var(--qlx-violet); }

h1, h2, h3, h4, h5, h6,
.entry-title,
.wp-block-heading {
  color: var(--qlx-ink);
  font-family: var(--qlx-serif);
  font-weight: 600;
  letter-spacing: -.03em;
}
h1, .entry-title { font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: .96; }
h2 { font-size: clamp(2.65rem, 5vw, 5.25rem); line-height: 1; }
h3 { font-size: clamp(1.45rem, 2.3vw, 2.2rem); line-height: 1.08; }

a { color: var(--qlx-violet); }
a:hover { color: #5836b8; }
.site-shell, .section-shell, .entry-shell { width: min(calc(100% - 5rem), var(--qc-wide)); }
.content-shell { width: min(calc(100% - 2.5rem), 52rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.15rem;
  color: var(--qlx-violet);
  font-family: var(--qlx-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: 0 0 2rem;
  height: 1px;
  background: currentColor;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  color: #fff;
  background: rgba(7,10,18,.94);
  border-color: var(--qlx-line-light);
  box-shadow: 0 .8rem 2.8rem rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: var(--qc-header-height); }
.brand-link { width: 11rem; }
.brand-crop {
  position: relative;
  display: block;
  aspect-ratio: 1446 / 698;
  overflow: hidden;
  background: transparent;
}
.brand-crop img {
  position: absolute;
  inset: -66.33% auto auto -33%;
  width: 166%;
  max-width: none;
  height: auto;
}
.site-header .brand-crop img,
.site-footer .brand-crop img { filter: drop-shadow(0 .35rem 1.1rem rgba(124,85,232,.28)); }
.primary-menu { gap: 1.65rem; }
.primary-menu > li > a {
  position: relative;
  color: rgba(255,255,255,.82);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.55rem;
  height: 1px;
  background: var(--qlx-violet-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.primary-menu > li > a:hover::after,
.primary-menu > .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a { color: #fff; }
.primary-menu .sub-menu {
  color: var(--qlx-ink);
  background: #fff;
  border: 1px solid var(--qlx-line);
  border-radius: .15rem;
  box-shadow: var(--qlx-shadow);
}
.site-header .menu-toggle {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  box-shadow: none;
}
.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus-visible,
.site-header .menu-toggle[aria-expanded="true"] {
  color: #fff;
  background: linear-gradient(125deg, #6940d0, #9d7aff);
  border-color: rgba(255,255,255,.72);
}
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after { background: currentColor; }

/* Buttons and calls to action */
.button,
.wp-block-button__link,
.qlf-cta__button {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .85rem 1.5rem;
  color: #fff;
  background: linear-gradient(125deg, #6940d0, #9d7aff);
  border: 1px solid transparent;
  border-radius: .2rem;
  box-shadow: 0 1rem 2.5rem rgba(124,85,232,.24);
  font-family: var(--qlx-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .3s ease, color .3s ease, background .3s ease;
}
.button:hover,
.wp-block-button__link:hover,
.qlf-cta__button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 1.35rem 3.1rem rgba(124,85,232,.38);
}
.button-secondary,
.is-style-qualificace-outline .wp-block-button__link,
.is-style-qualificace-light .wp-block-button__link {
  color: var(--qlx-ink);
  background: transparent;
  border-color: rgba(13,17,29,.28);
  box-shadow: none;
}
.site-header .button-secondary,
.site-header .header-quote {
  min-height: 2.75rem;
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.34);
  box-shadow: none;
}
.site-header .header-quote { background: linear-gradient(125deg, #6940d0, #9d7aff); border-color: transparent; }

/* Global page rhythm */
.section { padding-block: clamp(5.7rem, 9vw, 9rem); }
.section-compact { padding-block: clamp(3.6rem, 6vw, 5.5rem); }
.section-tinted,
.has-cloud-background-color { background: var(--qlx-paper) !important; }
.section-dark {
  color: rgba(255,255,255,.76);
  background: var(--qlx-night) !important;
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark .wp-block-heading { color: #fff !important; }
.section-dark .eyebrow { color: var(--qlx-violet-light) !important; }
.section-dark .wp-block-button__link,
.section-dark .button {
  color: #fff !important;
  background: linear-gradient(125deg, #6940d0, #8f6bf2) !important;
  border-color: transparent !important;
}
.section-dark .is-style-qualificace-outline .wp-block-button__link,
.section-dark .is-style-qualificace-light .wp-block-button__link,
.section-dark .button-secondary {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.38) !important;
}
.section-dark .notice-card {
  color: #526177 !important;
  background: #fff !important;
  border-color: rgba(255,255,255,.22) !important;
}
.section-dark .notice-card h3,
.section-dark .notice-card h4,
.section-dark .notice-card .wp-block-heading { color: #07152f !important; }
.section-dark .notice-card p { color: #526177 !important; }
.section-heading { max-width: 51rem; margin: 0 0 clamp(2.8rem,5vw,4.5rem); }
.section-heading > p:not(.eyebrow) { max-width: 42rem; color: #626873; }
.wp-block-image img,
.post-thumbnail img,
.qlf-service-gallery img,
.qlf-service-gallery video { border-radius: 0; box-shadow: var(--qlx-shadow); }

/* Page and post heroes */
.page-hero,
.page-intro-section {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.72);
  background: var(--qlx-night) !important;
}
.page-hero::after,
.page-intro-section::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -10rem;
  top: -18rem;
  border-radius: 50%;
  background: rgba(124,85,232,.23);
  filter: blur(6rem);
  pointer-events: none;
}
.page-hero { padding-block: clamp(5rem,9vw,8rem); }
.page-intro-panel {
  position: relative;
  z-index: 1;
  max-width: none;
  color: rgba(255,255,255,.78) !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(124,85,232,.28), transparent 34%),
    linear-gradient(135deg, #151b2a 0%, #090d18 72%, #18102d 100%) !important;
  border: 1px solid rgba(216,204,255,.22) !important;
  box-shadow: 0 2rem 5.5rem rgba(0,0,0,.34) !important;
}
.page-intro-panel h1,
.page-intro-panel h2,
.page-intro-panel .wp-block-heading { color: #fff !important; }
.page-intro-panel p:not(.eyebrow) { color: rgba(255,255,255,.72) !important; }
.page-intro-panel .eyebrow { color: var(--qlx-violet-light) !important; }
.page-hero h1,
.page-intro-section h1,
.page-intro-section h2,
.page-intro-section .wp-block-heading { max-width: 62rem; color: #fff; }
.page-intro-section .page-lede,
.page-intro-section p:not(.eyebrow) { max-width: 50rem; color: rgba(255,255,255,.66); font-size: 1.05rem; }
.page-intro-section .eyebrow,
.page-hero .eyebrow { color: var(--qlx-violet-light); }

/* Homepage hero */
.front-page-content .hero {
  position: relative;
  overflow: hidden;
  min-height: 47rem;
  padding-block: clamp(5.5rem,8vw,8rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 35%, rgba(124,85,232,.27), transparent 28%),
    linear-gradient(120deg, #070a12 0%, #101525 70%, #080b14 100%);
}
.front-page-content .hero h1,
.front-page-content .hero h2,
.front-page-content .hero h3 { color: #fff; }
.front-page-content .hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.03fr) minmax(26rem,.97fr);
  gap: clamp(3rem,7vw,6.5rem);
  align-items: center;
}
.front-page-content .hero-copy { max-width: none; }
.front-page-content .hero-copy h1 { max-width: 49rem; font-size: clamp(3.65rem,6vw,6.2rem); }
.front-page-content .hero-lede { max-width: 47rem; color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.78; }
.front-page-content .hero-location { color: rgba(255,255,255,.5); font-size: .76rem; }
.front-page-content .hero .eyebrow { color: var(--qlx-violet-light); }
.front-page-content .hero .is-style-qualificace-light .wp-block-button__link {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(.8rem);
}
.front-page-content .hero-visual { display: grid; gap: 1rem; }
.front-page-content .qlf-presentation {
  padding: .7rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(216,204,255,.4);
  border-radius: 0;
  box-shadow: 0 2.2rem 5.5rem rgba(0,0,0,.42), 0 0 4rem rgba(124,85,232,.12);
}
.front-page-content .qlf-presentation-screen {
  overflow: hidden;
  background: #020308;
  border-radius: 0;
}
.front-page-content .qlf-presentation-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.front-page-content .qlf-presentation-footer {
  padding: .9rem .65rem .2rem;
  color: rgba(255,255,255,.52);
  background: transparent;
}
.front-page-content .qlf-presentation-title { color: #fff; font-family: var(--qlx-serif); font-size: 1.2rem; }
.front-page-content .qlf-presentation-note { font-size: .7rem; }
.front-page-content .hero-signature {
  padding: 1.25rem 1.35rem;
  color: rgba(255,255,255,.64);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--qlx-line-light);
  border-radius: 0;
}
.front-page-content .hero-signature h2 { font-size: clamp(1.7rem,2.4vw,2.45rem); }
.front-page-content .hero-signature .check-list { margin-bottom: 0; }
.front-page-content .hero-proof-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--qlx-line-light);
}
.front-page-content .hero-proof-strip p { margin: 0; padding: .9rem 1rem; }
.front-page-content .hero-proof-strip p + p { border-left: 1px solid var(--qlx-line-light); }

/* One customer journey */
.front-page-content .audience-section { background: var(--qlx-ivory); }
.front-page-content .audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #151b2a, #080b14);
  border: 1px solid rgba(13,17,29,.08);
  box-shadow: var(--qlx-shadow);
}
.front-page-content .audience-card {
  min-height: 25rem;
  padding: clamp(2.2rem,4vw,3.6rem);
  color: rgba(255,255,255,.68);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.front-page-content .audience-card + .audience-card { border-left: 1px solid var(--qlx-line-light); }
.front-page-content .audience-card h3 { color: #fff; font-size: clamp(2.2rem,3.6vw,3.65rem); }
.front-page-content .audience-card .eyebrow { color: var(--qlx-violet-light); }
.front-page-content .audience-note { color: rgba(255,255,255,.5); border-color: var(--qlx-line-light); }

/* Service cards and carousel */
.services-section { color: #fff; background: var(--qlx-night) !important; }
.services-section h2,
.services-section h3,
.services-section .wp-block-heading { color: #fff; }
.services-section .section-heading > p:not(.eyebrow) { color: rgba(255,255,255,.58); }
.services-section .eyebrow { color: var(--qlx-violet-light); }
.services-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: .7rem;
  margin: -1rem 0 1.4rem;
}
.services-carousel__button {
  width: 3rem;
  height: 3rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  cursor: pointer;
}
.services-carousel__button:hover:not(:disabled) { color: var(--qlx-ink); background: #fff; }
.services-carousel__button:disabled { opacity: .28; cursor: default; }
.services-carousel {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 1.15rem !important;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.services-carousel::-webkit-scrollbar { display: none; }
.services-carousel > .service-card {
  flex: 0 0 min(25.5rem,78vw);
  min-height: 31rem;
  scroll-snap-align: start;
}
.services-grid:not(.services-carousel) { gap: 1.15rem; }
.service-card,
.archive-card,
.qlf-guidance-card,
.notice-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem,3vw,2.2rem);
  background: #fff;
  border: 1px solid var(--qlx-line);
  border-radius: 0;
  box-shadow: 0 1rem 3rem rgba(3,5,12,.07);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover,
.archive-card:hover,
.qlf-guidance-card:hover {
  transform: translateY(-.45rem);
  border-color: rgba(124,85,232,.28);
  box-shadow: var(--qlx-shadow);
}
.services-section .service-card {
  color: var(--qlx-muted, #526177) !important;
  background: #fff !important;
  border-color: rgba(216,204,255,.26) !important;
  box-shadow: 0 1.25rem 3.5rem rgba(0,0,0,.2);
}
.services-section .service-card img,
.services-section .service-card video { border-radius: 0; }
.services-section .service-card h3,
.services-section .service-card h3 a { color: #07152f !important; }
.services-section .service-card p { color: #526177 !important; }
.service-number,
.method-number { color: var(--qlx-violet) !important; font-family: var(--qlx-serif); }
.services-section .service-number { color: var(--qlx-violet-light) !important; }
.service-link a,
.service-card h3 a { color: inherit; text-decoration: none; }
.service-link { color: #5836b8 !important; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.section-dark .service-link:not(.notice-card .service-link) { color: var(--qlx-violet-light) !important; }

/* Method and proof */
.method-grid,
.trust-grid { gap: 1.15rem; }
.method-step {
  padding: clamp(1.7rem,3vw,2.5rem);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--qlx-line);
  border-radius: 0;
  box-shadow: none;
}
.method-step:last-child { border-bottom: 1px solid var(--qlx-line); }
.trust-card {
  padding: clamp(1.7rem,3vw,2.4rem);
  background: #fff;
  border: 1px solid var(--qlx-line);
  border-radius: 0;
  box-shadow: 0 1rem 3rem rgba(3,5,12,.07);
}

/* Social proof — intentionally high in the homepage */
.front-page-content .reviews-section { color: var(--qlx-ink); background: var(--qlx-ivory); }
.front-page-content .reviews-section > .section-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  grid-template-rows: auto auto auto 1fr;
  gap: .4rem clamp(3rem,8vw,7rem);
  align-items: start;
}
.front-page-content .reviews-section > .section-shell > .eyebrow { grid-column: 1; }
.front-page-content .reviews-section > .section-shell > h2 { grid-column: 1; margin-bottom: 1.3rem; }
.front-page-content .reviews-section > .section-shell > p { grid-column: 1; color: #626873; }
.front-page-content .qualificace-google-reviews-widget {
  grid-column: 2;
  grid-row: 1 / 5;
  min-height: 24rem;
  padding: clamp(2rem,4vw,3.3rem);
  color: rgba(255,255,255,.7);
  background: linear-gradient(145deg, #171d2c, #080b14);
  border: 1px solid rgba(216,204,255,.25);
  border-radius: 0;
  box-shadow: var(--qlx-shadow);
}
.front-page-content .qualificace-google-reviews-widget h3 { color: #fff; }
.front-page-content .qualificace-google-reviews-widget a { color: var(--qlx-violet-light); }
.qualificace-consent-button {
  min-height: 3rem;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--qlx-violet);
  border: 0;
  border-radius: .15rem;
  font-weight: 700;
}

/* About, real work and zones */
.realisations-section { background: var(--qlx-ink-soft) !important; }
.realisations-section h2,
.realisations-section h3 { color: #fff; }
.realisations-section p { color: rgba(255,255,255,.62); }
.realization-card,
.about-panel {
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.about-section .wp-block-columns { align-items: center !important; }
.about-section img { box-shadow: var(--qlx-shadow); }
.zones-panel {
  padding: clamp(2.5rem,6vw,5rem);
  background: linear-gradient(140deg, #151b2a, #080b14);
  border: 1px solid rgba(216,204,255,.18);
  border-radius: 0;
  box-shadow: var(--qlx-shadow);
}
.zones-list a,
.zones-panel a { color: var(--qlx-violet-light); }

/* FAQs, long-form expertise and editorial blocks */
.faq-list { border-top: 1px solid var(--qlx-line); }
.faq-item {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--qlx-line);
  border-radius: 0;
  box-shadow: none;
}
.faq-item summary {
  position: relative;
  padding: 1.8rem 3rem 1.8rem 0;
  color: var(--qlx-ink);
  font-family: var(--qlx-serif);
  font-size: clamp(1.25rem,2vw,1.65rem);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: .4rem;
  top: 50%;
  color: var(--qlx-violet);
  font-family: var(--qlx-sans);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item > :not(summary) { max-width: 51rem; color: #626873; }

.qlf-referentiel-editorial,
.qlf-referentiel-related,
.qlf-geo-excellence,
.qlf-service-guidance {
  width: min(calc(100% - 5rem), var(--qc-wide));
  margin-inline: auto;
  padding-block: clamp(4.5rem,7vw,7rem);
}
.qlf-referentiel-editorial + .qlf-referentiel-eco,
.qlf-referentiel-related + .qlf-referentiel-eco { margin-top: 0; }
.qlf-geo-excellence { color: #565d68; }
.qlf-geo-excellence h2,
.qlf-geo-excellence h3 { max-width: 58rem; }
.qlf-geo-excellence blockquote {
  margin: 2.4rem 0;
  padding: 2rem;
  color: #fff;
  background: var(--qlx-ink-soft);
  border-left: 2px solid var(--qlx-violet);
}
.luxury-longform__body {
  position: relative;
  max-height: 32rem;
  overflow: hidden;
  transition: max-height .65s ease;
}
.luxury-longform__body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(transparent, var(--qlx-ivory));
  pointer-events: none;
}
.luxury-longform.is-expanded .luxury-longform__body { max-height: 220rem; }
.luxury-longform.is-expanded .luxury-longform__body::after { opacity: 0; }
.luxury-longform-toggle {
  margin-top: 1.5rem;
  min-height: 3rem;
  padding: .7rem 1.15rem;
  color: var(--qlx-ink);
  background: transparent;
  border: 1px solid rgba(13,17,29,.28);
  border-radius: .15rem;
  font-weight: 700;
  cursor: pointer;
}

/* Visible eco block, placed near the bottom by JS */
.qlf-referentiel-eco {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(5.7rem,9vw,9rem) max(2.5rem, calc((100vw - var(--qc-wide))/2));
  color: var(--qlx-ink);
  background: #f2f2ec;
}
.qlf-referentiel-eco > h2 {
  max-width: 57rem;
  margin-bottom: 3rem;
  font-size: clamp(2.7rem,5vw,5.1rem);
}
.qlf-referentiel-eco > p {
  max-width: 73rem;
  margin-bottom: 1px;
  padding: 1.55rem 1.8rem;
  background: rgba(255,255,255,.64);
  border-left: 2px solid rgba(53,91,72,.28);
}
.qlf-referentiel-eco a { color: var(--qlx-green); text-decoration-color: rgba(53,91,72,.35); }
.luxury-eco-highlights {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--qlx-line);
  border-left: 1px solid var(--qlx-line);
}
.luxury-eco-highlights a {
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  color: var(--qlx-ink);
  background: rgba(255,255,255,.28);
  border-right: 1px solid var(--qlx-line);
  border-bottom: 1px solid var(--qlx-line);
  text-decoration: none;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.luxury-eco-highlights a:hover { color: #fff; background: #274637; transform: translateY(-.3rem); }
.luxury-eco-highlights span { color: var(--qlx-green); font-family: var(--qlx-serif); }
.luxury-eco-highlights a:hover span { color: #b9d9ca; }
.luxury-eco-highlights strong { margin-top: auto; font-family: var(--qlx-serif); font-size: 1.55rem; line-height: 1.08; }
.luxury-eco-highlights small { margin-top: .7rem; color: #6b7076; font-size: .72rem; line-height: 1.5; }
.luxury-eco-highlights a:hover small { color: rgba(255,255,255,.68); }

/* Service and city detail pages */
.single-qlf_service .entry-context,
.single-qlf_ville .entry-context,
.qlf-breadcrumbs { color: rgba(255,255,255,.58); }
.single-qlf_service .page-hero,
.single-qlf_ville .page-hero { padding-bottom: clamp(4rem,7vw,6rem); }
.post-thumbnail.entry-shell { margin-top: -2.8rem; position: relative; z-index: 3; }
.post-thumbnail.entry-shell img { width: 100%; max-height: 42rem; object-fit: cover; }
.qlf-section { padding-block: clamp(4.5rem,7vw,7rem); }
.qlf-section:nth-of-type(even) { background: var(--qlx-paper); }
.qlf-link-grid,
.qlf-service-guidance__grid { gap: 1rem; }
.qlf-link-grid a,
.qlf-context-service {
  padding: 1.2rem 1.35rem;
  background: #fff;
  border: 1px solid var(--qlx-line);
  border-radius: 0;
  box-shadow: none;
}
.wp-block-table table { border-collapse: collapse; background: #fff; box-shadow: 0 1rem 3rem rgba(3,5,12,.06); }
.wp-block-table th { color: #fff; background: var(--qlx-ink-soft); }
.wp-block-table td,
.wp-block-table th { padding: 1rem; border-color: var(--qlx-line); }

/* Quote panels and injected conversion bands */
.cta-section,
.qlf-cta,
.luxury-conversion-strip {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #13192a, #070a12) !important;
}
.cta-section h2,
.qlf-cta h2,
.luxury-conversion-strip h2 { color: #fff; }
.cta-panel,
.qlf-cta {
  padding: clamp(2.8rem,6vw,5.2rem);
  border: 1px solid rgba(216,204,255,.18);
  border-radius: 0;
  box-shadow: var(--qlx-shadow);
}
.cta-section .eyebrow { color: var(--qlx-violet-light); }
.cta-section p,
.qlf-cta p { color: rgba(255,255,255,.66); }
.luxury-conversion-strip { padding: clamp(3rem,5vw,4.5rem) 0; }
.luxury-conversion-strip::after {
  content: "";
  position: absolute;
  width: 25rem;
  height: 25rem;
  right: 8%;
  top: -20rem;
  border-radius: 50%;
  background: rgba(124,85,232,.35);
  filter: blur(5rem);
}
.luxury-conversion-strip__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.luxury-conversion-strip .eyebrow { margin-bottom: .55rem; color: var(--qlx-violet-light); }
.luxury-conversion-strip h2 { margin: 0; font-size: clamp(2.25rem,3.8vw,3.9rem); }
.luxury-conversion-strip__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.luxury-conversion-strip .button-secondary { color: #fff; border-color: rgba(255,255,255,.35); }

/* Quote calculator and forms */
.qlf-devis,
form {
  --qc-radius-sm: .2rem;
  --qc-radius-md: .3rem;
  --qc-radius-lg: .4rem;
}
.qlf-devis,
.qlf-devis-result {
  border-radius: 0;
  box-shadow: var(--qlx-shadow);
}
input, select, textarea {
  min-height: 3.2rem;
  border-radius: .15rem !important;
  border-color: rgba(13,17,29,.22) !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--qlx-violet) !important; box-shadow: 0 0 0 .2rem rgba(124,85,232,.12); }

/* Footer */
.site-footer {
  padding-top: clamp(4.8rem,8vw,7rem);
  color: rgba(255,255,255,.55);
  background: #05070c;
}
.site-footer .brand-crop img { filter: drop-shadow(0 .35rem 1.1rem rgba(124,85,232,.3)); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--qlx-violet-light); }
.footer-main { gap: clamp(2.5rem,5vw,5.5rem); }
.footer-title {
  color: #fff;
  font-family: var(--qlx-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-profiles,
.footer-bottom { border-color: var(--qlx-line-light); }
.footer-profile-link {
  color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.035);
  border-color: var(--qlx-line-light);
  border-radius: 0;
}

/* Motion */
.has-js .luxury-reveal {
  opacity: 1;
  transform: translateY(.65rem);
  transition: transform .7s cubic-bezier(.22,1,.36,1), box-shadow .7s cubic-bezier(.22,1,.36,1);
}
.has-js .luxury-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-shell, .section-shell, .entry-shell { width: min(calc(100% - 3rem), var(--qc-wide)); }
  .front-page-content .hero-inner { grid-template-columns: minmax(0,1fr) minmax(23rem,.82fr); gap: 2.5rem; }
  .front-page-content .hero-copy h1 { font-size: clamp(3.35rem,6vw,4.8rem); }
  .primary-menu { gap: 1rem; }
  .luxury-eco-highlights { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .site-shell, .section-shell, .entry-shell,
  .qlf-referentiel-editorial,
  .qlf-referentiel-related,
  .qlf-geo-excellence,
  .qlf-service-guidance { width: calc(100% - 2.25rem); }
  h1, .entry-title { font-size: clamp(3rem,13vw,4.8rem); }
  h2 { font-size: clamp(2.55rem,11vw,4rem); }
  .site-header { position: sticky; }
  .primary-navigation { color: #fff; background: rgba(7,10,18,.98); border-color: var(--qlx-line-light); }
  .primary-menu > li > a { color: rgba(255,255,255,.83); }
  .front-page-content .hero { min-height: 0; padding-top: 4.8rem; }
  .front-page-content .hero-inner { grid-template-columns: 1fr; }
  .front-page-content .hero-visual { width: 100%; max-width: 43rem; }
  .front-page-content .hero-signature { padding: 1.1rem; }
  .front-page-content .audience-grid { grid-template-columns: 1fr; }
  .front-page-content .audience-card { min-height: 0; }
  .front-page-content .audience-card + .audience-card { border-left: 0; border-top: 1px solid var(--qlx-line-light); }
  .front-page-content .reviews-section > .section-shell { grid-template-columns: 1fr; gap: 1rem; }
  .front-page-content .reviews-section > .section-shell > .qualificace-google-reviews-widget { grid-column: 1; grid-row: auto; margin-top: 1.8rem; }
  .luxury-conversion-strip__inner { grid-template-columns: 1fr; }
  .luxury-conversion-strip__actions { justify-content: flex-start; }
  .services-carousel > .service-card { flex-basis: 82vw; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .site-shell, .section-shell, .entry-shell { width: calc(100% - 2rem); }
  .section { padding-block: 4.8rem; }
  .front-page-content .hero-copy h1 { font-size: clamp(3rem,14vw,4.25rem); }
  .front-page-content .hero-actions,
  .section-actions,
  .luxury-conversion-strip__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .front-page-content .hero-actions .wp-block-button,
  .front-page-content .hero-actions .wp-block-button__link,
  .section-actions .wp-block-button,
  .section-actions .wp-block-button__link,
  .luxury-conversion-strip__actions .button { width: 100%; }
  .front-page-content .hero-proof-strip { grid-template-columns: 1fr; }
  .front-page-content .hero-proof-strip p + p { border-left: 0; border-top: 1px solid var(--qlx-line-light); }
  .services-carousel > .service-card { flex-basis: calc(100vw - 2rem); }
  .luxury-eco-highlights { grid-template-columns: 1fr; }
  .qlf-referentiel-eco { padding-inline: 1rem; }
  .qlf-referentiel-eco > p { padding: 1.25rem; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .has-js .luxury-reveal { opacity: 1; transform: none; }
}
