/*
Theme Name: Al Emtiaz Industrial
Theme URI: https://emtiaz.3mr.dev
Author: Al Emtiaz
Description: Arabic RTL industrial catalog theme for heavy machinery spare parts and tires.
Version: 1.2.3
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: alemtiaz
*/

:root {
  --navy: #082b4c;
  --navy-2: #0d3d68;
  --blue: #1166a3;
  --yellow: #ffc928;
  --yellow-deep: #e9ad00;
  --ink: #152536;
  --muted: #526476;
  --paper: #ffffff;
  --mist: #f3f6f8;
  --line: #dbe3e9;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(8, 43, 76, .12);
  --shadow-soft: 0 12px 34px rgba(8, 43, 76, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  direction: rtl;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(17,102,163,.28);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--soft { background: linear-gradient(180deg, #f5f8fa 0%, #eef3f6 100%); }
.section--navy { background: var(--navy); color: white; }
.eyebrow {
  color: var(--blue);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  margin: 0 0 10px;
}
.eyebrow--light { color: var(--yellow); }
.section-title { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.28; }
.section-title--light { color: white; }
.section-lead { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head__copy { max-width: 720px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--navy { background: var(--navy); color: white; }
.btn--ghost { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn--outline { color: var(--navy); border-color: var(--line); background: white; }

.topbar { background: #061d34; color: #d7e5f0; font-size: .82rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__links { display: flex; gap: 22px; direction: ltr; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(8,43,76,.08); box-shadow: 0 8px 30px rgba(8,43,76,.06); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__logo { width: 52px; height: 52px; }
.brand__name { display: block; color: var(--navy); font-weight: 900; font-size: 1.02rem; line-height: 1.3; }
.brand__sub { display: block; color: var(--muted); font-size: .71rem; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; }
.main-nav a { position: relative; font-weight: 700; font-size: .94rem; color: #294153; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--blue); }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -10px; width: 0; height: 3px; border-radius: 999px; background: var(--yellow); transition: width .2s ease; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--line); background: white; border-radius: 10px; color: var(--navy); font-size: 1.35rem; }

.hero { min-height: 690px; display: grid; align-items: center; color: white; background-position: center; background-size: cover; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,22,39,.42) 0%, rgba(5,31,54,.78) 50%, rgba(5,31,54,.98) 100%), linear-gradient(0deg, rgba(2,16,28,.28), rgba(2,16,28,.08)); }
.hero__content { position: relative; z-index: 1; max-width: 690px; padding: 88px 0; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; color: var(--yellow); font-weight: 800; background: rgba(255,201,40,.11); border: 1px solid rgba(255,201,40,.35); padding: 7px 13px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.65rem, 6vw, 5.35rem); line-height: 1.08; margin: 24px 0; letter-spacing: -.035em; text-shadow: 0 3px 22px rgba(0,0,0,.38); }
.hero h1 span { color: var(--yellow); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.24rem); max-width: 610px; color: #e2edf5; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; color: #d5e4ee; font-size: .9rem; }
.hero__trust span::before { content: "✓"; color: var(--yellow); font-weight: 900; margin-left: 7px; }

.metrics { margin-top: -48px; position: relative; z-index: 3; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.metric { padding: 28px 26px; text-align: center; border-left: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.metric:hover { background: #f9fbfc; transform: translateY(-3px); }
.metric:last-child { border-left: 0; }
.metric strong { display: block; color: var(--navy); font-size: 2rem; line-height: 1.2; }
.metric span { color: var(--muted); font-size: .86rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: white; border: 1px solid rgba(8,43,76,.1); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(17,102,163,.28); }
.product-card__image { aspect-ratio: 1.12; overflow: hidden; background: #e9edef; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__body { padding: 23px; }
.product-card__tag { display: inline-block; color: var(--blue); background: #eaf4fa; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.product-card h3 { margin: 12px 0 7px; color: var(--navy); font-size: 1.25rem; }
.product-card p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--blue); font-weight: 800; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.065); padding: 28px 24px; border-radius: 16px; transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.095); border-color: rgba(255,201,40,.5); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); border-radius: 14px; font-size: 1.5rem; }
.service-card h3 { margin: 19px 0 8px; font-size: 1.1rem; }
.service-card p { margin: 0; color: #bfd0dd; font-size: .88rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.split__media img { width: 100%; min-height: 470px; object-fit: cover; }
.split__badge { position: absolute; bottom: 22px; right: 22px; background: var(--yellow); color: var(--navy); padding: 17px 20px; border-radius: 14px; font-weight: 900; }
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 13px; }
.check-list li { position: relative; padding-right: 32px; color: #34495b; }
.check-list li::before { content: "✓"; position: absolute; right: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); border-radius: 6px; font-weight: 900; font-size: .75rem; }

.reference-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reference-card { min-height: 110px; border: 1px solid var(--line); border-radius: 15px; display: grid; place-items: center; text-align: center; padding: 16px; background: white; color: #38566b; font-weight: 900; box-shadow: 0 8px 24px rgba(8,43,76,.06); transition: transform .2s ease, border-color .2s ease; }
.reference-card:hover { transform: translateY(-4px); border-color: rgba(17,102,163,.3); }
.reference-card span { display: block; color: var(--yellow-deep); font-size: 1.65rem; line-height: 1; margin-bottom: 7px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card { background: white; color: var(--ink); padding: 30px; border-radius: 17px; position: relative; box-shadow: 0 14px 38px rgba(0,0,0,.13); }
.quote-card::before { content: "“"; position: absolute; top: 8px; left: 22px; color: var(--yellow); font-size: 4rem; font-family: Georgia, serif; line-height: 1; }
.quote-card__stars { color: #f3b600; letter-spacing: 3px; }
.quote-card blockquote { margin: 18px 0 24px; color: #425567; }
.quote-card strong { color: var(--navy); }
.quote-card small { display: block; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 28px 20px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-soft); transition: transform .2s ease, border-color .2s ease; }
.team-card:hover { transform: translateY(-5px); border-color: rgba(17,102,163,.28); }
.team-card__avatar { width: 92px; height: 92px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: linear-gradient(145deg, var(--navy), var(--blue)); color: var(--yellow); border: 5px solid #e8f0f5; font-size: 1.5rem; font-weight: 900; }
.team-card h3 { margin: 0; color: var(--navy); }
.team-card p { margin: 5px 0 0; color: var(--blue); font-size: .85rem; font-weight: 700; }

.cta { padding: 0 0 92px; background: var(--mist); }
.cta__box { background: linear-gradient(135deg, #ffd34d, var(--yellow)); color: var(--navy); border-radius: var(--radius); padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; overflow: hidden; box-shadow: 0 22px 55px rgba(141,102,0,.18); }
.cta__box::after { content: ""; position: absolute; width: 230px; height: 230px; border: 42px solid rgba(8,43,76,.08); border-radius: 50%; left: -50px; top: -75px; }
.cta__box h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta__box p { margin: 8px 0 0; }
.cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-shrink: 0; }

.page-hero { padding: 95px 0 80px; color: white; background: linear-gradient(125deg, #061e35, var(--navy-2)); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 330px; height: 330px; border: 70px solid rgba(255,201,40,.1); border-radius: 50%; left: -40px; top: -90px; }
.page-hero h1 { margin: 10px 0 15px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.2; }
.page-hero p { margin: 0; color: #c8d8e4; max-width: 680px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.timeline__item { background: white; border: 1px solid var(--line); padding: 25px; border-radius: 15px; }
.timeline__item strong { display: block; color: var(--yellow-deep); font-size: 1.4rem; }
.timeline__item h3 { color: var(--navy); margin: 8px 0; }
.timeline__item p { color: var(--muted); font-size: .86rem; margin: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { border-right: 4px solid var(--yellow); background: white; padding: 28px; border-radius: 12px; box-shadow: 0 10px 35px rgba(8,43,76,.06); }
.value-card h3 { margin: 0 0 7px; color: var(--navy); }
.value-card p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 38px; align-items: start; }
.contact-info { display: grid; gap: 15px; }
.contact-info__card { border: 1px solid var(--line); border-radius: 15px; padding: 22px; background: white; box-shadow: var(--shadow-soft); }
.contact-info__card strong { display: block; color: var(--navy); margin-bottom: 5px; }
.contact-info__card span { color: var(--muted); }
.contact-form { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; color: var(--navy); font-weight: 800; font-size: .87rem; margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cfd9e0; background: #fbfcfd; border-radius: 10px; padding: 13px 14px; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,102,163,.1); }
.field textarea { min-height: 145px; resize: vertical; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 700; }
.notice--success { background: #e3f6ea; color: #176b37; }
.notice--error { background: #fff0ee; color: #9e2f28; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.map-placeholder { min-height: 300px; display: grid; place-items: center; text-align: center; background: linear-gradient(145deg, #dce6ec, #eef3f6); border-radius: var(--radius); color: var(--navy); border: 1px solid var(--line); }

.single-product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.single-product__image { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.single-product__image img { width: 100%; }
.single-product__content h1 { margin-top: 10px; color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.18; }
.single-product__content .entry-content { color: #405467; }
.entry-content h2, .entry-content h3 { color: var(--navy); }
.entry-content ul { padding-right: 22px; }
.archive-intro { padding-bottom: 25px; }

.site-footer { background: #061d34; color: #c4d4df; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 45px; }
.footer-brand p { color: #9fb5c4; max-width: 380px; font-size: .9rem; }
.footer-title { color: white; margin: 0 0 18px; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .88rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; color: #7893a6; font-size: .78rem; }

/* Elementor page integration */
.al-elementor-page main { overflow: hidden; }
.al-elementor-page .elementor-widget-shortcode,
.al-elementor-page .elementor-widget-shortcode .elementor-shortcode { width: 100%; }
.al-elementor-page .elementor-widget-heading.eyebrow .elementor-heading-title { color: inherit !important; font: inherit; letter-spacing: inherit; }
.al-elementor-page .elementor-widget-heading.section-title .elementor-heading-title { color: inherit !important; font-size: inherit; line-height: inherit; }
.al-elementor-page .elementor-widget-text-editor.section-lead { color: var(--muted) !important; }
.al-elementor-page .elementor-widget-text-editor.section-lead p { margin: 0; color: inherit !important; }
.al-elementor-page .section--navy .elementor-widget-text-editor.section-lead,
.al-elementor-page .section--navy .elementor-widget-text-editor.section-lead p { color: #c9d8e3 !important; }
.al-elementor-page .elementor-widget-button.btn { padding: 0; min-height: 0; border: 0; background: transparent; }
.al-elementor-page .elementor-widget-button.btn:hover { transform: none; box-shadow: none; }
.al-elementor-page .elementor-widget-button.btn .elementor-button { min-height: 52px; padding: 14px 24px; border-radius: 12px; font-weight: 800; border: 2px solid transparent; }
.al-elementor-page .elementor-widget-button.btn--yellow .elementor-button { background: var(--yellow) !important; color: var(--navy) !important; }
.al-elementor-page .elementor-widget-button.btn--navy .elementor-button { background: var(--navy) !important; color: white !important; }
.al-elementor-page .elementor-widget-button.btn--ghost .elementor-button { color: white !important; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06) !important; }
.al-elementor-page .elementor-widget-button.btn--outline .elementor-button { color: var(--navy) !important; border-color: var(--line); background: white !important; }
.al-elementor-page .hero { background-size: cover; background-position: center; }
.al-elementor-page .hero .hero__content { position: relative; z-index: 2; width: min(710px, calc(100% - 40px)); min-height: 0; align-self: center; margin-right: max(20px, calc((100vw - 1180px) / 2)); margin-left: auto; padding: 46px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: linear-gradient(135deg, rgba(4,25,43,.84), rgba(5,42,72,.64)); box-shadow: 0 28px 80px rgba(0,0,0,.3); backdrop-filter: blur(3px); }
.al-elementor-page .hero__content .elementor-widget-heading h1 { margin: 0; color: white !important; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.al-elementor-page .hero__content .al-hero-accent .elementor-heading-title { color: var(--yellow) !important; }
.al-elementor-page .hero__badge { width: fit-content !important; }
.al-elementor-page .hero__badge p { margin: 0; color: var(--yellow) !important; }
.al-elementor-page .hero__lead p { margin: 0; color: #f2f7fa !important; font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.9; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.al-elementor-page .hero__actions { display: flex; flex-flow: row wrap; gap: 13px; }
.al-elementor-page .hero__trust { flex-direction: row !important; }
.al-elementor-page .hero__trust .elementor-widget-text-editor { width: auto; }
.al-elementor-page .hero__trust p { margin: 0; color: #eef6fb !important; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.al-elementor-page .hero__trust p::before { content: "✓"; color: var(--yellow); font-weight: 900; margin-left: 7px; }
.al-elementor-page .metrics { margin-top: -48px; padding: 0; z-index: 3; }
.al-elementor-page .metrics > .e-con-inner { width: min(1180px, calc(100% - 40px)); }
.al-elementor-page .section > .e-con-inner { width: min(1180px, calc(100% - 40px)); }
.al-elementor-page .section-head { width: 100%; }
.al-elementor-page .split__media .elementor-widget-image img { width: 100%; min-height: 470px; object-fit: cover; }
.al-elementor-page .elementor-contact-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.al-elementor-page .elementor-info-card { border: 1px solid var(--line); border-radius: 15px; padding: 22px; background: white; }
.al-elementor-page .elementor-info-card .elementor-heading-title { color: var(--navy) !important; font-size: 1rem; }
.al-elementor-page .elementor-info-card p { color: var(--muted); margin: 0; }
.al-elementor-page .elementor-value-card { border-right: 4px solid var(--yellow); background: white; padding: 28px; border-radius: 12px; box-shadow: 0 10px 35px rgba(8,43,76,.06); }
.al-elementor-page .elementor-value-card .elementor-heading-title { color: var(--navy) !important; font-size: 1.15rem; }
.al-elementor-page .elementor-value-card p { color: var(--muted); margin: 0; }
.al-elementor-page .elementor-timeline-card { background: white; border: 1px solid var(--line); padding: 25px; border-radius: 15px; }
.al-elementor-page .elementor-timeline-card .al-year .elementor-heading-title { color: var(--yellow-deep) !important; font-size: 1.4rem; }
.al-elementor-page .section-head,
.al-elementor-page .split,
.al-elementor-page .al-values-row,
.al-elementor-page .al-timeline-row,
.al-elementor-page .al-contact-row { display: block; width: 100%; }
.al-elementor-page .section-head > .e-con-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; width: 100%; }
.al-elementor-page .split > .e-con-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; width: 100%; }
.al-elementor-page .al-values-row > .e-con-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 100%; }
.al-elementor-page .al-timeline-row > .e-con-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.al-elementor-page .al-contact-row > .e-con-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 38px; align-items: start; width: 100%; }
.al-elementor-page .al-info-stack { display: grid; gap: 15px; width: 100%; }
.al-elementor-page .page-hero > .e-con-inner { width: min(1180px, calc(100% - 40px)); position: relative; z-index: 1; }
.al-elementor-page .page-hero .elementor-widget-heading h1 { color: white !important; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.2; }
.al-elementor-page .page-hero .elementor-widget-text-editor p { color: #c8d8e4 !important; max-width: 680px; margin: 0; }
.al-elementor-page .cta > .e-con-inner { width: min(1180px, calc(100% - 40px)); }
.al-elementor-page .cta__box { width: 100%; }
.al-elementor-page .cta__box > .e-con-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; width: 100%; position: relative; z-index: 1; }
.al-elementor-page .cta__box .elementor-heading-title { color: var(--navy) !important; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.al-elementor-page .cta__box .elementor-widget-text-editor p { color: rgba(8,43,76,.82) !important; }

@media (max-width: 650px) {
  .al-elementor-page .hero .hero__content { margin-inline: 13px; width: calc(100% - 26px); padding: 28px 22px; border-radius: 20px; }
  .al-elementor-page .hero__actions { flex-direction: column; }
  .al-elementor-page .metrics { margin-top: 0; }
  .al-elementor-page .metrics > .e-con-inner,
  .al-elementor-page .section > .e-con-inner { width: min(100% - 26px, 1180px); }
  .al-elementor-page .elementor-contact-panel { padding: 24px 18px; }
  .al-elementor-page .page-hero > .e-con-inner,
  .al-elementor-page .cta > .e-con-inner { width: min(100% - 26px, 1180px); }
  .al-elementor-page .section-head > .e-con-inner { display: block; }
  .al-elementor-page .al-values-row > .e-con-inner,
  .al-elementor-page .al-timeline-row > .e-con-inner { grid-template-columns: 1fr; }
  .al-elementor-page .cta__box > .e-con-inner { display: block; }
  .al-elementor-page .cta__actions { margin-top: 22px; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 82px; right: 20px; left: 20px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { align-items: stretch; flex-direction: column; gap: 14px; }
  .site-header .btn--yellow { display: none; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .reference-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .al-elementor-page .split > .e-con-inner,
  .al-elementor-page .al-contact-row > .e-con-inner { grid-template-columns: 1fr; gap: 38px; }
  .al-elementor-page .al-timeline-row > .e-con-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 26px, 1180px); }
  .section { padding: 66px 0; }
  .topbar__inner { justify-content: center; }
  .topbar__links span:last-child { display: none; }
  .brand__sub { display: none; }
  .hero { min-height: 650px; background-position: 35% center; }
  .hero::before { background: rgba(5,31,54,.82); }
  .hero h1 { font-size: 2.75rem; }
  .metrics { margin-top: 0; }
  .metrics .container { width: 100%; }
  .metrics__grid { border-radius: 0; box-shadow: none; }
  .metric { padding: 22px 10px; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 20px; }
  .product-grid, .service-grid, .reference-grid, .team-grid, .timeline, .value-grid { grid-template-columns: 1fr; }
  .cta__box { padding: 34px 25px; display: block; }
  .cta__actions { margin-top: 22px; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-form { padding: 24px 18px; }
  .single-product { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
