/* =====================================================================
   CLEOFE TATTOO — Style consolidato (design tokens + Kadence + mobile)
   Versione 1.0 — caricato dal plugin
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Caveat:wght@400;500;600;700&display=swap');

:root {
  --c-black-wash:    #0C0D0D;
  --c-bianco:        #FFFFFF;
  --c-magenta:       #F42AA7;
  --c-magenta-dark:  #C02080;
  --c-magenta-soft:  #FCEAF4;
  --c-dust:          #BCBCBC;
  --c-dust-light:    #F4F4F4;
  --c-dust-dark:     #6B6B6B;
  --c-success:       #1E8E3E;
  --c-warning:       #F2A033;
  --c-error:         #D93025;
  --ff-display:      "Outfit", "Garet", system-ui, -apple-system, sans-serif;
  --ff-body:         "Outfit", "Garet", system-ui, -apple-system, sans-serif;
  --ff-script:       "Moon Flower", "Caveat", cursive;
  --ff-handwriting:  "SkinnyChick", "Caveat", cursive;
  --t-fast:   120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   220ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   480ms cubic-bezier(0.4, 0, 0.2, 1);
  --global-palette1: var(--c-magenta);
  --global-palette2: var(--c-magenta-dark);
  --global-palette3: var(--c-black-wash);
  --global-palette4: var(--c-dust-dark);
  --global-palette5: var(--c-dust);
  --global-palette6: var(--c-dust-light);
  --global-palette7: #FAFAFA;
  --global-palette8: var(--c-bianco);
  --global-palette9: var(--c-magenta-soft);
  --global-body-font-family: var(--ff-body);
  --global-heading-font-family: var(--ff-display);
}

/* No iOS zoom on input focus */
@media (max-width: 767px) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="search"], input[type="url"], textarea, select {
    font-size: 16px !important;
  }
}

* { -webkit-tap-highlight-color: rgba(244, 42, 167, 0.2); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--c-black-wash);
  background-color: var(--c-bianco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .entry-title, .site-title {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--c-black-wash);
}

h1, .h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; }
h2, .h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.15; }
h3, .h3 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; }
h4, .h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.3; }

.h-display {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.eyebrow, .kadence-blocks-info-box-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: 0.75rem;
}

.brand-bullet { color: var(--c-magenta); font-weight: 700; }

.h-script, em.brand-script {
  font-family: var(--ff-script);
  font-style: normal;
  color: var(--c-magenta);
  font-weight: 400;
  font-size: 1.2em;
  line-height: 0.9;
}

.brand-marker {
  font-family: var(--ff-handwriting);
  color: var(--c-black-wash);
  font-size: 1.4em;
  line-height: 1;
}

/* Pulsanti */
.wp-block-button__link, .kadence-blocks-btn-link, .button, button.button, input[type="submit"] {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all var(--t-base);
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
}

.wp-block-button__link, .button.button-primary {
  background-color: var(--c-magenta);
  color: var(--c-bianco) !important;
}

.wp-block-button__link:hover, .button.button-primary:hover {
  background-color: var(--c-magenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 42, 167, 0.35);
}

.is-style-outline .wp-block-button__link, .button.button-secondary {
  background-color: transparent;
  border-color: var(--c-magenta);
  color: var(--c-magenta) !important;
}

.is-style-outline .wp-block-button__link:hover, .button.button-secondary:hover {
  background-color: var(--c-magenta);
  color: var(--c-bianco) !important;
}

/* ========================================================
   HEADER — dark editorial, coerente con il body delle pagine
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* All Kadence header wrappers (catch every layer) - SOLID background sempre */
.site-header,
.site-header-wrap,
.site-header-inner-wrap,
.site-main-header-wrap,
.site-main-header-inner-wrap,
.site-header-row-container,
.site-header-row-container-inner,
.site-header-row,
.site-header-main,
.site-header-row-tablet-layout-default,
.site-header-row-mobile-layout-default,
.site-bottom-header-wrap,
.site-bottom-header-inner-wrap,
.site-top-header-wrap,
.site-top-header-inner-wrap,
.kadence-mobile-header,
.kadence-tablet-bar,
.mobile-header-wrap,
#main-header,
#site-header,
.kt-clear[role="banner"] {
  background-color: #0A0A0A !important;
  background-image: none !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1000 !important;
}

/* Header sticky con sfondo solido (no body content visible behind) */
.site-header.item-is-fixed,
.site-header.is-sticky,
.site-header[data-stuck="1"] {
  background-color: #0A0A0A !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.6) !important;
}

