/*
Theme Name: Middle East Logistics — Fozan
Theme URI: https://shipping-company-in-qatar.com/
Author: Fozan Media
Author URI: https://khaledfozan.com/
Description: قالب عربي مستقل للشحن البري، مع بيانات وصفحات شركة الشرق الأوسط وشعارها وصور التصميم، دون مقالات المدونة أو صور المقالات.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fozan-logistics
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, blog
*/
@font-face {
  font-family: Tajawal;
  src: url(assets/fonts/tajawal-regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url(assets/fonts/tajawal-bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --brand: #79002d;
  --ink: #101b3f;
  --muted: #566071;
  --soft: #f7f3f5;
  --line: #e6e1e5;
  --radius: 18px;
  --shadow: 0 14px 45px #1f10200b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  direction: rtl;
  margin: 0;
  font-family: Tajawal, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  background: #fff;
  overflow-wrap: break-word;
}
body.rtl {
  direction: rtl;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #297d9c;
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
svg {
  vertical-align: middle;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 {
  font-size: clamp(34px, 4vw, 58px);
}
h2 {
  font-size: clamp(27px, 2.6vw, 38px);
}
h3 {
  font-size: 23px;
}
p {
  margin: 0 0 20px;
  color: var(--muted);
}
ul,
ol {
  padding-inline-start: 26px;
}
li {
  margin-block: 6px;
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.icon {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
}
.button,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 25px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover,
.btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #79002d25;
}
.btn-whatsapp {
  background: white;
  color: var(--brand);
}
.btn-whatsapp:hover {
  background: var(--soft);
  color: var(--brand);
}
.utility {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
.utility .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.utility a {
  color: #fff;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px #101b3f04;
}
.admin-bar .site-header {
  top: 32px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
}
.brand > a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.brand img {
  width: 76px;
  max-height: 85px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.custom-logo-link img {
  max-width: 200px;
  width: auto;
}
.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
  align-items: center;
}
.primary-navigation a {
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  display: block;
  padding: 14px 0;
}
.primary-navigation .current-menu-item > a {
  color: var(--brand);
}
.primary-navigation .sub-menu {
  position: absolute;
  display: none;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: var(--shadow);
}
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  display: block;
}
.primary-navigation .sub-menu .sub-menu {
  position: static;
  box-shadow: none;
}
.menu-toggle {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 13px;
  font-weight: 700;
}
.menu-toggle[hidden] {
  display: none;
}
.header-cta {
  padding: 11px 20px;
  font-size: 16px;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 15px;
  padding: 10px;
  background: #fff;
  z-index: 200;
}
.skip-link:focus {
  top: 10px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.home-content > section {
  padding: 78px 0;
}
.home-content .hero {
  padding: 65px 0 70px;
  background:
    radial-gradient(ellipse at 85% 10%, #f4e9ee 0, transparent 50%),
    linear-gradient(125deg, #f3f8f7, #fff 70%);
  position: relative;
}
.hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.hero-eyebrow,
.eyebrow,
.sup-title-widget-defualt {
  display: inline-block;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 15px;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero .first_p {
  font-size: 20px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 28px;
}
.hero-trust {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.hero-trust li:before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
  margin-inline-end: 5px;
}
.hero .div_img {
  position: relative;
}
.hero .div_img:after {
  content: "";
  position: absolute;
  inset: 18px -14px -16px 14px;
  border: 1px solid #79002d25;
  border-radius: 48% 46% 15% 42%;
  z-index: 0;
}
.hero .div_img img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 7/6;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px #101b3f16);
}
.home-content .trust-strip {
  padding: 0;
  margin-top: 0;
  border-block: 1px solid var(--line);
  background: white;
}
.trust-strip > .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 28px 20px;
  text-align: center;
  border-inline-end: 1px solid var(--line);
}
.trust-item:last-child {
  border: 0;
}
.trust-item strong {
  display: block;
  font-size: 32px;
  color: var(--brand);
  line-height: 1.3;
  direction: ltr;
}
.trust-item span {
  color: var(--muted);
  font-size: 16px;
}
.top_sec {
  max-width: 760px;
  margin-bottom: 35px;
}
.top_sec p {
  font-size: 19px;
}
.boxs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.shipment-selector .box,
.routes .box,
.why-us .box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.shipment-selector .box h3 {
  font-size: 22px;
}
.shipment-selector .box p,
.routes .box p,
.why-us .box p {
  margin: 0;
  font-size: 17px;
}
.shipment-selector .box:before {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  background: var(--brand);
  border-radius: 5px;
  margin-bottom: 18px;
}
.home-content .routes {
  background: var(--soft);
}
.routes .box {
  box-shadow: none;
  position: relative;
  padding-bottom: 36px;
}
.routes .box:after {
  content: "←";
  position: absolute;
  bottom: 12px;
  inset-inline-end: 22px;
  color: var(--brand);
  font-size: 24px;
}
.routes .box h3 {
  font-size: 22px;
}
.home-content .about {
  padding-block: 90px;
}
.about > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}
.about .div_img {
  position: relative;
}
.about .div_img img {
  border-radius: 24px;
  width: 100%;
  object-fit: contain;
}
.about .about-badge,
.about .badge {
  border-radius: 12px;
  background: var(--brand);
  padding: 16px 24px;
  color: #fff;
}
.about .about-badge p,
.about .badge p {
  color: #fff;
}
.about .content {
  padding: 16px;
}
.services {
  background: #faf9fa;
}
.services .box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.services .box:hover {
  transform: translateY(-4px);
}
.services .div_img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.services .content {
  padding: 25px;
}
.services h3,
.services h2 {
  font-size: 23px;
}
.services .top_sec h2 {
  font-size: clamp(27px, 2.6vw, 38px);
}
.services .content p {
  margin-bottom: 0;
  font-size: 17px;
}
.services .content .btn {
  margin-top: 18px;
  min-height: 42px;
  font-size: 15px;
  padding: 9px 18px;
}
.how-it-works .boxs {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: steps;
}
.how-it-works .box {
  padding-block: 10px;
}
.how-it-works .step-number,
.how-it-works .number {
  color: var(--brand);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}
.how-it-works h3 {
  font-size: 21px;
  margin-top: 18px;
}
.how-it-works p {
  font-size: 16px;
}
.why-us {
  background: var(--soft);
}
.why-us .box {
  box-shadow: none;
}
.quote-guide > .container {
  border-radius: 22px;
  background: var(--ink);
  padding: 48px;
  color: #fff;
}
.quote-guide h2,
.quote-guide p {
  color: #fff;
}
.quote-guide ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 30px;
  margin-block: 28px;
  padding-inline-start: 20px;
}
.quote-guide .btn {
  background: white;
  color: var(--ink);
  border-color: white;
}
.faq > .container {
  max-width: 950px;
}
.faq .top_sec {
  max-width: none;
}
.faq-item {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-block: 12px;
}
.faq-item summary {
  font-weight: 700;
  font-size: 21px;
  cursor: pointer;
  line-height: 1.6;
}
.faq-item p {
  margin: 16px 0 0;
  font-size: 18px;
}
.faq-item[open] {
  border-color: #79002d55;
  background: #fcfafb;
}
.final-cta {
  background: var(--soft);
  text-align: center;
}
.final-cta > .container {
  max-width: 950px;
}
.final-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 26px;
}
.final-cta .company-details {
  font-size: 15px;
}
.final-cta h2 {
  margin-top: 15px;
}
.shape,
.img_absolute {
  display: none;
}
.page-heading {
  background: var(--soft);
  padding: 42px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  font-size: clamp(30px, 3.2vw, 46px);
  max-width: 1000px;
}
.breadcrumbs {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}
.page-content {
  padding-block: 55px 75px;
  min-height: 300px;
}
.prose {
  line-height: 2;
}
.prose h2 {
  margin-top: 32px;
  font-size: 30px;
}
.prose h3 {
  margin-top: 24px;
}
.prose p {
  margin-bottom: 22px;
}
.prose a:not(.button):not(.btn) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose ul,
.prose ol {
  line-height: 2.1;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow: auto;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: start;
}
.prose blockquote {
  border-inline-start: 4px solid var(--brand);
  padding: 16px 25px;
  background: var(--soft);
  margin: 25px 0;
}
.about-cover {
  float: inline-start;
  width: 39%;
  margin: 0 0 28px 35px;
  border-radius: 20px;
}
.prose:after {
  content: "";
  display: block;
  clear: both;
}
.page-content > .services > .container {
  width: 100%;
}
.page-content .services {
  background: transparent;
}
.page-content .services h2 {
  margin-top: 0;
  font-size: 22px;
}
.page-content .services .top_sec p {
  font-size: 20px;
}
.prose .services a {
  text-decoration: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-details h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.quote-form-wrap {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}
.quote-form-wrap h2 {
  margin-top: 0;
}
.quote-form label {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 16px;
}
input,
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid #ccc7cf;
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--ink);
  max-width: 100%;
}
input,
textarea {
  display: block;
  margin-top: 6px;
}
textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: 13px;
  margin-top: 14px;
  line-height: 1.8;
}
.quote-form .button {
  width: 100%;
}
.contact-map {
  margin-top: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.social-links {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  font-size: 15px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.post-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.card-copy {
  padding: 24px;
}
.card-copy h2 {
  font-size: 24px;
}
.card-copy time,
.post-meta {
  font-size: 15px;
  color: var(--muted);
}
.card-copy p {
  font-size: 17px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.article-body {
  max-width: 940px;
}
.article-cover {
  border-radius: 18px;
  width: 100%;
  margin-bottom: 30px;
}
.nav-links {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 35px;
}
.pagination .nav-links {
  justify-content: center;
  flex-wrap: wrap;
}
.page-numbers {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.page-numbers.current {
  background: var(--brand);
  color: #fff;
}
.empty-state {
  text-align: center;
  padding-block: 70px;
  min-height: 45vh;
}
.search-form {
  display: flex;
  gap: 10px;
  max-width: 650px;
  margin: 25px auto;
}
.search-form input {
  margin: 0;
  min-width: 0;
}
.error-code {
  font-size: 70px;
  color: var(--brand);
  font-weight: 700;
}
.comment-list {
  padding-inline-start: 25px;
}
.comment-body {
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}
.comment-form label {
  display: block;
}
.comment-form-cookies-consent input {
  width: auto;
  display: inline;
}
.comment-form .submit {
  width: auto;
  background: var(--brand);
  color: #fff;
  border: 0;
}
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 18px;
}
.site-footer h2 {
  font-size: 21px;
  color: #fff;
}
.site-footer p {
  color: #d2d6e3;
  font-size: 16px;
  line-height: 1.9;
}
.site-footer a {
  color: #e9eaf1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 65px;
}
.footer-about > img {
  background: white;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 20px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.site-footer li {
  margin-bottom: 10px;
}
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  margin-top: 38px;
  border-top: 1px solid #ffffff26;
  font-size: 13px;
  color: #c6cad6;
}
.floating-contact {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 90;
}
.floating-contact a {
  display: flex;
  gap: 9px;
  align-items: center;
  background: var(--brand);
  color: #fff;
  padding: 11px 16px;
  border: 2px solid #fff;
  border-radius: 50px;
  box-shadow: 0 5px 20px #101b3f22;
  font-size: 14px;
  font-weight: 700;
}
.alignwide {
  max-width: 1200px;
}
.alignfull {
  width: 100%;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 14px;
}
.sticky {
  border-top: 3px solid var(--brand);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bypostauthor {
  border-inline-start: 2px solid var(--brand);
}
@media (min-width: 1101px) {
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 40px);
  }
  .brand span {
    font-size: 16px;
  }
  .header-inner {
    gap: 18px;
  }
  .header-cta {
    margin-inline-start: auto;
  }
  .primary-navigation {
    width: 100%;
    order: 4;
    padding-bottom: 12px;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .primary-navigation ul {
    justify-content: center;
  }
  .js .primary-navigation {
    display: none;
  }
  .js .primary-navigation.is-open {
    display: block;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .header-inner {
    min-height: 88px;
  }
  .hero > .container {
    gap: 30px;
  }
  .hero .first_p {
    font-size: 18px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-actions .btn {
    padding: 12px 17px;
    font-size: 16px;
  }
  .about > .container {
    gap: 35px;
  }
  .how-it-works .boxs {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    gap: 35px;
  }
  .contact-layout {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .utility {
    font-size: 12px;
  }
  .utility .container {
    gap: 8px;
  }
  .utility span {
    max-width: 50%;
  }
  .brand > a {
    gap: 8px;
  }
  .brand img {
    width: 59px;
    max-height: 65px;
  }
  .brand span {
    font-size: 14px;
    max-width: 180px;
  }
  .brand small {
    font-size: 11px;
  }
  .header-inner {
    gap: 12px;
    min-height: 80px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-inline-start: auto;
    padding: 8px 11px;
    font-size: 15px;
  }
  .primary-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .primary-navigation a {
    padding: 11px;
    border-bottom: 1px solid var(--line);
  }
  .primary-navigation .sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding-inline-start: 20px;
    min-width: 0;
  }
  .admin-bar .site-header {
    top: 46px;
  }
  .home-content > section {
    padding: 52px 0;
  }
  .home-content .hero {
    padding: 38px 0 45px;
  }
  .hero > .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero h1 {
    font-size: 36px;
    max-width: 600px;
    margin-bottom: 16px;
  }
  .hero .first_p {
    font-size: 18px;
  }
  .hero-eyebrow {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .hero-actions {
    margin-block: 20px;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 130px;
  }
  .hero-trust {
    font-size: 13px;
    gap: 4px 12px;
  }
  .hero .div_img {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .hero .div_img img {
    max-height: 390px;
    aspect-ratio: 7/6;
  }
  .trust-strip > .container {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item {
    padding: 20px 10px;
  }
  .trust-item:nth-child(2) {
    border-inline-end: 0;
  }
  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .trust-item strong {
    font-size: 27px;
  }
  .trust-item span {
    font-size: 14px;
  }
  .boxs {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .shipment-selector .box,
  .routes .box,
  .why-us .box {
    padding: 20px;
  }
  .box h3 {
    font-size: 20px !important;
  }
  .box p {
    font-size: 16px !important;
  }
  .about > .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about .div_img {
    max-width: 500px;
    margin-inline: auto;
  }
  .services .content {
    padding: 18px;
  }
  .how-it-works .boxs {
    grid-template-columns: 1fr 1fr;
  }
  .quote-guide > .container {
    padding: 28px 24px;
  }
  .quote-guide ul {
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
    font-size: 16px;
  }
  .faq-item {
    padding: 17px 18px;
  }
  .faq-item summary {
    font-size: 18px;
  }
  .faq-item p {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-about {
    grid-column: 1/-1;
  }
  .copyright {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 80px;
  }
  .floating-contact {
    inset-inline-end: 12px;
    bottom: 12px;
    gap: 6px;
  }
  .floating-contact a {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 44px;
  }
  .floating-contact .icon {
    width: 19px;
    height: 19px;
  }
  .page-content {
    padding-block: 35px 50px;
  }
  .page-heading {
    padding: 28px 0 32px;
  }
  .prose h2 {
    font-size: 26px;
  }
  .about-cover {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 25px;
    display: block;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .quote-form-wrap {
    padding: 23px;
  }
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading .container {
    overflow-wrap: anywhere;
  }
  .contact-details a {
    overflow-wrap: anywhere;
  }
  .site-footer a {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 480px) {
  .boxs,
  .post-grid {
    grid-template-columns: 1fr;
  }
  .how-it-works .boxs {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .div_img img {
    max-height: 320px;
  }
  .hero .div_img:after {
    inset: 15px -5px -7px 10px;
  }
  .quote-guide ul {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-about {
    grid-column: auto;
  }
  .brand span {
    max-width: 156px;
  }
  .brand > a {
    font-size: 13px;
  }
  .final-cta .cta-actions {
    flex-direction: column;
  }
  .final-cta .btn {
    width: 100%;
  }
  .search-form .button {
    padding-inline: 18px;
  }
  .utility span {
    font-size: 11px;
  }
  .services .div_img img {
    aspect-ratio: 1.65;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .utility,
  .floating-contact,
  .site-footer,
  .menu-toggle {
    display: none;
  }
  body {
    font-size: 12pt;
  }
  .container {
    width: 100%;
  }
  a {
    color: #000;
  }
  .home-content > section {
    padding: 20px 0;
  }
  .boxs {
    grid-template-columns: 1fr 1fr;
  }
  .hero > .container {
    display: block;
  }
}
/* Source-layout refinements. */
.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px;
}
.how-it-works .step {
  border-top: 2px solid var(--line);
  padding-top: 20px;
}
.how-it-works .step > span {
  font-size: 38px;
  color: var(--brand);
  font-weight: 700;
  line-height: 1.2;
}
.how-it-works .step h3 {
  margin-top: 18px;
}
.about .div_cont {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 8px;
  background: var(--brand);
  color: white;
  padding: 17px 23px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.about .div_cont h3 {
  color: white;
  font-size: 22px;
  margin: 6px 0 0;
}
.about .div_cont span {
  font-size: 14px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 25px;
}
@media (max-width: 1000px) {
  .how-it-works .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .how-it-works .steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .about .div_cont {
    inset-inline-start: 0;
    bottom: 0;
    padding: 13px 18px;
  }
  .about .div_cont h3 {
    font-size: 19px;
  }
}
@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  background: var(--soft);
  color: var(--brand);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 15px;
}
.feature p {
  margin: 0;
  font-size: 17px;
}
.feature h3 {
  font-size: 23px;
}
.quote-form[hidden] {
  display: none;
}
@media (max-width: 760px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .feature {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.contact-intro {
  max-width: 950px;
  margin-bottom: 36px;
  font-size: 19px;
}
.contact-guidance {
  max-width: 1000px;
  margin-top: 45px;
}
.table-scroll {
  overflow-x: auto;
  margin: 26px 0;
}
.table-scroll table {
  min-width: 620px;
}
.table-scroll th {
  background: var(--soft);
}
