*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #1a1a1a; color: #e0e0e0;
  font-family: 'Fira Sans', sans-serif; font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; align-items: center;
}

.page-wrapper { width: 100%; max-width: 1400px; padding: 28px 48px 80px; }
.page-wrapper--after-hero { padding-top: 60px; }
.page-wrapper--no-hero { padding-top: 90px; }

/* Fixed site header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(22, 22, 22, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.site-header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 24px 48px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  transition: padding 0.25s ease;
}
.site-header.is-scrolled .site-header-inner { padding: 6px 48px; }
.site-header .brand .logo { transition: width 0.25s ease; }
.site-header.is-scrolled .brand .logo { width: 130px; }
.site-header.is-scrolled .menu-btn { width: 36px; height: 36px; transition: width 0.25s ease, height 0.25s ease; }

/* Pages without hero: always compact header */
.body-no-hero .site-header .site-header-inner { padding: 6px 48px; }
.body-no-hero .site-header .brand .logo { width: 130px; }
.body-no-hero .site-header .brand .brand-name { display: none; }
.body-no-hero .site-header .menu-btn { width: 36px; height: 36px; }
.site-header.is-scrolled .brand .brand-name { opacity: 0; transition: opacity 0.2s ease; }
.site-header .brand .brand-name { transition: opacity 0.25s ease; }
/* Over hero the logo needs drop-shadow for readability; over scrolled bg it's already on dark */
.body-over-hero .site-header:not(.is-scrolled) .brand .logo { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55)); }
.body-over-hero .site-header:not(.is-scrolled) .brand .brand-name { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.body-over-hero .site-header:not(.is-scrolled) .menu-btn { border-color: rgba(255,255,255,0.55); background: rgba(0,0,0,0.2); backdrop-filter: blur(4px); }
.body-over-hero .site-header:not(.is-scrolled) .menu-btn span { background: #fff; }

/* Hero */
.hero {
  position: relative; width: 100vw; height: 100vh; min-height: 640px;
  background-size: cover; background-position: center center;
  background-color: #222; color: #fff; overflow: hidden;
  flex-shrink: 0;
}
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.70) 0%,
      rgba(0,0,0,0.25) 25%,
      rgba(0,0,0,0.05) 50%,
      rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.scroll-cue {
  position: absolute; right: 48px; bottom: 44px; z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 14px; display: block; text-decoration: none;
  transition: border-color 0.2s ease;
}
.scroll-cue:hover { border-color: #fff; }
.scroll-cue-dot {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 7px; border-radius: 2px;
  background: #fff; transform: translateX(-50%);
  animation: scroll-cue-anim 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scroll-cue-anim {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  30%  { opacity: 1; }
  70%  { opacity: 1; transform: translate(-50%, 16px); }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; aspect-ratio: 4/5; }
  .scroll-cue { right: 20px; bottom: 20px; }
  .site-header-inner { padding: 16px 20px; }
  .site-header.is-scrolled .site-header-inner { padding: 5px 20px; }
}
@media (max-width: 560px) {
  .hero { aspect-ratio: 3/4; }
  .site-header .brand .logo { width: 200px; }
  .site-header.is-scrolled .brand .logo { width: 140px; }
}

.brand { position: relative; display: inline-block; text-decoration: none; color: inherit; }
.brand .logo { width: 360px; height: auto; display: block; }
/* Il marchio generativo può sforare il viewBox di qualche unità: non clippare. */
.brand svg.logo { overflow: visible; }

/* Dual-logo cross-fade in the site-header.
   Width is driven by the generic .brand .logo rules (so mobile/scrolled breakpoints
   apply uniformly). --mark is absolutely stacked over --full and cross-fades in
   TOWARD THE END of the width shrink, so the size change and logo swap feel continuous. */
.site-header .brand .logo--full {
  opacity: 1;
  transition: width 0.25s ease, opacity 0.15s ease 0.15s;
}
.site-header .brand .logo--mark {
  position: absolute; top: 0; left: 0;
  opacity: 0; pointer-events: none;
  transition: width 0.25s ease, opacity 0.15s ease 0.15s;
}
.site-header.is-scrolled .brand .logo--full { opacity: 0; }
.site-header.is-scrolled .brand .logo--mark { opacity: 1; }

/* Pages without hero: header is always compact; only the mark is shown in flow. */
.body-no-hero .site-header .brand .logo--full { display: none; }
.body-no-hero .site-header .brand .logo--mark {
  position: static; opacity: 1; transition: none;
}

/* Footer: mark in normal flow. */
.site-footer .brand .logo--mark { position: static; opacity: 1; }
.brand .brand-name {
  display: block; margin-top: 12px;
  font-weight: 400; font-size: 0.95rem; letter-spacing: 0.04em;
  color: #f0ecd8; font-style: italic;
}

/* Right-side header cluster: language pill + hamburger, vertically centred
   on each other and kept at the top-right of the header. */
.header-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher pill — same look as the archive filter buttons (.filter-btn). */
.lang-switch {
  display: inline-flex; align-items: center;
  background: transparent; border: 1px solid #a0a0a0; color: #e0e0e0;
  font-family: 'Fira Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 20px; cursor: pointer;
  transition: all 0.25s ease; white-space: nowrap; text-decoration: none; line-height: 1;
}
.lang-switch:hover { background: rgba(255, 255, 255, 0.12); border-color: #c0c0c0; color: #fff; }
.body-over-hero .site-header:not(.is-scrolled) .lang-switch {
  border-color: rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px); color: #fff;
}

/* Hamburger */
.menu-btn {
  width: 44px; height: 44px; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.menu-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu-btn span {
  display: block; width: 18px; height: 1.5px; background: #e0e0e0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-panel {
  position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
  background: rgba(30, 30, 30, 0.96); backdrop-filter: blur(10px);
  padding: 100px 32px 32px; z-index: 999;
  transform: translateX(100%); transition: transform 0.3s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-panel.is-open { transform: translateX(0); }
.menu-panel a {
  display: block; color: #e8e4d4; text-decoration: none;
  font-size: 1.05rem; font-weight: 400; letter-spacing: 0.02em;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}
.menu-panel a:hover, .menu-panel a.is-current { color: #fff; }
.menu-panel a.is-current { font-weight: 500; }

.menu-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 998;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================
   Typography + editorial system
   ========================================================== */

/* Common shared utilities */
.kicker {
  display: inline-block;
  font-family: 'Fira Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #c9c3a8;
  font-weight: 500;
}
.hairline {
  display: block; height: 1px; width: 64px;
  background: rgba(240, 236, 216, 0.4);
  margin: 20px 0 28px;
}
.display {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500; letter-spacing: -0.01em; color: #f4f1e2;
}

/* Page intro — used by subpages */
.page-intro {
  margin-bottom: 72px; padding-bottom: 0;
}
.page-intro .kicker { margin-bottom: 16px; }
.page-intro h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-size: 3.2rem; line-height: 1.05;
  letter-spacing: -0.015em; color: #f6f3e5;
}
.page-intro .lede {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.25rem; line-height: 1.55; color: #e5e1d0;
  font-style: italic; margin-top: 24px; max-width: 620px;
}

/* Prose block */
.prose { max-width: 680px; font-size: 1.02rem; line-height: 1.75; color: #dcd8c6; }
.prose p { margin-bottom: 22px; }
.prose p.lead { font-size: 1.2rem; color: #ececec; font-style: italic; margin-bottom: 36px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: #f0ecd8; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }

/* Home: introduction block after hero */
.home-intro { max-width: 820px; margin-bottom: 64px; }
.home-intro h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-size: 2.6rem; line-height: 1.1;
  letter-spacing: -0.015em; color: #f4f1e2;
  margin: 20px 0 22px;
}
.home-intro p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.2rem; line-height: 1.55; color: #e1ddcd;
  font-style: italic; max-width: 640px;
}

/* Home: editorial cards linking to subpages */
.editorial-list { margin-top: 24px; }
.editorial {
  border-top: 1px solid rgba(240, 236, 216, 0.14);
}
.editorial:last-of-type { border-bottom: 1px solid rgba(240, 236, 216, 0.14); }
.editorial-link {
  display: grid; grid-template-columns: 64px 1fr 40px;
  gap: 32px; align-items: start;
  padding: 44px 0;
  text-decoration: none; color: inherit;
  transition: background-color 0.3s ease;
}
.editorial-link:hover { background-color: rgba(255, 255, 255, 0.02); }
.editorial-num {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 3rem; font-style: italic; color: #c9c3a8;
  padding-top: 6px;
}
.editorial-body { max-width: 620px; }
.editorial-kicker {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #c9c3a8;
  font-weight: 500; margin-bottom: 10px;
}
.editorial-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-size: 2rem; line-height: 1.15;
  margin-bottom: 14px; color: #f4f1e2;
  letter-spacing: -0.01em;
}
.editorial-text { color: #d6d2c2; font-size: 0.98rem; line-height: 1.65; }
.editorial-arrow {
  align-self: start; padding-top: 14px; color: #c9c3a8;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.6rem; font-style: italic;
  transition: transform 0.3s ease, color 0.2s ease;
  justify-self: end;
}
.editorial-link:hover .editorial-arrow { transform: translateX(8px); color: #fff; }

/* Editorial card with inline preview (used by gallery card on home) */
.editorial--with-media .editorial-media {
  grid-column: 1 / -1; margin-top: 28px;
}

/* Services detail list */
.services-detail { list-style: none; padding: 0; margin-top: 16px; counter-reset: s-counter; }
.services-detail > li {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 32px; padding: 36px 0;
  border-top: 1px solid rgba(240, 236, 216, 0.14);
  counter-increment: s-counter;
}
.services-detail > li:last-child { border-bottom: 1px solid rgba(240, 236, 216, 0.14); }
.services-detail .s-num {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 3rem; font-style: italic; color: #c9c3a8;
  padding-top: 6px; line-height: 1;
}
.services-detail .s-num:empty::before { content: counter(s-counter, decimal); }
.services-detail h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-size: 1.7rem;
  margin-bottom: 10px; color: #f4f1e2;
  letter-spacing: -0.005em;
}
.services-detail p { color: #cfc9b7; line-height: 1.65; max-width: 600px; font-size: 0.98rem; }
.services-detail .s-tags {
  margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #a8a290;
}

/* Clickable service rows linking to each service detail page.
   display:contents lets the anchor's children stay grid items of the <li>. */
.services-detail .s-link {
  display: contents;
  text-decoration: none; color: inherit;
}
.services-detail .s-link h2 { transition: color 0.2s ease; }
.services-detail .s-link:hover h2,
.services-detail .s-link:focus-visible h2 { color: #eeb21d; }
.services-detail .s-more {
  display: inline-block; margin-top: 16px;
  font-family: 'Fira Sans', system-ui, sans-serif;
  font-size: 0.82rem; letter-spacing: 0.04em; color: #c9c3a8;
  transition: color 0.2s ease, transform 0.2s ease;
}
.services-detail .s-link:hover .s-more,
.services-detail .s-link:focus-visible .s-more { color: #eeb21d; transform: translateX(3px); }

/* Info columns — dove-siamo, contatti */
.info-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px; max-width: 820px; margin-top: 16px;
}
.info-block h2 {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #c9c3a8;
  font-weight: 500; margin-bottom: 14px;
}
.info-block p, .info-block address { color: #e0dcc8; line-height: 1.7; font-style: normal; font-size: 1rem; }
.info-block a { color: #f0ecd8; text-decoration: underline; text-underline-offset: 3px; }
.info-block a:hover { color: #fff; }
.info-block .big {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.5rem; line-height: 1.25; font-style: italic;
  color: #f4f1e2;
}
.info-block .info-link { margin-top: 14px; }

/* Map */
.map-frame {
  margin-top: 40px; border: 1px solid rgba(240, 236, 216, 0.14);
  background: #1a1a1a; aspect-ratio: 16/9; overflow: hidden;
  max-width: 900px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Related links block — "Continua la visita" */
.related {
  margin-top: 88px; padding-top: 40px;
  border-top: 1px solid rgba(240, 236, 216, 0.14);
}
.related .kicker { margin-bottom: 18px; }
.related-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; max-width: 820px;
}
.related-card {
  display: block; padding: 24px 26px;
  border: 1px solid rgba(240, 236, 216, 0.14);
  text-decoration: none; color: inherit;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.related-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(240, 236, 216, 0.3);
}
.related-card .r-label {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #c9c3a8;
  font-weight: 500; margin-bottom: 10px;
}
.related-card .r-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.35rem; color: #f4f1e2; line-height: 1.2;
}

/* Home gallery preview, enriched */
.gallery-preview {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-top: 8px;
}
.gallery-preview img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  filter: grayscale(8%); transition: opacity 0.3s ease, filter 0.3s ease;
}
.gallery-preview a { display: block; overflow: hidden; }
.gallery-preview a:hover img { opacity: 0.85; filter: grayscale(0); }

/* ==========================================================
   Site footer
   ========================================================== */
.site-footer {
  width: 100vw; flex-shrink: 0;
  margin-top: 80px; padding: 56px 48px 36px;
  border-top: 1px solid rgba(240, 236, 216, 0.12);
  color: #b8b4a2; font-size: 0.88rem;
  background: rgba(0, 0, 0, 0.08);
}
.site-footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
  align-items: start;
}
.site-footer .brand .logo { width: 180px; }
.site-footer .brand .brand-name { color: #d4d0be; font-size: 0.82rem; margin-top: 8px; }
.site-footer h2 {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #d4d0be;
  font-weight: 500; margin-bottom: 14px;
}
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a, .site-footer .footer-contact a {
  color: #cfc9b7; text-decoration: none;
  font-size: 0.9rem; letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.site-footer nav a:hover, .site-footer .footer-contact a:hover { color: #fff; }
.site-footer .footer-contact p,
.site-footer .footer-contact address {
  font-style: normal; color: #cfc9b7; line-height: 1.65; font-size: 0.9rem;
}
/* Free widget content dropped into footer columns: keep blocks on-brand.
   Spacing comes from the inner h4/p margins, so stacked block-widgets
   (es. i contatti = heading + paragrafi) restano compatti come un blocco solo. */
.site-footer .footer-col p,
.site-footer .footer-col li,
.site-footer .footer-col address {
  font-style: normal; color: #cfc9b7; line-height: 1.65; font-size: 0.9rem; margin: 0 0 6px;
}
.site-footer .footer-col a { color: #cfc9b7; text-decoration: none; transition: color 0.2s ease; }
.site-footer .footer-col a:hover { color: #fff; }
.site-footer .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .footer-col img { max-width: 100%; height: auto; }
/* Social icons under the footer brand mark. */
.site-footer .footer-social { display: flex; flex-direction: row; align-items: center; gap: 16px; margin-top: 18px; }
.site-footer .footer-social a { color: #cfc9b7; display: inline-flex; transition: color 0.2s ease; }
.site-footer .footer-social a:hover { color: #fff; }
.site-footer .footer-social svg { width: 22px; height: 22px; fill: currentColor; display: block; }
/* Full-width bottom strip (EU funding + copyright), now a widget area. */
.site-footer .footer-bottom { grid-column: 1 / -1; }
.site-footer .footer-bottom .footer-widget { margin: 0; }
.site-footer .footer-eu {
  grid-column: 1 / -1; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(240, 236, 216, 0.08);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.site-footer .footer-eu-logo {
  height: 44px; width: auto; flex-shrink: 0; display: block;
}
.site-footer .footer-eu-text {
  margin: 0; color: #fff; font-size: 0.9rem;
  line-height: 1.4; letter-spacing: 0.01em; font-weight: 400;
}
/* Stringa loghi istituzionali (UE / Repubblica Italiana / PNRR Cultura – MiC).
   Artwork già pensato per fondo scuro: nessun pannello, si appoggia sul footer. */
.site-footer .footer-logos {
  grid-column: 1 / -1; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(240, 236, 216, 0.08);
}
.site-footer .footer-logos-img {
  display: block; width: 100%; max-width: 560px; height: auto;
}
.site-footer .copyright {
  grid-column: 1 / -1; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(240, 236, 216, 0.08);
  font-size: 0.78rem; color: #9a9684; letter-spacing: 0.02em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .page-intro h1 { font-size: 2.4rem; }
  .home-intro h2 { font-size: 2rem; }
  .home-intro p { font-size: 1.08rem; }
  .editorial-link { grid-template-columns: 44px 1fr 32px; gap: 18px; padding: 36px 0; }
  .editorial-title { font-size: 1.65rem; }
  .services-detail > li { grid-template-columns: 44px 1fr; gap: 18px; padding: 30px 0; }
  .services-detail h3 { font-size: 1.4rem; }
  .info-cols { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 40px 20px 28px; }
}
@media (max-width: 560px) {
  .page-wrapper { padding: 20px 16px 60px; }
  .brand .logo { width: 260px; }
  .site-header.is-scrolled .brand .logo { width: 110px; }
  .body-no-hero .site-header .brand .logo { width: 110px; }
  .menu-panel { width: 240px; padding: 80px 24px 24px; }
  .gallery-preview { grid-template-columns: repeat(3, 1fr); }
  .page-intro h1 { font-size: 1.95rem; }
  .home-intro h2 { font-size: 1.7rem; }
  .editorial-link { grid-template-columns: 36px 1fr; padding: 28px 0; }
  .editorial-arrow { display: none; }
  .editorial-title { font-size: 1.4rem; }
  .services-detail > li { grid-template-columns: 36px 1fr; padding: 24px 0; }
  .services-detail h3 { font-size: 1.25rem; }
}

/* Keep older .site-content helpers as fallback (still used in places) */
.site-content { max-width: 720px; }
.site-content p { color: #d8d8d8; margin-bottom: 12px; }
.site-content address { font-style: normal; color: #d8d8d8; }
.site-content a { color: #f0ecd8; text-decoration: underline; text-underline-offset: 3px; }
.site-content a:hover { color: #fff; }

/* Contact Form 7 — matched to the rounded filter aesthetic, on the dark page. */
.wpcf7 { max-width: 560px; }
.wpcf7-form p { margin-bottom: 22px; }
.wpcf7-form label {
  display: block;
  font-family: 'Fira Sans', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: #b8b4a4;
}
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7-form input.wpcf7-text,
.wpcf7-form input.wpcf7-email,
.wpcf7-form textarea.wpcf7-textarea {
  width: 100%; box-sizing: border-box;
  background: transparent; border: 1px solid #a0a0a0; color: #e8e4d4;
  font-family: 'Fira Sans', sans-serif; font-size: 0.95rem;
  padding: 12px 18px; border-radius: 22px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.wpcf7-form textarea.wpcf7-textarea { border-radius: 18px; resize: vertical; min-height: 140px; line-height: 1.6; }
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: #8a877c; }
.wpcf7-form input.wpcf7-text:focus,
.wpcf7-form input.wpcf7-email:focus,
.wpcf7-form textarea.wpcf7-textarea:focus {
  outline: none; border-color: #ffffff; background: rgba(255, 255, 255, 0.04);
}

/* Submit — same pill as .filter-btn, filling to the active state on hover. */
.wpcf7-form input.wpcf7-submit {
  background: transparent; border: 1px solid #a0a0a0; color: #e0e0e0;
  font-family: 'Fira Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 10px 30px; border-radius: 20px; cursor: pointer;
  transition: all 0.25s ease;
}
.wpcf7-form input.wpcf7-submit:hover { background: #ffffff; border-color: #ffffff; color: #1a1a1a; }

/* Validation + response messaging */
.wpcf7-form .wpcf7-not-valid { border-color: #d98b8b; }
.wpcf7-not-valid-tip { color: #e6a6a6; font-size: 0.8rem; margin-top: 6px; }
.wpcf7-response-output {
  border-radius: 14px; padding: 12px 18px; font-size: 0.9rem;
  margin: 8px 0 0; border: 1px solid rgba(255, 255, 255, 0.2);
}
.wpcf7-response-output:empty { display: none; }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output { border-color: #d98b8b; color: #e6a6a6; }
.wpcf7-form.sent .wpcf7-response-output { border-color: #9fcf9f; color: #b6e0b6; }
.wpcf7-spinner { background-color: #b8b4a4; }
