/* ===========================================================
   econose.it — v3 · LIGHT / PROFESSIONAL / B2B
   Reference tier: Linear, Stripe, Adaline, Envirosuite (modernized)
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-paper: #fbfaf7;
  --bg-soft: #f5f3ee;
  --bg-card: #ffffff;
  --ink: #0f1d1a;
  --ink-soft: #3a4945;
  --ink-mute: #6b7570;
  --ink-dim: #9ba29c;
  --green: #0f3d33;
  --green-deep: #082822;
  --green-soft: #1a5448;
  --accent: #b8553e;
  --accent-soft: #d4795f;
  --rule: rgba(15, 29, 26, 0.08);
  --rule-strong: rgba(15, 29, 26, 0.16);
  --gutter: clamp(1.5rem, 4.5vw, 4rem);
  --max: 1480px;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;
}

/* =============== RESET =============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--green); color: var(--bg); }

/* =============== ACCESSIBLE FOCUS =============== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.brochure-btn:focus-visible,
.form-submit:focus-visible {
  outline-offset: 4px;
}

/* Skip-to-content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: var(--bg);
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* =============== TYPOGRAPHY SYSTEM =============== */
.mono {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.h-display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}
.h-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.h-section {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 55ch;
}

/* =============== LAYOUT =============== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
section { position: relative; }

/* =============== HEADER =============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  height: 56px;
  color: var(--green);
}
.brand img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand svg { height: 100%; width: auto; }

nav.site-nav ul {
  display: flex;
  gap: 2.2rem;
  font-size: 0.92rem;
  font-weight: 500;
}
nav.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--ink-soft);
  transition: color 0.2s;
}
nav.site-nav a:hover { color: var(--green); }
nav.site-nav .nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--green);
  color: var(--bg);
  border-radius: 999px;
  transition: background 0.2s;
}
nav.site-nav .nav-cta:hover { background: var(--green-deep); color: var(--bg); }

@media (max-width: 760px) {
  nav.site-nav ul { gap: 1rem; font-size: 0.82rem; }
  .brand { height: 30px; }
  nav.site-nav li:not(:last-child) { display: none; }
}

/* =============== HERO =============== */
.hero {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 9vh, 7rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--green); }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero .lede { margin-bottom: 2.5rem; max-width: 50ch; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
}
.hero-meta .item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-meta .key {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.hero-meta .val {
  color: var(--ink);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  background: var(--green-deep);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 35%,
    rgba(15, 29, 26, 0.15) 60%,
    rgba(15, 29, 26, 0.85) 100%);
  pointer-events: none;
}
.hero-visual-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.hero-visual-tag .pulse {
  position: relative;
  width: 6px; height: 6px;
}
.hero-visual-tag .pulse::before,
.hero-visual-tag .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
}
.hero-visual-tag .pulse::after {
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.hero-visual-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  line-height: 1.4;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-visual-caption strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #fff;
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; }

.btn-primary {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--bg-card);
}

/* =============== TRUST BAR =============== */
.trust {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.trust-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.trust-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  max-width: 12ch;
  line-height: 1.4;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
}
.trust-items .item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-items .item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .trust-items { gap: 0.9rem 1.5rem; }
  .trust-items .item { font-size: 0.85rem; }
}

/* =============== SECTION COMMON =============== */
section.s {
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head .h-title { margin-bottom: 1rem; }
.section-head .lede { margin: 0; }

/* =============== TWO PILLARS =============== */
.pillars {
  background: var(--bg);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 880px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pillar:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -16px rgba(15, 29, 26, 0.18);
}
.pillar:hover::before { transform: scaleX(1); }

/* Subtle differentiation between the two pillars */
.pillar:nth-child(2) {
  background: var(--bg-paper);
}
.pillar:nth-child(2)::before { background: var(--accent); }
.pillar:nth-child(2) .pillar-icon { background: var(--accent); }
.pillar:nth-child(2) .pillar-link { color: var(--accent); }
.pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pillar-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 500;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  display: grid;
  place-items: center;
}
.pillar-icon svg { width: 16px; height: 16px; }

