/*
Theme Name: Edil46
Theme URI: https://example.com/edil46
Author: Edil46
Author URI: https://example.com
Description: Tema WordPress per aziende edili: nuove costruzioni, ristrutturazioni, facciate e piscine.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edil46
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Rajdhani:wght@600;700&display=swap");

:root {
  --bg: #f5f4ef;
  --surface: #fffdf8;
  --text: #1f2a37;
  --muted: #5f6b7a;
  --brand: #cc4f1b;
  --brand-strong: #a53f15;
  --ink: #101820;
  --sand: #f1e9dc;
  --line: #e1d8ca;
  --accent: #f7b955;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 16px 34px rgba(16, 24, 32, 0.12);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 10% -20%, #fff3dc, transparent 40%),
    radial-gradient(circle at 100% 0%, #e9f1f7, transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(16, 24, 32, 0.9);
  backdrop-filter: blur(8px);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 16, 21, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #f7b955, #cc4f1b);
}

.site-header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0.5px 0 0 rgba(230, 255, 0, 0.9)) drop-shadow(-0.5px 0 0 rgba(230, 255, 0, 0.9))
    drop-shadow(0 0.5px 0 rgba(230, 255, 0, 0.9)) drop-shadow(0 -0.5px 0 rgba(230, 255, 0, 0.9));
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav .menu,
.main-nav .page_item_has_children > ul {
  list-style: none;
}

.main-nav li {
  list-style: none;
}

.main-nav a {
  color: #f4f8fb;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #ffdca4;
  border-bottom-color: #ffdca4;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f7f9fb;
  background: linear-gradient(115deg, rgba(10, 16, 21, 0.93), rgba(16, 24, 32, 0.84)),
    var(--hero-bg, url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1900&q=80"))
      center/cover;
  padding: 7rem 0 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  aspect-ratio: 1;
  top: -160px;
  right: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 85, 0.3), transparent 65%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -130px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.06);
  filter: blur(1px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero--premium {
  padding-bottom: 3.4rem;
}

.hero__grid--premium {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: end;
}

.hero-copy h1 {
  max-width: none;
}

.hero-quick {
  margin-bottom: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-quick span {
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #080808;
  background: #e6ff00;
}

.hero-split {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 0.54fr 0.46fr;
  min-height: 430px;
}

.hero-video,
.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(230, 255, 0, 0.3);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
  min-height: 430px;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.08));
}

.hero-visual {
  --morph: 0;
  background: #101010;
}

.hero-visual__main,
.hero-visual__sub {
  position: absolute;
  inset: 0;
  background: #1c1c1c center/cover no-repeat;
  transition: opacity 0.3s ease;
}

.hero-visual__main {
  opacity: calc(1 - var(--morph));
  transform: scale(calc(1 + (var(--morph) * 0.03)));
}

.hero-visual__sub {
  opacity: calc(0.12 + (var(--morph) * 0.88));
  clip-path: inset(calc((1 - var(--morph)) * 100%) 0 0 0 round 0);
}

.hero-chip {
  position: absolute;
  padding: 0.4rem 0.58rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #070707;
  background: #e6ff00;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
  animation: chip-drift 4.4s ease-in-out infinite;
}

.hero-chip--top {
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.hero-chip--mid {
  left: 1rem;
  top: 1rem;
  animation-delay: 0.45s;
  z-index: 2;
}

.hero-chip--bot {
  right: 1rem;
  bottom: 1.2rem;
  animation-delay: 0.9s;
  z-index: 2;
}

@keyframes chip-drift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffdea8;
  border: 1px solid rgba(255, 222, 168, 0.25);
  background: rgba(247, 185, 85, 0.1);
}

.hero h1 {
  margin: 0.9rem 0 1rem;
  font-family: "Rajdhani", "Manrope", sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  line-height: 0.97;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 12ch;
}

.hero p {
  max-width: 52ch;
  color: #d2dbe6;
  margin: 0 0 1.3rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.15rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), #dc5f2a);
  color: #fff;
  box-shadow: 0 8px 24px rgba(204, 79, 27, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(247, 249, 251, 0.13), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 1.2rem;
}

.hero-panel {
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-panel h3 {
  margin: 0 0 0.6rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: #e7edf3;
  padding: 0.35rem 0;
}

.hero-points li::before {
  content: "01";
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #ffdea8;
}

.hero-points li:nth-child(2)::before {
  content: "02";
}

.hero-points li:nth-child(3)::before {
  content: "03";
}

.hero-stats {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr);
}

.hero-stat {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 24, 32, 0.36);
  padding: 0.65rem;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
}

.hero-stat span {
  font-size: 0.75rem;
  color: #cfd9e5;
}

.section {
  padding: 5rem 0;
}

.section--light {
  background: linear-gradient(180deg, #f8f6f0, #f2ebe0);
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-intro {
  margin: 0.6rem 0 2rem;
  color: var(--muted);
  max-width: 72ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  box-shadow: 0 10px 24px rgba(12, 20, 30, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #d6b98f;
}

.card__number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: #6a4318;
  background: #ffe4bc;
  margin-bottom: 0.8rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.strip {
  background: linear-gradient(95deg, #101820, #1f2933);
  color: #ecf2f7;
}

.strip .section-title {
  color: #fff6e8;
}

.strip .section-intro {
  color: #d6e0eb;
}

.stats-strip {
  padding: 1.25rem 0;
}

.stats-row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
  border-radius: 12px;
  padding: 0.9rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.9rem;
  color: #ffe0af;
}

.stat-card span {
  font-size: 0.84rem;
  color: #cbd4df;
}

.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  background: #ffffffd4;
  border: 1px dashed #d8c6aa;
  border-radius: 12px;
  padding: 1rem;
}

.step strong {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  color: var(--brand-strong);
}

.work-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5d9c8;
  box-shadow: var(--shadow);
  background: #fff;
}

.work-item:hover .work-item__media {
  transform: scale(1.05);
}

.work-item__media {
  aspect-ratio: 16/10;
  background: #ccc center/cover;
  position: relative;
  transition: transform 0.55s ease;
}

.work-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 12, 18, 0.42), rgba(8, 12, 18, 0));
}

.work-item__badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 999px;
  color: #1f2a37;
  background: #ffdfaa;
  padding: 0.35rem 0.55rem;
}

.work-item__content {
  padding: 1rem 1rem 1.15rem;
}

.work-item__content h3 {
  margin: 0 0 0.35rem;
}

.work-item__content p {
  margin: 0;
  color: var(--muted);
}

.contact-shell {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-panel,
.contact-card {
  border-radius: 14px;
  border: 1px solid #e4d8c7;
  background: #fff;
}

.contact-panel {
  padding: 1.1rem;
}

.contact-panel h3 {
  margin-top: 0;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #eee4d6;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a8795;
}

.contact-card {
  padding: 1rem;
}

.cta-banner {
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(130deg, #cc4f1b, #8f3913);
  color: #fff6ec;
}

.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 64%);
}

.cta-banner h3 {
  margin: 0 0 0.4rem;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.quote-card {
  background: #ffffff;
  border: 1px solid #e6dac8;
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 10px 20px rgba(16, 24, 32, 0.06);
}

.quote-card p {
  margin: 0 0 0.8rem;
  color: #44505d;
}

.quote-card strong {
  display: block;
  color: #101820;
  font-size: 0.92rem;
}

.quote-card span {
  color: #7a8795;
  font-size: 0.8rem;
}

.partners {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.7rem;
}

.partner-pill {
  border-radius: 999px;
  border: 1px solid #dccdb7;
  background: #fff9ef;
  color: #5f503d;
  padding: 0.5rem 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-hero {
  position: relative;
  color: #f4f8fb;
  background: linear-gradient(120deg, rgba(16, 24, 32, 0.95), rgba(28, 42, 58, 0.82)),
    var(--service-hero-bg, url("https://images.unsplash.com/photo-1541976590-713941681591?auto=format&fit=crop&w=1800&q=80"))
      center/cover;
  padding: 5.5rem 0 4rem;
}

main .service-hero {
  color: #f4f8fb !important;
  background: linear-gradient(120deg, rgba(16, 24, 32, 0.95), rgba(28, 42, 58, 0.82)),
    var(--service-hero-bg, none) center/cover !important;
}

.service-hero h1 {
  margin: 0.5rem 0 0.8rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.service-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  border-radius: 14px;
  border: 1px solid #e5d8c6;
  background: linear-gradient(180deg, #ffffff, #fff7ea);
  padding: 1.1rem;
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.06);
}

/* Fix contrast in Servizi > Aree di intervento cards */
.service-cards .service-card {
  background: linear-gradient(180deg, #141414, #0e0e0e) !important;
  border-color: #2f2f2f !important;
  color: #f2f2f2 !important;
}

.service-cards .service-card h3 {
  color: #f5f5f5 !important;
}

.service-cards .service-card ul,
.service-cards .service-card li {
  color: #d4d4d4 !important;
}

main .service-cards .service-card {
  border: 1px solid #2f2f2f !important;
  background: linear-gradient(180deg, #141414, #0e0e0e) !important;
  padding: 1.1rem !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.06) !important;
}

.service-card h3 {
  margin: 0 0 0.45rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #5d6978;
}

.intervention-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.intervention-card {
  background: linear-gradient(165deg, #fffdf8, #f8f1e4);
  border: 1px solid #e4d6c2;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 14px 24px rgba(16, 24, 32, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.intervention-card:hover {
  transform: translateY(-5px);
  border-color: #d9b98b;
  box-shadow: 0 18px 28px rgba(16, 24, 32, 0.11);
}

.intervention-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.intervention-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.intervention-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #cc4f1b, #a33f15);
}

.intervention-card p {
  margin: 0 0 0.75rem;
  color: #556273;
}

.intervention-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.intervention-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5e4f3b;
  background: #fff7ea;
  border: 1px solid #dbc7a7;
}