/* Body sotto header sticky: no overlap */
body.has-fixed-header,
body.kadence-fixed-header {
  padding-top: 0 !important;
}

/* Header solid opaque + NO border (no double pink line con marquee) */
.site-header,
#main-header {
  background-color: #0A0A0A !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  transition: transform var(--t-base);
}

/* Site branding container (transparent — let parent header bg show) */
.site-branding,
.site-title-wrap,
.mobile-site-branding,
.site-branding-wrap {
  background: transparent !important;
}

/* Site title — Kadence usa logo nativo <img> (Customize → Denominazione del sito).
   Vincoli espliciti per evitare logo gigante o microscopico. */
.site-branding img,
.site-header .site-branding img,
.custom-logo,
.custom-logo-link img {
  max-height: 56px !important;
  height: auto !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  margin: 0 !important;
}

.site-branding,
.site-title-wrap,
.site-branding-wrap,
.site-header .site-branding,
.custom-logo-link {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  min-height: 0 !important;
}

/* Padding logo: NO contro il bordo, sempre un po' di respiro */
.site-branding,
.site-header .site-branding,
.mobile-site-branding {
  padding-left: 1.25rem !important;
  padding-right: 0.5rem !important;
}
@media (min-width: 769px) {
  .site-branding,
  .site-header .site-branding {
    padding-left: 2rem !important;
  }
}

/* Mobile: logo piccolo + compatto, no spazio sotto */
@media (max-width: 768px) {
  .site-branding img,
  .custom-logo {
    max-height: 36px !important;
    max-width: 130px !important;
  }
  .site-header,
  .site-main-header-wrap {
    padding: 0.4rem 0 !important;
  }
}

/* Desktop: padding header ragionevole */
@media (min-width: 769px) {
  .site-header,
  .site-main-header-wrap {
    padding: 0.6rem 0 !important;
  }
}

/* Hide scroll-cue if any page still has it */
.scroll-cue { display: none !important; }


/* ========================================================
   GLOBAL MOBILE FIX (applies to all redesigned pages)
   Reduces 6rem+ padding to mobile-friendly values
   ======================================================== */
@media (max-width: 768px) {
  /* Hero sections (custom classes) */
  .pf-hero, .tatu-hero, .pierce-hero, .cv-hero, .bk-hero,
  .ac-hero, .pz-hero, .ct-hero, .qz-hero, .gz-hero,
  .mk-hero, .pv-hero, .fd-hero, .dr-hero, .st-hero,
  .cleofe-about-hero, .cleofe-cinematic-hero,
  .pierce-section, .cv-section, .bk-flow,
  .style-section, .standards-section, .cv-showcase,
  .cv-faq, .pf-cta, .st-cta, .ac-cta, .pz-cta,
  .pf-section, .pf-prices, .ct-grid, .ct-info,
  .fd-section, .fd-gallery, .fd-cta, .pv-section,
  .pv-prize, .pv-cta, .qz-styles, .mk-tool, .mk-how,
  .ac-timeline, .ac-rules, .gz-hero {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Section vertical padding - max 4rem on mobile */
  .pf-hero, .tatu-hero, .pierce-hero, .cv-hero, .bk-hero,
  .ac-hero, .pz-hero, .ct-hero, .qz-hero, .gz-hero,
  .mk-hero, .pv-hero, .fd-hero, .dr-hero {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
  }

  .pf-section, .style-section, .pierce-section, .cv-section,
  .bk-flow, .ac-timeline, .pv-section, .fd-section, .qz-styles,
  .mk-tool, .mk-how, .pz-prices, .pz-faq, .ct-grid {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* CTA sections - reduce padding */
  .pf-cta, .st-cta, .ac-cta, .pz-cta, .fd-cta, .pv-cta,
  .tatu-cta, .pierce-cta, .cv-cta, .bk-cta, .ct-cta,
  .qz-cta, .mk-cta, .dr-coming {
    padding: 4rem 1.25rem !important;
  }

  /* Reduce excessive H1/H2 sizes on small screens */
  .pf-hero h1, .tatu-hero h1, .pierce-hero h1,
  .cv-hero h1, .bk-hero h1, .ac-hero h1,
  .pz-hero h1, .ct-hero h1, .qz-hero h1,
  .gz-hero h1, .mk-hero h1, .pv-hero h1,
  .fd-hero h1, .dr-hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    line-height: 1.1 !important;
  }

  /* Grids: single column on mobile */
  .pf-grid, .tatu-grid, .pierce-grid, .cv-process,
  .ac-rules-grid, .ct-grid, .pv-mechanic, .fd-how,
  .qz-style-grid, .mk-how-grid, .ac-rules-grid,
  .standards-list, .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Special: 2-col grids that should remain 2-col on mobile */
  .pf-stats, .pierce-cards-2, .ct-channels {
    grid-template-columns: 1fr 1fr !important;
  }

  /* CSS for portfolio cards (homepage pf-item) — single column */
  .pf-item {
    width: 100% !important;
  }

  /* Reduce ridiculously large eyebrow gaps */
  .pf-meta, .tatu-meta, .pierce-meta, .cv-meta, .bk-meta,
  .ac-meta, .pz-meta, .ct-meta, .qz-meta {
    margin-bottom: 1rem !important;
  }
}

/* Menu items — editorial uppercase, letter-spacing wide */
.site-header .menu-item > a,
.site-header .main-navigation a,
#main-header .menu-item a {
  font-family: "Outfit", system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.78rem !important;
  color: #F5F5F5 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  transition: color var(--t-fast);
  text-decoration: none !important;
}
.site-header .menu-item > a:hover,
.site-header .main-navigation a:hover,
#main-header .menu-item a:hover {
  color: var(--c-magenta) !important;
}

