/**
 * components.css
 * Styles for header, footer, floating CTA, buttons, and card bases
 */

@import url('carousel-system.css');

/* Material Symbols icon support */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: 7px;
  transition: all var(--transition-fast);
  text-align: center;
  border: 1.5px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-secondary {
  border-color: var(--blue);
  color: var(--blue);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-full {
  width: 100%;
}

header-include,
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  z-index: 999;
  pointer-events: none;
}

header-include *,
.site-header * {
  pointer-events: auto;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--ink);
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.transparent,
body:has(.hero-section) .main-nav:not(.scrolled-solid) {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  padding-block: 1.25rem;
}

.main-nav.transparent .nav-link,
.main-nav.transparent .phone-cta,
.main-nav.transparent .phone-cta span,
body:has(.hero-section) .main-nav:not(.scrolled-solid) .nav-link,
body:has(.hero-section) .main-nav:not(.scrolled-solid) .phone-cta,
body:has(.hero-section) .main-nav:not(.scrolled-solid) .phone-cta span {
  color: var(--white) !important;
}

.main-nav.transparent .panel-bar,
.main-nav.transparent .hamburger-bar,
body:has(.hero-section) .main-nav:not(.scrolled-solid) .panel-bar,
body:has(.hero-section) .main-nav:not(.scrolled-solid) .hamburger-bar {
  background-color: var(--white) !important;
}

.main-nav-inner {
  width: 100%;
  padding-inline: clamp(1.5rem, 5vw, 64px); /* matches desktop edge margins */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Branding & Logo Design */
.brand,
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.logo-img {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
}

.footer-widget--about .logo-img,
.side-panel-header .logo-img,
.drawer-header .logo-img {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

@media (max-width: 992px) {
  .brand,
  .logo {
    gap: 12px;
  }

  .logo-img,
  .footer-widget--about .logo-img,
  .side-panel-header .logo-img,
  .drawer-header .logo-img {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .brand,
  .logo {
    gap: 10px;
  }

  .logo-img,
  .footer-widget--about .logo-img,
  .side-panel-header .logo-img,
  .drawer-header .logo-img {
    height: 42px;
  }
}

/* Desktop Menu Links */
.nav-links-desktop {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-block: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-cta {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-cta:hover {
  color: var(--sky);
}

.btn-nav {
  padding: 0.625rem 1.25rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  z-index: 1001;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Navigation Drawer — HyperFly Reference Pattern */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background-color: #0A0A0E;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  border-right: 1px solid var(--line-dark);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.drawer-close {
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background: var(--blue);
  color: var(--white);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: auto;
}

.drawer-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-inline: 4px;
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--sky);
  padding-left: 8px;
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}

.drawer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.drawer-phone span.material-symbols-outlined {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.btn-drawer-book {
  text-align: center;
  min-height: 44px;
  justify-content: center;
  width: 100%;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Desktop Side Panel Drawer Layout */
.side-panel-drawer {
  position: fixed;
  top: 0;
  right: -420px; /* hidden out of sight initially */
  width: 400px;
  max-width: 100%;
  height: 100svh;
  background-color: var(--ink);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 36px;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.side-panel-drawer.open {
  right: 0;
}

.side-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-panel-close {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.side-panel-close:hover {
  color: var(--blue);
}

.side-panel-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.side-panel-blurb {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate-light);
}

.side-panel-divider {
  border: none;
  height: 1px;
  background-color: var(--line-dark);
}

.side-panel-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.side-panel-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.side-detail-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.side-detail-text, .side-detail-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--slate-light);
}

.side-detail-link:hover {
  color: var(--white);
}

.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.side-panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .side-panel-drawer {
    transition: none !important;
  }
  .side-panel-overlay {
    transition: none !important;
  }
}

/* ── Main Footer (Dark Section — HyperFly layout) ── */
.main-footer {
  position: relative;
  background-color: var(--ink);
  color: var(--slate-light);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--font-body);
  overflow: hidden;
  z-index: 1;
}

/* CTA Banner at top of footer matching Hyperfly reference */
.footer-one__top {
  position: relative;
  padding: 80px 0 80px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .footer-one__top {
    padding: 60px 0 60px;
  }
}

.footer-one__top__left {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.footer-one__top__title {
  color: var(--white, #fff);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 35px;
}

@media (max-width: 1399px) {
  .footer-one__top__title {
    font-size: 46px;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .footer-one__top__title {
    font-size: 32px;
    line-height: 42px;
    margin: 0 0 25px;
  }
}

.footer-cta-btn {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-one__top__image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .footer-one__top__image {
    right: -40px;
  }
}

@media (min-width: 1400px) {
  .footer-one__top__image {
    right: -70px;
  }
}

@media (max-width: 1199px) {
  .footer-one__top__image {
    display: none;
  }
}

.footer-one__top__image img {
  max-width: 560px;
  height: auto;
  animation: movebounce2 3s linear 0s infinite;
}

@keyframes movebounce2 {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-15px);
  }
  100% {
    transform: translateX(0px);
  }
}

/* Quick-contact strip — three highlight tiles above the widget grid */
.footer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.footer-strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: all var(--transition-normal);
}

a.footer-strip__item:hover {
  border-color: rgba(var(--blue-rgb), 0.55);
  background-color: rgba(var(--blue-rgb), 0.07);
  transform: translateY(-2px);
}

.footer-strip__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--blue-rgb), 0.12);
  color: var(--sky);
  transition: all var(--transition-normal);
}

