/* =========================================================
   SHREYA CONSULTANCY CORROSION SERVICES
   responsive.css — Mobile, tablet, and laptop responsive perfection.
   ========================================================= */

/* Desktop Rule for Mobile-Only Elements */
.mobile-nav-cta {
  display: none;
}

/* Global Box Safety & Image Fluidity */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img, svg, iframe, video {
  max-width: 100%;
  height: auto;
}

/* Minimalist, Borderless Hamburger Button & X Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  margin: 2.5px 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Open State - Clean Minimalist X Icon */
.hamburger.open {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   1. LAPTOP: 992px – 1199px
   ========================================================= */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
    padding: 0 24px;
  }

  h1 {
    font-size: 3.6rem;
    line-height: 1.15;
  }

  h2, .section-title {
    font-size: 2.85rem;
    line-height: 1.2;
  }

  h3 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero-text {
    max-width: 760px;
  }

  .hero-text h1 {
    font-size: 3.85rem;
    line-height: 1.12;
  }

  .hero-text p {
    font-size: 1.42rem;
    line-height: 1.5;
  }

  .hero-eyebrow {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .page-hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
  }

  .section-desc, .section-subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  p {
    font-size: 1.22rem;
    line-height: 1.6;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 520px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .services-layout .services-intro {
    max-width: 100%;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image-wrap, .about-image-wrap img {
    min-height: 340px;
  }

  .service-card {
    padding: 30px;
  }

  .industries-layout {
    grid-template-columns: 0.6fr 1.8fr;
    gap: 24px;
  }

  .industries-cards {
    gap: 16px;
  }

  .footer-top {
    padding: 36px 0 32px;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
    gap: 24px;
  }

  .value-grid, .checklist-grid {
    gap: 16px;
  }

  .value-feature-grid {
    gap: 14px;
  }

  .timeline-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .timeline-step h4 {
    font-size: 0.92rem;
  }

  .timeline-step p {
    font-size: 0.8rem;
  }

  .team-grid {
    max-width: 900px;
    gap: 20px;
  }

  /* Quotation Modal Laptop View (992px – 1199px) */
  .quote-modal-backdrop {
    padding: 20px;
    overflow-x: hidden !important;
  }

  .quote-modal-dialog {
    width: min(760px, calc(100vw - 48px)) !important;
    max-width: 760px !important;
    padding: 30px 28px 34px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .quote-modal-dialog .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .quote-modal-dialog .form-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .quote-modal-dialog .form-group input,
  .quote-modal-dialog .form-group select,
  .quote-modal-dialog .form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
  }
}

/* =========================================================
   2. TABLET: 768px – 991px
   ========================================================= */
@media (max-width: 991px) {
  .container {
    max-width: 100%;
    padding: 0 24px;
  }

  .section-padding {
    padding: 56px 0;
  }

  .section-padding-sm {
    padding: 36px 0;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2, .section-title {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-desc, .section-subtitle {
    font-size: 1.04rem;
  }

  body {
    padding-top: 0;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }

  /* No Scroll (Top of Page): Transparent header, white logo, white hamburger */
  .site-header:not(.scrolled):not(.menu-open) {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .site-header:not(.scrolled):not(.menu-open) .brand img {
    filter: brightness(0) invert(1) !important;
  }

  .site-header:not(.scrolled):not(.menu-open) .hamburger span {
    background: #ffffff !important;
  }

  /* Scrolled State: Solid white background, original colored logo, dark navy hamburger */
  .site-header.scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 4px 20px rgba(13, 47, 74, 0.1) !important;
  }

  .site-header.scrolled .brand img {
    filter: none !important;
    height: 38px !important;
  }

  .site-header.scrolled .hamburger span {
    background: var(--navy) !important;
  }

  /* Solid header background & dark icons when mobile menu drawer is open */
  .site-header.menu-open {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 4px 20px rgba(13, 47, 74, 0.1) !important;
  }

  .site-header.menu-open .brand img {
    filter: none !important;
    height: 38px !important;
  }

  .site-header.menu-open .hamburger span {
    background: var(--navy) !important;
  }

  /* Locked responsive height with clean side margin & padding for header elements */
  .header-inner,
  .site-header.scrolled .header-inner {
    height: 72px !important;
    padding: 0 20px !important;
  }

  /* Hide Header Bar Button on Mobile/Tablet */
  .header-actions .btn-primary {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Nav Drawer Overlay */
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 40px;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 16px 40px rgba(13, 47, 74, 0.12);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px;
    width: 100%;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--navy);
  }

  .main-nav a.nav-link::after {
    display: none;
  }

  .has-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--light-bg);
    display: none;
    width: 100%;
    padding: 8px 0;
    margin: 4px 0 12px;
    border-radius: var(--radius-sm);
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .has-dropdown .caret {
    font-size: 0.8rem;
    color: var(--industrial-blue);
    transition: transform 0.25s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
  }

  .has-dropdown.open .caret {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  /* CTA Button inside Mobile Nav Menu Drawer */
  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding-top: 16px;
  }

  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
  }

  /* Hero Section Full Screen on Responsive */
  .hero {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 480px !important;
  }

  .hero-slide.active,
  .hero-slide {
    height: 100% !important;
    width: 100% !important;
  }

  .hero-content {
    height: 100% !important;
    padding-top: 76px !important;
    padding-bottom: 24px !important;
    box-sizing: border-box !important;
  }

  .hero-dots {
    bottom: 20px;
  }

  .hero + section,
  section.bg-light-blue {
    padding: 44px 0;
  }

  .hero-text h1 {
    font-size: 2.35rem;
  }

  .hero-text p {
    font-size: 1.08rem;
  }

  .page-hero {
    min-height: 280px;
    padding-top: 0 !important;
  }

  .page-hero .hero-content {
    min-height: 280px;
    padding-top: 86px !important;
    padding-bottom: 28px;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  /* Benefits Grid Tablet */
  .benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .benefit-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: center;
  }

  .benefit-item p {
    max-width: 100%;
  }

  /* Services & Cards Layout */
  .services-list {
    grid-template-columns: 1fr;
  }

  .service-card-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .capability-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Industry Showcase & Grids */
  .industry-showcase-card {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .industry-showcase-card.reverse .industry-card-image {
    order: 1;
  }

  .industry-showcase-card.reverse .industry-card-body {
    order: 2;
  }

  .industry-card-image {
    min-height: 260px;
    height: 260px;
  }

  .industry-card-body {
    padding: 32px 24px;
  }

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

  .industries-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .industries-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

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

  /* Content Blocks & Grids */
  .content-block, .content-block.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .content-block .block-image, .content-block.reverse .block-image {
    order: 1;
  }

  .content-block .block-text, .content-block.reverse .block-text {
    order: 2;
  }

  .block-image img {
    min-height: 260px;
    max-height: 380px;
    object-fit: cover;
  }

  .why-row {
    grid-template-columns: 1fr;
  }

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

  .why-item-inline,
  .why-item-inline:first-child {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3.5px solid var(--green) !important;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: left;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Value Grids on Tablet */
  .value-grid, .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .value-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Timeline Process on Tablet */
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .timeline::before {
    display: none !important;
  }

  .timeline-step {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(13, 47, 74, 0.04);
  }

  .timeline-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }

  /* Approach Tablet Rules */
  .approach-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
    gap: 16px;
    margin-bottom: 40px;
  }

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

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: calc(var(--space-lg) + 20px);
  }

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

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

  /* About Page Tablet Rules */
  .about-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
    gap: 16px;
    margin-bottom: 40px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .milestones-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .milestones-track::before {
    display: none;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .accreditations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .jobs-list {
    gap: 16px;
  }

  .job-item {
    padding: 18px 22px;
  }

  /* Contact & Form Layout on Tablet */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 100%;
  }

  .contact-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  .form-card {
    padding: 24px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .faq-grid {
    width: 100%;
    max-width: 100%;
  }

  /* Careers Tablet Responsive */
  .career-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: -24px;
    margin-bottom: 36px;
  }

  .job-card-elevated {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .job-card-action {
    width: 100%;
  }

  .job-card-action .btn {
    width: 100%;
    justify-content: center;
  }

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

  .talent-network-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
  }

  .talent-network-card .btn {
    width: 100%;
    justify-content: center;
  }

  /* Leadership Team Grid Tablet */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
  }

  /* Footer Tablet Alignment */
  .site-footer {
    background: #08263d;
    margin-top: 0 !important;
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px 24px;
    align-items: start;
    padding: 36px 0 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-top: 24px;
    margin-bottom: 12px;
  }
}