/* Active menu item underline */
.site-header .current-menu-item > a,
.site-header .current_page_item > a {
  color: var(--c-magenta) !important;
}
.site-header .current-menu-item > a::after,
.site-header .current_page_item > a::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-magenta);
  margin-top: 4px;
}

/* Menu CTA pulsante (per voce "Prenota") — magenta pill */
.menu-cta-button > a,
.site-header .menu-cta-button > a {
  background: var(--c-magenta) !important;
  color: #FFFFFF !important;
  padding: 0.7rem 1.6rem !important;
  border-radius: 100px !important;
  letter-spacing: 0.15em !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  transition: all var(--t-base);
  box-shadow: 0 4px 14px rgba(244,42,167,0.3);
}
.menu-cta-button > a:hover,
.site-header .menu-cta-button > a:hover {
  background: #FFFFFF !important;
  color: #0A0A0A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,42,167,0.45);
}

/* Mobile header hamburger */
@media (max-width: 1024px) {
  .site-header { transition: transform 0.3s ease-out; will-change: transform; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .site-header .header-mobile-toggle,
  .site-header .menu-toggle {
    color: #F5F5F5 !important;
  }
  .site-header .menu-toggle-open .header-button-inner-text,
  .site-header .menu-toggle .header-button-inner-text {
    color: #F5F5F5 !important;
  }
}

/* Force admin bar to NOT push the header down when admin logged in */
body.admin-bar .site-header {
  /* Keep header positioning consistent */
}


/* ========================================================
   FOOTER — dark editorial, coerente
   ======================================================== */
.site-footer,
.site-bottom-footer-wrap,
.site-bottom-footer-inner-wrap,
.footer-widget-area {
  background-color: #0A0A0A !important;
  color: #BCBCBC !important;
  border-top: 1px solid rgba(244,42,167,0.18);
  padding: 4rem 1.5rem !important;
  font-family: "Outfit", system-ui, sans-serif !important;
}

.site-footer a,
.footer-html a,
.footer-widget-area a {
  color: #F5F5F5 !important;
  text-decoration: none !important;
  transition: color var(--t-fast);
  letter-spacing: 0.05em;
}
.site-footer a:hover,
.footer-html a:hover,
.footer-widget-area a:hover {
  color: var(--c-magenta) !important;
}

.site-footer p,
.site-footer .footer-html-inner {
  color: #BCBCBC !important;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Footer menu list */
.site-footer .menu,
.site-footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
}
.site-footer .menu a,
.site-footer .footer-menu a {
  font-size: 0.72rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

/* Footer credit / copyright */
.footer-html-inner {
  text-align: center;
  font-size: 0.78rem !important;
  color: #888 !important;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .site-footer,
  .site-bottom-footer-wrap {
    padding: 3rem 1.25rem !important;
  }
  .site-footer .menu,
  .site-footer .footer-menu {
    gap: 0.4rem 1.2rem;
  }
}


/* ========================================================
   GLOBAL POLISH — body link colors, selection
   ======================================================== */
::selection {
  background: rgba(244,42,167,0.5);
  color: #FFFFFF;
}
::-moz-selection {
  background: rgba(244,42,167,0.5);
  color: #FFFFFF;
}

/* Smooth scroll respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Improve focus outline (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-magenta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Hero */
.cleofe-hero {
  position: relative;
  min-height: 80vh;
  background-color: var(--c-black-wash);
  color: var(--c-bianco);
}
.cleofe-hero h1 { color: var(--c-bianco); }
.cleofe-hero p { color: var(--c-dust); }

/* Cards */
.card-service, .kadence-blocks-info-box-link-wrap {
  background-color: var(--c-bianco);
  border: 1px solid var(--c-dust-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--t-base);
}
.card-service:hover, .kadence-blocks-info-box-link-wrap:hover {
  border-color: var(--c-magenta);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 13, 13, 0.08);
}

/* Card tatuaggio portfolio */
.tatuaggio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: var(--c-dust-light);
  cursor: pointer;
}
.tatuaggio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.tatuaggio-card:hover img { transform: scale(1.05); }