.pillar h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.pillar h3 .accent { color: var(--accent); }
.pillar p { font-size: 0.96rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.pillar-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green);
  padding-top: 0.5rem;
}
.pillar-link svg {
  width: 14px; height: 14px;
  transition: transform 0.25s;
}
.pillar:hover .pillar-link svg { transform: translateX(4px); }

.pillar-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.5rem;
}
.pillar-features span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =============== ECONOSE PORTALE =============== */
.portale {
  background: var(--bg);
}
.portale-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .portale-body { grid-template-columns: 1fr; }
}
.portale-text p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 56ch;
}
.portale-text strong { color: var(--ink); font-weight: 600; }

/* Method visualization (Aerial photo + render) */
.method-viz {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.6rem;
  position: sticky;
  top: 6rem;
}
.method-viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.method-viz-title {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.method-viz-norm {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green);
  background: rgba(15, 61, 51, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-weight: 500;
}

/* =============== PHONE MOCKUP — econose app =============== */
.phone-mockup {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.5rem;
}

/* Phone outer frame */
.phone-frame {
  position: relative;
  width: 290px;
  aspect-ratio: 290 / 590;
  background: linear-gradient(150deg, #1a1d1c 0%, #0a0d0c 50%, #1a1d1c 100%);
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #2a2d2c,
    0 30px 60px -20px rgba(15, 29, 26, 0.45),
    0 12px 30px -12px rgba(15, 29, 26, 0.30),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Side buttons */
.phone-btn {
  position: absolute;
  background: #1a1d1c;
  border-radius: 2px;
}
.phone-btn-power {
  right: -2px;
  top: 130px;
  width: 3px;
  height: 60px;
}
.phone-btn-vol-up {
  left: -2px;
  top: 110px;
  width: 3px;
  height: 36px;
}
.phone-btn-vol-down {
  left: -2px;
  top: 156px;
  width: 3px;
  height: 36px;
}

/* Notch */
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #0a0d0c;
  border-radius: 14px;
  z-index: 10;
}

/* Screen */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f5f3ee;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.status-time { font-weight: 600; }
.status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.status-icons svg { height: 9px; width: auto; }

/* App header */
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
}
.phone-app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}
.phone-app-logo {
  width: 22px;
  height: 22px;
}
.phone-app-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.phone-app-name .dim {
  color: var(--ink-mute);
  font-weight: 400;
}
.phone-app-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.phone-app-menu span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink-soft);
  border-radius: 1px;
}

/* Session bar */
.phone-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 8px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
}
.phone-session-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.phone-session-tag {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 600;
}
.phone-session-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink);
}
.phone-session-rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  background: rgba(184, 85, 62, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.phone-session-rec .rec-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: rec-blink 1.4s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Map area */
.phone-map {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--green-deep);
}
.phone-map-aerial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.95) saturate(0.85) brightness(0.92);
  z-index: 1;
}
.phone-map-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 29, 26, 0.10) 0%,
    rgba(15, 29, 26, 0.0) 30%,
    rgba(15, 29, 26, 0.0) 70%,
    rgba(15, 29, 26, 0.18) 100%);
  z-index: 2;
  pointer-events: none;
}
.phone-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Floating chips inside map */
.phone-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 12px -4px rgba(15, 29, 26, 0.25);
  border: 1px solid rgba(15, 29, 26, 0.06);
  white-space: nowrap;
}
.phone-chip svg { width: 10px; height: 10px; color: var(--green); }
.phone-chip-wind {
  top: 10px;
  left: 10px;
}
.phone-chip-source {
  bottom: 10px;
  left: 10px;
  color: var(--accent);
  font-weight: 600;
}
.phone-chip-source .chip-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.phone-chip-source .chip-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: chip-pulse 2s ease-out infinite;
}
@keyframes chip-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

/* Map controls (zoom, locate) */
.phone-map-controls {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(15, 29, 26, 0.18);
  border: 1px solid rgba(15, 29, 26, 0.06);
}
.phone-map-controls button {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--rule);
}
.phone-map-controls button:last-child { border-bottom: 0; }
.phone-map-controls button svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

