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

:root {
  --ink: #101820;
  --paper: #f6f2ea;
  --paper-strong: #fffaf0;
  --steel: #56616b;
  --steel-dark: #28323a;
  --teal: #087f7b;
  --teal-dark: #075e5b;
  --amber: #f5a623;
  --rust: #a24924;
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 22px 60px rgba(16, 24, 32, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 24, 32, 0.9);
  color: #fff;
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel-dark), #151c22);
  color: var(--amber);
  font-weight: 900;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.16rem;
  font-weight: 900;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

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

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #17120a;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.22), rgba(16, 24, 32, 0.72) 45%, rgba(16, 24, 32, 0.94)),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  content: "";
  background: linear-gradient(180deg, rgba(246, 242, 234, 0), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 660px;
  padding: 86px 0 110px;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #ffe0a0;
  font-weight: 900;
}

.eyebrow::before {
  width: 38px;
  height: 3px;
  content: "";
  background: var(--amber);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--amber);
  color: #17120a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 42px;
}

.hero-badge {
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-badge strong {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-badge span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 82px 0;
}

.section-muted {
  background: var(--paper-strong);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--rust);
  font-weight: 900;
}

.section h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(16, 24, 32, 0.72);
  font-size: 1.08rem;
}

.service-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-card,
.trust-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 32, 0.07);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(8, 127, 123, 0.12);
  color: var(--teal-dark);
  font-size: 1.5rem;
}

.service-card h3,
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.2;
}

.service-card p,
.trust-card p {
  margin: 0;
  color: rgba(16, 24, 32, 0.68);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.feature-panel {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--steel-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.feature-number {
  color: var(--amber);
  font-size: clamp(4.5rem, 13vw, 9rem);
  font-weight: 900;
  line-height: 0.86;
}

.feature-panel p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 15px 46px 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  content: "✓";
  background: var(--teal);
  color: #fff;
  font-size: 0.85rem;
  line-height: 20px;
  text-align: center;
}

.cta {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(7, 94, 91, 0.94)),
    var(--hero-image) center / cover no-repeat;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.cta h2 {
  color: #fff;
}

.cta .section-kicker {
  color: var(--amber);
}

.cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(245, 166, 35, 0.8);
  text-underline-offset: 4px;
}

.footer-separator {
  display: inline-block;
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero-badges,
  .service-grid,
  .trust-grid,
  .split,
  .cta-inner {
    grid-template-columns: 1fr;
  }

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

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner {
    width: min(100% - 22px, 1120px);
  }

  .header-call {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.58), rgba(16, 24, 32, 0.92)),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero-badge {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }

  .button {
    width: 100%;
  }

  .feature-panel {
    padding: 28px;
  }

  .footer-inner {
    display: grid;
  }
}