/* Forms (Fluent) */
.fluentform input[type="text"], .fluentform input[type="email"], .fluentform input[type="tel"],
.fluentform input[type="number"], .fluentform select, .fluentform textarea {
  border: 1px solid var(--c-dust);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: 16px;
  transition: border-color var(--t-fast);
}
.fluentform input:focus, .fluentform select:focus, .fluentform textarea:focus {
  border-color: var(--c-magenta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 42, 167, 0.1);
}
.fluentform .ff-btn-submit {
  background-color: var(--c-magenta) !important;
  border-radius: 9999px !important;
  padding: 1rem 2rem !important;
  font-weight: 600;
}
.fluentform .ff-btn-submit:hover { background-color: var(--c-magenta-dark) !important; }

/* Sticky mobile bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  background-color: var(--c-bianco);
  border-top: 1px solid var(--c-dust-light);
  z-index: 100;
  padding: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 -4px 16px rgba(12, 13, 13, 0.08);
}
.sticky-mobile-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast);
}
.sticky-mobile-bar .stb-whatsapp { background-color: #25D366; color: var(--c-bianco); }
.sticky-mobile-bar .stb-phone { background-color: var(--c-black-wash); color: var(--c-bianco); }
.sticky-mobile-bar .stb-book { background-color: var(--c-magenta); color: var(--c-bianco); }
.sticky-mobile-bar .stb-icon { font-size: 1.25rem; margin-bottom: 0.25rem; }

@media (min-width: 768px) {
  .sticky-mobile-bar { display: none; }
}
@media (max-width: 767px) {
  body { padding-bottom: 80px; }
}

@supports (padding-top: env(safe-area-inset-top)) {
  .sticky-mobile-bar { padding-bottom: env(safe-area-inset-bottom); }
}

/* Footer */
.site-footer, .site-footer-wrap {
  background-color: var(--c-black-wash);
  color: var(--c-dust);
  padding: 4rem 0 2rem;
}
.site-footer h2, .site-footer h3, .site-footer h4 {
  color: var(--c-bianco);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: var(--c-dust); text-decoration: none; transition: color var(--t-fast); }
.site-footer a:hover { color: var(--c-magenta); }

/* Accessibility */
:where(:focus-visible) { outline: 2px solid var(--c-magenta); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--c-magenta);
  color: var(--c-bianco);
  padding: 1rem 2rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* Utility */
.text-magenta { color: var(--c-magenta); }
.bg-magenta { background-color: var(--c-magenta); }
.bg-black-wash { background-color: var(--c-black-wash); }
.bg-magenta-soft { background-color: var(--c-magenta-soft); }
.section { padding: 4rem 1rem; }
@media (min-width: 768px) { .section { padding: 6rem 2rem; } }

/* Touch feedback */
@media (hover: none) {
  .button:active, .card-service:active, .tatuaggio-card:active {
    transform: scale(0.97);
    transition: transform 80ms;
  }
}

/* Body picker style (per shortcode) */
.cleofe-body-picker { font-family: var(--ff-body); }

/* Mockup tool */
.cleofe-mockup-tool {
  max-width: 800px;
  margin: 2rem auto;
  background: linear-gradient(135deg, var(--c-magenta-soft) 0%, var(--c-bianco) 100%);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(244, 42, 167, 0.15);
}

@media (max-width: 600px) {
  .cleofe-mockup-tool { padding: 1.5rem 1rem; border-radius: 16px; }
}

/* Books banner */
.books-status-banner { font-family: var(--ff-body); }

/* Flash card */
.flash-card.is-sold { opacity: 0.5; filter: grayscale(0.6); }


/* =====================================================================
   MOBILE FINAL OVERRIDES — vince su tutto, caricato per ultimo
   ===================================================================== */

