/*
Theme Name: Academs Landing
Theme URI: https://jons.co.il/
Author: Jons
Author URI: https://jons.co.il/
Description: One-page Hebrew landing theme for Academs academic guidance, with WhatsApp and phone calls only.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: academs-landing
*/

:root {
  --ink: #17201d;
  --muted: #64706b;
  --paper: #faf7f1;
  --white: #ffffff;
  --line: rgba(23, 32, 29, 0.12);
  --green: #116b59;
  --green-dark: #0b4e43;
  --coral: #e66d57;
  --amber: #e7b858;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Assistant", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 16px 20px auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(23, 32, 29, 0.14);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions,
.sticky-contact {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 800;
  font-size: 1.12rem;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.nav-links {
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--green);
}

.header-call {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  padding: 132px 0 70px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(250, 247, 241, 0.05), rgba(250, 247, 241, 0.58) 44%, rgba(250, 247, 241, 0.98) 73%),
    linear-gradient(0deg, rgba(23, 32, 29, 0.38), rgba(23, 32, 29, 0.02) 42%);
}

.hero-content {
  width: min(520px, calc(100vw - 64px));
  max-width: calc(100vw - 64px);
  margin-left: auto;
  margin-right: clamp(28px, 6vw, 92px);
  padding-inline-end: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9.8ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.05vw, 4.85rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 8px;
  font-size: 1.32rem;
  line-height: 1.15;
}

.hero-text {
  max-width: 560px;
  margin: 20px 0 0;
  color: #26322e;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 600;
}

.hero-actions,
.contact-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(17, 107, 89, 0.26);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(23, 32, 29, 0.16);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  padding: 0 20px;
}

.trust-strip div {
  min-height: 108px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip div:first-child {
  border-radius: 0 12px 12px 0;
}

.trust-strip div:last-child {
  border-radius: 12px 0 0 12px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1.18rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 20px 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card:nth-child(even) {
  transform: translateY(26px);
}

.card-number {
  display: inline-flex;
  color: var(--coral);
  font-weight: 900;
  font-size: 0.95rem;
}

.service-card p,
.split-content li span,
.contact-section p,
.compliance-note p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px 95px;
}

.split-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--white);
}

.split-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding-inline-start: 18px;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 72px 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 20px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  font-size: 1.18rem;
}

.compliance-note {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 34px 38px;
  border-radius: 8px;
  color: #fbf6ee;
  background: var(--ink);
}

.compliance-note h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.compliance-note p {
  max-width: 890px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 38px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(230, 109, 87, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef5ee);
  border: 1px solid rgba(17, 107, 89, 0.18);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 20px 96px;
  color: var(--muted);
  font-weight: 700;
}

.footer-credit {
  color: var(--green);
  font-weight: 800;
}

.footer-credit:hover {
  color: var(--green-dark);
}

.sticky-contact {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(23, 32, 29, 0.2);
  backdrop-filter: blur(16px);
}

.sticky-contact a {
  min-width: 86px;
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
}

.sticky-contact a:first-child {
  color: var(--white);
  background: var(--green);
}

.sticky-contact a:last-child {
  color: var(--ink);
  background: #f1eadf;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    width: min(520px, calc(100vw - 52px));
    max-width: calc(100vw - 52px);
    margin-left: auto;
    margin-right: 26px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(250, 247, 241, 0.95), rgba(250, 247, 241, 0.22) 64%),
      linear-gradient(90deg, rgba(250, 247, 241, 0.12), rgba(250, 247, 241, 0.76));
  }

  .trust-strip,
  .service-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card:nth-child(even) {
    transform: none;
  }

  .split-section {
    padding-top: 46px;
  }

  .split-content {
    padding-inline-start: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px 10px auto;
    gap: 10px;
  }

  .brand {
    font-size: 1rem;
  }

  .header-call {
    padding: 8px 11px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 0 54px;
  }

  .hero-image {
    object-position: 35% center;
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(2.25rem, 10.7vw, 3.35rem);
  }

  .hero-text {
    font-size: 1.07rem;
  }

  .btn {
    width: 100%;
  }

  .trust-strip {
    margin-top: 0;
    padding: 0;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 70px 18px 40px;
  }

  .service-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .split-section {
    padding: 42px 18px 62px;
    gap: 28px;
  }

  .split-image-wrap {
    aspect-ratio: 16 / 11;
  }

  .steps li {
    padding: 20px 66px 20px 14px;
  }

  .compliance-note,
  .contact-section {
    margin-inline: 18px;
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 104px;
  }

  .sticky-contact {
    right: 10px;
    left: 10px;
    justify-content: center;
  }

  .sticky-contact a {
    flex: 1;
  }
}
