/*
 * MDS Custom Brand Styles
 * Merged Palette — Brand Blues + Gold Accent
 * ─────────────────────────────────────────────────────────────────
 *  #0028B8  Brand Primary Blue   → active elements, primary colour
 *  #495ECB  Brand Light Blue     → taglines, secondary accents
 *  #1A1A2E  Brand Deep Navy      → main backgrounds (body, cards)
 *  #0A1545  Dark Primary Blue    → section backgrounds (contact, why-choose)
 *  #1E3070  Mid Brand Blue       → borders, dividers
 *  #F4F6FB  Brand Off White      → light section backgrounds
 *  #c7954a  Gold Accent (KEEP)   → buttons, CTAs, highlights
 *  #ffffff  White                → text on dark, backgrounds
 * ─────────────────────────────────────────────────────────────────
 */

:root {
  /* Primary brand blue (nav active, primary colour references) */
  --procounsel-primary:       #0028B8;
  --procounsel-primary-rgb:   0, 40, 184;

  /* Body text — light blue-gray, readable on deep navy backgrounds */
  --procounsel-text:          #9ca8c5;
  --procounsel-text-rgb:      156, 168, 197;

  /* Tagline text — brand Light Blue */
  --procounsel-text-dark:     #495ECB;
  --procounsel-text-dark-rgb: 73, 94, 203;

  /* Light section background — Brand Off White */
  --procounsel-gray:          #F4F6FB;
  --procounsel-gray-rgb:      244, 246, 251;

  /* Tinted light panel */
  --procounsel-gray2:         #e8ecf8;
  --procounsel-gray2-rgb:     232, 236, 248;

  /* White */
  --procounsel-white:         #ffffff;
  --procounsel-white-rgb:     255, 255, 255;

  /* Main backgrounds — Brand Deep Navy */
  --procounsel-black:         #1A1A2E;
  --procounsel-black-rgb:     26, 26, 46;

  /* Section backgrounds (contact, why-choose) — Dark Primary Blue */
  --procounsel-black2:        #0A1545;
  --procounsel-black2-rgb:    10, 21, 69;

  /* Borders and dividers — Mid Brand Blue */
  --procounsel-black3:        #1E3070;
  --procounsel-black3-rgb:    30, 48, 112;
}

/* ─── Base backgrounds ─────────────────────────────────────────── */
.contact-one__wrapper,
.sticky-header--cloned,
body,
body.boxed-wrapper .page-wrapper {
  background-color: var(--procounsel-black);
}

.client-carousel .client-carousel__one .client-carousel__one__item:hover,
.topbar-one {
  background-color: var(--procounsel-black);
}

/* ─── About section inner box ──────────────────────────────────── */
.about-one__inner {
  background-color: var(--procounsel-black);
  border: 1px solid var(--procounsel-black3);
  box-shadow: 0px 4px 80px 0px rgba(0, 0, 0, 0.6);
}

/* ─── Service cards ────────────────────────────────────────────── */
.service-one__item {
  background-color: var(--procounsel-black);
  color: var(--procounsel-white);
}

.about-one__content__list li:hover span,
.service-one__item__title {
  color: var(--procounsel-white);
}

/* ─── Misc component backgrounds ───────────────────────────────── */
.work-process-one__item__icon__inner,
.work-process-one__item,
.blog-card,
.portfolio-one,
.team-one,
.testimonials-card,
.contact-one__form .form-one__group,
.contact-one__info {
  background-color: var(--procounsel-black);
}

/* ─── Form inputs — transparent on dark background ─────────────── */
.form-one .bootstrap-select > .dropdown-toggle,
.form-one input[type=text],
.form-one input[type=email],
.form-one input[type=tel],
.form-one textarea {
  background-color: transparent;
}

/* ─── Text colours ─────────────────────────────────────────────── */
.testimonials-card__rating,
.blog-card__user__name,
.contact-one__info__text a,
.contact-one__info__text {
  color: var(--procounsel-white);
}

/* ─── Borders ──────────────────────────────────────────────────── */
.service-one__item__top,
.barnds-one__inner,
.barnds-one__text,
.why-choose-one__booking,
.why-choose-one__experiance,
.testimonials-card__top,
.contact-one__info__item:last-child {
  border-color: var(--procounsel-black3);
}