/* Marquee scroll keyframe */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.stats-marquee-track span::before {
  content: '✦';
  color: var(--c-magenta, #F42AA7);
  margin-right: 0.6em;
}

/* === MARQUEE: visibile mobile come barra sottile === */
@media (max-width: 1024px) {
  html body .stats-marquee {
    display: flex !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 22px !important;
    max-height: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    overflow: hidden !important;
    background: #0A0A0A !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(244,42,167,0.2) !important;
    z-index: 1002 !important;
  }
  html body .stats-marquee-track {
    display: flex !important;
    gap: 1.6rem !important;
    animation: marquee 35s linear infinite !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  html body .stats-marquee-track span {
    font-size: 0.58rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #BCBCBC !important;
  }
  /* HIDE desktop main header (cosi resta solo mobile-header) */
  html body #main-header {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* === MOBILE HEADER: compatto, sotto la marquee, zero gap === */
@media (max-width: 1024px) {
  html body .site-header,
  html body header.site-header,
  html body #masthead {
    padding: 0 !important;
    margin: 0 !important;
    background: #0A0A0A !important;
    border: 0 !important;
    padding-top: 22px !important; /* = marquee height, zero gap */
  }
  html body #mobile-header,
  html body .site-mobile-header-wrap {
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    background: #0A0A0A !important;
    display: block !important;
    border-bottom: 1px solid rgba(244,42,167,0.15) !important;
  }
  html body #mobile-header .site-header-inner-wrap,
  html body #mobile-header .site-header-upper-wrap,
  html body #mobile-header .site-header-upper-inner-wrap,
  html body #mobile-header .site-main-header-wrap,
  html body #mobile-header .site-header-row-container-inner,
  html body #mobile-header .site-main-header-inner-wrap,
  html body #mobile-header .site-container {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    min-height: 0 !important;
  }
  html body #mobile-header .site-branding,
  html body .mobile-site-branding {
    padding: 0 !important;
    margin: 0 !important;
  }
  html body #mobile-header img,
  html body #mobile-header .custom-logo,
  html body .mobile-site-branding img {
    max-height: 38px !important;
    max-width: 130px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    display: block !important;
  }
  html body .site-description,
  html body .site-tagline {
    display: none !important;
  }
}

/* === EYEBROW SEMPRE display:block (mai inline col titolo) === */
html body .eyebrow-pink,
html body .h-eyebrow,
html body .hero-eyebrow,
html body .cinematic-eyebrow,
html body .section-eyebrow,
html body p.eyebrow-pink {
  display: block !important;
  width: auto !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: #F42AA7 !important;
}

/* === Heading h-cinematic: line-height stretta === */
html body .h-cinematic,
html body h1.h-cinematic,
html body h2.h-cinematic,
html body .cinematic-heading {
  line-height: 1.08 !important;
  margin-top: 0 !important;
  margin-bottom: 1.2rem !important;
}

/* === Mobile: tipografia compatta + spazi ridotti === */
@media (max-width: 768px) {
  html body .eyebrow-pink,
  html body .h-eyebrow,
  html body .hero-eyebrow,
  html body p.eyebrow-pink {
    margin-bottom: 0.75rem !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.25em !important;
  }
  html body .h-cinematic,
  html body h2.h-cinematic {
    line-height: 1.06 !important;
    margin-bottom: 1rem !important;
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }
  html body h1, html body h2 {
    line-height: 1.1 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
  }
  /* Sezioni: padding ridotto */
  html body section,
  html body .cleofe-sec,
  html body .reviews-section,
  html body .portfolio-section,
  html body .studio-split,
  html body .wp-block-group {
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
  }
  /* Hero specifico */
  html body .cleofe-cinematic-hero,
  html body .cleo-hero,
  html body .hero-cinematic,
  html body section[class*="hero"] {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  /* Studio-split content padding */
  html body .studio-split-content {
    padding-top: 1.5rem !important;
  }
  html body .studio-split-content > * + * {
    margin-top: 1rem !important;
  }
  /* Reviews / lavori-recenti spacing */
  html body .reviews-grid,
  html body .pf-grid {
    margin-top: 1.2rem !important;
  }
  /* Logo size */
  html body .site-header .site-branding img,
  html body .site-header .custom-logo,
  html body .site-header .custom-logo-link img {
    max-height: 38px !important;
    max-width: 130px !important;
  }
}

@media (max-width: 420px) {
  html body .site-header .site-branding img,
  html body .site-header .custom-logo,
  html body .mobile-site-branding img {
    max-height: 34px !important;
    max-width: 115px !important;
  }
}
