:root {
  --green: #66cc00;
  --green-dark: #46a500;
  --green-soft: #eef9e7;
  --charcoal: #20252b;
  --muted: #5f6872;
  --line: #dfe7dd;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(24, 32, 38, .12);
  --radius: 24px;
  --container: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 86px;
  padding: 14px min(4.5vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(32,37,43,.08);
}
.brand span {
  display: block;
  font-weight: 900;
  font-size: clamp(24px, 2.1vw, 38px);
  letter-spacing: .035em;
  line-height: 1;
}
.brand strong { color: var(--green); }
.brand small {
  display: block;
  margin-top: 7px;
  color: #69727d;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.main-nav { justify-self: center; display: flex; gap: 34px; font-weight: 750; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transition: .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.header-cta, .btn.primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: 0 12px 26px rgba(102,204,0,.32); }
.header-cta:hover, .btn:hover { transform: translateY(-2px); }
.header-cta svg, .btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn.secondary { background: rgba(255,255,255,.78); color: var(--green-dark); border: 1px solid var(--green); box-shadow: none; }
.btn.large { min-height: 58px; padding-inline: 32px; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--charcoal); border-radius: 99px; }

.hero { position: relative; min-height: 660px; overflow: hidden; background: #f4f7f2; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 32%, rgba(255,255,255,.35) 56%, rgba(255,255,255,.05) 100%), url("assets/centrale-termoelettrica-hero.jpg") center/cover no-repeat;
  filter: saturate(.2);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  align-items: center;
  gap: 42px;
  padding-block: 54px 80px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 15px;
  color: var(--green-dark);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(102,204,0,.5);
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.badge svg { width: 20px; height: 20px; fill: currentColor; }
h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 4.2vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 span { color: var(--green-dark); }
.hero-subtitle { max-width: 620px; margin: 24px 0 16px; color: #5c636c; font-size: clamp(20px, 1.65vw, 30px); line-height: 1.2; font-weight: 600; }
.hero-text { max-width: 610px; margin: 0 0 28px; color: #3f4850; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.book-stage { position: relative; min-height: 570px; display: grid; place-items: center; perspective: 1400px; }
.book-shadow { position: absolute; bottom: 28px; width: 58%; height: 46px; background: rgba(0,0,0,.2); filter: blur(24px); border-radius: 50%; transform: rotateX(72deg); }
.book-3d { position: relative; width: min(430px, 76vw); transform: rotateY(-10deg) rotateX(1deg); transform-style: preserve-3d; filter: drop-shadow(0 36px 48px rgba(0,0,0,.25)); }
.book-3d img { width: 100%; border-radius: 2px 10px 10px 2px; position: relative; z-index: 2; }
.book-side { position: absolute; top: 12px; right: -30px; width: 32px; height: calc(100% - 24px); background: linear-gradient(90deg, #e9ebe9, #f7f7f4 35%, #d5d8d2 100%); transform: rotateY(90deg); transform-origin: left; border-radius: 0 8px 8px 0; box-shadow: inset 6px 0 10px rgba(0,0,0,.08); }

.quick-actions { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -50px; }
.action-card { display: grid; grid-template-columns: 92px 1fr; gap: 22px; align-items: center; padding: 24px; background: rgba(255,255,255,.96); border: 1px solid rgba(32,37,43,.08); border-radius: 18px; box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; }
.action-card:hover { transform: translateY(-5px); border-color: rgba(102,204,0,.55); }
.icon-wrap { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); }
.icon-wrap svg { width: 50px; height: 50px; fill: var(--green-dark); }
.action-card h2 { margin: 0 0 6px; font-size: 22px; }
.action-card p { margin: 0 0 10px; color: var(--muted); }
.action-card a { color: var(--green-dark); font-weight: 850; }

.manual-highlight { padding: 36px 0 64px; }
.manual-card { display: grid; grid-template-columns: 118px minmax(260px, .95fr) 1.45fr; gap: 34px; align-items: center; padding: 28px 34px; border-radius: var(--radius); border: 1px solid rgba(102,204,0,.32); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,255,242,.94)); box-shadow: 0 20px 50px rgba(102,204,0,.08); }
.manual-card > img { width: 90px; border-radius: 5px; box-shadow: 0 18px 30px rgba(0,0,0,.18); justify-self: center; }
.section-kicker { margin: 0 0 8px; color: var(--green-dark); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.manual-intro h2, .copy-block h2, .purchase-inner h2, .contact-box h2 { margin: 0 0 12px; font-size: clamp(28px, 2.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.manual-intro p:last-child, .copy-block p:last-child, .purchase-inner p, .contact-box p { color: var(--muted); margin-bottom: 0; }
.manual-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.manual-points div { display: grid; gap: 8px; align-content: start; }
.manual-points svg { width: 48px; height: 48px; fill: var(--green-dark); }
.manual-points strong { font-size: 16px; }
.manual-points span { color: var(--muted); font-size: 14px; }

.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; padding: 26px 0 80px; }
.copy-block { padding: 34px; border-radius: var(--radius); background: #f6f8f4; }
.timeline { display: grid; gap: 18px; }
.timeline div { display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; align-items: start; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid rgba(32,37,43,.08); box-shadow: 0 14px 34px rgba(24,32,38,.08); }
.timeline span { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--green); color: #fff; font-weight: 950; }
.timeline strong { font-size: 20px; }
.timeline p { margin: 0; color: var(--muted); }

.purchase-band { background: linear-gradient(135deg, #1f252a, #15191d); color: #fff; padding: 56px 0; }
.purchase-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.purchase-inner p { color: rgba(255,255,255,.72); }
.purchase-inner .section-kicker { color: var(--green); }

.contact-section { padding: 76px 0; }
.contact-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; padding: 38px; border-radius: var(--radius); background: #f7faf5; border: 1px solid rgba(32,37,43,.08); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; color: #3c4650; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d7e0d2; border-radius: 12px; padding: 14px 16px; font: inherit; background: #fff; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(102,204,0,.15); }
.contact-form button { border: 0; width: fit-content; }

.site-footer { border-top: 1px solid rgba(32,37,43,.08); padding: 28px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto; }
  .nav-toggle { display: block; justify-self: end; }
  .main-nav { position: fixed; inset: 86px 0 auto; display: none; flex-direction: column; gap: 0; padding: 20px; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
  .main-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .hero-content, .split-section, .contact-box { grid-template-columns: 1fr; }
  .book-stage { min-height: 430px; }
  .quick-actions { grid-template-columns: 1fr; margin-top: -30px; }
  .manual-card { grid-template-columns: 100px 1fr; }
  .manual-points { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-header { padding-inline: 20px; }
  .brand small { letter-spacing: .18em; font-size: 10px; }
  .hero-content { padding-top: 38px; }
  .hero-actions, .purchase-inner { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .action-card { grid-template-columns: 1fr; }
  .manual-card { grid-template-columns: 1fr; text-align: left; padding: 24px; }
  .manual-card > img { justify-self: start; }
  .manual-points { grid-template-columns: 1fr; }
  .timeline div { grid-template-columns: 1fr; }
  .contact-box { padding: 24px; }
}
