/*
Theme Name: Rami Metals
Theme URI: https://example.com/
Author: Codex
Description: תבנית עמוד נחיתה RTL עבור רמי מתכות - קניית ברזל, מזגנים ישנים ומיחזור מתכות.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rami-metals
*/

:root {
  --ink: #16201f;
  --steel: #243231;
  --steel-2: #344644;
  --copper: #c9793b;
  --copper-dark: #a85c2b;
  --green: #28745a;
  --cream: #f6f1e8;
  --paper: #fffaf1;
  --muted: #69736f;
  --line: rgba(22, 32, 31, 0.14);
  --shadow: 0 24px 70px rgba(13, 25, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Assistant", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(18, 30, 29, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #22150d;
  background: linear-gradient(135deg, #f3b16f, var(--copper));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  font-size: 1.1rem;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.74);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 130px;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 20, 19, 0.18), rgba(11, 20, 19, 0.88) 58%, rgba(11, 20, 19, 0.96)),
    linear-gradient(180deg, rgba(11, 20, 19, 0.28), rgba(11, 20, 19, 0.78));
}

.hero-content {
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffd29d;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--copper-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.86;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
}

.hero-actions,
.contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn.primary {
  color: #23150c;
  background: linear-gradient(135deg, #ffbd77, var(--copper));
  box-shadow: 0 14px 34px rgba(201, 121, 59, 0.28);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.btn.full {
  width: 100%;
}

.hero-strip {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  left: max(16px, calc((100vw - 1180px) / 2));
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-strip div {
  padding: 18px;
  background: rgba(13, 24, 23, 0.52);
}

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

.hero-strip strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.08rem;
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.intro p:not(.eyebrow),
.contact p {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

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

.service-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(22, 32, 31, 0.08);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--steel);
  font-size: 1.3rem;
}

.service-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.proof-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 62px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(36, 50, 49, 0.96), rgba(40, 116, 90, 0.9)),
    var(--steel);
}

.big-number {
  display: block;
  color: #ffc487;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.82;
  font-weight: 800;
}

.proof-band p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.35rem;
  line-height: 1.45;
}

.proof-band ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-band li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 1.08rem;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.contact-box {
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone {
  display: block;
  width: 100%;
  color: var(--steel);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  font-weight: 800;
  text-align: center;
}

.contact-box small {
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding: 110px 18px 220px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 20, 19, 0.62), rgba(11, 20, 19, 0.94)),
      linear-gradient(90deg, rgba(11, 20, 19, 0.25), rgba(11, 20, 19, 0.82));
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 5.7rem);
  }

  .hero-strip,
  .intro,
  .service-grid,
  .proof-band,
  .proof-band ul,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }

  .hero-strip div {
    padding: 13px 16px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .intro {
    gap: 14px;
  }

  .service-card {
    min-height: auto;
  }

  .proof-band {
    padding: 46px 18px;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .phone {
    font-size: 2rem;
  }
}
