/* דפי שיווק — אנרגיה פלוס+ · עיצוב ממורכז ומודרני */
:root {
  --navy: #0a355c;
  --navy-deep: #061f38;
  --teal: #12a8bd;
  --teal-soft: #3ecfdf;
  --gold: #f6d23c;
  --gold-deep: #e0b820;
  --ink: #12202c;
  --muted: #5b6e82;
  --paper: #eef3f7;
  --paper-2: #e4ecf3;
  --line: rgba(10, 53, 92, 0.1);
  --shadow: 0 24px 60px rgba(6, 31, 56, 0.14);
  --radius: 18px;
  --font: "Heebo", "Segoe UI", sans-serif;
  --display: "Gveret Levin", "Heebo", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
}
.skip:focus {
  inset-inline-start: 12px;
  top: 12px;
  z-index: 50;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* —— topbar —— */
.topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 18px;
}
.topbar a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 31, 56, 0.22);
  backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.topbar a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.topbar a.is-solid {
  background: #fff;
  color: var(--navy);
  border-color: transparent;
}

/* —— hero: centered composition —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(62, 207, 223, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 40% at 18% 75%, rgba(246, 210, 60, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 88% 20%, rgba(18, 168, 189, 0.28), transparent 45%),
    linear-gradient(165deg, #061f38 0%, #0a4570 42%, #0e7489 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
  animation: grid-drift 22s linear infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 28px, 56px 28px; }
}

.hero__glow {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 210, 60, 0.18), transparent 68%);
  top: 12%;
  left: 50%;
  translate: -50% 0;
  z-index: 0;
  animation: pulse-glow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulse-glow {
  from { opacity: 0.55; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding: 110px 24px 72px;
  animation: rise 0.95s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  margin: 0 0 18px;
  font-size: clamp(3.1rem, 9vw, 5.2rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.brand em {
  font-family: var(--display);
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 4px 24px rgba(246, 210, 60, 0.28);
}

.brand-rule {
  width: 64px;
  height: 3px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: rise 1s var(--ease) 0.12s both;
}

.hero h2 {
  margin: 0 auto 16px;
  font-size: clamp(1.4rem, 3.4vw, 2.05rem);
  font-weight: 700;
  max-width: 18ch;
  line-height: 1.3;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 auto 34px;
  max-width: 36ch;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 12px 32px rgba(246, 210, 60, 0.32);
}
.btn--primary:hover { background: #ffe56a; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10, 53, 92, 0.28);
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }

.page-hero-compact {
  min-height: 72vh;
  min-height: 72dvh;
}

/* —— sections —— */
.section {
  padding: clamp(64px, 9vw, 96px) 24px;
}
.section__inner {
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  color: var(--navy);
  line-height: 1.25;
  text-wrap: balance;
}
.section .lead {
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
  text-wrap: pretty;
}

.section--alt {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(18, 168, 189, 0.1), transparent 50%),
    linear-gradient(180deg, #e8f0f5 0%, var(--paper) 100%);
}

.section--navy {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(62, 207, 223, 0.2), transparent 48%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #0c6278);
  color: #fff;
}
.section--navy h2 { color: #fff; }
.section--navy .lead { color: rgba(255, 255, 255, 0.84); }

.split {
  display: grid;
  gap: 20px;
  text-align: start;
}
@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.pillar {
  padding: 8px 4px 4px;
  border-block-start: 3px solid var(--teal);
}
.section--navy .pillar { border-block-start-color: var(--gold); }

.pillar h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
  color: var(--navy);
}
.section--navy .pillar h3 { color: var(--gold); }

.pillar ul,
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: start;
}
.pillar li,
.feature-list li {
  position: relative;
  padding: 12px 0;
  padding-inline-start: 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
}
.section--navy .pillar li,
.section--navy .feature-list li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}
.pillar li:last-child,
.feature-list li:last-child { border-bottom: none; }

.pillar li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 1.25em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.section--navy .pillar li::before,
.section--navy .feature-list li::before {
  background: var(--gold);
}

.feature-list {
  max-width: 560px;
  margin-inline: auto;
}

.section .cta-row { margin-top: 32px; }

/* —— contact —— */
.section--contact .section__inner {
  display: grid;
  justify-items: center;
}

.form-shell {
  width: min(560px, 100%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 53, 92, 0.08);
  padding: 30px 26px 28px;
  text-align: start;
  animation: rise 0.85s var(--ease) 0.08s both;
}

.form-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 560px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
label.span-2 { margin-top: 14px; }
label span.req { color: #c0392b; }

input,
textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid #c5d3df;
  background: #f8fafc;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 168, 189, 0.18);
  background: #fff;
}
textarea { min-height: 124px; resize: vertical; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form-status.is-ok { color: #0f7a4a; font-weight: 600; }
.form-status.is-err { color: #b42318; font-weight: 600; }

/* —— footer —— */
.footer {
  padding: 40px 24px 44px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; color: #c8e6c9; }
.footer__nav {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.65);
}
.footer__nav a { margin: 0 6px; }
.footer__owner {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.footer__logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__owner-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.footer__owner-tag {
  margin: 0;
  font-size: 0.88rem;
  color: #a5d6a7;
}
.footer__legal {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}
.footer__legal strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

@media (max-width: 560px) {
  .topbar { padding: 14px; gap: 8px; }
  .topbar a { padding: 8px 14px; font-size: 0.86rem; }
  .hero__content { padding: 100px 18px 56px; }
  .section { padding: 56px 18px; }
  .btn { width: 100%; max-width: 320px; }
  .cta-row { flex-direction: column; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; max-width: none; }
}