/* =========================================================
   3. MOBILE: below 768px
   ========================================================= */
@media (max-width: 767px) {
  body {
    padding-top: 0 !important;
  }

  .header-inner,
  .site-header.scrolled .header-inner {
    height: 68px !important;
    padding: 0 18px !important;
  }

  .main-nav {
    top: 68px;
    height: calc(100vh - 68px);
  }

  .container {
    padding: 0 18px;
  }

  .section-padding {
    padding: 44px 0;
  }

  .section-padding-sm {
    padding: 28px 0;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.25;
  }

  h2, .section-title {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.28rem;
  }

  .section-intro {
    margin-bottom: 24px;
  }

  .section-header {
    margin-bottom: 24px !important;
  }

  .section-desc, .section-subtitle {
    font-size: 1.04rem !important;
    line-height: 1.55;
  }

  /* Brand Header */
  .brand-text .brand-name {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .brand img {
    height: 48px;
    width: auto;
    max-width: 220px;
  }

  .site-header.scrolled .brand img {
    height: 38px;
    max-width: 180px;
  }

  /* Hero Section Full Screen */
  .hero {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 460px !important;
  }

  .hero-slide.active,
  .hero-slide {
    height: 100% !important;
    width: 100% !important;
  }

  .hero-content {
    height: 100% !important;
    padding-top: 72px !important;
    padding-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  .hero-dots {
    bottom: 16px;
  }

  .hero + section,
  section.bg-light-blue {
    padding: 36px 0 32px;
  }

  .hero-text {
    padding: 24px 0;
  }

  .hero-text h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .hero-text p {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .page-hero {
    min-height: 240px;
    padding-top: 0 !important;
  }

  .page-hero .hero-content {
    min-height: 240px;
    padding-top: 80px !important;
    padding-bottom: 24px;
  }

  .page-hero h1 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .breadcrumb {
    font-size: 0.82rem;
    margin-top: 10px;
  }

  /* Executive Premium Benefits Feature Cards (Next to Hero) */
  .benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .benefit-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 3px;
    align-items: center;
    text-align: left;
    background: #ffffff;
    border: 1px solid rgba(13, 47, 74, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 18px rgba(13, 47, 74, 0.04);
  }

  .benefit-item .icon-circle {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    width: 48px;
    height: 48px;
    background: rgba(31, 94, 140, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
  }

  .benefit-item .icon-circle i {
    font-size: 22px;
    color: var(--industrial-blue);
  }

  .benefit-item h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.25;
  }

  .benefit-item p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    max-width: 100% !important;
  }

  /* Value Grids & Features Mobile */
  .value-grid, .checklist-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .value-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(13, 47, 74, 0.04);
    text-align: left;
  }

  .value-item .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    margin: 0;
  }

  .value-item .icon-circle i {
    font-size: 18px;
  }

  .value-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .value-item p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0;
  }

  .value-feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .value-feature-card {
    padding: 14px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .value-feature-card i {
    font-size: 1.1rem;
    color: var(--green);
    flex-shrink: 0;
  }

  .value-feature-card span {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
  }

  /* Content Blocks on Mobile */
  .content-block, .content-block.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .content-block .block-image, .content-block.reverse .block-image {
    order: 1;
  }

  .content-block .block-text, .content-block.reverse .block-text {
    order: 2;
  }

  .block-image img {
    min-height: 200px;
    max-height: 260px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .block-text h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .block-text p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  /* Focus Grids & Lists */
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .focus-grid li {
    font-size: 0.9rem;
    gap: 10px;
  }

  .focus-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* Industry Showcase Cards Mobile */
  .industry-showcase-card {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .industry-showcase-card.reverse .industry-card-image {
    order: 1;
  }

  .industry-showcase-card.reverse .industry-card-body {
    order: 2;
  }

  .industry-card-image {
    min-height: 200px;
    height: 200px;
  }

  .industry-card-body {
    padding: 22px 18px;
  }

  .industry-header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .industry-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .industry-header h2 {
    font-size: 1.38rem;
    line-height: 1.25;
  }

  .industry-desc {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .industry-action {
    padding-top: 6px;
  }

  .industry-action .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  /* Service Cards & Rows Mobile */
  .service-card {
    padding: 22px 16px;
    border-radius: 10px;
  }

  .service-card-info h3 {
    font-size: 1.35rem;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-row {
    background: #f8fafc;
    border: 1px solid var(--border) !important;
    border-radius: 8px;
    padding: 14px 16px;
    gap: 14px;
    align-items: flex-start;
  }

  .capability-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .capability-card {
    padding: 12px 14px;
  }

  .capability-card span {
    font-size: 0.88rem;
  }

  /* Industries Cards */
  .industries-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-card .card-image {
    height: 185px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  /* Why Choose Us Items Cards */
  .why-items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-item-inline,
  .why-item-inline:first-child {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3.5px solid var(--green) !important;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
  }

  .why-item-inline p {
    max-width: 100%;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-item {
    padding: 20px 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-align: left;
    min-width: 0;
    box-sizing: border-box;
  }

  .why-item-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .why-item .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    margin: 0;
  }

  .why-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
  }

  .why-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0;
  }

  .about-preview {
    grid-template-columns: 1fr;
  }

  .about-image-wrap, .about-image-wrap img {
    min-height: 260px;
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Our Approach Process Timeline Mobile */
  .timeline {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .timeline::before {
    display: none !important;
  }

  .timeline-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(13, 47, 74, 0.04);
  }

  .timeline-num {
    margin: 0;
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-radius: 10px;
    flex-shrink: 0;
    border: none;
    background: var(--navy);
  }

  .timeline-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--navy);
  }

  .timeline-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0;
  }

  /* Approach Mobile Rules (767px) */
  .approach-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -24px;
    gap: 12px;
    margin-bottom: 36px;
  }

  .approach-stat-card {
    padding: 18px 14px;
  }

  .approach-stat-num {
    font-size: 1.75rem;
  }

  .approach-stat-label {
    font-size: 0.78rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 24px 20px;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .roadmap-card {
    padding: 24px 20px;
  }

  .roadmap-card h3 {
    font-size: 1.15rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 36px;
  }

  .comparison-card {
    padding: 34px 20px 24px 20px;
  }

  .comparison-pill-badge {
    left: 20px;
    font-size: 0.72rem;
    padding: 5px 14px;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* About Page Mobile Rules */
  .about-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -24px;
    gap: 12px;
    margin-bottom: 36px;
  }

  .about-stat-card {
    padding: 18px 14px;
  }

  .about-stat-num {
    font-size: 1.75rem;
  }

  .about-stat-label {
    font-size: 0.78rem;
  }

  .about-image-wrapper img {
    min-height: 280px;
  }

  .image-trust-badge {
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 12px 14px;
  }

  .image-trust-badge span {
    font-size: 0.82rem;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .purpose-card {
    padding: 24px 20px;
  }

  .milestones-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .milestones-track::before {
    display: none;
  }

  .milestone-node {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  .milestone-year {
    width: 44px;
    height: 44px;
    font-size: 0.76rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-value-card {
    padding: 22px 18px;
  }

  .accreditations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Careers Jobs List */
  .jobs-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .job-item {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 12px;
  }

  .job-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }

  .job-item p {
    font-size: 0.86rem;
    color: var(--text-light);
    margin: 0;
  }

  .job-item .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  /* Forms on Mobile */
  .form-card {
    padding: 20px 16px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .form-group {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .form-group label {
    font-size: 0.86rem;
    margin-bottom: 2px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.92rem;
    border-radius: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .form-card .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    margin-top: 8px;
  }

  /* Contact Page Layout Mobile */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
    width: 100%;
    max-width: 100%;
  }

  .contact-card-item {
    padding: 16px 16px;
    gap: 14px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .contact-card-item .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .contact-card-item h4 {
    font-size: 0.98rem;
    margin-bottom: 2px;
  }

  .contact-card-item p {
    font-size: 0.88rem;
    margin-bottom: 2px;
  }

  .contact-card-item .contact-email {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .contact-card-item .contact-subtext {
    font-size: 0.78rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 100%;
  }

  .contact-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  /* FAQ Accordion Mobile */
  .faq-section {
    padding: 44px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .faq-grid {
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .faq-item {
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .faq-question {
    padding: 14px 14px;
    font-size: 0.94rem;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .faq-question span {
    font-size: 0.92rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 14px 14px 14px;
    box-sizing: border-box;
  }

  .faq-answer p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Quote Modal Mobile */
  .quote-modal-backdrop {
    padding: 12px;
    overflow-x: hidden !important;
  }

  .quote-modal-dialog {
    padding: 24px 18px;
    border-radius: 12px;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }

  .quote-modal-dialog .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .quote-modal-dialog .form-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .quote-modal-dialog .form-group input,
  .quote-modal-dialog .form-group select,
  .quote-modal-dialog .form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
  }

  .quote-modal-header {
    padding-right: 36px;
    margin-bottom: 16px;
  }

  .quote-modal-close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    z-index: 10;
  }

  /* Careers Mobile Responsive */
  .career-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: -18px;
    margin-bottom: 28px;
  }

  .career-stat-card {
    padding: 14px 10px;
  }

  .career-stat-num {
    font-size: 1.6rem;
  }

  .career-stat-label {
    font-size: 0.78rem;
  }

  .job-card-elevated {
    padding: 18px 16px;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .job-card-action {
    width: 100%;
  }

  .job-card-action .btn {
    width: 100%;
    justify-content: center;
  }

  .job-card-main h3 {
    font-size: 1.15rem;
  }

  .job-card-desc {
    font-size: 0.88rem;
  }

  .hiring-process-section {
    padding: 44px 0;
  }

  .hiring-process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .hiring-step-card {
    padding: 18px 16px;
  }

  .hiring-step-num {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .talent-network-card {
    padding: 24px 18px;
    border-radius: 12px;
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .talent-network-card h3 {
    font-size: 1.35rem;
  }

  .talent-network-card p {
    font-size: 0.92rem;
  }

  .talent-network-card .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA Section & Buttons */
  .cta-section {
    padding: 48px 0;
  }

  .cta-section h2 {
    font-size: 1.65rem;
  }

  .cta-section p {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Executive Mobile Footer Layout */
  .site-footer {
    background: #08263d;
    margin-top: 0 !important;
    position: relative;
    z-index: 10;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 48px 0 24px;
  }

  .footer-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    padding-bottom: 24px;
    margin-bottom: 0;
  }

  .footer-col h4 {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 14px;
  }

  .footer-col ul li a {
    font-size: 0.9rem;
    color: #b4cbdc;
    display: inline-block;
    transition: color 0.2s ease;
  }

  .footer-col ul li a:hover {
    color: var(--white);
  }

  .footer-contact li {
    font-size: 0.88rem;
    color: #b4cbdc;
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .footer-contact li i {
    color: #7ca5c2;
    font-size: 15px;
  }

  .footer-social {
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 12px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Centered Copyright Bottom Bar */
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom p {
    font-size: 0.85rem;
    color: #93aec0;
    line-height: 1.5;
    margin: 0;
    padding-top: 0 !important;
  }

  .footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom-links a {
    font-size: 0.85rem;
    color: #b4cbdc;
    text-decoration: none;
    padding: 0;
    background: transparent;
    border: none;
    transition: color 0.2s ease;
  }

  .footer-bottom-links a:hover {
    color: var(--white);
  }
}

/* =========================================================
   4. SMALL MOBILE: below 480px
   ========================================================= */
@media (max-width: 479px) {
  .container {
    padding: 0 14px;
  }

  h1 {
    font-size: 1.78rem;
  }

  .hero-text h1 {
    font-size: 1.72rem;
  }

  .section-title, h2 {
    font-size: 1.55rem;
  }

  .btn {
    padding: 11px 16px;
    font-size: 0.88rem;
    width: 100%;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }

  .icon-circle i {
    font-size: 17px;
  }

  .value-item {
    gap: 12px;
    padding: 13px 14px;
  }

  .comparison-pill-badge {
    left: 14px;
    font-size: 0.68rem;
    padding: 4px 10px;
    letter-spacing: 0.03em;
    max-width: calc(100% - 28px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .value-item .icon-circle {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .value-feature-card {
    padding: 12px 14px;
  }

  .value-feature-card span {
    font-size: 0.86rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    gap: 12px;
    padding: 14px 12px;
  }

  .timeline-num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .timeline-step h4 {
    font-size: 0.95rem;
  }

  .timeline-step p {
    font-size: 0.84rem;
  }

  .job-item {
    padding: 14px;
  }

  .form-card {
    padding: 16px 12px;
  }

  .contact-card-item {
    padding: 14px 12px;
    gap: 10px;
  }

  .contact-card-item .icon-circle {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .contact-card-item .contact-email {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .faq-question {
    padding: 12px 12px;
    font-size: 0.88rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 12px 12px 12px;
  }

  .industry-card-body {
    padding: 18px 14px;
  }
}

/* Leadership Team Grid Responsive */
@media (max-width: 1199px) {
  .team-grid {
    max-width: 900px;
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 360px;
  }

  .team-social-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Executive Profile Pages Responsive */
@media (max-width: 1199px) {
  .hero.profile-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .profile-hero-content {
    height: 100%;
    padding: calc(80px + 20px) 24px 30px;
  }
  .profile-hero-text h1 {
    font-size: 3.1rem;
  }
}

@media (max-width: 991px) {
  .hero.profile-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .profile-hero-content {
    height: 100%;
    padding: calc(72px + 24px) 24px 30px;
    display: flex;
    align-items: center;
  }
  .hero-overlay.profile-hero-overlay {
    background: linear-gradient(90deg, 
      rgba(8, 38, 61, 1) 0%, 
      rgba(8, 38, 61, 0.98) 42%, 
      rgba(8, 38, 61, 0.86) 54%, 
      rgba(8, 38, 61, 0.28) 68%, 
      rgba(8, 38, 61, 0.05) 80%, 
      rgba(8, 38, 61, 0) 100%);
  }
  .profile-hero-text {
    max-width: 580px;
  }
  .profile-hero-text h1 {
    font-size: 2.75rem;
  }
  .profile-overview-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .profile-credentials-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .hero.profile-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: 0;
    position: relative;
    overflow: hidden;
  }
  .profile-hero-bg-img {
    object-position: 79% 6%;
  }
  .hero-overlay.profile-hero-overlay {
    background: linear-gradient(180deg, 
      rgba(8, 38, 61, 0.08) 0%, 
      rgba(8, 38, 61, 0.02) 22%, 
      rgba(8, 38, 61, 0.35) 42%, 
      rgba(8, 38, 61, 0.88) 60%, 
      rgba(8, 38, 61, 0.98) 78%, 
      rgba(8, 38, 61, 1) 100%);
  }
  .profile-hero-content {
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(72px + 10px) 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    overflow-y: auto;
  }
  .profile-hero-text {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .profile-hero-breadcrumb {
    display: none !important;
  }
  .profile-hero-text .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  }
  .profile-hero-text h1 {
    font-size: 2.15rem;
    line-height: 1.12;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }
  .profile-hero-role {
    font-size: 1.02rem;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  }
  .profile-hero-desc {
    font-size: 0.88rem;
    line-height: 1.42;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 100%;
  }
  .profile-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
  }
  .profile-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    font-size: 0.76rem;
    background: rgba(8, 38, 61, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    backdrop-filter: blur(8px);
  }
  .profile-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .profile-hero-actions .btn {
    padding: 11px 20px;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
    border-radius: 999px;
  }

  /* Dossier alignment */
  .profile-dossier-card {
    padding: 24px 18px;
  }
  .profile-dossier-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
  }
  .profile-dossier-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--industrial-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .profile-dossier-value {
    font-size: 0.94rem;
    color: var(--navy);
    font-weight: 600;
  }

  /* Cards & Grids on Mobile */
  .profile-expertise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .profile-expertise-card {
    padding: 22px 18px;
  }
  .profile-matrix-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .profile-matrix-card {
    padding: 20px 16px;
  }
  .profile-projects-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .profile-credential-box {
    padding: 24px 18px;
  }

  /* Career Timeline Alignment */
  .profile-timeline-wrap {
    padding-left: 28px;
    margin-top: 28px;
  }
  .profile-timeline-wrap::before {
    left: 7px;
    width: 2px;
  }
  .timeline-node {
    left: -28px;
    width: 16px;
    height: 16px;
    top: 20px;
    border-width: 2.5px;
    box-shadow: 0 0 0 3px var(--light-blue-grey);
  }
  .timeline-milestone {
    margin-bottom: 24px;
  }
  .timeline-body-card {
    padding: 20px 16px;
  }
  .timeline-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 8px;
  }
  .timeline-title {
    font-size: 1.12rem;
  }
  .timeline-tag {
    align-self: flex-start;
    font-size: 0.78rem;
    padding: 3px 10px;
  }

  /* Quote Section */
  .profile-quote-section {
    padding: 44px 0;
  }
  .profile-quote-text {
    font-size: 1.12rem;
    line-height: 1.6;
  }
}

@media (max-width: 479px) {
  .profile-hero-content {
    padding: calc(72px + 10px) 16px 20px;
  }
  .profile-hero-text h1 {
    font-size: 1.95rem;
  }
  .profile-hero-role {
    font-size: 0.98rem;
  }
  .profile-hero-desc {
    font-size: 0.86rem;
    line-height: 1.42;
    margin-bottom: 10px;
  }
  .profile-hero-badges {
    margin-bottom: 12px;
  }
  .profile-hero-badge {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
  .profile-hero-actions .btn {
    padding: 10px 18px;
    font-size: 0.86rem;
  }
  .profile-dossier-card {
    padding: 20px 14px;
  }
  .timeline-body-card {
    padding: 16px 14px;
  }
}

/* Fallback for ultra-short mobile heights */
@media (max-height: 620px) and (max-width: 767px) {
  .hero.profile-hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .profile-hero-content {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(72px + 10px) 16px 20px;
  }
  .profile-hero-text h1 {
    font-size: 1.75rem;
  }
  .profile-hero-desc {
    font-size: 0.82rem;
    line-height: 1.38;
    margin-bottom: 8px;
  }
  .profile-hero-badges {
    margin-bottom: 10px;
  }
}

/* Legal Pages Responsive */
@media (max-width: 991px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-sidebar {
    position: static;
  }
}

