/* ==========================================================================
   Al Jazeena Metal Scrap Tradings LLC Ã¢â‚¬â€ Industrial & Bold design system
   ========================================================================== */

:root {
  --bg: #0f1115;
  --bg-alt: #161a21;
  --bg-card: #1c212b;
  --bg-card-hover: #232a36;
  --line: #2a3240;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --text-muted: #9aa3b2;
  --text-dim: #6b7484;
  --primary: #f59e0b;
  --primary-hover: #fbbf24;
  --primary-soft: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 17px;
}

.section-head {
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.section-head--center .section-sub {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #151004;
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--text);
  color: #151004;
}

.btn--light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--text-muted);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 46px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.topbar__item a:hover {
  color: var(--primary);
}

.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__hours svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #d97706);
  display: grid;
  place-items: center;
  color: #151004;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 24px;
  height: 24px;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.brand__logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav__cta {
  margin-left: 10px;
  padding: 11px 22px;
  font-size: 14px;
}

.nav__list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li {
  margin: 0;
  padding: 0;
}

/* Mobile menu */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.open .icon-open {
  display: none;
}

.nav-toggle.open .icon-close {
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 110px 0 130px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(245, 158, 11, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(217, 119, 6, 0.12), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(700px 420px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 420px at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin: 18px 0 22px;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}

.brand-banner {
  background:
    radial-gradient(120% 200% at 50% -20%, rgba(245, 158, 11, 0.25), transparent 60%),
    linear-gradient(135deg, #1b202a, #12151b);
  border-top: 1px solid rgba(245, 158, 11, 0.18);
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  padding: 26px 0;
  text-align: center;
}

.brand-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-banner__ar {
  direction: rtl;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #e07d0a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-banner__en {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__badges svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}

.hero__visual {
  position: relative;
}

.hero__img {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card {
  position: absolute;
  background: rgba(28, 33, 43, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}

.hero__card--top {
  top: 22px;
  left: -34px;
}

.hero__card--bottom {
  bottom: 26px;
  right: -28px;
}

.hero__card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero__card-icon svg {
  width: 21px;
  height: 21px;
}

.hero__card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
}

.hero__card span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #151004;
  padding: 34px 0;
  margin-top: -54px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

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

.stats__item {
  text-align: center;
  padding: 8px 10px;
}

.stats__item + .stats__item {
  border-left: 1px solid rgba(21, 16, 4, 0.18);
}

.stats__value {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats__value sup {
  font-size: 0.5em;
}

.stats__label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}

/* ==========================================================================
   Services
   ========================================================================== */

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   About preview
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.about-grid__media {
  position: relative;
}

.about-grid__img {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}

.about-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid__badge {
  position: absolute;
  bottom: -22px;
  right: 22px;
  background: var(--primary);
  color: #151004;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-grid__badge strong {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-grid__badge span {
  font-size: 13px;
  font-weight: 600;
}

.about-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 30px;
}

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ==========================================================================
   Value props (4 features)
   ========================================================================== */

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

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.value-card__icon svg {
  width: 23px;
  height: 23px;
}

.value-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

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

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-soft);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(15, 17, 21, 0.92) 0%, rgba(15, 17, 21, 0.25) 55%, transparent 100%);
}

.portfolio-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-card__title svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--primary);
}

.testimonial-card__stars svg {
  width: 17px;
  height: 17px;
}

.testimonial-card blockquote {
  color: var(--text);
  font-size: 15.5px;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-card__author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
}

.testimonial-card__author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(245, 158, 11, 0.22), transparent 60%),
    linear-gradient(135deg, #1c212b, #232a36);
  border: 1px solid var(--line);
  padding: 60px;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--primary-soft);
  filter: blur(10px);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 8px;
}

.cta p {
  color: var(--text-muted);
  font-size: 17px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  padding: 78px 0 84px;
  position: relative;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(245, 158, 11, 0.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
}

.page-hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin-top: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

.breadcrumb .sep {
  color: var(--text-dim);
}

/* ==========================================================================
   About page
   ========================================================================== */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mission-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.mission-card__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.mission-card__icon svg {
  width: 28px;
  height: 28px;
}

.mission-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s ease;
}

.contact-card:hover {
  border-color: var(--primary);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 23px;
  height: 23px;
}

.contact-card h3 {
  font-size: 15px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}

.contact-card a:hover {
  color: var(--primary);
}

.map-frame {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;  filter: grayscale(0.9) contrast(1.1);
}

.map-frame--full iframe {
  height: 420px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  font-size: 14.5px;
}

.form-success.show {
  display: block;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-grid {
  display: grid;
  gap: 28px;
}

.blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.blog-card__img {
  position: relative;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.blog-card h3 {
  font-size: 21px;
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.blog-card__more {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
}

.blog-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__more svg {
  transform: translateX(4px);
}

/* Sidebar */

.sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.sidebar-widget h3 {
  font-size: 17px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sidebar-widget li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--line-soft);
}

.sidebar-widget li:last-child a {
  border-bottom: none;
}

.sidebar-widget li a:hover {
  color: var(--primary);
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 46px 12px 16px;
  color: var(--text);
}

.search-field input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-field button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #151004;
}

.search-field button svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Article page
   ========================================================================== */

.article {
  max-width: 780px;
  margin: 0 auto;
}

.article__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article__meta svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.article__hero-img {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  margin-bottom: 34px;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}

.article__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article h2 {
  font-size: 28px;
  margin: 34px 0 14px;
}

.article h3 {
  font-size: 22px;
  margin: 28px 0 12px;
}

.article p,
.article li {
  color: var(--text-muted);
  font-size: 16.5px;
}

.article p {
  margin-bottom: 18px;
}

.article ul {
  margin: 0 0 18px 4px;
}

.article ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
}