.footer-strip__icon .material-symbols-outlined {
  font-size: 21px;
}

a.footer-strip__item:hover .footer-strip__icon {
  background-color: var(--blue);
  color: var(--white);
}

.footer-strip__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.footer-strip__label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: var(--slate);
}

.footer-strip__value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .footer-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .footer-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* 4-column widget grid */
.footer-widgets, .main-footer .row {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.15fr 1.35fr;
  gap: 40px 48px;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1px solid var(--line-dark);
}

@media (max-width: 1199px) {
  .footer-widgets, .main-footer .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 575px) {
  .footer-widgets, .main-footer .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* Individual footer widget */
.footer-widget {
  display: flex;
  flex-direction: column;
}

.footer-widget--about .logo {
  margin-bottom: 16px;
}

.footer-widget__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate-light);
  margin: 0 0 20px;
}

.footer-widget__title {
  position: relative;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 26px;
  padding-bottom: 12px;
  letter-spacing: -0.02em;
}

/* Accent rule under each widget heading */
.footer-widget__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-accent);
}

/* Address line in the brand column */
.footer-widget__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-light);
  margin: 0 0 24px;
}

.footer-widget__address .material-symbols-outlined {
  font-size: 18px;
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Social icons row */
.footer-widget__social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}

.footer-widget__social li a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  border: 1px solid var(--line-dark);
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
  transition: all var(--transition-fast);
}

.footer-widget__social li a:hover {
  background-color: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

/* Links list */
.footer-widget__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-widget__links li a {
  position: relative;
  display: inline-block;
  color: var(--slate-light);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
  padding-left: 0;
  transition: all var(--transition-fast);
}

.footer-widget__links li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background-color: var(--sky);
  opacity: 0;
  transition: all var(--transition-fast);
}

.footer-widget__links li a:hover {
  color: var(--white);
  padding-left: 16px;
}

.footer-widget__links li a:hover::before {
  width: 10px;
  opacity: 1;
}

/* Contact info list */
.footer-widget__info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-widget__info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate-light);
}

.footer-widget__info li a {
  color: var(--slate-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-widget__info li a:hover {
  color: var(--blue);
}

/* Working hours sub-section */
.footer-widget--hours {
  margin-top: 24px;
}

/* Bottom bar */
.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  flex-wrap: wrap;
  gap: 16px 32px;
  font-size: var(--font-size-sm);
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}

.footer-bottom__copyright {
  color: var(--slate);
  margin: 0;
}

.footer-bottom__backtop {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--ink-soft);
  color: var(--slate-light);
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-bottom__backtop:hover {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.footer-bottom__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
}

/* Thin divider between legal links */
.footer-bottom__links li + li {
  position: relative;
}

.footer-bottom__links li + li::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.16);
}