/* Bottom sheet (sliding stats) */
.phone-sheet {
  background: #ffffff;
  padding: 6px 14px 10px;
  border-top: 1px solid var(--rule);
}
.phone-sheet-handle {
  width: 28px;
  height: 3px;
  background: var(--ink-dim);
  border-radius: 2px;
  margin: 0 auto 8px;
  opacity: 0.4;
}
.phone-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sheet-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.sheet-stat-num {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.sheet-stat-num.accent { color: var(--accent); }
.sheet-stat-label {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
  font-weight: 500;
}
.sheet-divider {
  width: 1px;
  height: 22px;
  background: var(--rule);
}

/* Bottom tabs */
.phone-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--rule);
  padding: 6px 4px 8px;
}
.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  color: var(--ink-mute);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  flex: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.phone-tab:hover { color: var(--green); }
.phone-tab svg {
  width: 16px;
  height: 16px;
}
.phone-tab-active {
  color: var(--green);
}
.phone-tab-active svg {
  stroke-width: 2;
}

/* Home indicator (iOS) */
.phone-home {
  width: 90px;
  height: 4px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto 6px;
  opacity: 0.85;
}

/* Legend below stage */
.method-viz-legend {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.method-viz-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.method-viz-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 29, 26, 0.15);
}
.method-viz-legend .dot-green { background: var(--green); }
.method-viz-legend .dot-accent { background: var(--accent); }
.method-viz-legend .dot-source {
  background: var(--accent);
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 4px rgba(184, 85, 62, 0.20),
              0 0 0 1px rgba(15, 29, 26, 0.15);
}

/* Mobile: phone scales down a touch */
@media (max-width: 560px) {
  .phone-frame { width: 260px; }
  .phone-chip { font-size: 8px; padding: 4px 7px; }
}

/* =============== METHOD STEPS =============== */
.method {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* =============== PORTALE FEATURES =============== */
.portale-features {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.portale-features li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  align-items: start;
  transition: border-color 0.2s, transform 0.2s;
}
.portale-features li:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}
.portale-features li svg {
  width: 22px; height: 22px;
  color: var(--green);
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.portale-features li > div { display: flex; flex-direction: column; gap: 0.25rem; }
.portale-features li strong {
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 600;
}
.portale-features li span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* =============== STEP CARDS UPGRADE =============== */
.step-card-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.step-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(15, 61, 51, 0.08);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
.step-icon svg { width: 16px; height: 16px; }
.step-card:hover .step-icon { background: var(--green); color: var(--bg); }

/* =============== DRIMS NUMBERING =============== */
.drims-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.drims-views-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.drims-views-head .drims-num { margin: 0; }
.drims-views-head .drims-text-tag { margin: 0; }

/* =============== HEATMAP META — legend + uses =============== */
.heatmap-meta {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
@media (max-width: 760px) {
  .heatmap-meta { grid-template-columns: 1fr; gap: 2rem; }
}
.legend-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  display: block;
  margin-bottom: 0.9rem;
}
.legend-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.legend-end {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}
.legend-gradient {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(to right,
    #2a3fce 0%,
    #2a8bce 18%,
    #2acea3 36%,
    #cee72a 54%,
    #ffb13a 70%,
    #ff5a3a 84%,
    #d92a8a 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 29, 26, 0.12);
}
.legend-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.heatmap-uses ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.heatmap-uses li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.45;
}
.heatmap-uses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* =============== CONTACT FORM =============== */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2.5rem;
  display: block;
}
.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.contact-card-lede {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1.8rem;
  max-width: 100%;
}
.form-row { margin-bottom: 1rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-row label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-row label span {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-row label span em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-dim);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95em;
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--bg-paper);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(15, 61, 51, 0.1);
}
.form-row textarea { resize: vertical; min-height: 88px; }
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-dim);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: var(--green);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--green-deep); transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit svg { width: 14px; height: 14px; }

.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.form-note a {
  color: var(--green);
  border-bottom: 1px solid currentColor;
}