.article blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
  margin: 28px 0;
  color: var(--text);
  font-size: 17px;
  font-style: italic;
}

.article .tip {
  background: var(--primary-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 15px;
  color: var(--text);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding-top: 70px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 18px 0 24px;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.footer__social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #151004;
  transform: translateY(-3px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer__links a svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
}

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__contact a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

.footer__bottom-inner a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }

.text-primary { color: var(--primary); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .hero__inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 480px;
  }

  .hero__card--top {
    left: 0;
  }

  .hero__card--bottom {
    right: 0;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    justify-content: center;
  }

  .topbar__hours {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 90px 24px 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 17px;
    padding: 14px 16px;
    border-radius: 10px;
  }

  .nav__cta {
    margin: 14px 0 0;
    width: 100%;
  }

  .nav-toggle {
    display: grid;
    position: fixed;
    top: 62px;
    right: 24px;
    z-index: 1001;
  }

  .nav-toggle.open {
    top: 15px;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-scrim.open {
    opacity: 1;
    pointer-events: auto;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stats__item + .stats__item {
    border-left: none;
  }

  .stats__item:nth-child(3) {
    border-left: none;
  }

  .stats {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .mission-grid,
  .values-grid,
  .grid-2,
  .form-grid,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card__img {
    aspect-ratio: 16 / 9;
  }

  .cta {
    padding: 40px 26px;
  }

  .form-card {
    padding: 28px 22px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 80px 0 90px;
  }

  .hero__card--top {
    left: 10px;
  }

  .hero__card--bottom {
    right: 10px;
    min-width: 180px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   WordPress
   ========================================================================== */

.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.header .custom-logo {
  max-height: 44px;
  width: auto;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content > p,
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
  padding-left: 24px;
  padding-right: 24px;
}

.entry-content > p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
  font-family: var(--font-head);
  color: var(--text);
}

.entry-content > h2 {
  font-size: 28px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   Contact Form 7 Ã¢â‚¬â€ match the theme form styling
   ========================================================================== */

.contact-form .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.contact-form .wpcf7 label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.contact-form .wpcf7 input[type="text"],
.contact-form .wpcf7 input[type="email"],
.contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 textarea,
.contact-form .wpcf7 select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .wpcf7 input:focus,
.contact-form .wpcf7 textarea:focus,
.contact-form .wpcf7 select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-form .wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .wpcf7 input::placeholder,
.contact-form .wpcf7 textarea::placeholder {
  color: var(--text-dim);
}

.contact-form .wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--primary);
  color: #151004;
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.contact-form .wpcf7 .wpcf7-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.contact-form .wpcf7 .wpcf7-not-valid {
  border-color: #e5484d;
}

.contact-form .wpcf7 .wpcf7-not-valid-tip {
  color: #e5484d;
  font-size: 13px;
  margin-top: 6px;
}

.contact-form .wpcf7 .wpcf7-response-output:not(:empty) {
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  padding: 14px 16px;
  margin: 0;
}

.contact-form .wpcf7 .wpcf7-validation-errors,
.contact-form .wpcf7 .wpcf7-acceptance-missing {
  border-color: #e5484d;
}

.contact-form .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--success);
}

/* ==========================================================================
   Post content / navigation / comments
   ========================================================================== */

.article__content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.article__content > *:first-child {
  margin-top: 0;
}

.article__content h2,
.article__content h3,
.article__content h4 {
  font-family: var(--font-head);
  margin: 2em 0 0.7em;
  color: var(--text);
}

.article__content h2 {
  font-size: 26px;
}

.article__content a {
  color: var(--primary);
}

.article__content ul,
.article__content ol {
  padding-left: 1.4em;
  margin: 1em 0;
}

.article__content li {
  margin-bottom: 0.5em;
}

.article__content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
  margin: 1.5em 0;
}

.article__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article__content .tip {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1.5em 0;
  font-size: 15px;
}

.post-navigation {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.post-navigation a {
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}

.post-navigation a:hover {
  color: var(--primary);
}

.page-links {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}

.page-links .post-page-numbers {
  display: inline-block;
  margin: 0 4px;
  color: var(--text);
}

.nothing-found {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* Post pagination. */
.pagination,
.navigation.pagination {
  margin-top: 48px;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

/* Comments. */
.comments-area {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.comments-title,
.comment-reply-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.comment-body {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.comment-meta {
  font-size: 14px;
  margin-bottom: 8px;
}

.comment-author {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
}

.comment-metadata {
  color: var(--text-muted);
  font-size: 13px;
}

.comment-content {
  font-size: 15px;
  line-height: 1.7;
}

.comment-form {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 14px;
}

.comment-form input[type="submit"],
.comment-form .submit {
  background: var(--primary);
  color: var(--primary-ink);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  cursor: pointer;
}

/* Error / search empty states. */
.error-404 {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.error-404__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.error-404__actions .search-field {
  max-width: 320px;
}

/* Core alignment & captions. */
.alignwide {
  margin-left: -40px;
  margin-right: -40px;
  max-width: calc(100% + 80px);
}

@media (max-width: 782px) {
  .alignwide {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

.sticky {
  display: block;
}

.gallery-caption,
.wp-caption {
  color: var(--text-muted);
  font-size: 14px;
}

.wp-caption-text {
  margin-top: 6px;
}