.intervention-card--highlight {
  background: linear-gradient(145deg, #1a2733, #243746);
  color: #edf4fb;
  border-color: #2e4758;
}

.intervention-card--highlight p {
  color: #d5e0ea;
}

.intervention-card--highlight .intervention-head h3 {
  color: #fff6e8;
}

.intervention-kpi {
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.intervention-kpi strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: #ffdca4;
}

.intervention-kpi span {
  font-size: 0.8rem;
  color: #d6e1eb;
}

.service-showcase {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5d8c6;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #c7c7c7 center/cover;
  transition: transform 0.35s ease;
}

.service-shot:hover {
  transform: translateY(-6px);
}

.page-hero {
  color: #f7fbff;
  background: linear-gradient(120deg, rgba(11, 17, 24, 0.92), rgba(18, 30, 42, 0.82)),
    var(--page-hero-bg, none) center/cover;
  padding: 5.2rem 0 3.9rem;
}

.page-hero h1 {
  margin: 0.5rem 0 0.8rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.project-mosaic {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.project-tile {
  border-radius: 14px;
  min-height: 220px;
  border: 1px solid #dfd1bd;
  box-shadow: var(--shadow);
  background: #ccc center/cover;
  position: relative;
  overflow: hidden;
}

.project-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 14, 20, 0.54), rgba(10, 14, 20, 0));
}