/* ─── Contact section ──────────────────────────────────────────── */
/* Updated gradient to use brand Dark Primary Blue */
.contact-one__overlay {
  background: linear-gradient(90deg, #0A1545 33.55%, rgba(10, 21, 69, 0) 100%);
}

.why-choose-one,
.contact-one {
  background-color: var(--procounsel-black2);
}

.why-choose-one__bg::after {
  background: linear-gradient(-90deg, #0A1545 33.55%, rgba(10, 21, 69, 0.1) 100%);
}

.why-choose-one__experiance__text,
.why-choose-one__booking__text {
  color: var(--procounsel-gray);
}

/* ─── Portfolio ─────────────────────────────────────────────────── */
.portfolio-one {
  padding-bottom: 0;
}

/* ─── Work process ──────────────────────────────────────────────── */
.work-process-one__item {
  border-color: var(--procounsel-black3);
}

/* ─── Blog cards ────────────────────────────────────────────────── */
.blog-card {
  border: none;
}

.blog-card__content {
  border: 1px solid var(--procounsel-black3);
  border-bottom: none;
  transition: all 500ms ease;
}

.blog-card:hover {
  border-color: var(--procounsel-white);
}

.blog-card:hover .blog-card__content {
  background-color: var(--procounsel-black3);
}

.blog-card__meta {
  background-color: var(--procounsel-black);
}

.blog-card__meta li:last-child {
  border-color: var(--procounsel-black3);
}

/* ─── Header ────────────────────────────────────────────────────── */
/* Remove the template border-bottom that cuts a visible line across
   the hero image (procounsel.css sets border-bottom on .main-header) */
.main-header {
  border-bottom: none;
}

.main-header__info,
.work-process-one__item__icon::after {
  border-color: rgba(var(--procounsel-white-rgb), 0.2);
}

/* ─── Nav & headings ────────────────────────────────────────────── */
.main-menu .main-menu__list > li > a,
.why-choose-one__item__icon,
.work-process-one__item__icon__inner,
.testimonials-card__name,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--procounsel-white);
}

.main-header__cart,
.main-header__search {
  color: var(--procounsel-text);
}

.work-process-one__item:hover .work-process-one__item__icon__inner {
  color: var(--procounsel-black);
}

/* ─── Section taglines ──────────────────────────────────────────── */
.sec-title__tagline {
  color: var(--procounsel-text-dark);
}

.sec-title__tagline__border {
  background-color: var(--procounsel-primary);
  border-color: var(--procounsel-white);
}

/* ─── About section CTA button ──────────────────────────────────── */
.about-one .procounsel-btn > i {
  border: none;
}
.about-one .procounsel-btn > i span {
  background-color: var(--procounsel-white);
}

/* ─── Demo ──────────────────────────────────────────────────────── */
.demo-one__btns {
  background-color: rgba(0, 0, 0, 0.7);
}

.portfolio-one .procounsel-owl__carousel--basic-nav.owl-carousel .owl-nav button {
  color: var(--procounsel-white);
}

/* ─── Why choose section CTA ────────────────────────────────────── */
.why-choose-one .procounsel-btn {
  color: var(--procounsel-primary);
  background-color: var(--procounsel-white);
}
.why-choose-one .procounsel-btn:hover {
  color: var(--procounsel-white);
}

/* ─── Nav active state — brand Primary Blue highlight ───────────── */
.main-menu .main-menu__list > li.current > a,
.main-menu .main-menu__list > li:hover > a {
  color: var(--procounsel-base);
}

/* ─── Hero slider title responsive sizes ───────────────────────── */
.main-slider-one__title {
  font-size: 2.5rem;
  line-height: 1.3;
}
@media (max-width: 991px) {
  .main-slider-one__title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
}
@media (max-width: 767px) {
  .main-slider-one__title {
    font-size: 2rem;
    line-height: 1.3;
  }
}

/* ─── Areas of Practice — icon circles ─────────────────────────── */
/* Gold tint background — keeps gold accent on dark cards */
.practice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(199, 149, 74, 0.15);
  margin-bottom: 20px;
  transition: background-color 500ms ease;
}