.footer-bottom__links li a {
  color: var(--slate);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-bottom__links li a:hover {
  color: var(--blue);
}

/* Floating CTA Component */
.floating-cta-container {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  border-radius: var(--radius-round);
  color: var(--white);
  transition: all var(--transition-normal);
  position: relative;
}

.cta-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
  z-index: 2;
}

.cta-btn:hover .cta-icon-wrapper {
  transform: scale(1.08);
}

.cta-phone .cta-icon-wrapper {
  background-color: var(--blue);
}

.cta-whatsapp .cta-icon-wrapper {
  background-color: #25D366;
}

.cta-email .cta-icon-wrapper {
  background-color: var(--ink-soft);
  border: 1px solid var(--line-dark);
}

.cta-label {
  position: absolute;
  right: 24px;
  background-color: var(--ink);
  color: var(--white);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-display);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-normal);
  white-space: nowrap;
  border: 1px solid var(--line-dark);
  z-index: 1;
  padding-right: 32px;
}

@media (min-width: 1024px) {
  .cta-btn:hover .cta-label {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Desktop Info Panel Toggler */
.desktop-panel-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: none;
  background: var(--gradient-primary);
  border-radius: 7px;
  padding: 0;
  transition: all var(--transition-normal);
}

.panel-bar {
  width: 20px;
  height: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.desktop-panel-toggle:hover {
  filter: brightness(0.95);
  box-shadow: var(--shadow-blue);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE SPECIFICATIONS — HyperFly Reference Breakpoints
   ══════════════════════════════════════════════════════════════ */

/* Laptop / Small Desktop (≤1199px) */
@media (max-width: 1199px) {
  .nav-links-desktop,
  .nav-actions-desktop,
  .desktop-panel-toggle {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav,
  body:has(.hero-section) .main-nav:not(.scrolled-solid) {
    padding-block: 0.75rem;
  }

  .main-nav-inner {
    padding-inline: 16px;
  }

  .footer-widgets,
  .main-footer .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

/* Tablet Portrait (≤991px) */
@media (max-width: 991px) {
  .brand, .logo {
    gap: 12px;
  }

  .logo-img,
  .footer-widget--about .logo-img,
  .side-panel-header .logo-img,
  .drawer-header .logo-img {
    height: 48px;
  }

  .footer-one__top {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 20px;
  }

  .footer-one__top__left {
    align-items: center;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .main-nav,
  body:has(.hero-section) .main-nav:not(.scrolled-solid) {
    padding-block: 0.65rem;
  }

  .main-nav-inner {
    padding-inline: 15px;
  }

  .footer-widgets,
  .main-footer .row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 16px;
    padding-block: 1.25rem;
  }

  .footer-bottom__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .floating-cta-container {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .cta-icon-wrapper {
    width: 42px;
    height: 42px;
  }

  .cta-icon-wrapper span.material-symbols-outlined {
    font-size: 20px !important;
  }
}

/* Small Mobile (≤575px) */
@media (max-width: 575px) {
  .logo-img,
  .footer-widget--about .logo-img,
  .side-panel-header .logo-img,
  .drawer-header .logo-img {
    height: 40px;
  }

  .mobile-menu-drawer {
    width: 280px;
    padding: 20px 16px;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   BLOG POST & ARTICLE ENHANCEMENTS
   ══════════════════════════════════════════════════════════════ */
.lead-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink-text);
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.article-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #F1F5F9;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.article-highlight-box .highlight-icon {
  color: var(--blue);
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.blog-post-cta-card {
  background: linear-gradient(135deg, #030D17 0%, #0F2338 100%);
  color: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 3rem 0 1.5rem;
  text-align: center;
}

.blog-post-cta-card h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-post-cta-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-inline: auto;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--slate);
  margin-top: 12px;
}

.blog-post-author,
.blog-post-date,
.blog-post-readtime {
  display: inline-flex;
  align-items: center;
}