.project-tile span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-page {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-map {
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid #dfd1bd;
  background: linear-gradient(120deg, #f2e8d9, #efe0c8);
  padding: 1rem;
}

.contact-map p {
  margin-top: 0;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
}

.contact-actions a {
  display: block;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid #ddceb9;
  background: #fff;
  font-weight: 700;
}

.site-footer {
  background: #101820;
  color: #d2d9e1;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, #cc4f1b, #9c3e15);
  box-shadow: 0 10px 18px rgba(16, 24, 32, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    padding: 6rem 0 4.8rem;
  }

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

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

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

  .hero__grid--premium {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-video,
  .hero-visual {
    min-height: 330px;
  }
}

@media (max-width: 760px) {
  .site-header__wrap {
    flex-direction: column;
  }

  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section {
    padding: 4rem 0;
  }
}

/* VR46 neon theme override: black + fluorescent yellow */
:root {
  --bg: #060606;
  --surface: #111111;
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --brand: #e6ff00;
  --brand-strong: #cde600;
  --ink: #f6f6f6;
  --sand: #101010;
  --line: #2b2b2b;
  --accent: #e6ff00;
}

body {
  background: radial-gradient(circle at 12% -20%, rgba(230, 255, 0, 0.14), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(230, 255, 0, 0.08), transparent 36%),
    #060606;
  color: #f2f2f2;
}

.section--light,
.contact-map {
  background: linear-gradient(180deg, #0b0b0b, #111111);
}

.section-title {
  color: #f7f7f7;
}

.section-intro {
  color: #c4c4c4;
}

.site-header {
  background: rgba(0, 0, 0, 0.9);
  border-bottom-color: rgba(230, 255, 0, 0.25);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: rgba(230, 255, 0, 0.48);
}

.main-nav a {
  color: #f5f5f5;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #e6ff00;
  border-bottom-color: #e6ff00;
}

.btn--primary {
  background: linear-gradient(135deg, #e6ff00, #cde600);
  color: #080808;
  box-shadow: 0 10px 24px rgba(230, 255, 0, 0.35);
}

.btn--ghost {
  border-color: rgba(230, 255, 0, 0.7);
  color: #e6ff00;
}

.card,
.service-card,
.intervention-card,
.work-item,
.contact-panel,
.contact-card,
.quote-card,
.step {
  background: linear-gradient(180deg, #131313, #0f0f0f) !important;
  border-color: #2f2f2f !important;
  color: #f0f0f0;
}

.card p,
.service-card ul,
.work-item__content p,
.quote-card p,
.contact-list span,
.intervention-card p {
  color: #bbbbbb !important;
}

.card h3,
.service-card h3,
.work-item__content h3,
.quote-card strong,
.intervention-head h3,
.contact-panel h3 {
  color: #f7f7f7 !important;
}

.card__number,
.intervention-icon,
.work-item__badge,
.partner-pill {
  background: #e6ff00 !important;
  color: #090909 !important;
  border-color: #e6ff00 !important;
}

.strip,
.page-hero,
.service-hero,
.hero {
  background-color: #050505;
}

.stat-card,
.hero-stat,
.intervention-kpi {
  border-color: rgba(230, 255, 0, 0.28) !important;
  background: rgba(230, 255, 0, 0.08) !important;
}

.stat-card strong,
.hero-stat strong,
.intervention-kpi strong {
  color: #e6ff00 !important;
}

.scroll-progress__bar,
.scroll-top {
  background: linear-gradient(90deg, #e6ff00, #cde600) !important;
  color: #080808;
}

.site-footer {
  background: #000;
  color: #c8c8c8;
  border-top-color: rgba(230, 255, 0, 0.25);
}

/* remove warm/orange leftovers */
.eyebrow,
.hero-points li::before,
.stat-card strong,
.hero-stat strong,
.intervention-kpi strong {
  color: #e6ff00 !important;
}

.eyebrow {
  border-color: rgba(230, 255, 0, 0.35) !important;
  background: rgba(230, 255, 0, 0.1) !important;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #e6ff00 !important;
  border-bottom-color: #e6ff00 !important;
  background: transparent !important;
}

.card__number,
.work-item__badge,
.partner-pill,
.intervention-icon {
  color: #090909 !important;
  background: #e6ff00 !important;
  border-color: #e6ff00 !important;
}

.hero-panel,
.hero-stat,
.stat-card,
.contact-panel,
.contact-card,
.quote-card,
.intervention-card,
.service-card,
.card,
.step {
  border-color: #2f2f2f !important;
}

.hero-panel,
.hero-stat,
.stat-card,
.intervention-kpi {
  background: rgba(230, 255, 0, 0.08) !important;
}

.cta-banner {
  background: linear-gradient(135deg, #e6ff00, #cde600) !important;
  color: #080808 !important;
  border-color: rgba(230, 255, 0, 0.45) !important;
}

.cta-banner h3,
.cta-banner p,
.cta-banner a {
  color: #080808 !important;
}

.card__number {
  box-shadow: 0 0 0 2px rgba(230, 255, 0, 0.18) inset;
}

/* Gutenberg editable pages */
.gutenberg-page .wp-block-cover,
.gutenberg-page .wp-block-group,
.gutenberg-page .wp-block-columns {
  border-radius: 14px;
}

.gutenberg-page .wp-block-cover {
  overflow: hidden;
  border: 1px solid #2f2f2f;
}

.gutenberg-page .wp-block-group {
  margin-bottom: 1rem;
}

.gutenberg-page .wp-block-button__link {
  border-radius: 10px;
}

.gutenberg-page .wp-block-gallery.has-nested-images figure.wp-block-image img {
  border-radius: 10px;
}

/* Mouse glow effect (desktop only) */
body.mouse-fx::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(
    220px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(230, 255, 0, 0.12),
    rgba(230, 255, 0, 0.05) 28%,
    transparent 62%
  );
  transition: background 0.08s linear;
}

body.mouse-fx.mouse-fx--active::before {
  background: radial-gradient(
    260px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(230, 255, 0, 0.18),
    rgba(230, 255, 0, 0.08) 30%,
    transparent 64%
  );
}

@media (max-width: 980px), (prefers-reduced-motion: reduce) {
  body.mouse-fx::before {
    display: none;
  }
}