/* Direct contact rows (under company-card) */
.contact-direct {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.direct-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.direct-row:not(.direct-row-static):hover {
  border-color: var(--green);
  transform: translateY(-1px);
}
.direct-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}
.direct-icon svg { width: 18px; height: 18px; }
.direct-row > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.direct-key {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.direct-val {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
}

/* =============== DRIMS2 SOFTWARE =============== */
.drims {
  background: var(--bg-paper);
  position: relative;
  border-top: 1px solid var(--rule);
}
.drims-feature {
  margin-top: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .drims-feature { grid-template-columns: 1fr; }
}
.drims-feature.reverse {
  grid-template-columns: 1.4fr 1fr;
}
@media (max-width: 880px) {
  .drims-feature.reverse { grid-template-columns: 1fr; }
  .drims-feature.reverse .drims-text { order: 2; }
}

.drims-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--ink);
}
.drims-text h3 .accent { color: var(--accent); }
.drims-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 50ch;
}
.drims-text strong { color: var(--ink); font-weight: 600; }

.drims-text-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.7rem;
  background: rgba(184, 85, 62, 0.08);
  border-radius: 999px;
}

.drims-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: 0 30px 80px -40px rgba(15, 29, 26, 0.3),
              0 8px 24px -8px rgba(15, 29, 26, 0.12);
  border: 1px solid var(--rule);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drims-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px -40px rgba(15, 29, 26, 0.4),
              0 12px 30px -8px rgba(15, 29, 26, 0.18);
}
.drims-image img {
  width: 100%;
  height: auto;
  display: block;
}
.drims-image-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  z-index: 2;
}
.drims-image-tag .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.drims-image-tag .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

/* Three views row (Standard / 3D / Heat Map) */
.drims-views {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.drims-views-image {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.drims-views-image img {
  width: 100%;
  height: auto;
}
.drims-views-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) {
  .drims-views-list { grid-template-columns: 1fr; gap: 1rem; }
}
.drims-views-list .item {
  text-align: center;
}
.drims-views-list .item .title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.drims-views-list .item .desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 26ch;
  margin: 0 auto;
}

/* Heat map showcase - cinematic */
.heatmap-showcase {
  background: var(--bg-soft);
  padding: clamp(4rem, 8vh, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.heatmap-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #000;
  box-shadow: 0 40px 100px -30px rgba(15, 29, 26, 0.35),
              0 16px 40px -12px rgba(15, 29, 26, 0.2);
  aspect-ratio: 16 / 7;
}
.heatmap-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}
.heatmap-frame.in img { transform: scale(1); }
.heatmap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, transparent 60%, rgba(15, 29, 26, 0.35) 100%);
  pointer-events: none;
}
.heatmap-frame-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  z-index: 2;
}
.heatmap-frame-meta {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 0.45rem 0.9rem;
  background: rgba(15, 29, 26, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  font-weight: 500;
  z-index: 2;
}
.heatmap-caption {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.heatmap-caption .title {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
  max-width: 50ch;
  line-height: 1.5;
}
.heatmap-caption .title strong { color: var(--accent); font-weight: 600; }
.heatmap-caption .meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 880px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--bg-paper);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.25s;
}
.step-card:hover { background: var(--bg-card); }
.step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
}
.step-card h4 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.step-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* =============== DRONE SECTION =============== */
.drone {
  background: var(--bg);
}
.drone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) {
  .drone-grid { grid-template-columns: 1fr; }
}

.drone-text p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  max-width: 54ch;
}
.drone-text strong { color: var(--ink); font-weight: 600; }

.drone-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.drone-stat {
  border-top: 1px solid var(--rule-strong);
  padding-top: 1rem;
}
.drone-stat .num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--green);
  margin-bottom: 0.4rem;
}
.drone-stat .num .small {
  font-size: 0.55em;
  color: var(--accent);
  margin-left: 0.1em;
  vertical-align: super;
}
.drone-stat .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  line-height: 1.4;
}