.practice-icon i {
  font-size: 34px;
  color: var(--procounsel-base, #c7954a);
  transition: color 500ms ease;
}

/* On card hover: icon circle turns semi-white, icon turns white */
.service-one__item:hover .practice-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.service-one__item:hover .practice-icon i {
  color: var(--procounsel-white, #fff);
}

/* ─── About section — align headshot top with content text ─────── */
/* On desktop, push the photo down so its top edge aligns closer    */
/* to the "Meet Your Attorney" tagline. Mobile unaffected.          */
@media (min-width: 992px) {
  .about-one__image {
    margin-top: 48px;
  }
}

/* ─── MDS quote block in About ──────────────────────────────────── */
.mds-quote {
  border-left: 3px solid var(--procounsel-base);
  padding: 16px 20px;
  margin: 24px 0;
  background-color: rgba(0, 40, 184, 0.08);
  border-radius: 0 6px 6px 0;
}

.mds-quote p {
  color: var(--procounsel-white);
  font-style: italic;
  line-height: 1.7;
  margin: 0 0 8px;
}

.mds-quote footer {
  color: var(--procounsel-base);
  font-size: 13px;
}

/* ─── Footer — white text, gold hover, no blue-on-blue clashing ── */
.main-footer {
  background-color: var(--procounsel-black); /* Deep Navy #1A1A2E, not bright blue */
}

.main-footer__bottom {
  background-color: #060C2E; /* Darker distinction for copyright bar */
}

.footer-widget__title {
  color: var(--procounsel-white) !important;
}

.footer-widget__text,
.footer-widget__text p {
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.8;
}

.footer-widget__links li,
.footer-widget__links li a {
  color: rgba(255, 255, 255, 0.82) !important;
}

.footer-widget__links li a:hover {
  color: var(--procounsel-base, #c7954a) !important;
  padding-left: 6px;
}

.main-footer__copyright,
.main-footer__copyright a {
  color: rgba(255, 255, 255, 0.72) !important;
}

.main-footer__copyright a:hover {
  color: var(--procounsel-base, #c7954a) !important;
}

/* Contact info text in footer widget */
.footer-widget__contact li,
.footer-widget__contact li a,
.footer-widget__contact .footer-widget__contact__text {
  color: rgba(255, 255, 255, 0.82) !important;
}

.footer-widget__contact li a:hover {
  color: var(--procounsel-base, #c7954a) !important;
}

/* Footer bottom border */
.main-footer__top {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

/* ── Contact Info List (stacked) ────────────────────────────────── */
.contact-info-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Scoped override — removes framework padding/border, sets icon+text layout */
.contact-info-list .contact-one__info__item {
  width: 100%;
  padding: 12px 0 !important;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-top: none !important;
}

.contact-info-list .contact-one__info__item:first-child {
  padding-top: 0 !important;
}

/* ─── Global: prevent horizontal scroll ──────────────────────── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ─── Global: prevent images from stretching beyond container ─── */
img {
  max-width: 100%;
  height: auto;
}

/* ─── About section headshot ─────────────────────────────────── */
.about-one__image img {
  display: block;           /* removes inline bottom gap */
  width: 100%;
  height: auto;
}

/* ─── Reset <address> italic browser default ──────────────────── */
address {
  font-style: normal;
}

/* ─── Floating WhatsApp button ────────────────────────────────── */
.mds-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 300ms ease, box-shadow 300ms ease;
  text-decoration: none;
}

.mds-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
  color: #fff;
}

/* ─── Floating Call button ────────────────────────────────────── */
.mds-call-float {
  position: fixed;
  bottom: 24px;
  right: 90px;
  width: 56px;
  height: 56px;
  background-color: var(--procounsel-primary, #0028B8);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 300ms ease, box-shadow 300ms ease;
  text-decoration: none;
}

.mds-call-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
  color: #fff;
}

/* ─── Stats bar — mobile responsive ──────────────────────────── */
@media (max-width: 767px) {
  .mds-stats-bar {
    padding: 36px 0 !important;
  }

  /* Remove right border on the even item (right column) each row */
  .mds-stats-bar .row > div:nth-child(2n) > div {
    border-right: none !important;
  }

  /* Add a subtle separator between the two rows */
  .mds-stats-bar .row > div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px !important;
    margin-top: 4px;
  }
}

@media (max-width: 575px) {
  /* Scale down stat numbers on very small screens */
  .mds-stats-bar .row > div > div > div:first-child {
    font-size: 38px !important;
  }

  .mds-stats-bar .row > div > div > div:first-child span {
    font-size: 24px !important;
  }
}

/* ─── Hero slider — small screen improvements ─────────────────── */
@media (max-width: 575px) {
  .main-slider-one__item {
    min-height: 500px;
  }

  .main-slider-one__content {
    padding: 0 8px;
  }

  .main-slider-one__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .main-slider-one__btn {
    margin-top: 20px;
  }
}

/* ─── About section — mobile spacing ─────────────────────────── */
@media (max-width: 991px) {
  .about-one__image {
    margin-top: 0 !important;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .about-one__inner {
    padding: 24px 16px !important;
  }
}

/* ─── Services section — mobile card padding ─────────────────── */
@media (max-width: 575px) {
  .service-one__item {
    padding: 24px 18px !important;
  }
}

/* ─── Contact section — mobile layout ────────────────────────── */
@media (max-width: 767px) {
  .contact-one__form .form-one__group {
    padding: 20px 16px !important;
  }
}

/* ─── Footer — mobile spacing ────────────────────────────────── */
@media (max-width: 767px) {
  .footer-widget {
    margin-bottom: 28px;
  }
}

/* ─── Floating buttons — mobile sizing ───────────────────────── */
@media (max-width: 575px) {
  .mds-whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }

  .mds-call-float {
    width: 50px;
    height: 50px;
    font-size: 19px;
    bottom: 16px;
    right: 76px;
  }
}

/* ─── Section headings — scale on small screens ───────────────── */
@media (max-width: 575px) {
  .sec-title__title {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
}

/* ─── Hero title — extra-small screens (320px) ─────────────────── */
@media (max-width: 400px) {
  .main-slider-one__title {
    font-size: 1.6rem !important;
  }
}

/* ─── Form select — dark theme, consistent with inputs ─────────── */
.mds-form-select {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #1A1A2E;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
  transition: border-color 300ms ease;
}

.mds-form-select:focus {
  border-color: var(--procounsel-base, #c7954a);
  outline: none;
}

.mds-form-select option {
  background-color: #1A1A2E;
  color: #fff;
}

/* ─── Contact form — success message ───────────────────────────── */
.mds-form-success {
  display: none;                        /* shown via JS after submit */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  background-color: var(--procounsel-black);
  border: 1px solid var(--procounsel-black3);
  border-left: 4px solid var(--procounsel-base, #c7954a);
  border-radius: 4px;
  min-height: 300px;
}

.mds-form-success__icon {
  font-size: 54px;
  color: var(--procounsel-base, #c7954a);
  margin-bottom: 20px;
  line-height: 1;
}

.mds-form-success__title {
  color: var(--procounsel-white);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.mds-form-success__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
  max-width: 420px;
}

.mds-form-success__urgent {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.mds-form-success__urgent a {
  color: var(--procounsel-base, #c7954a);
  font-weight: 600;
  white-space: nowrap;
}

/* ─── Google Maps iframe — responsive height ─────────────────── */
.mds-google-map {
  border: 0;
  display: block;
  width: 100%;
  height: 450px;
}

@media (max-width: 767px) {
  .mds-google-map {
    height: 280px !important;
  }
}

@media (max-width: 575px) {
  .mds-google-map {
    height: 240px !important;
  }
}

/* ─── Contact overlay — vertical gradient on mobile (stacked layout) */
@media (max-width: 991px) {
  .contact-one__overlay {
    background: linear-gradient(180deg, rgba(10, 21, 69, 0.9) 0%, rgba(10, 21, 69, 0) 100%);
  }
}

/* ─── About quote block — mobile padding ───────────────────────── */
@media (max-width: 575px) {
  .mds-quote {
    padding: 12px 14px;
  }

  .mds-quote p {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MDS Hero — Full-bleed image, left-side gradient, content left
   ═══════════════════════════════════════════════════════════════
   Image fills the entire section as an absolute layer.
   Portrait is centred so Monique's face shows clearly on desktop.
   A soft gradient darkens only the left side for text readability.
   ─────────────────────────────────────────────────────────────── */

/* ── Section wrapper ─────────────────────────────────────────── */
.mds-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background-color: #0A1545; /* fallback while image loads */
}

/* ── Full-bleed background image (z-index 1) ─────────────────── */
.mds-hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Portrait centred so face stays visible; text lives on the left */
.mds-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* ── Soft left-side gradient overlay (z-index 2) ────────────────
   Fades from readable-dark on the far left (behind text) to fully
   transparent well before the centre where her face sits.         */
.mds-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 28, 90, 0.78)  0%,
    rgba(0, 28, 90, 0.48) 30%,
    rgba(0, 28, 90, 0.12) 52%,
    rgba(0, 28, 90, 0.00) 68%
  );
  pointer-events: none;
}

/* ── Content layer — above image and gradient (z-index 3) ─────── */
.mds-hero__inner {
  position: relative;
  z-index: 3;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* anchor content to the left */
  padding: 120px 72px 88px;
}

/* Content block — sits over the left gradient, face stays clear */
.mds-hero__content {
  width: 100%;
  max-width: 520px;
  padding: 34px 38px 34px 34px;
}

.mds-hero__content-inner {
  width: 100%;
}

/* Button left-aligned, matching the text block */
.mds-hero__btn {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

/* Gold tagline with leading rule */
.mds-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c7954a;
  margin-bottom: 24px;
  line-height: 1;
}

.mds-hero__tagline::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: #c7954a;
  flex-shrink: 0;
}

/* H1 */
.mds-hero__title {
  font-family: var(--procounsel-heading-font, 'Marcellus', serif);
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 22px;
}

/* Supporting text */
.mds-hero__text {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

/* ── Large tablet: ≤ 1199px ─────────────────────────────────── */
@media (max-width: 1199px) {
  .mds-hero,
  .mds-hero__inner {
    min-height: 700px;
  }

  .mds-hero__inner {
    padding: 110px 48px 72px;
  }

  .mds-hero__content {
    max-width: 480px;
    padding: 28px 32px 28px 28px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MDS Hero and Header Mobile Safety Overrides
   Add this at the very end of mds-custom.css
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .main-header__inner {
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: flex-start;
  }

  .main-header__logo {
    position: relative;
    z-index: 20;
    padding-top: 8px;
  }

  .main-header__logo img {
    width: 120px;
    height: auto;
  }

  .mds-hero,
  .mds-hero__inner {
    min-height: 640px;
  }

  .mds-hero__inner {
    justify-content: flex-start;
    align-items: flex-end;
    padding: 110px 32px 44px;
  }

  .mds-hero__content {
    max-width: 100%;
    padding: 24px 24px 24px 22px;
  }
}

@media (max-width: 767px) {
  /* ── Header: solid top bar, sits above hero in document flow ── */
  .main-header {
    position: relative;
    background-color: rgba(10, 21, 69, 0.96);
  }

  .main-header__inner {
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
  }

  .main-header__logo {
    position: relative;
    z-index: 30;
    padding-top: 0;
    margin-top: 0;
  }

  .main-header__logo img {
    width: 105px;
    height: auto;
    display: block;
  }

  .mobile-nav__btn {
    position: relative;
    z-index: 30;
    margin-top: 0;
    align-self: center;
  }

  /* ── Hero: stacked — image first, text block below ── */
  .mds-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    background-color: #0A1545;
    padding-top: 0 !important;
  }

  .mds-hero::after {
    display: none !important;
  }

  .mds-hero__image {
    position: relative;
    inset: auto;
    z-index: 1;
    height: 340px;
    margin-top: 0 !important;
    overflow: hidden;
  }

  .mds-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 18%;
    transform: none;
  }

  .mds-hero__inner {
    min-height: auto;
    display: block;
    padding: 28px 20px 34px;
    background: #0A1545;
  }

  .mds-hero__content {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .mds-hero__tagline {
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }

  .mds-hero__tagline::before {
    width: 20px;
  }

  .mds-hero__title {
    font-size: 1.9rem;
    line-height: 1.16;
    margin-bottom: 14px;
  }

  .mds-hero__text {
    font-size: 14px;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .mds-hero__btn {
    margin-top: 10px;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .main-header__inner {
    min-height: 72px;
  }

  .main-header__logo img {
    width: 96px;
  }

  .mds-hero__image {
    height: 300px;
  }

  .mds-hero__inner {
    padding: 24px 16px 30px;
  }

  .mds-hero__title {
    font-size: 1.7rem;
    line-height: 1.14;
  }

  .mds-hero__text {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ─── Footer credit ──────────────────────────────────────────── */
.mds-footer-credit {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.mds-footer-credit a {
  color: #c7954a;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 300ms ease;
}

.mds-footer-credit a:hover {
  opacity: 0.85;
}