:root {
  --red: #e21b10;
  --red-dark: #aa130b;
  --gold: #f4b63f;
  --ink: #17202b;
  --muted: #64707d;
  --line: #e7eaee;
  --soft: #f4f6f9;
  --navy: #121a24;
}

html { scroll-behavior: smooth; }

body {
  background:
    linear-gradient(180deg, #fbf6fb 0, #fff 45%, #f4f6fb 100%);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  margin: 0;
}

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

.topbar {
  background: #0f1720;
  color: #d7dee7;
  font-size: 14px;
}

.site-header-premium {
  background: #fbf6fb;
  position: relative;
  z-index: 40;
}

.header-navy-slice {
  background: #111b4a;
  height: 58px;
  margin-left: 34%;
  position: relative;
}

.header-navy-slice::before {
  border-bottom: 58px solid #111b4a;
  border-left: 42px solid transparent;
  content: "";
  left: -42px;
  position: absolute;
  top: 0;
}

.brand-contact-band {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr 1fr .9fr 1.2fr auto;
  min-height: 128px;
  padding-bottom: 20px;
  padding-top: 20px;
}

.header-contact-item {
  align-items: center;
  display: flex;
  gap: 14px;
}

.contact-icon {
  align-items: center;
  background: #e00016;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.header-contact-item strong,
.header-contact-item small {
  display: block;
}

.header-contact-item strong {
  color: #061348;
  font-size: 16px;
  font-weight: 900;
}

.header-contact-item small {
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.header-language {
  display: flex;
  gap: 7px;
}

.topbar-inner {
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  padding: 11px 12px;
}

.topbar-inner span:first-child { margin-right: auto; }

.topbar a {
  color: #fff;
  font-weight: 750;
}

.language-switch {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  display: inline-flex;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  min-width: 38px;
  padding: 0 9px;
}

.language-switch.active {
  background: #fff;
  color: var(--red);
}

.main-nav {
  background: #e00016;
  border-bottom: 0;
  box-shadow: 0 22px 46px rgba(224, 0, 22, .18);
  min-height: 58px;
  position: relative;
  top: 0;
  z-index: 30;
}

.main-nav::before {
  border-bottom: 58px solid #e00016;
  border-left: 42px solid transparent;
  content: "";
  left: max(0px, calc((100vw - 1320px) / 2 + 268px));
  position: absolute;
  top: 0;
}

.brand {
  align-items: center;
  display: flex;
  gap: 13px;
}

.brand-mark {
  align-items: center;
  background: #e00016;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(224, 0, 22, .26);
  color: #fff;
  display: inline-flex;
  font-size: 30px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.brand strong {
  color: #111b4a;
  display: block;
  font-size: 29px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  color: var(--ink);
  display: block;
  font-size: 14px;
}

.nav-link {
  color: #fff;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
}

.nav-link:not(.dropdown-toggle)::after {
  background: #fff;
  border-radius: 999px;
  bottom: 2px;
  content: "";
  height: 3px;
  left: 10px;
  opacity: 0;
  position: absolute;
  right: 10px;
  transform: scaleX(.2);
  transition: .22s ease;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  border-radius: 6px;
  font-weight: 800;
  padding: 12px 22px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-quote,
.btn-primary-red {
  background: linear-gradient(135deg, #ff3023, #c7140a);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(226, 27, 16, .28);
  color: #fff;
}

.btn-quote:hover,
.btn-primary-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.hero {
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.hero-slider-bg,
.hero-slider-bg .carousel-inner,
.hero-slider-bg .carousel-item {
  height: 100%;
  inset: 0;
  position: absolute;
}

.hero-slider-bg img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-slider-bg a {
  display: block;
  height: 100%;
}

.hero-indicators {
  bottom: 34px;
  gap: 8px;
  justify-content: flex-start;
  left: calc((100vw - min(1320px, 100vw)) / 2 + 12px);
  margin: 0;
  right: auto;
  z-index: 4;
}

.hero-indicators [data-bs-target] {
  background: rgba(255, 255, 255, .82);
  border: 0;
  border-radius: 999px;
  height: 5px;
  opacity: 1;
  width: 34px;
}

.hero-indicators .active {
  background: var(--gold);
  width: 56px;
}

.hero-control {
  background: rgba(13, 20, 29, .34);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  height: 52px;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  z-index: 4;
}

.hero-control.carousel-control-prev { left: 24px; }
.hero-control.carousel-control-next { right: 24px; }

.hero::before {
  background:
    linear-gradient(90deg, rgba(226, 27, 16, .18), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, .16), transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92));
  bottom: 0;
  content: "";
  height: 100px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-inner {
  color: #fff;
  max-width: 880px;
  padding-bottom: 110px;
  padding-top: 108px;
  position: relative;
  z-index: 1;
}

.hero-pill {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  padding: 9px 14px;
}

.eyebrow {
  color: #ffd7d2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

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

.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
  margin-bottom: 22px;
  max-width: 780px;
  text-shadow: 0 18px 55px rgba(0, 0, 0, .38);
}

.hero p:not(.eyebrow) {
  font-size: 20px;
  line-height: 1.55;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  max-width: 620px;
}

.hero-proof div {
  border-right: 1px solid rgba(255, 255, 255, .18);
  padding: 18px 20px;
}

.hero-proof div:last-child {
  border-right: 0;
}

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

.hero-proof strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.hero-proof span {
  color: #dfe8f1;
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
}

.contact-strip {
  background: #111b4a;
  color: #fff;
  box-shadow: 0 20px 55px rgba(226, 27, 16, .22);
  position: relative;
  z-index: 2;
}

.showcase-strip {
  background: #fbf6fb;
  padding: 38px 0 20px;
}

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

.showcase-service {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(17,27,74,.1);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(17,27,74,.1);
  display: flex;
  gap: 18px;
  min-height: 118px;
  padding: 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.showcase-service:hover { transform: translateY(-4px); box-shadow: 0 22px 42px rgba(17,27,74,.16); }
.showcase-service strong, .showcase-service small { display: block; }
.showcase-service strong { color: #111b4a; font-size: 1.05rem; font-weight: 900; }
.showcase-service small { color: #64707d; line-height: 1.55; margin-top: 5px; }
.showcase-icon { align-items: center; background: #111b4a; border-radius: 12px; color: #fff; display: inline-flex; flex: 0 0 54px; height: 54px; justify-content: center; position: relative; width: 54px; }
.showcase-icon::before { border: 3px solid #fff; border-radius: 4px; content: ""; height: 24px; position: absolute; width: 30px; }
.showcase-icon::after { background: #e6001a; border-radius: 50%; box-shadow: 19px 0 0 #e6001a; content: ""; height: 7px; left: 15px; position: absolute; top: 34px; width: 7px; }
.showcase-icon i { border-bottom: 3px solid #fff; border-left: 3px solid #fff; height: 11px; left: 26px; position: absolute; top: 12px; transform: rotate(-45deg); width: 11px; }
.showcase-icon-1 .showcase-icon { background: #e6001a; }
.showcase-icon-1 .showcase-icon::before { border-radius: 50% 50% 4px 4px; height: 27px; width: 25px; }
.showcase-icon-1 .showcase-icon i { border: 0; border-left: 3px solid #fff; height: 32px; left: 26px; top: 10px; transform: none; width: 0; }
.showcase-icon-2 .showcase-icon { background: linear-gradient(135deg,#111b4a,#26366d); }
.showcase-icon-2 .showcase-icon i { border: 3px solid #fff; border-radius: 3px; height: 23px; left: 17px; top: 15px; transform: none; width: 20px; }

.showcase-grid figure {
  margin: 0;
}

.showcase-grid img {
  aspect-ratio: 16 / 9;
  border: 6px solid #fff;
  box-shadow: 0 18px 45px rgba(17, 27, 74, .14);
  object-fit: cover;
  width: 100%;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-grid div {
  border-right: 1px solid rgba(255, 255, 255, .24);
  padding: 22px 24px;
  transition: background .2s ease;
}

.strip-grid div:hover {
  background: rgba(255, 255, 255, .11);
}

.strip-grid span {
  display: block;
  font-size: 13px;
  opacity: .82;
}

.strip-grid strong {
  display: block;
  font-size: 18px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.section { padding: 78px 0; }

.muted { background: var(--soft); }

.section.muted {
  background:
    linear-gradient(180deg, #f7f8fb, #eef2f6);
}

.intro-grid,
.quote-grid,
.split-grid {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: .9fr 1.1fr;
}

h2 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.intro-grid > p,
.quote-grid > div > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-head {
  margin-bottom: 32px;
  max-width: 720px;
}

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

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

.service-card {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border: 1px solid rgba(218, 224, 232, .85);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(18, 26, 36, .08);
  min-height: 190px;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card::before {
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 20px;
  width: 54px;
}

.service-card:hover {
  border-color: rgba(226, 27, 16, .28);
  box-shadow: 0 28px 70px rgba(18, 26, 36, .13);
  transform: translateY(-4px);
}

.service-card h3,
.feature-item h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}

.service-card p,
.feature-item p,
blockquote p,
details p {
  color: var(--muted);
  line-height: 1.65;
}

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

.feature-item span {
  background: var(--red);
  border-radius: 50%;
  display: block;
  height: 14px;
  margin-bottom: 18px;
  width: 14px;
}

.quote-section {
  background:
    linear-gradient(135deg, rgba(226, 27, 16, .82), rgba(18, 26, 36, .94)),
    linear-gradient(90deg, #121a24, #26313e);
  color: #fff;
}

.quote-form,
.admin-login,
.content-editor {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 80px rgba(13, 18, 24, .18);
  padding: 30px;
}

.quote-form {
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .24);
}

.quote-form .form-control,
.quote-form .form-select,
.content-editor .form-control,
.admin-login .form-control {
  border-radius: 6px;
  min-height: 50px;
}

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

.gallery-grid figure { margin: 0; }

.gallery-grid figure {
  overflow: hidden;
  position: relative;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(18, 26, 36, .13);
  width: 100%;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-grid figure:hover img {
  filter: contrast(1.05) saturate(1.08);
  transform: scale(1.04);
}

.gallery-grid figcaption {
  font-weight: 800;
  margin-top: 10px;
}

blockquote {
  background: #fff;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 24px;
}

blockquote cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.testimonial-reply {
  background: #fff5f3;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  margin: 14px 0;
  padding: 14px 16px;
}

.testimonial-reply strong {
  color: var(--red);
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.testimonial-reply span {
  color: #4d5968;
  display: block;
  line-height: 1.55;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 20px 24px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.contact-final {
  background: #171f2a;
  color: #fff;
  text-align: center;
}

.footer {
  background:
    radial-gradient(circle at 18% 10%, rgba(226, 27, 16, .35), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(244, 182, 63, .12), transparent 24%),
    linear-gradient(135deg, #0d141d, #172536 46%, #101821);
  color: #cbd5df;
  padding: 0 0 26px;
  position: relative;
}

.footer-topline {
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  height: 5px;
}

.footer-cta {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 34px;
  padding: 24px 28px;
}

.footer-cta span {
  color: #f6c9c5;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-cta strong {
  color: #fff;
  display: block;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin-top: 6px;
  max-width: 760px;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  padding-bottom: 36px;
  padding-top: 38px;
}

.footer strong {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

.footer p {
  color: #aeb9c5;
  line-height: 1.65;
  margin: 16px 0 0;
}

.footer a,
.footer span {
  display: block;
}

.footer a {
  color: #cbd5df;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  padding: 5px 0 5px 14px;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

.footer a::before {
  background: rgba(244, 182, 63, .72);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 14px;
  width: 5px;
}

.footer a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-logo {
  color: #fff;
  margin-bottom: 6px;
  padding: 0;
  white-space: normal;
}

.footer-logo::before {
  display: none;
}

.footer-logo strong {
  color: #fff;
  font-size: 27px;
  margin: 0;
}

.footer-logo small {
  color: #f2c9c5;
}

.footer-brand {
  padding-right: 10px;
}

.footer-contact-card {
  background: linear-gradient(135deg, rgba(226, 27, 16, .3), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  margin-top: 22px;
  padding: 18px;
}

.footer-contact-card span {
  color: #f2c9c5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-contact-card a {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  padding-bottom: 0;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #98a6b5;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding-top: 20px;
}

.dropdown-menu {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(17, 24, 33, .18);
  padding: 10px;
  min-width: 270px;
}

.dropdown-item {
  border-radius: 6px;
  font-weight: 700;
  padding: 10px 12px;
}

.dropdown-item:hover {
  background: #fff1ef;
  color: var(--red);
}

.text-link {
  color: var(--red);
  display: inline-block;
  font-weight: 900;
  margin-top: 8px;
}

.page-hero {
  background:
    linear-gradient(110deg, rgba(18, 26, 36, .96), rgba(61, 76, 92, .76)),
    url("/uploads/baran-nakliyat-hero-reference.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 84px 0;
  position: relative;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.breadcrumb-band {
  background: #f3f4f6;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 14px 0;
}

.breadcrumb-band .container-xl {
  display: flex;
  gap: 10px;
}

.page-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.lead-text {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
}

.page-body article > p:not(.lead-text) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.check-list li {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(18, 26, 36, .06);
  font-weight: 800;
  padding: 14px 16px;
}

.side-menu {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(18, 26, 36, .08);
  padding: 22px;
  position: sticky;
  top: 18px;
}

.side-menu h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
}

.side-menu a {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: block;
  font-weight: 800;
  padding: 12px 0;
}

.side-menu a:hover {
  color: var(--red);
}

.cta-panel {
  align-items: center;
  background: linear-gradient(135deg, #151e29, #293646);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 34px;
  padding: 24px;
}

.cta-panel h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}

.contact-info a {
  color: var(--red);
  display: block;
  font-size: 19px;
  font-weight: 900;
  margin-top: 10px;
}

.map-section {
  background: #101821;
  padding: 0;
}

.map-section iframe {
  border: 0;
  display: block;
  filter: saturate(.88) contrast(1.04);
  height: 420px;
  width: 100%;
}

.page-editor {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
}

.whatsapp {
  background: #28b446;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .22);
  color: #fff;
  font-weight: 900;
  left: 24px;
  padding: 14px 20px;
  position: fixed;
  z-index: 20;
}

.whatsapp:hover { color: #fff; }

.admin-shell,
.admin-panel {
  background: var(--soft);
  min-height: 70vh;
  padding: 70px 0;
}

.admin-login-page {
  background:
    linear-gradient(135deg, rgba(13, 20, 29, .94), rgba(23, 37, 54, .88)),
    url("/uploads/baran-nakliyat-hero-reference.png");
  background-position: center;
  background-size: cover;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr) 440px;
  min-height: 760px;
  padding: 90px max(28px, calc((100vw - 1180px) / 2));
}

.admin-login-art {
  align-self: center;
  color: #fff;
  max-width: 720px;
}

.admin-badge {
  background: rgba(226, 27, 16, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #ffd7d2;
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 22px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.admin-login-art h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .96;
}

.admin-login-art p {
  color: #d7dee7;
  font-size: 20px;
  line-height: 1.65;
  margin-top: 22px;
}

.admin-login-card {
  align-self: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .32);
  padding: 34px;
}

.admin-login-mark {
  align-items: center;
  background: linear-gradient(135deg, #ff3023, #b5140b);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(226, 27, 16, .28);
  color: #fff;
  display: flex;
  font-size: 34px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  margin-bottom: 22px;
  width: 62px;
}

.admin-login-card h2 {
  font-size: 32px;
  margin: 0;
}

.admin-login-card p {
  color: var(--muted);
  margin: 8px 0 22px;
}

.admin-login-card label {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 16px;
}

.admin-dashboard {
  background: #e9eef3;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  padding-top: 64px;
  position: relative;
}

.admin-dashboard::before {
  display: none;
}

.admin-dashboard::after {
  display: none;
}

.admin-header {
  align-items: center;
  background: #323e4a;
  box-shadow: 0 12px 30px rgba(18, 26, 36, .18);
  color: #fff;
  display: flex;
  height: 64px;
  justify-content: space-between;
  left: 0;
  padding: 0 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 70;
}

.admin-header-brand {
  align-items: baseline;
  display: flex;
  gap: 18px;
}

.admin-header-brand strong {
  font-size: 24px;
  font-weight: 900;
}

.admin-header-brand span {
  color: #b9c5d0;
  font-size: 14px;
  font-weight: 700;
}

.admin-header nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.admin-header a {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.admin-body {
  background: #edf1f6;
}

.admin-sidebar {
  background: #fff;
  border-right: 1px solid #dce3ea;
  box-shadow: 8px 0 24px rgba(18, 26, 36, .04);
  color: #394655;
  min-height: 100vh;
  padding: 24px 20px;
  position: sticky;
  top: 64px;
}

.admin-sidebar-brand {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-sidebar-brand span {
  align-items: center;
  background: linear-gradient(135deg, #ff3023, #b5140b);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(226, 27, 16, .28);
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.admin-sidebar-brand strong {
  color: #323e4a;
  font-size: 22px;
  font-weight: 900;
}

.admin-sidebar a {
  border-left: 3px solid transparent;
  border-radius: 0;
  color: #425161;
  display: block;
  font-weight: 700;
  margin: 0 -20px;
  padding: 14px 20px 14px 38px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.admin-sidebar a:hover {
  background: #f4f8fb;
  color: #e00016;
  transform: none;
}

.admin-sidebar a.active {
  background: #fff0f1;
  border-left-color: #e00016;
  box-shadow: none;
  color: #c80013;
}

.admin-menu-caption {
  color: #9aa7b6;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.admin-menu-group {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0 -20px;
  padding: 0;
}

.admin-menu-group summary {
  border-left: 3px solid transparent;
  color: #425161;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 14px 20px 14px 38px;
  position: relative;
}

.admin-menu-group summary::-webkit-details-marker {
  display: none;
}

.admin-menu-group summary::after {
  color: #9aa7b6;
  content: "›";
  font-size: 24px;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 11px;
}

.admin-menu-group[open] summary {
  background: #f4f8fb;
  color: #e00016;
}

.admin-menu-group[open] summary::after {
  transform: rotate(90deg);
}

.admin-menu-group a {
  background: #fff;
  color: #5f6d7b;
  font-size: 15px;
  margin: 0;
  padding: 11px 20px 11px 64px;
}

.admin-menu-group a.active {
  background: #fff0f1;
  color: #c80013;
}

.menu-badge {
  background: #5b96ea;
  border-radius: 2px;
  color: #fff;
  float: right;
  font-size: 12px;
  font-weight: 900;
  min-width: 20px;
  padding: 1px 6px;
  text-align: center;
}

.admin-language-card {
  background: #f8fafc;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 14px;
}

.admin-language-card small {
  color: #8a98a8;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.admin-language-card div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}

.admin-language-card a {
  align-items: center;
  background: #fff;
  border: 1px solid #d6dee7;
  border-radius: 6px;
  color: #435264;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 9px 10px;
}

.admin-language-card a.active {
  background: linear-gradient(135deg, #ff3023, #c7140a);
  box-shadow: 0 12px 30px rgba(224, 0, 22, .2);
  color: #fff;
}

.admin-main {
  background: #e9eef3;
  padding: 34px 38px 54px;
}

.admin-top {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0;
}

.admin-top h1 {
  color: #303b46;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
}

.admin-stats div {
  background: #fff;
  border: 1px solid rgba(218, 224, 232, .9);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(18, 26, 36, .08);
  padding: 22px;
}

.admin-stats span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stats strong {
  display: block;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-top: 10px;
}

.admin-form {
  display: grid;
  gap: 24px;
}

.admin-card {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 26, 36, .04);
  padding: 20px;
}

.admin-card-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  border-bottom: 1px solid #e7edf2;
  margin: 0 -20px 18px;
  padding: 0 20px 18px;
}

.admin-card-head.inner-head {
  border-top: 1px solid #e7edf2;
  margin-top: 26px;
  padding-top: 22px;
}

.admin-card-head > div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.admin-card-head span {
  align-items: center;
  background: linear-gradient(135deg, #fff1ef, #fff8f0);
  border-radius: 8px;
  color: var(--red);
  display: flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.admin-card-head h2 {
  color: #3d4a57;
  font-size: 18px;
  margin: 0;
}

.admin-repeat {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e4eaf0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
}

.admin-repeat:not(.admin-list-row) {
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 16px;
}

.admin-accordion {
  overflow: hidden;
}

.admin-accordion summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font-weight: 900;
  gap: 18px;
  grid-template-columns: 72px minmax(220px, 1fr) minmax(220px, 1.4fr) 80px;
  min-height: 52px;
  list-style: none;
  padding: 0 8px;
}

.admin-accordion summary::-webkit-details-marker {
  display: none;
}

.admin-accordion summary::after {
  background: #fff0f1;
  border-radius: 6px;
  color: #c80013;
  content: "Aç";
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.admin-accordion[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 0;
}

.admin-accordion[open] summary::after {
  content: "Kapat";
}

.admin-accordion summary small {
  color: var(--muted);
  font-weight: 800;
  margin-left: auto;
}

.admin-list-row summary b {
  color: #8b99a9;
  font-size: 15px;
}

.admin-table-head {
  background: #f6f8fa;
  border-bottom: 1px solid #dfe7ef;
  color: #596778;
  display: grid;
  font-size: 15px;
  font-weight: 900;
  gap: 18px;
  grid-template-columns: 72px minmax(220px, 1fr) minmax(220px, 1.4fr) 80px;
  margin: -2px 0 0;
  min-height: 42px;
  padding: 10px 8px;
}

.admin-list-row .repeat-row,
.admin-list-row > input,
.admin-list-row > textarea,
.admin-list-row .rich-editor-shell,
.admin-list-row .highlight-grid,
.admin-list-row > button {
  margin: 0 8px 14px;
}

.admin-repeat.compact {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.repeat-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.admin-form textarea.form-control {
  min-height: 92px;
}

.admin-form textarea.tall {
  min-height: 120px;
}

.admin-form textarea.xlarge {
  min-height: 180px;
}

.rich-editor-shell {
  background: #fff;
  border: 1px solid #cdd6e0;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  overflow: hidden;
}

.rich-toolbar {
  align-items: center;
  background:
    linear-gradient(180deg, #ffffff, #f2f5f8);
  border-bottom: 1px solid #dce3ea;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 46px;
  padding: 7px;
}

.rich-toolbar button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #283445;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  min-width: 34px;
  padding: 0 9px;
}

.rich-toolbar button:hover {
  background: #fff1ef;
  border-color: rgba(226, 27, 16, .18);
  color: var(--red);
}

.rich-editor-box {
  color: var(--ink);
  line-height: 1.7;
  min-height: 150px;
  outline: none;
  padding: 16px;
}

.rich-editor-box:empty::before {
  color: #98a6b5;
  content: "Buraya içerik yazın...";
}

.rich-editor-box img,
.rich-content img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 16px 0;
  max-width: 100%;
}

.rich-content {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.rich-content strong,
.rich-content b {
  color: var(--ink);
}

.upload-card {
  background:
    linear-gradient(135deg, #fff, #fff8f7);
  border: 1px solid rgba(226, 27, 16, .18);
  margin-bottom: 22px;
}

.upload-card input[type="file"] {
  background: #fff;
  border: 1px dashed rgba(226, 27, 16, .36);
  cursor: pointer;
}

.upload-inline {
  background: #fff6f6;
  border: 1px dashed rgba(224, 0, 22, .32);
  border-radius: 8px;
  padding: 14px;
}

.upload-inline span {
  color: #c80013;
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

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

.add-actions {
  margin-top: 24px;
}

.add-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(7, 1fr);
}

.quote-table {
  display: grid;
  gap: 8px;
}

.quote-table > div {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 150px 1fr 150px 1.3fr 1.5fr;
  padding: 14px;
}

.quote-table .quote-table-head {
  background: #17202b;
  color: #fff;
  font-weight: 900;
}

.toggle-line {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 50px;
}

.toggle-line input {
  height: 18px;
  width: 18px;
}

.slider-head {
  margin-top: 8px;
}

.testimonial-admin-row {
  grid-template-columns: .7fr 1.2fr 1.2fr;
}

.quote-table a {
  color: var(--red);
  font-weight: 900;
}

.admin-muted {
  color: var(--muted);
  margin: 0;
}

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

.overview-card {
  background:
    linear-gradient(135deg, #fff, #f8fafc);
  border: 1px solid rgba(218, 224, 232, .9);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(18, 26, 36, .08);
  display: block;
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.overview-card:hover {
  border-color: rgba(226, 27, 16, .34);
  box-shadow: 0 28px 72px rgba(18, 26, 36, .12);
  transform: translateY(-3px);
}

.overview-card span {
  color: var(--red);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.overview-card strong {
  color: var(--ink);
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-add-inline {
  background: rgba(255, 255, 255, .82);
  border: 1px dashed rgba(226, 27, 16, .38);
  border-radius: 8px;
  margin-top: 16px;
  padding: 18px;
  text-align: right;
}

.admin-card .btn-outline-danger {
  background: #fff;
  font-weight: 900;
  min-width: 78px;
}

.admin-card input,
.admin-card textarea {
  font-size: 15px;
}

.admin-card label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.admin-login {
  margin: 0 auto;
  max-width: 430px;
}

.admin-login h1,
.admin-head h1 { font-weight: 900; }

.admin-login p { color: var(--muted); }

.admin-login > * + * { margin-top: 16px; }

.admin-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.content-editor { box-shadow: none; }

.content-editor h2 {
  border-top: 1px solid var(--line);
  font-size: 24px;
  margin: 34px 0 18px;
  padding-top: 28px;
}

.content-editor h2:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

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

.editor-grid label,
.repeat-row {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.editor-grid .wide { grid-column: 1 / -1; }

.repeat-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 14px;
}

.repeat-row.three { grid-template-columns: .5fr 1fr 1.5fr; }

.editor-save {
  margin-top: 24px;
  min-width: 220px;
}

/* Admin reference theme */
.admin-body {
  background: #f6f7fb;
}

.admin-dashboard {
  background: #f6f7fb;
  grid-template-columns: 280px minmax(0, 1fr);
  padding-top: 0;
}

.admin-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e4e8f1;
  box-shadow: 0 8px 28px rgba(38, 47, 74, .06);
  color: #1a2440;
  height: 72px;
  left: 280px;
  padding: 0 28px;
}

.admin-header-left,
.admin-header nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.admin-grid-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 6px);
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.admin-grid-trigger span {
  background: #243665;
  border-radius: 1px;
  height: 6px;
  width: 6px;
}

.admin-preview-link,
.admin-header nav a:first-child {
  background: #243665;
  border: 1px solid #243665;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(36, 54, 101, .22);
  color: #fff;
  font-weight: 800;
  padding: 10px 18px;
}

.admin-header nav a:first-child {
  display: none;
}

.admin-header a {
  color: #2c3548;
  font-size: 15px;
  font-weight: 800;
}

.admin-header a:hover {
  color: #df1010;
}

.admin-sidebar {
  background: #fff;
  border-right: 1px solid #e2e7f0;
  box-shadow: none;
  color: #516074;
  min-height: 100vh;
  padding: 0;
  position: sticky;
  top: 0;
}

.admin-sidebar-brand {
  align-items: flex-start;
  border-bottom: 1px solid #e4e8f1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 72px;
  justify-content: center;
  margin: 0;
  padding: 0 24px 0 68px;
  position: relative;
}

.admin-sidebar-brand::before {
  display: none;
}

.admin-sidebar-brand {
  padding: 0 20px;
}

.admin-side-logo {
  display: block;
  height: auto;
  margin-bottom: 4px;
  width: 178px;
}

.admin-sidebar-brand strong {
  color: #a8b0d0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.admin-sidebar-brand span {
  background: transparent;
  box-shadow: none;
  color: #7b8596;
  display: block;
  font-size: 12px;
  font-weight: 800;
  height: auto;
  width: auto;
}

.admin-language-card {
  background: #fafbfe;
  border: 1px solid #e4e8f1;
  border-radius: 4px;
  margin: 22px 16px 18px;
  padding: 14px;
}

.admin-language-card small,
.admin-menu-caption {
  color: #a0aabc;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.admin-language-card a {
  border-radius: 3px;
  color: #344056;
  font-weight: 900;
  padding: 10px 8px;
}

.admin-language-card a.active {
  background: #df1010;
  box-shadow: 0 10px 22px rgba(223, 16, 16, .2);
}

.admin-menu-caption {
  margin: 18px 24px 8px;
}

.admin-sidebar a,
.admin-menu-group summary {
  border-left: 3px solid transparent;
  border-radius: 0;
  color: #526174;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  padding: 13px 24px;
}

.admin-sidebar a {
  display: block;
}

.admin-sidebar a:hover,
.admin-menu-group summary:hover {
  background: #f1f5fb;
  color: #df1010;
  transform: none;
}

.admin-sidebar a.active,
.admin-menu-group[open] summary {
  background: #f3f7fd;
  border-left-color: #df1010;
  color: #df1010;
}

.admin-menu-group {
  margin: 0;
}

.admin-menu-group summary::after {
  color: #9aa7ba;
  content: "›";
  right: 22px;
  top: 11px;
}

.admin-menu-group[open] summary::after {
  transform: rotate(90deg);
}

.admin-menu-group a {
  background: #f9fbfe;
  color: #617086;
  font-size: 14px;
  padding: 10px 24px 10px 52px;
}

.menu-badge {
  background: #5a93e8;
  border-radius: 2px;
}

.admin-main {
  background:
    radial-gradient(circle at 100% 0, rgba(223, 16, 16, .05), transparent 24rem),
    #f6f7fb;
  padding: 108px 24px 56px;
}

.admin-top {
  align-items: flex-start;
  margin-bottom: 16px;
  min-height: 72px;
  padding: 0;
}

.admin-top .eyebrow {
  color: #df1010;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.admin-top h1 {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.admin-top .btn,
.admin-top-actions .btn {
  border-radius: 4px;
  font-weight: 900;
  min-width: 96px;
  padding: 12px 20px;
}

.admin-card {
  border: 1px solid #e2e6ef;
  border-radius: 2px;
  box-shadow: none;
  padding: 18px;
}

.admin-card-head {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  margin: -18px -18px 18px;
  padding: 20px 20px 18px;
}

.admin-card-head.inner-head {
  background: #fff;
  border-top: 1px solid #edf0f5;
  margin-left: -18px;
  margin-right: -18px;
  padding-left: 20px;
  padding-right: 20px;
}

.admin-card-head span {
  background: #fff1ee;
  border-radius: 3px;
  color: #df1010;
  height: 42px;
  width: 42px;
}

.admin-card-head h2 {
  color: #142033;
  font-size: 20px;
  font-weight: 900;
}

.btn-primary-red {
  background: #df1010;
  border-color: #df1010;
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(223, 16, 16, .22);
  font-weight: 900;
}

.btn-primary-red:hover {
  background: #c70d0d;
  border-color: #c70d0d;
}

.admin-table-head {
  background: #f1f4f8;
  border-bottom: 1px solid #dfe5ee;
  color: #4f5b6d;
  font-size: 14px;
  min-height: 44px;
  padding: 12px 8px;
}

.admin-repeat {
  border-bottom: 1px solid #e1e7f0;
}

.admin-accordion summary {
  color: #172033;
  min-height: 58px;
}

.admin-accordion summary::after {
  background: #eafaf6;
  border-radius: 4px;
  color: #079c82;
  content: "Aç";
  padding: 7px 12px;
  text-align: center;
}

.admin-accordion[open] summary {
  background: #fff;
}

.admin-accordion[open] summary::after {
  background: #fff1ee;
  color: #df1010;
  content: "Kapat";
}

.admin-list-row summary b {
  color: #7790aa;
}

.admin-list-row summary small {
  color: #4f5b6d;
  font-weight: 900;
}

.admin-card input,
.admin-card textarea,
.admin-card select,
.form-control {
  border: 1px solid #d7dee9;
  border-radius: 3px;
  color: #182236;
  font-size: 15px;
  min-height: 38px;
}

.admin-card input:focus,
.admin-card textarea:focus,
.admin-card select:focus,
.form-control:focus {
  border-color: #243665;
  box-shadow: 0 0 0 .18rem rgba(36, 54, 101, .12);
}

.admin-card label {
  color: #59667a;
  font-size: 14px;
  font-weight: 800;
}

.admin-add-inline {
  background: #fff;
  border: 1px dashed rgba(223, 16, 16, .32);
  border-radius: 2px;
  padding: 18px;
}

.rich-editor-shell {
  border-radius: 2px;
}

.rich-toolbar {
  background: #f5f7fb;
}

.upload-card {
  background: #fff;
  border-color: #e2e6ef;
}

.upload-inline {
  background: #fbfcff;
  border-color: #d7dee9;
  border-radius: 3px;
}

.upload-inline span {
  color: #243665;
}

@media (max-width: 992px) {
  .intro-grid,
  .quote-grid,
  .split-grid,
  .page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    align-items: flex-start;
    display: grid;
    gap: 6px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta strong {
    font-size: 24px;
  }

  .admin-login-page,
  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: auto;
    position: static;
  }

  .admin-header {
    left: 0;
  }

  .admin-sidebar a {
    display: block;
  }

  .admin-main {
    padding: 96px 18px 30px;
  }

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

  .quote-table > div {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .feature-grid,
  .gallery-grid,
  .showcase-grid,
  .strip-grid,
  .card-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero { min-height: 500px; }

  .hero-control {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand strong { font-size: 23px; }

  .card-grid,
  .feature-grid,
  .gallery-grid,
  .strip-grid,
  .editor-grid,
  .repeat-row,
  .repeat-row.three {
    grid-template-columns: 1fr;
  }

  .section { padding: 54px 0; }

  .hero-inner {
    padding-bottom: 72px;
    padding-top: 78px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    border-right: 0;
  }

  h2 { font-size: 30px; }

  .whatsapp {
    bottom: 14px;
    left: 14px;
    right: 14px;
    text-align: center;
  }

  .admin-top,
  .admin-card-head,
  .admin-repeat.compact {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .admin-stats,
  .add-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage reference system: intentionally isolated from the legacy page blocks. */
:root {
  --reference-navy: #062c59;
  --reference-deep: #041f43;
  --reference-red: #f0142f;
  --reference-text: #092c59;
  --reference-muted: #526986;
  --reference-surface: #f7faff;
}

body:has(.reference-home-hero) {
  background: #fff;
  color: var(--reference-text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.site-header-premium:has(+ main .reference-home-hero) {
  background: #fff;
}

.reference-home-hero {
  height: 414px;
  overflow: hidden;
  position: relative;
}

.reference-home-slider,
.reference-home-slider .carousel-inner,
.reference-home-slider .carousel-item,
.reference-home-slider img {
  height: 100%;
  width: 100%;
}

.reference-home-slider { position: relative; z-index: 0; }

.reference-home-slider img {
  object-fit: cover;
  object-position: center;
}

.reference-home-overlay {
  background: linear-gradient(90deg, rgba(3, 32, 66, .97) 0%, rgba(3, 32, 66, .83) 32%, rgba(3, 32, 66, .2) 66%, rgba(3, 32, 66, .05) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.reference-home-hero-inner {
  height: 100%;
  position: relative;
  z-index: 5;
}

.reference-home-copy {
  color: #fff;
  max-width: 610px;
  padding-top: 34px;
  position: relative;
  z-index: 6;
}

.reference-home-hero .reference-home-copy,
.reference-home-hero .reference-home-copy h1,
.reference-home-hero .reference-home-copy p,
.reference-home-hero .reference-home-copy span,
.reference-home-hero .reference-home-copy em,
.reference-home-hero .reference-home-copy a {
  opacity: 1 !important;
  visibility: visible !important;
}
.reference-home-hero .reference-home-copy { display: block !important; position: absolute !important; left: 12px; top: 0; transform: translateZ(2px); z-index: 100 !important; }
.reference-home-hero .reference-home-copy h1 { color: #fff !important; display: block !important; text-shadow: 0 2px 12px rgba(0,0,0,.18); -webkit-text-fill-color: #fff; }
.reference-home-hero .reference-home-copy h1 em { color: var(--reference-red) !important; }
.reference-home-hero .reference-home-copy h1 em { -webkit-text-fill-color: var(--reference-red); }
.reference-home-hero .reference-home-copy > * { position: relative; z-index: 101 !important; }

.reference-kicker {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 9px;
  position: relative;
  text-transform: uppercase;
}

.reference-kicker::before {
  background: var(--reference-red);
  content: "";
  display: inline-block;
  height: 3px;
  margin: 0 10px 3px 0;
  width: 24px;
}

.reference-kicker-dark { color: var(--reference-red); }

.reference-home-copy h1 {
  color: #fff;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.02;
  margin: 0 0 10px;
}

.reference-home-copy h1 span,
.reference-home-copy h1 em { display: block; font-style: normal; }
.reference-home-copy h1 em { color: var(--reference-red); }

.reference-home-description {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: 550px;
}

.reference-home-actions,
.reference-trust-row { align-items: center; display: flex; flex-wrap: wrap; gap: 11px; }

.reference-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.reference-btn:hover { box-shadow: 0 10px 24px rgba(3, 24, 52, .2); transform: translateY(-2px); }
.reference-btn-red { background: var(--reference-red); color: #fff; }
.reference-btn-light { background: #fff; color: var(--reference-text); }
.reference-icon { font-size: 19px; line-height: 1; }

.reference-trust-row { gap: 15px; margin-top: 14px; }
.reference-trust-row span { align-items: center; color: #fff; display: inline-flex; font-size: 11px; font-weight: 700; gap: 5px; white-space: nowrap; }
.reference-trust-row b { align-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; display: inline-flex; font-size: 11px; height: 20px; justify-content: center; width: 20px; }

.reference-location-badge {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  bottom: 34px;
  box-shadow: 0 18px 35px rgba(3, 24, 52, .22);
  color: var(--reference-text);
  display: flex;
  gap: 12px;
  padding: 12px 18px 12px 13px;
  position: absolute;
  right: 40px;
}

.reference-location-badge strong { font-size: 14px; line-height: 1.16; }
.reference-pin { align-items: center; background: var(--reference-red); border-radius: 50% 50% 50% 0; color: #fff; display: inline-flex; font-size: 19px; height: 38px; justify-content: center; transform: rotate(-45deg); width: 38px; }
.reference-pin::first-letter { transform: rotate(45deg); }
.reference-home-control { height: 54px; opacity: 1; top: 50%; transform: translateY(-50%); width: 66px; z-index: 70; }
.reference-home-control span { align-items: center; background: rgba(3,32,66,.72); border: 1px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 8px 22px rgba(0,0,0,.25); color: #fff; display: inline-flex; font-size: 38px; height: 46px; justify-content: center; line-height: 28px; transition: background .2s ease, transform .2s ease; width: 46px; }
.reference-home-control:hover span { background: var(--reference-red); transform: scale(1.06); }
.reference-slider-dots { bottom: 18px; display: flex; gap: 7px; left: max(22px, calc((100% - 1140px) / 2)); position: absolute; z-index: 70; }
.reference-slider-dots button { background: rgba(255,255,255,.35); border: 0; border-radius: 10px; height: 4px; padding: 0; width: 38px; }
.reference-slider-dots button.active { background: var(--reference-red); }

.public-language-switcher { align-items: center; border: 1px solid #dfe6ef; border-radius: 6px; display: inline-flex; flex: 0 0 auto; margin: 0 5px; overflow: hidden; }
.public-language-link { align-items: center; background: #fff; color: #092451; display: inline-flex; font-size: 10px; font-weight: 900; height: 30px; justify-content: center; min-width: 31px; }
.public-language-link + .public-language-link { border-left: 1px solid #dfe6ef; }
.public-language-link.active, .public-language-link:hover { background: var(--reference-red); color: #fff; }

@media (max-width: 991px) {
  .public-language-switcher { margin: 8px 0; width: max-content; }
  .reference-home-control { width: 52px; }
  .reference-home-control span { height: 40px; width: 40px; }
}

.reference-home-services { background: #fff; padding: 25px 0 13px; }
.reference-section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 10px; }
.reference-section-heading .reference-kicker { margin-bottom: 2px; }
.reference-section-heading h2 { color: var(--reference-text); font-size: 28px; margin: 0; }
.reference-section-heading > a { color: var(--reference-red); font-size: 12px; font-weight: 800; margin-bottom: 3px; }
.reference-section-heading > a span { font-size: 18px; margin-left: 5px; }
.reference-service-grid { display: grid; gap: 13px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.reference-service-card { background: #fff; border: 1px solid #e3eaf2; border-radius: 7px; box-shadow: 0 4px 13px rgba(6, 44, 89, .08); min-width: 0; overflow: hidden; padding-bottom: 11px; }
.reference-service-image { height: 90px; position: relative; }
.reference-service-image img { height: 100%; object-fit: cover; width: 100%; }
.reference-service-icon { align-items: center; background: #fff; border-radius: 50%; bottom: -18px; box-shadow: 0 3px 10px rgba(4, 31, 67, .13); color: var(--reference-red); display: flex; font-size: 25px; font-weight: 800; height: 45px; justify-content: center; left: 13px; position: absolute; width: 45px; }
.reference-service-card h3 { color: var(--reference-text); font-size: 14px; margin: 24px 13px 3px; }
.reference-service-card p { color: var(--reference-muted); font-size: 12px; line-height: 1.32; margin: 0 13px 5px; min-height: 32px; }
.reference-service-card > a { color: var(--reference-red); font-size: 12px; font-weight: 800; margin: 0 13px; }
.reference-service-card > a span { font-size: 16px; margin-left: 3px; }

.reference-stats-band { background: var(--reference-navy); color: #fff; padding: 9px 0; }
.reference-stats-layout { align-items: center; display: grid; gap: 25px; grid-template-columns: minmax(0, 1.4fr) minmax(390px, .9fr); }
.reference-stat-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.reference-stat-list > div { align-items: center; border-right: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 50px 1fr; min-height: 57px; padding: 4px 15px; }
.reference-stat-list > div:last-child { border-right: 0; }
.reference-stat-icon { align-items: center; border: 1px solid #51a8e0; border-radius: 50%; color: #fff; display: flex; font-size: 23px; grid-row: span 2; height: 42px; justify-content: center; width: 42px; }
.reference-stat-list strong { font-size: 18px; line-height: 1; }
.reference-stat-list small { color: #d2e0ee; font-size: 11px; }
.reference-testimonial { align-items: center; background: #fff; border-radius: 8px; color: var(--reference-text); display: flex; gap: 11px; margin: 0; min-height: 70px; padding: 8px 13px; }
.reference-testimonial-avatar { align-items: center; background: #e7eef7; border-radius: 6px; color: var(--reference-red); display: flex; font-size: 25px; font-weight: 800; height: 56px; justify-content: center; min-width: 56px; }
.reference-testimonial p { font-size: 10px; line-height: 1.25; margin: 2px 0; }
.reference-testimonial strong, .reference-testimonial small { display: block; font-size: 10px; }
.reference-stars { color: #f4a500; font-size: 12px; letter-spacing: 2px; }
.reference-testimonial-arrow { font-size: 30px; margin-left: auto; }

.reference-quick-cta { background: #fff; border-bottom: 1px solid #e8edf4; padding: 10px 0; }
.reference-quick-layout { align-items: center; display: grid; gap: 18px; grid-template-columns: 1.25fr auto 1.25fr; }
.reference-quick-item { align-items: center; display: flex; gap: 10px; }
.reference-quick-icon { align-items: center; background: #fff0f2; border-radius: 50%; color: var(--reference-red); display: flex; font-size: 22px; height: 38px; justify-content: center; width: 38px; }
.reference-quick-item strong, .reference-quick-item small { display: block; }
.reference-quick-item strong { color: var(--reference-text); font-size: 12px; }
.reference-quick-item small { color: var(--reference-muted); font-size: 10px; }
.reference-whatsapp-item > a { border: 1px solid #10ad5a; border-radius: 5px; color: #079d4e; font-size: 11px; font-weight: 800; margin-left: auto; padding: 8px 13px; white-space: nowrap; }

.reference-home-about { background: var(--reference-surface); padding: 45px 0; }
.reference-about-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.reference-about-grid h2, .reference-quote-layout h2 { color: var(--reference-text); font-size: 30px; margin: 0 0 9px; }
.reference-about-grid p { color: var(--reference-muted); line-height: 1.6; margin: 0; max-width: 560px; }
.reference-about-panel { align-items: center; background: linear-gradient(135deg, var(--reference-navy), #0a4d83); border-radius: 8px; color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 25px; text-align: center; }
.reference-about-panel strong { font-size: 28px; font-style: italic; }
.reference-about-panel span { font-size: 13px; margin-top: 8px; }
.reference-quote-section { background: #fff; padding: 42px 0; }
.reference-quote-layout { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.reference-quote-layout > div p:last-child { color: var(--reference-muted); line-height: 1.5; }
.reference-quote-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.reference-quote-form input { border: 1px solid #dce5ef; border-radius: 5px; color: var(--reference-text); min-height: 41px; padding: 0 12px; }
.reference-quote-form button { border: 0; grid-column: 1 / -1; }

.site-header-premium:has(+ main .reference-home-hero) .public-topbar { background: var(--reference-navy); min-height: 31px; }
.site-header-premium:has(+ main .reference-home-hero) .public-topbar-inner { align-items: center; font-size: 11px; min-height: 31px; padding-bottom: 0; padding-top: 0; }
.site-header-premium:has(+ main .reference-home-hero) .main-nav { background: #fff; box-shadow: 0 2px 12px rgba(5, 33, 67, .08); min-height: 68px; }
.site-header-premium:has(+ main .reference-home-hero) .main-nav .container-xl { min-height: 68px; }
.site-header-premium:has(+ main .reference-home-hero) .main-nav .nav-link { color: var(--reference-text); font-size: 12px; }
.site-header-premium:has(+ main .reference-home-hero) .main-nav .nav-link:hover { color: var(--reference-red); }
.site-header-premium:has(+ main .reference-home-hero) .btn-quote { background: var(--reference-red); border-radius: 6px; color: #fff; font-size: 12px; padding: 11px 18px; }
.site-header-premium:has(+ main .reference-home-hero) .brand-logo-img { width: 186px; }

body:has(.reference-home-hero) .footer { background: var(--reference-deep); color: #fff; }
body:has(.reference-home-hero) .footer-topline { background: var(--reference-red); height: 0; }
body:has(.reference-home-hero) .footer-cta { background: linear-gradient(90deg, #062c59, #0a385f); border-bottom: 1px solid rgba(255,255,255,.2); }
body:has(.reference-home-hero) .footer-grid { background: var(--reference-deep); }
body:has(.reference-home-hero) .footer a, body:has(.reference-home-hero) .footer p, body:has(.reference-home-hero) .footer span { color: #d3e1ef; }
body:has(.reference-home-hero) .footer strong, body:has(.reference-home-hero) .footer h3 { color: #fff; }

@media (max-width: 1100px) {
  .reference-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reference-stats-layout { grid-template-columns: 1fr; }
  .reference-testimonial { max-width: 520px; }
}

@media (max-width: 760px) {
  .reference-home-hero { height: 555px; }
  .reference-home-copy { max-width: 100%; padding: 35px 14px 0; }
  .reference-home-copy h1 { font-size: 35px; }
  .reference-home-description { font-size: 14px; max-width: 410px; }
  .reference-home-control { width: 35px; }
  .reference-location-badge { bottom: 25px; right: 18px; }
  .reference-slider-dots { left: 14px; }
  .reference-section-heading { align-items: start; flex-direction: column; gap: 8px; padding: 0 14px; }
  .reference-section-heading h2 { font-size: 23px; }
  .reference-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 14px; }
  .reference-stats-layout, .reference-quick-layout, .reference-about-grid, .reference-quote-layout { gap: 18px; grid-template-columns: 1fr; padding-left: 14px; padding-right: 14px; }
  .reference-stat-list { grid-template-columns: repeat(2, 1fr); }
  .reference-stat-list > div:nth-child(2) { border-right: 0; }
  .reference-quick-layout { padding-bottom: 10px; padding-top: 10px; }
  .reference-quick-layout > .reference-btn { justify-self: start; }
  .reference-quote-form { grid-template-columns: 1fr; }
  .reference-quote-form button { grid-column: auto; }
  .reference-home-about { padding: 30px 0; }
}

.mobile-menu-button { align-items: center; background: #fff; border: 2px solid #071f49 !important; display: none; flex-direction: column; gap: 5px; height: 44px; justify-content: center; padding: 0; width: 48px; }
.mobile-menu-button span { background: #071f49; display: block; height: 3px; transition: transform .2s ease, opacity .2s ease; width: 25px; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.license-page { background: #f3f6fb; color: #071f49; min-height: 100vh; }
.license-shell { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 520px); margin: 0 auto; min-height: 100vh; }
.license-brand { background: linear-gradient(135deg, #062c59, #0a4d83); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 8vw, 110px); }
.license-brand img { background: #fff; border-radius: 6px; max-width: 310px; padding: 12px; width: 100%; }
.license-brand span { color: #ff263d; font-size: .82rem; font-weight: 900; margin-top: 42px; }
.license-brand h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; margin: 14px 0; max-width: 680px; }
.license-brand p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.license-card { align-self: center; background: #fff; border: 1px solid #e4eaf2; border-radius: 8px; box-shadow: 0 24px 70px rgba(5,31,70,.14); margin: 32px; padding: clamp(28px, 5vw, 52px); }
.license-card h2 { color: #071f49; font-size: 1.8rem; margin: 12px 0 6px; }
.license-card p { color: #63738b; }
.license-lock { align-items: center; background: #fff0f2; border-radius: 50%; display: flex; font-size: 1.5rem; height: 52px; justify-content: center; width: 52px; }
.license-alert { color: #c40d22; font-size: .9rem; font-weight: 700; margin: 18px 0; min-height: 22px; }
.license-card label { display: block; font-weight: 800; margin-bottom: 8px; }
.license-card textarea { border: 1px solid #ccd6e5; border-radius: 6px; min-height: 130px; padding: 12px; resize: vertical; width: 100%; }
.license-submit { background: #ed1b2f; border: 0; border-radius: 6px; color: #fff; cursor: pointer; font-weight: 900; margin-top: 14px; min-height: 50px; width: 100%; }
@media (max-width: 991.98px) { .mobile-menu-button { display: flex; flex: 0 0 48px; } }
@media (max-width: 800px) { .license-shell { grid-template-columns: 1fr; }.license-brand { min-height: 42vh; padding: 36px 24px; }.license-card { margin: 20px; } }

/* Prominent phone CTAs requested for the public header and floating contact area. */
.reference-header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.reference-header-actions .reference-header-quote { margin-left: 0; }

.reference-header-call {
  align-items: center;
  color: #071f49;
  display: inline-flex;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
}

.reference-header-call > span:last-child { display: grid; gap: 3px; }
.reference-header-call strong { color: #ed1b2f; font-size: 13px; font-weight: 900; }
.reference-header-call small { color: #071f49; font-size: 17px; font-weight: 900; line-height: 1; }

.animated-call-icon {
  align-items: center;
  animation: callColorPulse 1.4s ease-in-out infinite, callRing 1.4s ease-in-out infinite;
  background: #ed1b2f;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(237, 27, 47, .4);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 19px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

@keyframes callColorPulse {
  0%, 100% { background: #ed1b2f; }
  50% { background: #08a94e; }
}

@keyframes callRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 27, 47, .45); transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-10deg) scale(1.08); }
  40% { box-shadow: 0 0 0 8px rgba(8, 169, 78, 0); transform: rotate(10deg) scale(1.08); }
  60% { transform: rotate(-7deg) scale(1.04); }
  80% { transform: rotate(5deg) scale(1); }
}

.floating-contact-stack {
  bottom: 22px;
  display: grid;
  gap: 9px;
  left: 22px;
  position: fixed;
  z-index: 90;
}

.floating-contact-stack .whatsapp,
.floating-phone {
  align-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .22);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 9px;
  left: auto;
  min-height: 48px;
  padding: 7px 17px;
  position: static !important;
  right: auto;
  text-align: left;
}

.floating-contact-stack .whatsapp { background: #13aa52; }
.floating-phone { background: #082b58; }
.floating-contact-stack .whatsapp > span:first-child { font-size: 22px; }
.floating-contact-stack a > span:last-child { display: grid; gap: 2px; }
.floating-contact-stack a strong { display: block; font-size: 13px; }
.floating-contact-stack a:hover { color: #fff; transform: translateY(-2px); }
.floating-phone .animated-call-icon { height: 34px; width: 34px; }

@media (min-width: 761px) and (max-width: 1420px) {
  .reference-header-call small { display: block; font-size: 14px; }
  .reference-header-call strong { font-size: 11px; }
  .reference-header-actions { gap: 5px; margin-left: 3px; }
  .animated-call-icon { height: 32px; width: 32px; }
}

@media (max-width: 991px) {
  .reference-header-actions { align-items: flex-start; flex-direction: column; margin: 7px 0; }
  .reference-header-call { padding: 6px 0; }
}

@media (max-width: 640px) {
  .floating-contact-stack { bottom: 10px; gap: 6px; left: 10px; right: 10px; }
  .floating-contact-stack .whatsapp,
  .floating-phone { justify-content: center; min-height: 42px; padding: 5px 12px; }
  .floating-contact-stack a > span:last-child { display: flex; gap: 6px; }
  .floating-contact-stack .animated-call-icon { height: 30px; width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .animated-call-icon { animation: none; }
}

.admin-stats-editor {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.admin-stat-editor {
  background: #f7f9fc;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  display: grid;
  gap: 10px;
  margin: 0;
  min-width: 0;
  padding: 14px;
}

.admin-stat-editor legend {
  color: #0a2752;
  float: none;
  font-size: 13px;
  font-weight: 900;
  margin: 0;
  width: auto;
}

.admin-stat-editor label { color: #53657d; display: grid; font-size: 11px; font-weight: 800; gap: 5px; }

@media (max-width: 1100px) { .admin-stats-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .admin-stats-editor { grid-template-columns: 1fr; } }

/* Search and slider management */
.site-search-panel {
  background: #fff;
  border-top: 1px solid #e5eaf0;
  box-shadow: 0 18px 36px rgba(3, 32, 66, .16);
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 120;
}
.site-search-panel.is-open { display: block; }
.site-search-panel-inner { padding-bottom: 22px; padding-top: 22px; }
.site-search-panel form { margin: 0 auto; max-width: 840px; }
.site-search-panel label { color: var(--reference-text); display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.site-search-field { align-items: center; border: 1px solid #cad5e2; border-radius: 7px; display: grid; gap: 10px; grid-template-columns: auto minmax(0, 1fr) auto auto; min-height: 54px; overflow: hidden; padding-left: 16px; }
.site-search-field > span { color: var(--reference-muted); font-size: 25px; }
.site-search-field input { border: 0; color: var(--reference-text); font-size: 16px; min-width: 0; outline: 0; }
.site-search-field button { align-self: stretch; border: 0; font-weight: 800; padding: 0 24px; }
.site-search-field button[type="submit"] { background: var(--reference-red); color: #fff; }
.site-search-field .site-search-close { background: #edf2f7; color: var(--reference-text); font-size: 24px; padding: 0 18px; }

.search-page-hero { background: var(--reference-navy); color: #fff; padding: 48px 0; }
.search-page-hero h1 { color: #fff; font-size: 42px; margin: 0 0 20px; }
.search-page-form { display: grid; grid-template-columns: minmax(0, 1fr) 120px; max-width: 820px; }
.search-page-form input { border: 0; border-radius: 7px 0 0 7px; min-height: 52px; padding: 0 17px; }
.search-page-form button { background: var(--reference-red); border: 0; border-radius: 0 7px 7px 0; color: #fff; font-weight: 800; }
.search-results-section { background: #f5f8fc; min-height: 420px; padding: 38px 0 56px; }
.search-results-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 15px; }
.search-results-heading strong { color: var(--reference-text); font-size: 20px; }
.search-results-heading span { color: var(--reference-muted); font-size: 13px; }
.search-results-list { background: #fff; border: 1px solid #dfe6ee; border-radius: 8px; overflow: hidden; }
.search-result-item { align-items: center; border-bottom: 1px solid #e7edf3; display: grid; gap: 18px; grid-template-columns: 82px minmax(0, 1fr) auto; padding: 18px 20px; transition: background .2s ease; }
.search-result-item:last-child { border-bottom: 0; }
.search-result-item:hover { background: #f7faff; }
.search-result-item > span { background: #fff0f2; border-radius: 5px; color: var(--reference-red); font-size: 11px; font-weight: 800; padding: 7px 9px; text-align: center; }
.search-result-item h2 { color: var(--reference-text); font-size: 18px; margin: 0 0 4px; }
.search-result-item p { color: var(--reference-muted); font-size: 13px; margin: 0; }
.search-result-item b { color: var(--reference-red); font-size: 22px; }
.search-empty { background: #fff; border: 1px solid #dfe6ee; border-radius: 8px; padding: 36px; text-align: center; }
.search-empty strong { color: var(--reference-text); display: block; font-size: 22px; }
.search-empty p { color: var(--reference-muted); margin: 8px 0 16px; }
.search-empty a { color: var(--reference-red); font-weight: 800; }

.slider-editor-form { border-top: 1px solid #edf1f5; padding: 20px 8px 10px; }
.slider-delete-form { padding: 0 8px 18px; }
.admin-repeat[open] { background: #fbfcfe; }

@media (max-width: 760px) {
  .site-search-panel { position: fixed; top: 0; }
  .site-search-panel-inner { padding: 18px 14px; }
  .site-search-field { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-search-field button[type="submit"] { padding: 0 16px; }
  .site-search-field .site-search-close { grid-column: 1 / -1; min-height: 40px; }
  .search-page-hero { padding: 35px 14px; }
  .search-page-hero h1 { font-size: 32px; }
  .search-page-form { grid-template-columns: 1fr; }
  .search-page-form input, .search-page-form button { border-radius: 6px; }
  .search-page-form button { min-height: 46px; }
  .search-results-section { padding: 25px 14px 42px; }
  .search-results-heading { align-items: start; flex-direction: column; gap: 5px; }
  .search-result-item { grid-template-columns: 70px minmax(0, 1fr); padding: 15px 12px; }
  .search-result-item > b { display: none; }
}

/* SEO and author credit */
.seo-admin-card { max-width: 1000px; }
.seo-admin-card label > small { color: var(--muted); display: block; font-size: 11px; line-height: 1.45; margin-top: 6px; }
.developer-credit { color: #c6d1df; font-size: 10px; text-align: left; white-space: nowrap; }
.developer-credit strong { color: #fff; display: inline !important; font-size: inherit !important; }
.developer-credit a { color: #fff; display: inline !important; font-size: inherit; font-weight: 800; padding: 0; }
.developer-credit a:hover { color: var(--red); transform: none; }
.admin-credit-footer { background: #fff; border-top: 1px solid #e1e7ef; color: #637188; font-size: 10px; margin-left: 238px; padding: 12px 28px; text-align: left; white-space: nowrap; }
.admin-credit-footer strong { color: var(--navy); }
.admin-credit-footer a { color: var(--red); font-weight: 800; text-decoration: none; }
body:has(.admin-login-page) .admin-credit-footer { margin-left: 0; }
@media (max-width: 760px) {
  .footer-bottom { gap: 10px; justify-content: center; text-align: center; }
  .footer-bottom > span { width: 100%; }
  .admin-credit-footer { margin-left: 0; padding: 14px 16px; }
}

/* Interaction and contact refinements */
.reference-testimonial-rotator {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: var(--reference-text);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  min-height: 78px;
  overflow: hidden;
  padding: 5px;
}
.reference-testimonial-track { min-width: 0; }
.reference-testimonial-item { align-items: center; display: none; gap: 11px; margin: 0; min-height: 68px; padding: 5px 7px; }
.reference-testimonial-item.is-active { animation: testimonial-in .35s ease both; display: flex; }
.reference-testimonial-control,
.reference-testimonial-rotator .reference-testimonial-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--reference-text);
  display: flex;
  font-size: 27px;
  height: 38px;
  justify-content: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  width: 34px;
}
.reference-testimonial-control:hover,
.reference-testimonial-rotator .reference-testimonial-arrow:hover { color: var(--reference-red); }
.reference-testimonial-item p { font-size: 10px; line-height: 1.25; margin: 2px 0; }
.reference-testimonial-item strong,
.reference-testimonial-item small { display: block; font-size: 10px; }
@keyframes testimonial-in { from { opacity: 0; transform: translateX(9px); } to { opacity: 1; transform: translateX(0); } }

.contact-reference-section { background: #f5f8fc; padding: 58px 0 70px; }
.contact-reference-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); }
.contact-reference-map { border-radius: 8px; box-shadow: 0 22px 50px rgba(4, 34, 70, .12); min-height: 610px; overflow: hidden; position: relative; }
.contact-reference-map iframe { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }
.contact-map-caption { background: #fff; bottom: 20px; box-shadow: 0 10px 30px rgba(4, 34, 70, .18); display: flex; flex-direction: column; left: 20px; max-width: calc(100% - 40px); padding: 14px 18px; position: absolute; }
.contact-map-caption strong { color: var(--navy); font-size: 15px; }
.contact-map-caption span { color: var(--muted); font-size: 12px; }
.contact-reference-panel { background: #fff; border-top: 4px solid var(--red); box-shadow: 0 22px 50px rgba(4, 34, 70, .1); padding: 34px; }
.contact-reference-panel h2 { color: var(--navy); font-size: clamp(28px, 3vw, 40px); line-height: 1.08; margin: 8px 0 12px; }
.contact-reference-lead { color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.contact-reference-details { display: grid; gap: 8px; margin-bottom: 22px; }
.contact-reference-details > a { align-items: center; background: #f5f8fc; color: var(--navy); display: flex; gap: 12px; padding: 10px 12px; text-decoration: none; }
.contact-reference-details > a > span { align-items: center; background: var(--red); border-radius: 50%; color: #fff; display: flex; height: 34px; justify-content: center; width: 34px; }
.contact-reference-details small,
.contact-reference-details strong { display: block; }
.contact-reference-details small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.contact-reference-details strong { font-size: 14px; }
.contact-reference-form .form-control { border-color: #d9e2ee; border-radius: 4px; min-height: 48px; }
.contact-reference-form textarea.form-control { min-height: 86px; }
.contact-reference-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.contact-reference-actions .btn { min-height: 50px; }
.contact-whatsapp-btn { align-items: center; border: 1px solid #00a859; color: #008d4b; display: flex; font-weight: 800; justify-content: center; }
.contact-whatsapp-btn:hover { background: #00a859; color: #fff; }

.quote-table > div { grid-template-columns: 132px minmax(130px, .8fr) 135px minmax(170px, 1.1fr) minmax(180px, 1.2fr) 148px; }
.quote-row-actions { align-items: center; display: flex; gap: 7px; }
.quote-row-actions form { margin: 0; }

.page-hero { background-image: linear-gradient(90deg, rgba(1, 30, 64, .95), rgba(1, 30, 64, .58)), url('/uploads/baran-nakliyat-hero-reference.png') !important; }
.admin-login-page { background-image: linear-gradient(110deg, rgba(1, 36, 76, .97) 0%, rgba(1, 36, 76, .78) 48%, rgba(225, 0, 22, .7) 70%, rgba(255, 255, 255, .98) 70%) !important; }

@media (max-width: 980px) {
  .contact-reference-layout { grid-template-columns: 1fr; }
  .contact-reference-map { min-height: 430px; }
  .quote-table { overflow-x: auto; }
  .quote-table > div { min-width: 940px; }
}
@media (max-width: 600px) {
  .contact-reference-section { padding: 30px 0 45px; }
  .contact-reference-panel { padding: 23px 18px; }
  .contact-reference-map { min-height: 360px; }
  .contact-reference-actions { grid-template-columns: 1fr; }
  .reference-testimonial-rotator { width: 100%; }
}

/* Social media settings and public links */
.public-social-links,
.footer-social-links { align-items: center; display: flex; gap: 7px; }
.public-social-links { margin-left: auto; }
.public-social-links strong { font-size: 11px; margin: 0 4px 0 0; white-space: nowrap; }
.public-social-links a,
.footer-social-links a { align-items: center; display: inline-flex; justify-content: center; padding: 0; text-decoration: none; transform: none; }
.social-brand-icon { align-items: center; background: #102f5e; border-radius: 50%; color: #fff; display: inline-flex; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 900; height: 28px; justify-content: center; line-height: 1; position: relative; width: 28px; }
.public-social-links .social-brand-icon { background: rgba(255,255,255,.13); height: 24px; width: 24px; }
.footer-social-links { margin-top: 14px; }
.footer-social-links .social-brand-icon { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.social-brand-icon.facebook { font-family: Arial, Helvetica, sans-serif; font-size: 18px; padding-top: 3px; }
.social-brand-icon.twitter { font-size: 12px; }
.social-brand-icon.youtube { font-size: 11px; }
.social-brand-icon.instagram::before { border: 2px solid currentColor; border-radius: 6px; content: ""; height: 14px; width: 14px; }
.social-brand-icon.instagram::after { border: 2px solid currentColor; border-radius: 50%; content: ""; height: 5px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 5px; }
.public-social-links a:hover .social-brand-icon,
.footer-social-links a:hover .social-brand-icon { background: var(--red); transform: translateY(-1px); }

.social-admin-card { max-width: 1000px; }
.social-admin-intro { margin: 2px 0 22px; }
.social-admin-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social-admin-field { align-items: center; background: #f7f9fc; border: 1px solid #e2e8f0; display: grid; gap: 14px; grid-template-columns: 46px minmax(0, 1fr); margin: 0; padding: 16px; }
.social-admin-field > .social-brand-icon { background: var(--navy); height: 44px; width: 44px; }
.social-admin-field > div { min-width: 0; }
.social-admin-field strong { color: var(--navy); display: block; font-size: 13px; margin-bottom: 7px; }
.social-admin-field .form-control { background: #fff; min-height: 45px; }
@media (max-width: 760px) {
  .social-admin-grid { grid-template-columns: 1fr; }
  .public-social-links { display: none; }
}

@media (max-width: 480px) {
  .reference-home-hero { height: 590px; }
  .reference-home-copy h1 { font-size: 31px; }
  .reference-trust-row { display: grid; grid-template-columns: 1fr 1fr; }
  .reference-service-grid { grid-template-columns: 1fr; }
  .reference-service-image { height: 130px; }
  .reference-stat-list > div { padding-left: 5px; padding-right: 5px; }
  .reference-stat-list strong { font-size: 15px; }
  .reference-stat-list small { font-size: 10px; }
}

/* Shared public header and administration surfaces follow the supplied catalog. */
.reference-topbar-inner { align-items: center; display: flex; gap: 22px; }
.reference-topbar-inner em { font-style: normal; margin-left: auto; }
.reference-main-nav { background: #fff; min-height: 68px; }
.reference-main-nav > .container-xl { align-items: center; display: flex; min-height: 68px; padding-left: 12px !important; padding-right: 12px !important; }
.reference-brand-lockup { align-items: flex-end; display: flex; flex-direction: column; flex-shrink: 0; margin-right: 70px; position: relative; z-index: 50; }
.reference-brand-lockup .brand-logo-img { display: block; height: auto; width: 184px; }
.reference-brand-lockup > span { color: #1b3154; font-family: Georgia, serif; font-size: 10px; font-style: italic; margin-right: 1px; margin-top: -2px; }
.reference-nav-list { gap: 5px; justify-content: flex-end; width: 100%; }
.reference-nav-list .nav-link { color: var(--reference-text); font-size: 12px; font-weight: 800; padding: 25px 11px 22px; white-space: nowrap; }
.reference-nav-list .nav-link::after { background: var(--reference-red); bottom: 11px; height: 3px; left: 11px; right: 11px; }
.reference-nav-list .nav-link:hover, .reference-nav-list .nav-link:focus { color: var(--reference-red); }
.reference-header-quote { background: var(--reference-red); border-radius: 6px; color: #fff !important; font-size: 12px; margin-left: 14px; padding: 12px 18px !important; white-space: nowrap; }
.reference-search-button { background: transparent; border: 0; color: var(--reference-text); font-size: 27px; line-height: 1; padding: 9px 4px 9px 10px; }
.reference-search-button:hover { color: var(--reference-red); }

.reference-brand-lockup .brand-logo-img { width: 208px; }
.reference-home-hero h1, .reference-section-heading h2, .reference-services-copy h1, .reference-detail-service-card h2, .reference-service-sidebar h2, .reference-about-grid h2 { font-family: Arial, Helvetica, sans-serif; font-weight: 800; letter-spacing: -.35px; }

.reference-services-hero { background: #fff; overflow: hidden; }
.reference-services-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 356px; }
.reference-services-copy { padding: 32px 30px 25px 15px; position: relative; }
.reference-services-copy::before { background: linear-gradient(135deg, transparent 0 45%, #ed1b2f 45% 52%, transparent 52%); content: ""; inset: 0 -70px 0 auto; position: absolute; width: 150px; }
.reference-services-copy .public-breadcrumb { margin-bottom: 24px; position: relative; }
.reference-services-copy h1 { color: var(--reference-text); font-size: 52px; margin: 0 0 12px; position: relative; }
.reference-services-copy > p:not(.reference-kicker) { color: var(--reference-muted); font-size: 15px; line-height: 1.45; max-width: 535px; position: relative; }
.reference-services-hero-grid figure { margin: 0; overflow: hidden; position: relative; }
.reference-services-hero-grid figure::before { background: linear-gradient(90deg, rgba(4,31,67,.8), transparent 35%); content: ""; inset: 0; position: absolute; z-index: 1; }
.reference-services-hero-grid figure img { height: 100%; object-fit: cover; width: 100%; }
.reference-services-points { display: flex; gap: 28px; margin-top: 23px; position: relative; }
.reference-services-points span { color: var(--reference-red); display: grid; font-size: 24px; grid-template-columns: 28px 1fr; }
.reference-services-points b { color: var(--reference-text); font-size: 12px; padding-top: 4px; }
.reference-services-points small { color: var(--reference-muted); font-size: 10px; grid-column: 2; }
.reference-services-content { background: #fbfcfe; padding: 13px 0 38px; }
.reference-services-layout { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 255px; }
.reference-services-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reference-detail-service-card { background: #fff; border: 1px solid #e3eaf2; border-radius: 7px; box-shadow: 0 3px 10px rgba(6,44,89,.06); overflow: hidden; padding-bottom: 11px; }
.reference-detail-service-image { height: 92px; position: relative; }
.reference-detail-service-image img { height: 100%; object-fit: cover; width: 100%; }
.reference-detail-service-image span { align-items: center; background: #fff; border-radius: 50%; bottom: -16px; box-shadow: 0 3px 9px rgba(4,31,67,.12); color: var(--reference-red); display: flex; font-size: 22px; height: 42px; justify-content: center; left: 12px; position: absolute; width: 42px; }
.reference-detail-service-card h2 { color: var(--reference-text); font-size: 14px; margin: 23px 12px 5px; }
.reference-detail-service-card p { color: var(--reference-muted); font-size: 11px; line-height: 1.45; margin: 0 12px 7px; min-height: 47px; }
.reference-detail-service-card a { color: var(--reference-red); font-size: 11px; font-weight: 800; margin: 0 12px; }
.reference-service-sidebar { background: #fff; border: 1px solid #e3eaf2; border-radius: 8px; overflow: hidden; }
.reference-service-sidebar h2 { color: var(--reference-text); font-size: 18px; margin: 0; padding: 16px; }
.reference-service-sidebar > a { border-top: 1px solid #edf0f5; color: var(--reference-text); display: flex; font-size: 12px; justify-content: space-between; padding: 9px 15px; }
.reference-service-sidebar > a:first-of-type { background: #fff0f2; border-left: 7px solid var(--reference-red); color: var(--reference-red); font-weight: 800; }
.reference-call-card { border-top: 1px solid #edf0f5; display: grid; gap: 4px; margin-top: 12px; padding: 18px 15px; }
.reference-call-card strong { color: var(--reference-text); font-size: 12px; }
.reference-call-card b { color: var(--reference-red); font-size: 20px; }
.reference-call-card small { color: var(--reference-muted); font-size: 10px; }

@media (max-width: 1100px) {
  .reference-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .reference-brand-lockup .brand-logo-img { width: 177px; }
  .reference-services-hero-grid, .reference-services-layout { grid-template-columns: 1fr; }
  .reference-services-hero-grid figure { min-height: 250px; order: -1; }
  .reference-services-copy { padding: 25px 14px; }
  .reference-services-copy h1 { font-size: 39px; }
  .reference-services-points { gap: 12px; }
  .reference-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-service-sidebar { margin: 0 14px; }
}
@media (max-width: 480px) {
  .reference-services-grid { grid-template-columns: 1fr; }
}

.admin-body { background: #f5f7fb; color: #0a2147; }
.admin-dashboard { background: #f5f7fb; }
.admin-sidebar { padding-top: 0; }
.admin-sidebar-brand { align-items: center; display: flex; gap: 10px; min-height: 66px; padding: 8px 17px; }
.admin-sidebar-brand::before { display: none; }
.admin-sidebar-brand .admin-side-logo { max-width: 145px; }
.admin-sidebar-brand strong { display: none; }
.admin-header { align-items: center; display: flex; }
.admin-header-left { align-items: center; display: flex; min-width: 0; }
.admin-header .admin-searchbox { align-items: center; background: #f1f4f9; border-radius: 7px; display: flex; gap: 9px; margin-left: 0; max-width: 475px; min-height: 41px; padding: 0 14px; width: 100%; }
.admin-header .admin-searchbox span { color: #536b8d; font-size: 23px; }
.admin-header .admin-searchbox input { background: transparent; border: 0; color: #18325a; font-size: 12px; outline: 0; width: 100%; }
.admin-header nav { align-items: center; display: flex; margin-left: auto; }
.admin-header nav > a { align-items: center; display: inline-flex; min-height: 40px; }
.admin-header .admin-user-chip { gap: 8px; line-height: 1.05; }
.admin-header .admin-user-chip b { align-items: center; background: #08264e; border-radius: 50%; color: #fff; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.admin-header .admin-user-chip span { display: flex; flex-direction: column; }
.admin-header .admin-user-chip small { color: #6d7d96; font-size: 10px; margin-top: 3px; }
.admin-sidebar a, .admin-menu-group summary { font-size: 12px; padding: 9px 14px; }
.admin-sidebar .admin-language-card { margin: 9px 16px 10px; }
.admin-sidebar .admin-menu-caption { display: none; }
.admin-main { padding-bottom: 30px; }
.admin-commandbar { display: none; }
.admin-top h1 { color: #0a2147; font-size: 25px; }
.admin-welcome-copy { color: #586d8d; font-size: 14px; }
.admin-stat-card { border: 1px solid #e6ebf2; box-shadow: 0 4px 14px rgba(8, 36, 77, .04); }
.admin-panel-card { border: 1px solid #e6ebf2; box-shadow: 0 4px 14px rgba(8, 36, 77, .04); }

.admin-login-page { background: linear-gradient(112deg, rgba(3, 39, 87, .95) 0%, rgba(25, 42, 95, .9) 35%, rgba(227, 12, 53, .82) 64%, #f5f8fc 64%), url('/uploads/baran-nakliyat-hero-reference.png') center / cover; }
.admin-login-art { background: transparent; }
.admin-login-card { border-radius: 12px; }

@media (max-width: 1100px) {
  .reference-brand-lockup { margin-right: 20px; }
  .reference-nav-list .nav-link { padding-left: 7px; padding-right: 7px; }
  .reference-header-quote { margin-left: 2px; padding-left: 11px !important; padding-right: 11px !important; }
}

@media (max-width: 991px) {
  .reference-main-nav > .container-xl { flex-wrap: wrap; padding-bottom: 8px; padding-top: 8px; }
  .reference-brand-lockup { margin-right: auto; }
  .reference-main-nav .navbar-toggler { border-color: var(--reference-text); }
  .reference-main-nav .navbar-collapse { flex-basis: 100%; }
  .reference-nav-list { align-items: stretch !important; gap: 0; padding-top: 9px; }
  .reference-nav-list .nav-link { padding: 11px 0; }
  .reference-nav-list .nav-link::after { bottom: 2px; left: 0; right: auto; width: 30px; }
  .reference-header-quote { display: inline-flex; margin: 7px 0; }
  .reference-search-button { padding-left: 0; }
}

@media (max-width: 760px) {
  .reference-topbar-inner { gap: 5px 12px; }
  .reference-topbar-inner em { display: none; }
  .reference-topbar-inner a, .reference-topbar-inner span { font-size: 10px; }
  .admin-header .admin-searchbox { max-width: 260px; }
}

/* Final premium polish */
.brand-logo-img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 270px;
}

.brand-fallback {
  display: none;
}

.brand-contact-band {
  grid-template-columns: 1.25fr 1fr .9fr 1.2fr auto;
}

.header-language-panel {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(17, 27, 74, .08);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 27, 74, .08);
  min-width: 150px;
  padding: 10px;
}

.header-language-panel > span {
  color: #111b4a;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
  text-align: center;
  text-transform: uppercase;
}

.header-language {
  gap: 8px;
  justify-content: center;
}

.language-switch {
  background: #fff;
  border: 1px solid #e8dce3;
  border-radius: 6px;
  color: #111b4a;
  font-size: 15px;
  font-weight: 900;
  height: 42px;
  min-width: 56px;
}

.language-switch.active {
  background: #e00016;
  border-color: #e00016;
  box-shadow: 0 12px 24px rgba(224, 0, 22, .22);
  color: #fff;
}

.footer-logo {
  background: #fff;
  border-radius: 8px;
  display: inline-flex;
  padding: 8px 12px;
}

.footer-logo .brand-logo-img {
  width: 230px;
}

.gallery-card {
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(17, 27, 74, .14);
  display: block;
  min-height: 280px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.showcase-grid .gallery-card {
  min-height: auto;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
  width: 100%;
}

.gallery-card.mini img {
  aspect-ratio: 16 / 9;
}

.gallery-overlay {
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(17, 27, 74, .04), rgba(17, 27, 74, .88));
  color: #fff;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  opacity: 0;
  padding: 26px;
  position: absolute;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}

.gallery-overlay strong {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.gallery-overlay small {
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 8px;
}

.gallery-overlay em {
  background: #e00016;
  border-radius: 5px;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  margin-top: 14px;
  padding: 9px 12px;
}

.gallery-card:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.06);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.site-lightbox {
  align-items: center;
  background: rgba(7, 11, 22, .86);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 3000;
}

.site-lightbox-prev,
.site-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(230,0,26,.9);
    color: #fff;
    font-size: 1.7rem;
    z-index: 3;
    cursor: pointer;
}

.site-lightbox-prev { left: 28px; }
.site-lightbox-next { right: 28px; }

.site-lightbox.open {
  display: flex;
}

.site-lightbox figure {
  margin: 0;
  max-width: min(1080px, 92vw);
  width: 100%;
}

.site-lightbox img {
  background: #111b4a;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .35);
  display: block;
  max-height: 74vh;
  object-fit: contain;
  width: 100%;
}

.site-lightbox figcaption {
  color: #fff;
  margin-top: 14px;
}

.site-lightbox figcaption strong,
.site-lightbox figcaption span {
  display: block;
}

.site-lightbox figcaption small {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.68);
    font-variant-numeric: tabular-nums;
}

.site-lightbox figcaption strong {
  font-size: 24px;
  font-weight: 900;
}

.site-lightbox figcaption span {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
  margin-top: 4px;
}

.site-lightbox-close {
  background: #e00016;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  height: 42px;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 42px;
}

.service-card {
  position: relative;
}

.service-icon {
  align-items: center;
  background: linear-gradient(135deg, #e00016, #ff5a1f);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(224, 0, 22, .18);
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.service-icon span {
  background: #fff;
  border-radius: 2px;
  height: 15px;
  position: relative;
  width: 25px;
}

.service-icon span::before {
  border-bottom: 15px solid #fff;
  border-right: 10px solid transparent;
  content: "";
  height: 0;
  position: absolute;
  right: -9px;
  top: 0;
  width: 0;
}

.service-icon span::after {
  background:
    radial-gradient(circle at 6px 6px, #111b4a 0 4px, #fff 4px 6px, transparent 6px),
    radial-gradient(circle at 25px 6px, #111b4a 0 4px, #fff 4px 6px, transparent 6px);
  bottom: -10px;
  content: "";
  height: 12px;
  left: 2px;
  position: absolute;
  width: 34px;
}

.service-icon-1 span::before { border-bottom: 16px solid #fff; border-right: 0; border-left: 10px solid transparent; right: auto; left: -9px; }
.service-icon-2 span::before { border-bottom: 9px solid transparent; border-top: 9px solid #fff; border-right: 10px solid transparent; right: -10px; top: -1px; }
.service-icon-3 span::before { border-bottom: 18px solid #fff; border-right: 5px solid transparent; right: -4px; }
.service-icon-4 span::before { border-bottom: 13px solid #fff; border-right: 15px solid transparent; right: -13px; }
.service-icon-5 span::before { border-bottom: 6px solid #fff; border-right: 14px solid transparent; right: -13px; top: 4px; }
.service-icon-6 span::before { border-bottom: 16px solid #fff; border-right: 6px solid transparent; right: -5px; }
.service-icon-7 span::before { border-bottom: 11px solid #fff; border-right: 12px solid transparent; right: -11px; top: 2px; }
.service-icon-8 span::before { border-bottom: 20px solid #fff; border-right: 8px solid transparent; right: -7px; top: -2px; }
.service-icon-9 span::before { border-bottom: 14px solid #fff; border-right: 18px solid transparent; right: -17px; }

.media-play-mark {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(230,0,26,.9);
    color: #fff;
    font-size: .85rem;
}

.page-hero-lead { max-width: 620px; margin: 14px 0 0; color: rgba(255,255,255,.78); }

.site-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    background: #071426;
    color: #fff;
    transition: opacity .35s ease, visibility .35s ease;
}

.site-loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.site-loading img { width: min(260px, 62vw); height: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,.35)); }
.site-loading span { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.site-loading i { width: 54px; height: 3px; overflow: hidden; background: rgba(255,255,255,.18); position: relative; }
.site-loading i::after { content: ""; position: absolute; inset: 0; background: #e6001a; transform: translateX(-100%); animation: loading-bar 1.1s ease-in-out infinite; }
@keyframes loading-bar { to { transform: translateX(100%); } }

@media (max-width: 700px) {
    .site-lightbox-prev, .site-lightbox-next { width: 42px; height: 42px; font-size: 1.25rem; }
    .site-lightbox-prev { left: 10px; }
    .site-lightbox-next { right: 10px; }
}

/* Reference-aligned brand shell */
.public-topbar { background: #062454; color: #fff; font-size: .78rem; font-weight: 700; }
.public-topbar-inner { align-items: center; display: flex; gap: 24px; min-height: 36px; }
.public-topbar-inner strong { margin-left: auto; }
.header-navy-slice { display: none; }
.site-header-premium { background: #fff; }
.brand-contact-band { grid-template-columns: 1fr auto; min-height: 82px; padding: 12px 0; }
.brand-contact-band .header-language-panel { margin-left: auto; }
.main-nav { background: #fff; box-shadow: 0 8px 20px rgba(8,35,79,.08); min-height: 62px; }
.main-nav::before { display: none; }
.main-nav .nav-link { color: #071f49; font-size: .84rem; }
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: #ed1b2f; }
.main-nav .nav-link:not(.dropdown-toggle)::after { background: #ed1b2f; }
.main-nav .navbar-toggler { border-color: #071f49; }
.main-nav .navbar-toggler-icon { filter: brightness(.2); }
.header-language-panel { color: #071f49; }
.header-language-panel > span { color: #071f49; font-weight: 800; }
.language-switch { border-color: #dfe5ee; color: #071f49; }
.language-switch.active { background: #ed1b2f; color: #fff; }
.hero { min-height: 560px; }
.hero::before { background: linear-gradient(90deg, rgba(4,31,71,.92) 0%, rgba(4,31,71,.72) 33%, rgba(4,31,71,.06) 72%), linear-gradient(180deg, rgba(0,0,0,.06), transparent); }
.hero::after { display: none; }
.hero h1 { max-width: 620px; font-size: clamp(44px, 6vw, 78px); }
.hero-title span, .hero-title em { display: block; }
.hero-title em { color: #ed1b2f; font-style: normal; }
.hero h1::first-line { color: #fff; }
.hero-inner { padding-top: 94px; }
.hero-proof { margin-left: auto; max-width: 720px; }
.showcase-strip { background: #fff; padding: 28px 0 30px; }
.showcase-grid { grid-template-columns: repeat(4, 1fr); }
.showcase-service { min-height: 134px; padding: 20px; }
.contact-strip { background: #f4f7fb; color: #071f49; box-shadow: none; }
.strip-grid div { border-color: #d9e0ea; }
.strip-grid span { color: #5d6f8b; }
.strip-grid strong { color: #071f49; }

/* Admin reference layout */
.admin-body { background: #f5f7fb; color: #071a3b; }
.admin-dashboard { background: #f5f7fb; display: grid; grid-template-columns: 238px minmax(0,1fr); min-height: 100vh; padding-top: 66px; }
.admin-header { background: #fff; border-bottom: 1px solid #e5eaf1; box-shadow: 0 4px 18px rgba(7,26,59,.05); color: #071a3b; height: 66px; left: 238px; padding: 0 28px; position: fixed; right: 0; top: 0; z-index: 20; }
.admin-header a { color: #071a3b; }
.admin-header nav { gap: 24px; }
.admin-header-left { gap: 22px; }
.admin-preview-link { background: #e9effa; border-radius: 6px; color: #233a70 !important; padding: 10px 16px; }
.admin-grid-trigger { background: transparent; border: 0; }
.admin-sidebar { background: #fff; border-right: 1px solid #e5eaf1; box-shadow: 4px 0 18px rgba(7,26,59,.03); color: #11284f; padding: 12px 10px 24px; position: fixed; inset: 0 auto 0 0; width: 238px; z-index: 30; }
.admin-sidebar-brand { border-bottom: 1px solid #edf0f5; min-height: 72px; padding: 0 12px 12px; }
.admin-side-logo { max-width: 178px !important; width: 178px !important; }
.admin-sidebar-brand strong { color: #071a3b; font-size: .82rem; letter-spacing: .02em; }
.admin-menu-caption { color: #8492a8; margin: 20px 12px 8px; }
.admin-sidebar a, .admin-menu-group summary { border-radius: 7px; color: #1c335b; font-size: .82rem; font-weight: 700; margin: 2px 0; padding: 11px 14px; }
.admin-sidebar a:hover, .admin-menu-group summary:hover { background: #fff1f2; color: #ed1b2f; }
.admin-sidebar a.active { background: #ed1b2f; box-shadow: 0 8px 18px rgba(237,27,47,.2); color: #fff; }
.admin-menu-group[open] > summary { color: #ed1b2f; }
.admin-language-card { background: #f8faff; border: 1px solid #e3e9f2; border-radius: 7px; margin: 10px 6px 12px; padding: 12px; }
.admin-language-card a { background: #fff; border: 1px solid #e1e7f0; color: #21385e; display: inline-flex; justify-content: center; padding: 8px 18px; }
.admin-language-card a.active { background: #ed1b2f; border-color: #ed1b2f; color: #fff; }
/* The fixed sidebar does not occupy a grid cell; reserve its column explicitly. */
.admin-main { grid-column: 2; min-width: 0; margin: 0; max-width: none; padding: 20px 28px 48px; }
.admin-commandbar { align-items: center; display: flex; gap: 20px; margin-bottom: 20px; }
.admin-searchbox { align-items: center; background: #eef3f9; border-radius: 8px; display: flex; max-width: 480px; padding: 0 16px; width: 100%; }
.admin-searchbox span { color: #35517c; font-size: 1.4rem; }
.admin-searchbox input { background: transparent; border: 0; color: #071a3b; outline: 0; padding: 12px; width: 100%; }
.admin-commandbar > a { font-size: .82rem; font-weight: 800; margin-left: auto; }
.admin-command-icon { color: #071a3b; font-size: 1.25rem; }
.admin-user-chip { align-items: center; display: flex; font-size: .8rem; font-weight: 800; gap: 8px; }
.admin-user-chip b { align-items: center; background: #071a3b; border-radius: 50%; color: #fff; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.admin-user-chip small { color: #74839a; display: block; font-weight: 500; }
.admin-top { margin-bottom: 22px; }
.admin-top h1 { color: #071a3b; font-size: 1.65rem; margin: 12px 0 4px; }
.admin-welcome-copy { color: #536784; margin: 0; }
.admin-breadcrumb { color: #8391a7; font-size: .78rem; }
.admin-breadcrumb span { padding: 0 8px; }
.admin-breadcrumb strong { color: #071a3b; }
.admin-date-chip { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; color: #6d7c92; font-size: .72rem; line-height: 1.7; padding: 8px 14px; }
.admin-date-chip strong { color: #1a3156; }
.admin-stats { gap: 16px; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0 0 18px; }
.admin-stat-card { background: #fff; border: 1px solid #e4eaf2; border-radius: 9px; display: grid; grid-template-columns: 68px 1fr; padding: 18px; }
.admin-stat-card i { align-items: center; background: #ffe1e4; border-radius: 50%; color: #ed1b2f; display: flex; font-size: 1.6rem; grid-row: span 3; height: 54px; justify-content: center; width: 54px; }
.admin-stat-card span { color: #304566; font-size: .78rem; font-weight: 700; }
.admin-stat-card strong { color: #071a3b; font-size: 1.7rem; line-height: 1.2; }
.admin-stat-card small { color: #0a9b55; font-size: .69rem; font-weight: 700; }
.admin-stat-card.stat-blue i { background: #dfedff; color: #2170dd; }.admin-stat-card.stat-green i { background: #daf8e9; color: #15a463; }.admin-stat-card.stat-gold i { background: #fff0c6; color: #c79400; }
.admin-dashboard-grid { display: grid; gap: 16px; grid-template-columns: minmax(0,1.6fr) minmax(320px,.9fr); margin-bottom: 16px; }
.admin-panel-card { background: #fff; border: 1px solid #e4eaf2; border-radius: 9px; padding: 20px; }
.admin-panel-title { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 16px; }
.admin-panel-title h2 { color: #071a3b; font-size: 1rem; margin: 0; }.admin-panel-title span { color: #8896a9; font-size: .75rem; }.admin-panel-title a { color: #ed1b2f; font-size: .75rem; font-weight: 800; }.admin-panel-title select { border: 1px solid #dce4ee; border-radius: 5px; color: #435878; padding: 7px 12px; }
.admin-chart { height: 180px; position: relative; }.admin-chart svg { height: 100%; position: relative; width: 100%; z-index: 1; }.chart-grid-lines { background: repeating-linear-gradient(to bottom, transparent 0 44px, #eef2f7 45px 46px); inset: 0; position: absolute; }
.chart-axis { color: #93a0b2; display: flex; font-size: .65rem; justify-content: space-between; }
.traffic-source { display: grid; grid-template-columns: 1fr 1fr; }.traffic-source .admin-panel-title { grid-column: 1 / -1; }.traffic-ring { align-items: center; background: conic-gradient(#ed1b2f 0 48%, #071a3b 48% 70%, #8c9ab0 70% 85%, #dce3ec 85%); border-radius: 50%; display: flex; height: 150px; justify-content: center; width: 150px; }.traffic-ring::before { background: #fff; border-radius: 50%; content: ""; height: 108px; position: absolute; width: 108px; }.traffic-ring strong { color: #071a3b; position: relative; text-align: center; z-index: 1; }.traffic-ring small { color: #7b8a9f; display: block; font-size: .62rem; font-weight: 500; }.traffic-legend { display: grid; gap: 12px; padding: 18px 0 0 14px; }.traffic-legend span { color: #50637f; font-size: .73rem; }.traffic-legend i { border-radius: 50%; display: inline-block; height: 9px; margin-right: 7px; width: 9px; }.traffic-legend .red { background: #ed1b2f; }.traffic-legend .navy { background: #071a3b; }.traffic-legend .slate { background: #8c9ab0; }.traffic-legend .light { background: #dce3ec; }.traffic-legend b { color: #071a3b; float: right; }
.admin-mini-table { font-size: .72rem; }.table-head, .table-row { align-items: center; border-bottom: 1px solid #edf1f5; display: grid; gap: 8px; grid-template-columns: .25fr 1.2fr 1.2fr .6fr .9fr .7fr; min-height: 42px; }.table-head { background: #f6f8fb; color: #728199; font-weight: 800; padding: 0 8px; }.table-row { color: #445a78; padding: 0 8px; }.table-row strong { color: #152e56; }.status-pill { background: #fff0f1; border-radius: 6px; color: #ed1b2f; padding: 5px 8px; text-align: center; }
.quick-actions { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }.quick-actions a { align-items: center; background: #fafbfd; border: 1px solid #eef1f5; border-radius: 7px; color: #21395e; display: flex; font-size: .72rem; font-weight: 800; gap: 9px; padding: 13px 10px; }.quick-actions i { align-items: center; background: #ffe3e5; border-radius: 7px; color: #ed1b2f; display: inline-flex; height: 30px; justify-content: center; width: 30px; }
.admin-overview-grid { display: none; }

/* Login reference layout */
.admin-login-page { background: linear-gradient(110deg,#062858 0%,#152c61 36%,#ed1b3b 69%,#fff 69%); min-height: 100vh; padding: 42px 6vw; }
.admin-login-art { background: linear-gradient(90deg,rgba(4,32,75,.78),rgba(237,27,59,.45)), url('/uploads/baran-nakliyat-hero-truck.png') center/cover; border-radius: 0; color: #fff; padding: 34px 5vw 40px; width: 54%; }
.admin-login-logo { background: rgba(255,255,255,.95); border-radius: 0 0 12px 12px; display: inline-block; margin: -34px 0 70px -5vw; padding: 12px 28px 12px 5vw; }.admin-login-logo img { width: 255px; }
.admin-badge { background: transparent; border: 0; font-size: .9rem; letter-spacing: .05em; padding: 0; }.admin-login-art h1 { color: #fff; font-size: clamp(46px,5vw,78px); line-height: .98; margin: 34px 0 20px; }.admin-login-art h1 span { color: #ed1b2f; }.admin-login-art p { color: #fff; font-size: 1.15rem; max-width: 570px; }.login-feature-row { display: flex; gap: 14px; margin-top: 48px; }.login-feature-row span { align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; justify-content: center; min-height: 102px; padding: 12px; text-align: center; width: 112px; }.login-feature-row i { font-size: 1.7rem; }.login-feature-row b { font-size: .75rem; }.login-art-note { border-left: 3px solid #fff; display: block; margin-top: 60px; padding-left: 14px; }.admin-login-card { align-self: center; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(7,26,59,.15); margin-left: auto; max-width: 520px; padding: 50px; width: 39%; }.admin-login-card .login-card-logo { display: block; margin: 0 auto 28px; max-width: 260px; width: 100%; }.admin-login-card h2 { color: #071a3b; font-size: 1.45rem; text-align: center; }.admin-login-card p { text-align: center; }.login-remember { align-items: center; color: #536784; display: flex !important; flex-direction: row !important; font-size: .8rem; gap: 7px; }.login-remember a { color: #ed1b2f; margin-left: auto; }.login-secure { background: #f2f5fa; border-radius: 8px; color: #183360; font-weight: 800; margin-top: 16px; padding: 13px; text-align: center; }.login-note { color: #8290a4; display: block; margin-top: 24px; text-align: center; }

@media (max-width: 1050px) { .admin-dashboard { grid-template-columns: 210px minmax(0,1fr); }.admin-header { left: 210px; }.admin-sidebar { width: 210px; }.showcase-grid { grid-template-columns: repeat(2,1fr); }.brand-contact-band { min-height: 70px; } }
@media (max-width: 760px) { .public-topbar-inner { flex-wrap: wrap; gap: 8px 14px; padding: 8px 12px; }.public-topbar-inner strong { display: none; }.brand-contact-band { padding: 10px 12px; }.brand-logo-img { width: 205px; }.showcase-grid, .admin-dashboard-grid, .admin-stats { grid-template-columns: 1fr; }.admin-login-page { display: block; padding: 0; }.admin-login-art, .admin-login-card { margin: 0; width: 100%; }.admin-login-art { min-height: 470px; padding: 28px 24px; }.admin-login-logo { margin: -28px 0 36px -24px; padding-left: 24px; }.login-feature-row { gap: 5px; }.login-feature-row span { min-height: 85px; padding: 8px 4px; width: 25%; }.admin-login-card { border-radius: 0; padding: 36px 24px; }.admin-dashboard { display: block; padding-top: 66px; }.admin-sidebar { position: static; width: 100%; }.admin-header { left: 0; }.admin-commandbar { flex-wrap: wrap; }.admin-commandbar > a { margin-left: 0; }.traffic-source { display: block; }.traffic-legend { padding-left: 0; }.table-head, .table-row { font-size: .65rem; grid-template-columns: .2fr 1.2fr .9fr .5fr; }.table-head span:nth-child(3), .table-row span:nth-child(3), .table-head span:nth-child(5), .table-row span:nth-child(5) { display: none; } }

.page-hero-detail {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0 52%, rgba(255, 255, 255, .72) 52% 100%),
    linear-gradient(135deg, #fff7fb, #f2f5fb);
  overflow: hidden;
  padding: 72px 0 64px;
  position: relative;
}

.page-hero-detail::before {
  background: #b46b18;
  bottom: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: "";
  height: 118px;
  left: 0;
  position: absolute;
  width: 118px;
}

.page-hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: .92fr 1.08fr;
  position: relative;
  z-index: 1;
}

.page-hero-grid h1 {
  color: #070b16;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 16px;
}

.page-hero-grid figure {
  margin: 0 -10vw 0 0;
}

.page-hero-grid img {
  aspect-ratio: 16 / 7;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 28px 80px rgba(17, 27, 74, .18);
  object-fit: cover;
  width: 100%;
}

.public-breadcrumb {
  align-items: center;
  color: #5f6b7d;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-weight: 800;
}

.public-breadcrumb a {
  color: #b46b18;
}

.premium-detail-grid {
  grid-template-columns: minmax(0, 1fr) 350px;
}

.content-panel,
.premium-side {
  background: #fff;
  border: 1px solid rgba(17, 27, 74, .08);
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(17, 27, 74, .08);
  padding: 28px;
}

.premium-side {
  position: sticky;
  top: 20px;
}

.side-contact-card {
  background: linear-gradient(135deg, #111b4a, #23376e);
  border-radius: 10px;
  color: #fff;
  margin-top: 22px;
  padding: 20px;
}

.side-contact-card strong,
.side-contact-card span,
.side-contact-card a {
  display: block;
}

.side-contact-card span {
  font-size: 20px;
  font-weight: 900;
  margin: 8px 0 14px;
}

.side-contact-card a {
  background: #e00016;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  padding: 10px 12px;
  text-align: center;
}

.admin-list-card,
.admin-editor-panel {
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 2px;
  box-shadow: 0 18px 44px rgba(37, 48, 76, .04);
  padding: 26px;
}

.admin-breadcrumb {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 3px;
  color: #8a94a6;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
}

.admin-breadcrumb a {
  color: #243665;
}

.admin-breadcrumb span::before,
.admin-breadcrumb strong::before {
  color: #9ea8ba;
  content: ">";
  margin-right: 10px;
}

.admin-list-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 22px;
}

.btn-admin-navy,
.btn-admin-soft {
  border-radius: 3px;
  font-weight: 900;
  padding: 11px 16px;
}

.btn-admin-navy {
  background: #243665;
  border: 1px solid #243665;
  color: #fff;
}

.btn-admin-navy:hover {
  background: #17264e;
  color: #fff;
}

.btn-admin-soft {
  background: #f4f7fc;
  border: 1px solid #dfe6f1;
  color: #243665;
}

.admin-search {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.admin-search label {
  color: #151b2b;
  font-weight: 800;
}

.admin-search .form-control {
  min-width: 220px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-data-table {
  border-collapse: collapse;
  min-width: 960px;
  width: 100%;
}

.admin-data-table th,
.admin-data-table td {
  border: 1px solid #e6e9f1;
  color: #4d5b70;
  padding: 11px 12px;
  vertical-align: middle;
}

.admin-data-table th {
  background: #f2f4f8;
  color: #59667b;
  font-size: 14px;
  font-weight: 900;
}

.admin-data-table tbody tr:nth-child(odd) {
  background: #fbfcfe;
}

.admin-data-table tbody tr:hover {
  background: #f7f0f1;
}

.admin-title-link {
  color: #4f84dc;
  font-weight: 800;
}

.admin-route-pill,
.admin-status-pill {
  border-radius: 2px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.admin-route-pill {
  background: #f4f2ff;
  border: 1px solid #cbc4ff;
  color: #7062cb;
}

.admin-status-pill.active,
.admin-status-pill.seo-ok {
  background: #e7f6d8;
  color: #57a812;
}

.admin-status-pill.passive {
  background: #fff1ee;
  color: #df1010;
}

.admin-switch {
  background: #f35f6c;
  border: 1px solid #ee4d5b;
  display: inline-flex;
  height: 25px;
  padding: 4px;
  width: 50px;
}

.admin-switch.on {
  background: #84c441;
  border-color: #79bd36;
}

.admin-switch::after {
  background: #fff;
  content: "";
  height: 17px;
  margin-left: auto;
  width: 19px;
}

.admin-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.admin-actions form {
  display: inline;
  margin: 0;
}

.btn-icon-soft,
.btn-icon-edit,
.btn-icon-danger {
  border: 0;
  border-radius: 3px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 10px;
}

.btn-icon-soft {
  background: #e7f6d8;
  color: #57a812;
}

.btn-icon-edit {
  background: #d8def0;
  color: #243665;
}

.btn-icon-danger {
  background: #ffd7dc;
  color: #df1010;
}

.admin-list-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.admin-page-number {
  background: #243665;
  color: #fff;
  font-weight: 900;
  padding: 9px 13px;
}

.admin-editor-tabs {
  display: flex;
  margin-bottom: -1px;
  padding-left: 12px;
}

.admin-editor-tabs a {
  background: #f7f8fb;
  border: 1px solid #e0e5ee;
  color: #26344e;
  font-weight: 900;
  padding: 13px 22px;
}

.admin-editor-tabs a.active {
  background: #fff;
  border-bottom-color: #fff;
  color: #df1010;
}

.admin-editor-grid {
  border: 1px solid #e2e6ef;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding: 24px;
}

.admin-editor-main-card,
.admin-editor-side-card {
  display: grid;
  gap: 16px;
}

.admin-editor-panel label {
  color: #1d2638;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.admin-seo-box {
  background: #fafbfe;
  border: 1px solid #e2e6ef;
  margin-top: 8px;
  padding: 18px;
}

.admin-seo-box h2,
.admin-editor-side-card h2,
.admin-editor-side-card h3 {
  color: #111827;
  font-size: 16px;
  font-weight: 900;
  margin: 0;
}

.admin-preview-image {
  background: #f4f7fc;
  border: 1px solid #e2e6ef;
  min-height: 170px;
  overflow: hidden;
}

.admin-preview-image img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-editor-side-card p {
  color: #657287;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.status-toggle {
  align-items: center;
  background: #f7fbf1;
  border: 1px solid #d8edbe;
  border-radius: 4px;
  color: #466d16 !important;
  display: flex !important;
  font-weight: 900 !important;
  gap: 10px !important;
  padding: 11px 12px;
}

.status-toggle input {
  accent-color: #84c441;
}

.admin-size-note {
  align-items: center;
  background: #fff8e9;
  border: 1px solid #f2d9a4;
  border-radius: 4px;
  color: #7b4f00;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 12px;
}

.feature-admin-row {
  grid-template-columns: 1fr 1.2fr 1fr .7fr .55fr;
}

.small-upload {
  min-width: 170px;
}

.admin-mini-list {
  display: grid;
  gap: 8px;
}

.admin-mini-list span {
  background: #f7f9fc;
  border: 1px solid #e3e8f1;
  color: #58667b;
  display: block;
  font-size: 13px;
  padding: 10px;
}

.admin-mini-list strong {
  color: #111827;
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.admin-editor-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.admin-gallery-editor-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-gallery-edit-card {
  background: #fbfcfe;
  border: 1px solid #e2e6ef;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-gallery-thumb {
  background: #eef2f7;
  overflow: hidden;
}

.admin-gallery-thumb img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-login-page {
  background:
    linear-gradient(120deg, rgba(17, 27, 74, .94), rgba(224, 0, 22, .82)),
    url("/uploads/baran-nakliyat-hero-reference.png");
  background-position: center;
  background-size: cover;
}

.admin-login-art {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.admin-login-logo {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  margin-bottom: 18px;
  padding: 10px 12px;
}

.admin-login-logo img {
  width: 250px;
}

@media (max-width: 1200px) {
  .brand-contact-band {
    grid-template-columns: 1fr 1fr;
  }

  .header-language-panel {
    max-width: 220px;
  }

  .admin-editor-grid,
  .premium-detail-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid figure {
    margin: 0;
  }
}

/* Final reference corrections: keep the login split balanced at desktop sizes. */
.admin-login-page {
  background: linear-gradient(110deg, #062858 0%, #152c61 36%, #ed1b3b 69%, #f8fafc 69%), url('/uploads/baran-nakliyat-hero-truck.png') center / cover;
}
.admin-login-art { width: auto; }
.admin-login-card { max-width: 520px; width: 100%; }

/* Public header follows the supplied website reference: one compact white navigation row. */
@media (min-width: 761px) {
  .site-header-premium { position: relative; }
  .site-header-premium .brand-contact-band { align-items: center; display: flex; height: 82px; left: 0; padding: 0; pointer-events: none; position: absolute; right: 0; top: 36px; z-index: 40; }
  .site-header-premium .brand-contact-band .brand { pointer-events: auto; }
  .site-header-premium .brand-contact-band .header-language-panel { display: none; }
  .site-header-premium .main-nav { min-height: 82px; }
  .site-header-premium .main-nav .container-xl { padding-left: 292px; }
  .site-header-premium .main-nav .navbar-collapse { min-height: 82px; }
  .site-header-premium .main-nav .navbar-nav { margin-left: auto; }
}

/* Exact reference structures for gallery and corporate screens. */
.gallery-cover { background: linear-gradient(90deg, rgba(4,31,71,.95), rgba(4,31,71,.55) 48%, rgba(4,31,71,.18)), var(--gallery-cover) center / cover; color: #fff; min-height: 170px; }
.gallery-cover-inner { padding: 28px 0 30px; }
.gallery-cover .public-breadcrumb { color: rgba(255,255,255,.82); margin-bottom: 16px; }
.gallery-cover .public-breadcrumb a, .gallery-cover .public-breadcrumb strong { color: #fff; }
.gallery-cover-title { align-items: center; display: flex; gap: 20px; }
.gallery-cover-icon { align-items: center; background: #ed1b2f; border-radius: 8px; display: inline-flex; font-size: 2rem; height: 54px; justify-content: center; width: 54px; }
.gallery-cover .eyebrow { color: #ff4050; margin: 0 0 4px; }
.gallery-cover h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.gallery-cover-title p:last-child { color: #fff; margin: 3px 0 0; }
.gallery-page-section { padding-top: 20px; }
.gallery-filter-bar { display: grid; gap: 10px; grid-template-columns: 1.1fr repeat(6, 1fr); margin-bottom: 20px; }
.gallery-filter { background: #f2f5fa; border: 1px solid transparent; border-radius: 7px; color: #102b55; font-size: .75rem; font-weight: 800; min-height: 42px; padding: 8px 10px; }
.gallery-filter.active, .gallery-filter:hover { background: #ed1b2f; color: #fff; }
.gallery-reference-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.gallery-reference-grid .gallery-card { aspect-ratio: 1.48; border-radius: 7px; overflow: hidden; position: relative; }
.gallery-reference-grid .gallery-card img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.gallery-reference-grid .gallery-card:hover img { transform: scale(1.06); }
.gallery-reference-grid .gallery-overlay { background: linear-gradient(transparent, rgba(3,10,24,.95)); bottom: 0; display: block; left: 0; padding: 42px 15px 13px; position: absolute; right: 0; text-align: left; }
.gallery-reference-grid .gallery-overlay strong, .gallery-reference-grid .gallery-overlay small, .gallery-reference-grid .gallery-overlay em { color: #fff; display: block; }
.gallery-reference-grid .gallery-overlay strong { font-size: .86rem; }
.gallery-reference-grid .gallery-overlay small { display: none; }
.gallery-reference-grid .gallery-overlay em { font-size: .68rem; font-style: normal; margin-top: 4px; opacity: .78; }
.gallery-reference-grid .gallery-card[hidden] { display: none; }
.reference-page-hero { background: linear-gradient(90deg, rgba(4,31,71,.96) 0 46%, rgba(4,31,71,.18)), var(--page-hero-image, url('/uploads/baran-nakliyat-hero-truck.png')) center / cover; color: #fff; padding: 38px 0 34px; }
.reference-page-hero h1, .reference-page-hero .eyebrow.dark { color: #fff; }
.reference-page-hero .public-breadcrumb a, .reference-page-hero .public-breadcrumb strong { color: #fff; }
.reference-page-body { padding-top: 24px; }
.page-content-image { margin: 0 0 20px; }
.page-content-image img { display: block; width: 100%; height: auto; border-radius: 6px; }
.corporate-intro-label { color: #ed1b2f; font-size: .7rem; font-weight: 900; letter-spacing: .14em; margin-bottom: 8px; }
.corporate-benefits { background: #f5f8fc; padding: 28px 0; }
.corporate-benefits-grid { display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr); }
.corporate-benefits-grid > div { align-items: center; display: flex; flex-direction: column; gap: 5px; padding: 12px 8px; text-align: center; }
.corporate-benefits-grid b { align-items: center; background: #fff0f1; border-radius: 50%; color: #ed1b2f; display: flex; font-size: 1.3rem; height: 44px; justify-content: center; width: 44px; }
.corporate-benefits-grid strong { color: #092451; font-size: .8rem; }
.corporate-benefits-grid span { color: #647792; font-size: .7rem; }
@media (max-width: 1050px) { .gallery-filter-bar { grid-template-columns: repeat(4, 1fr); }.gallery-reference-grid { grid-template-columns: repeat(3, 1fr); }.corporate-benefits-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-cover-inner { padding: 24px 16px; }.gallery-filter-bar { grid-template-columns: repeat(2, 1fr); }.gallery-reference-grid { grid-template-columns: repeat(2, 1fr); }.corporate-benefits-grid { grid-template-columns: repeat(2, 1fr); }.reference-page-hero { padding: 30px 16px; } }

@media (max-width: 992px) {
  .brand-logo-img {
    width: 230px;
  }

  .admin-search {
    margin-left: 0;
    width: 100%;
  }

  .admin-search .form-control {
    flex: 1;
    min-width: 0;
  }

  .admin-gallery-editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-contact-band {
    grid-template-columns: 1fr;
  }

  .header-language-panel {
    max-width: none;
    width: 100%;
  }

  .admin-editor-grid,
  .admin-list-card,
  .admin-editor-panel {
    padding: 16px;
  }

  .admin-editor-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Final reference pass: keep the hero copy in its own paint layer and enlarge the brand lockup. */
.reference-home-hero { isolation: isolate; }
.reference-home-hero .reference-home-hero-inner { position: relative !important; z-index: 20 !important; }
.reference-hero-copy-visible {
  color: #fff !important;
  display: block !important;
  left: max(22px, calc((100% - 1140px) / 2));
  max-width: 610px;
  opacity: 1 !important;
  position: absolute !important;
  top: 34px;
  visibility: visible !important;
  z-index: 50 !important;
}
.reference-hero-copy-visible h1,
.reference-hero-copy-visible h1 span,
.reference-hero-copy-visible h1 em,
.reference-hero-copy-visible p,
.reference-hero-copy-visible a,
.reference-hero-copy-visible b,
.reference-hero-copy-visible .reference-trust-row span {
  opacity: 1 !important;
  visibility: visible !important;
}
.reference-hero-copy-visible h1 { color: #fff !important; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 46px; font-weight: 800; letter-spacing: -.5px; line-height: 1.02; margin: 0 0 10px; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.reference-hero-copy-visible h1 span,
.reference-hero-copy-visible h1 em { display: block; font-style: normal; }
.reference-hero-copy-visible h1 em { color: var(--reference-red) !important; }
.reference-hero-copy-visible .reference-home-description { color: #fff !important; font-size: 16px; line-height: 1.4; margin: 0 0 14px; max-width: 550px; }
.reference-hero-copy-visible .reference-home-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.reference-hero-copy-visible .reference-trust-row { align-items: center; display: flex; flex-wrap: wrap; gap: 15px; margin-top: 14px; }
.reference-hero-copy-visible .reference-trust-row span { align-items: center; color: #fff !important; display: inline-flex; font-size: 11px; font-weight: 700; gap: 5px; white-space: nowrap; }
.reference-hero-copy-visible .reference-trust-row b { align-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; display: inline-flex; font-size: 11px; height: 20px; justify-content: center; width: 20px; }
.reference-brand-lockup .brand-logo-img,
.site-header-premium:has(+ main .reference-home-hero) .brand-logo-img { width: 235px !important; }
.reference-main-nav,
.reference-main-nav > .container-xl { min-height: 82px; }
.reference-main-nav .navbar-collapse { min-height: 82px; }
.reference-main-nav .reference-nav-list .nav-link { padding-bottom: 28px; padding-top: 29px; }

@media (min-width: 761px) and (max-width: 1320px) {
  .reference-brand-lockup { margin-right: 22px; }
  .reference-nav-list { gap: 0; }
  .reference-nav-list .nav-link { font-size: 11px; padding-left: 7px; padding-right: 7px; }
  .reference-nav-list .nav-link::after { left: 7px; right: 7px; }
  .reference-header-quote { margin-left: 4px; padding-left: 11px !important; padding-right: 11px !important; }
  .reference-search-button { padding-left: 5px; }
}

@media (max-width: 760px) {
  .reference-hero-copy-visible { left: 14px; max-width: calc(100% - 28px); top: 32px; }
  .reference-hero-copy-visible h1 { font-size: 35px; }
  .reference-hero-copy-visible .reference-home-description { font-size: 14px; max-width: 410px; }
  .reference-hero-copy-visible .reference-trust-row { display: grid; grid-template-columns: 1fr 1fr; }
  .reference-brand-lockup .brand-logo-img { width: 190px !important; }
  .reference-main-nav,
  .reference-main-nav > .container-xl,
  .reference-main-nav .navbar-collapse { min-height: 68px; }
  .reference-main-nav .reference-nav-list .nav-link { padding-bottom: 12px; padding-top: 12px; }
}