/* Drone visual: image + video */
.drone-visual {
  position: relative;
}
.drone-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-deep);
}
.drone-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Advantages list */
.advantages {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}
.advantage {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: border-color 0.25s;
}
.advantage:hover { border-color: var(--green); }
.advantage-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green);
  color: var(--bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.advantage-icon svg { width: 14px; height: 14px; }
.advantage-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.advantage-text span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* =============== VIDEO BLOCK =============== */
.video-section {
  background: var(--bg);
  padding: clamp(2rem, 5vh, 4rem) 0 clamp(5rem, 10vh, 8rem);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: 0 30px 80px -30px rgba(15, 29, 26, 0.35);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 29, 26, 0.4);
  transition: opacity 0.4s, background 0.4s;
  cursor: pointer;
}
.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: transform 0.25s;
}
.video-overlay:hover .video-play { transform: scale(1.08); }
.video-play svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  margin-left: 4px;
}
.video-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}
.video-caption .title {
  color: var(--bg);
  font-size: 1rem;
  font-weight: 500;
}
.video-caption .meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.7);
  font-weight: 500;
}

/* =============== BROCHURE CALLOUT =============== */
.brochure {
  background: var(--green);
  color: var(--bg);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.brochure::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 85, 62, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.brochure .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .brochure .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
.brochure-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}
.brochure h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--bg);
  max-width: 22ch;
  margin-bottom: 1rem;
}
.brochure p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  margin: 0 0 1.8rem;
  max-width: 50ch;
  line-height: 1.6;
}

.brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--bg);
  color: var(--green);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.brochure-btn:hover { background: var(--accent); color: var(--bg); transform: translateY(-1px); }
.brochure-btn svg { width: 16px; height: 16px; }

.brochure-cover {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5),
              0 12px 30px -10px rgba(0, 0, 0, 0.3);
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.brochure-cover:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.015);
}
.brochure-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.brochure-cover-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(15, 29, 26, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--bg);
  font-weight: 500;
  text-transform: uppercase;
}

/* =============== CONTATTI =============== */
.contatti {
  background: var(--bg);
}
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 760px) {
  .contatti-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2.5rem;
}
.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.contact-list {
  display: grid;
  gap: 0.5rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .key {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.contact-row .val {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 500;
}
.contact-row .val a {
  color: var(--green);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-row .val a:hover { border-color: var(--green); }

.company-card {
  background: var(--green);
  color: var(--bg);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.company-card::before {
  content: "";
  position: absolute;
  bottom: -30%; right: -20%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 85, 62, 0.2) 0%, transparent 70%);
}
.company-card-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.company-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--bg);
}
.company-card p {
  color: rgba(245, 242, 236, 0.85);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 100%;
}
.company-card .meta-list {
  display: grid;
  gap: 0.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 242, 236, 0.15);
  font-size: 0.85rem;
  color: rgba(245, 242, 236, 0.7);
}
.company-card .meta-list strong {
  color: var(--bg);
  font-weight: 500;
  margin-right: 0.5rem;
}

/* =============== FOOTER =============== */
footer.site-footer {
  background: var(--green-deep);
  color: rgba(245, 242, 236, 0.78);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-brand { color: var(--bg); }
.footer-logo {
  display: inline-block;
  height: 56px;
  width: auto;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  box-sizing: content-box;
  object-fit: contain;
}
.footer-brand .desc {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 38ch;
  color: rgba(245, 242, 236, 0.65);
}
.footer-contact-mini {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
}
.footer-contact-mini a {
  color: rgba(245, 242, 236, 0.85);
  transition: color 0.2s;
}
.footer-contact-mini a:hover { color: var(--accent-soft); }

.footer-col-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: grid; gap: 0.6rem; font-size: 0.92rem; line-height: 1.5; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-col li.footer-piva {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(245, 242, 236, 0.12);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(245, 242, 236, 0.55);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 242, 236, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: rgba(245, 242, 236, 0.55);
}
.footer-legal {
  display: flex;
  gap: 1.4rem;
}
.footer-legal a {
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent-soft); }

/* =============== REVEAL =============== */
.r {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.r.in { opacity: 1; transform: none; }
.r.d1 { transition-delay: 0.08s; }
.r.d2 { transition-delay: 0.16s; }
.r.d3 { transition-delay: 0.24s; }
.r.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .r { opacity: 1; transform: none; }
}
