@layer reset, base, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
  }
  img, svg {
    display: block;
    max-width: 100%;
  }
  button, input, textarea {
    font: inherit;
  }
}

@layer base {
  :root {
    --bg: #f5f8fc;
    --bg-alt: #083740;
    --card: #ffffff;
    --text: #0a1628;
    --text-medium: #2d3748;
    --text-light: #4a5568;
    --muted: #718096;
    --accent: #083740;
    --accent-hover: #0d47a1;
    --accent-light: #1976d2;
    --accent-2: #C9950D;
    --line: #e2e8f0;
    --line-dark: #cbd5e0;
    --success: #10b981;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow: 0 8px 24px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 16px 40px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 24px 48px rgba(10, 22, 40, 0.15);
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1, h2, h3, h4 {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.75rem, 4vw, 2.375rem);
    line-height: 1;
  }

  h3 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
  }

  h4 {
    font-size: 1.25rem;
  }

  p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  p:last-child {
    margin-bottom: 0;
  }
}

@layer components {
  /* ============================================
     UTILITY CLASSES
     ============================================ */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 2rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 22, 40, 0.2);
  }

  .btn:active {
    transform: translateY(0);
  }

  .btn--primary {
    background: var(--accent);
    color: #ffffff;
  }

  .btn--primary:hover {
    background: var(--accent-hover);
  }

  .btn--ghost {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
    padding: 12px 30px;
  }

  .btn--ghost:hover {
    background: var(--text);
    color: #ffffff;
  }

  .btn--sm {
    padding: 10px 24px;
    font-size: 14px;
  }

  /* ============================================
     PAGE LAYOUT
     ============================================ */
  
  .page {
    width: 100%;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0px 0vw 0px;
  }

  /* ============================================
     HEADER
     ============================================ */
  
  .hamburger {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background: var(--card);
    gap: 0 32px;
    padding: 14px 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 300ms ease;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
  }

  .site-header.sticky {
    background: #083740;
    box-shadow: 0 4px 20px rgba(8, 55, 64, 0.3);
  }

  .site-header.sticky .brand,
  .site-header.sticky .brand__name,
  .site-header.sticky .site-nav a {
    color: #F5FaFE;
  }

  .site-header.sticky .site-nav a:hover {
    color: #ffffff;
  }

  .site-header.sticky .site-nav a::after {
    background: #F5FaFE;
  }

  .site-header.sticky .btn--ghost {
    border-color: #F5FaFE;
    color: #F5FaFE;
  }

  .site-header.sticky .btn--ghost:hover {
    background: #F5FaFE;
    color: #083740;
  }
  .site-header.sticky .btn--primary {
    background-color: #C9950D;
    color: #F5FaFE;
  }

  .brand {
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    height: 100%;
  }

  .brand__icon {
    width: 52px;
    height: 52px;
    max-height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    flex-shrink: 0;
    object-fit: contain;
  }

  .logo {
    width: 180px;
    height: 52px;
    max-height: 52px;
    background-image: url("https://www.test3.corporatejuicebox.com/Images/Logos/Logo_.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }

  .site-nav {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 15px;
  }

  .site-nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 200ms ease;
    position: relative;
  }

  .site-nav a:hover {
    color: var(--accent);
  }

  .site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 280ms ease;
  }

  .site-nav a:hover::after {
    width: 100%;
  }

  .header-actions {
    display: flex;
    gap: 12px;
  }

  /* ============================================
     HERO SECTION
     ============================================ */
  
  .hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    background: var(--card);
    padding: 3rem 10%;
    margin:0;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 50px 50px;
    z-index: 100;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    z-index: 100;
  }

  .hero__eyebrow {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
  }

  .hero__lead {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 92%;
  }

  .hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .hero__stats > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .hero__stat-value {
    font-weight: 700;
    font-size: 2rem;
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
  }

  .hero__stat-label {
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1;
  }

  .hero__visual .ph {
    position: relative;
    display: flex;
    align-items: center;
    background-image: url(https://www.test3.corporatejuicebox.com/Images/Landing/LMJLanding.jpg);
    background-position: center;
    background-size: cover;

  }

  /* ============================================
     INFO SECTION
     ============================================ */
  
  .info {
    padding: 3rem 15%;
    margin:-2rem 0 0 0;
    align-items: center;
    background-image: linear-gradient(to right, rgba(06, 07, 08, 1) 20%,rgba(8, 55, 64, 0.9) 65%, rgba(8, 55, 64, 0.9) 85%, rgba(0, 0, 0, 0.7) 100%), url("https://www.test3.corporatejuicebox.com/Images/Landing/LMJLanding1.jpg");
    background-position: center;
    background-size: cover;
    z-index:-1;

  }
  .info .ph {
    border-radius: 24px 0 0 24px;
    height: 0%;
    min-height: 0%;
  }

  .info article {
    width: 100%;
    padding: 3rem 10%;
    box-shadow: var(--shadow);
    color: #F5FaFE
  }
  .info article p {
    color: #F5FaFE
  }

  .info article h2 {
    margin-bottom: 1rem;
  }

  /* ============================================
     mission MESSAGE SECTION
     ============================================ */
  
  .mission {
    padding: 5rem 3rem 8rem 3rem;
    margin:0;
    text-align: center;
  }

  .mission__icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ef4444;
  }

  .mission h2 {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .mission p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 32px;
  }

  .mission__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ============================================
     HOSPITAL UNITS SECTION
     ============================================ */
  
  .unit {
    padding: 3rem 10%;
    margin:-2rem 0 0 10%;
    border-radius: 200px 0 0 200px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 36px;
    background-image: linear-gradient(to right, rgba(06, 07, 08, 0.9) 60%,rgba(201, 149, 13, 0.7) 85%, rgba(8, 55, 64, 08) 105%, rgba(0, 0, 0, 0) 100%), url("https://www.test3.corporatejuicebox.com/Images/Landing/LMJLanding1.jpg");
    background-position: center;
    background-size: cover;

  }

  .unit__text {
    padding: 0rem 10%;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    color: #F5FaFE;
  }
  .unit_textLeft {
    width: 70%;
  }
  .unit_textRight {
    width: 30%;
  }

  .unit__text h3 {
    margin-bottom: 16px;
    color: #F5FaFE;
  }

  .unit__text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.75;
    color: #F5FaFE;
  }

  .unit__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }

  /* Carousel Styles */
  .carousel {
    position: relative;
    overflow: hidden;
    padding: 0 0 0 10%;
  }

  .carousel__track-container {
    overflow: hidden;
    position: relative;
  }

  .carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .carousel__card {
    min-width: calc((100% - 72px) / 5);
    flex-shrink: 0;
  }

  .carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--line);
    cursor: pointer;
    z-index: 10;
    transition: all 280ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
  }

  .carousel__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
  }

  .carousel__btn span {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
  }

  .carousel__btn--prev {
    left: 24px;
  }

  .carousel__btn--next {
    right: 24px;
  }

  .carousel__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .carousel__btn:disabled:hover {
    background: var(--card);
    border-color: var(--line);
    color: var(--text);
    transform: translateY(-50%);
  }

  .carousel__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 0px;
  }

  .carousel__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    cursor: pointer;
    transition: all 200ms ease;
    padding: 0;
  }

  .carousel__dot:hover {
    background: var(--accent);
    transform: scale(1.2);
  }

  .carousel__dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
  }

  .unit-card {
    display: flex;
    flex-direction: column;
    gap: 0px;
    background: transparent;
    padding: 0;
    transition: all 280ms ease;
    overflow: hidden;
    max-width: 200px;
  }

  .unit-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }

  .unit-card__image {
    width: 100%;
    aspect-ratio:3 / 1;
    object-fit: contain;
    display: block;
  }

  .unit-card h3,
  .unit-card h4,
  .unit-card p {
    padding: 0 ;
    text-align:center;
  }

  .unit-card h3 {
    padding-top: 20px;
    font-size: 1.1rem;
    color: #F5FaFE;
    margin: 0;
  }

  .unit-card h4 {
    font-size: 0.875rem;
    color: #F5FaFE;
    margin: 0;
    font-weight: 600;
  }

  .unit-card p {
    font-weight: 400;
    font-size: 0.75rem;
    color: #F5FaFE;
    margin: 0;
    padding-bottom: 24px;
    line-height: 1.6;
  }

  /* ============================================
     NEWS SECTION - TABS
     ============================================ */
  
  .news {
    padding: 3rem;
    margin:2rem 0%;
  }

  .tabs {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  .tabs__nav {
    display: flex;
    border-bottom: 2px solid var(--line);
    background: var(--bg);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .tabs__nav::-webkit-scrollbar {
    height: 4px;
  }

  .tabs__nav::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .tabs__btn {
    flex: 1;
    min-width: 200px;
    padding: 20px 24px;
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 280ms ease;
    position: relative;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tabs__btn:hover {
    background: rgba(8, 55, 64, 0.25);
    color: var(--accent);
  }

  .tabs__btn--active {
    background-color: var(--accent);
    color: var(--card);
  }

  .tabs__btn--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
  }

  .tabs__content {
    position: relative;
  }

  .tabs__panel {
    display: none;
    padding: 48px;
    animation: fadeIn 400ms ease;
  }

  .tabs__panel--active {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .tabs__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .tabs__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .tabs__text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text);
  }

  .tabs__text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
  }

  .section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .section__head h2 {
    margin: 0;
  }

  .dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--line);
    transition: all 200ms ease;
    cursor: pointer;
  }

  .dots span:hover {
    background: var(--accent);
    transform: scale(1.2);
  }

  .dots span:first-child {
    background: var(--accent);
  }

  .grid {
    display: grid;
    gap: 28px;
  }

  .grid--three {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .news-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: all 280ms ease;
  }

  .news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }

  .news-card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
  }

  .news-card .ph {
    margin: 0;
    border-radius: 0;
  }

  .news-card h3 {
    padding: 24px 24px 12px;
    margin: 0;
    font-size: 22px;
  }

  .news-card p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
  }

  /* ============================================
     CONTACT SECTION
     ============================================ */
  
  .contact {
    padding: 0rem;
    margin:2rem 0%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
  }

  .contact__data {
    background: var(--card);
    border-radius: 0 24px 24px 0;
    padding: 3rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact__data h3 {
    margin-bottom: 8px;
    color: var(--text);
  }

  .contact__data p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
  }

  .contact__data .ph {
    margin-top: 12px;
  }

  .map-note {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
  }

  .contact__form {
    background: var(--card);
    border-radius: 24px 0 0 24px;
    padding: 3rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 24px;
  }

  .contact__form label {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .contact__form label span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-medium);
    font-weight: 600;
  }

  .contact__form input,
  .contact__form textarea {
    border-radius: var(--radius-sm);
    border: 2px solid var(--line);
    padding: 14px 18px;
    font-size: 15px;
    background: var(--bg);
    transition: all 200ms ease;
  }

  .contact__form input:focus,
  .contact__form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
  }

  .contact__form input::placeholder,
  .contact__form textarea::placeholder {
    color: var(--muted);
  }

  .contact__form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
  }

  .contact__form button[type="submit"] {
    justify-self: start;
    margin-top: 8px;
  }

  /* ============================================
     FOOTER
     ============================================ */
  
  .footer {
    margin-top:0px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 3rem 5%;
    box-shadow: var(--shadow-xl);
  }

  .footer__logo {
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
  }

  .footer__text {
    color: #cbd5e0;
    font-size: 15px;
    max-width: 380px;
    line-height: 1.7;
  }

  .footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer__links {
    display: flex;
    gap: 80px;
  }

  .footer__links > div {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer__title {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .footer__links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 14px;
    transition: all 200ms ease;
    display: inline-block;
  }

  .footer__links a:hover {
    color: #ffffff;
    transform: translateX(4px);
  }

  .footer__bottom {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #a0aec0;
  }

  .footer__social {
    display: flex;
    gap: 14px;
  }

  .footer__social span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 280ms ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer__social span:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
  }

  /* ============================================
     PLACEHOLDER IMAGES
     ============================================ */
  
  .ph {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: var(--radius);
    width: 100%;
    min-height: 240px;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), filter 300ms ease;
    position: relative;
    overflow: hidden;
  }

  .ph::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
  }

  @keyframes shimmer {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }

  .ph:hover {
    transform: scale(1.02);
    filter: brightness(0.98);
  }

  .ph--hero {
    aspect-ratio: 4 / 3;
    min-height: 380px;
    border-radius: var(--radius-lg);
  }

  .ph--card {
    aspect-ratio: 4 / 3;
    min-height: 280px;
    border-radius: var(--radius);
  }

  .ph--unit {
    aspect-ratio: 16 / 9;
    min-height: 160px;
    border-radius: var(--radius-sm);
  }

  .ph--map {
    aspect-ratio: 16 / 6;
    min-height: 180px;
    border-radius: var(--radius-sm);
  }
}

@layer utilities {
  /* ============================================
     RESPONSIVE BREAKPOINTS
     ============================================ */

  /* Desktop refinements (1200px - 1400px) */
  @media (min-width: 1200px) and (max-width: 1400px) {
    .page {
      padding: 44px 4vw 72px;
    }

    .hero {
      padding: 48px;
      gap: 48px;
    }

    .unit__list {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
  }

  /* Tablet landscape (1024px - 1199px) */
  @media (max-width: 1199px) {
    .page {
      max-width: 100%;
      padding: 40px 4vw 64px;
    }

    .site-header {
      gap: 24px;
      margin-bottom: 48px;
    }

    .site-nav {
      gap: 28px;
    }

    .hero {
      grid-template-columns: 1fr;
      padding: 48px;
      gap: 40px;
    }

    .hero__stats {
      grid-template-columns: repeat(3, 1fr);
    }

    .info {
      gap: 32px;
    }

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

    .footer__top {
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .footer__links {
      gap: 64px;
    }
  }

  /* Tablet portrait (768px - 1023px) */
  @media (max-width: 1023px) {
    h1 {
      font-size: 40px;
    }

    h2 {
      font-size: 32px;
    }

    .site-header {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 20px;
      padding-bottom: 20px;
    }

    .site-nav {
      justify-content: center;
      gap: 24px;
    }

    .header-actions {
      justify-content: center;
    }

    .hero {
      padding: 40px 32px;
    }

    .hero__lead {
      max-width: 100%;
    }

    .info {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .mission {
      padding: 48px 36px;
    }

    .unit {
      padding: 40px 32px;
    }

    .unit__list {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
    }

    .grid--three {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .footer {
      padding: 48px 36px;
    }
  }

  /* Mobile landscape (640px - 767px) */
  @media (max-width: 767px) {
    .page {
      padding: 32px 5vw 56px;
    }

    .site-header {
      margin-bottom: 36px;
      gap: 16px;
    }

    .brand {
      justify-content: center;
    }

    .site-nav {
      flex-direction: column;
      gap: 16px;
      align-items: center;
    }

    .site-nav a::after {
      display: none;
    }

    .header-actions {
      flex-direction: column;
      width: 100%;
      gap: 12px;
    }

    .header-actions .btn {
      width: 100%;
    }

    .hero {
      padding: 32px 24px;
      gap: 32px;
      margin-bottom: 40px;
    }

    .hero__actions {
      flex-direction: column;
      width: 100%;
    }

    .hero__actions .btn {
      width: 100%;
    }

    .hero__stats {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 24px;
      padding-top: 24px;
    }

    .info {
      margin-top: 40px;
    }

    .info article {
      padding: 32px 24px;
    }

    .mission {
      margin-top: 40px;
      padding: 40px 28px;
    }

    .mission__icon {
      font-size: 40px;
    }

    .mission__actions {
      flex-direction: column;
      width: 100%;
    }

    .mission__actions .btn {
      width: 100%;
    }

    .unit {
      margin-top: 40px;
      padding: 36px 24px;
      gap: 28px;
    }

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

    .unit-card {
      padding: 20px;
    }

    .news {
      margin-top: 48px;
    }

    .section__head {
      margin-bottom: 24px;
    }

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

    .contact {
      margin-top: 48px;
      gap: 24px;
    }

    .contact__data,
    .contact__form {
      padding: 32px 24px;
    }

    .footer {
      margin-top: 64px;
      padding: 40px 28px;
    }

    .footer__links {
      flex-direction: column;
      gap: 32px;
    }

    .footer__bottom {
      flex-direction: column;
      gap: 24px;
      align-items: center;
    }
  }

  /* Mobile portrait (480px - 639px) */
  @media (max-width: 639px) {
    h1 {
      font-size: 32px;
    }

    h2 {
      font-size: 26px;
    }

    h3 {
      font-size: 22px;
    }

    .page {
      padding: 24px 6vw 48px;
    }

    .btn {
      padding: 12px 28px;
      font-size: 14px;
    }

    .btn--sm {
      padding: 10px 20px;
      font-size: 13px;
    }

    .hero {
      padding: 28px 20px;
    }

    .hero__stat-value {
      font-size: 24px;
    }

    .info article {
      padding: 28px 20px;
    }

    .mission {
      padding: 36px 24px;
    }

    .mission h2 {
      font-size: 24px;
    }

    .mission p {
      font-size: 15px;
    }

    .unit {
      padding: 32px 20px;
    }

    .contact__data,
    .contact__form {
      padding: 28px 20px;
    }

    .contact__form {
      gap: 20px;
    }

    .footer {
      padding: 36px 24px;
    }

    .footer__logo {
      font-size: 20px;
    }
  }

  /* Mobile-specific (max 425px) - Hamburger Menu */
  @media (max-width: 425px) {
    .site-header {
      padding: 16px 20px;
    }

    .hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 1001;
      order: 3;
    }

    .hamburger__line {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text);
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .site-header.sticky .hamburger__line {
      background: #F5FaFE;
    }

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

    .hamburger.active .hamburger__line:nth-child(2) {
      opacity: 0;
    }

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

    .site-nav {
      position: fixed;
      top: 80px;
      left: 0;
      right: 0;
      background: var(--card);
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, box-shadow 0.3s ease;
      box-shadow: none;
      z-index: 999;
    }

    .site-nav.active {
      max-height: 400px;
      box-shadow: 0 8px 24px rgba(10, 22, 40, 0.1);
    }

    .site-nav a {
      padding: 16px 24px;
      border-bottom: 1px solid var(--line);
      transition: background 0.2s ease;
    }

    .site-nav a:hover {
      background: var(--bg);
    }

    .site-nav a:last-child {
      border-bottom: none;
    }

    .header-actions {
      display: none;
    }

    .brand {
      order: 1;
    }

    h1 {
      font-size: 28px;
      line-height: 1.2;
    }

    h2 {
      font-size: 24px;
    }

    h3 {
      font-size: 20px;
    }

    .page {
      padding: 20px 16px 40px;
    }

    .btn {
      padding: 12px 24px;
      font-size: 14px;
      width: 100%;
    }

    .btn--sm {
      padding: 10px 18px;
      font-size: 13px;
    }

    .hero {
      grid-template-columns: 1fr;
      padding: 32px 20px;
      gap: 32px;
    }

    .hero__copy {
      order: 1;
    }

    .hero__visual {
      order: 2;
      min-height: 280px;
    }

    .hero__eyebrow {
      font-size: 11px;
    }

    .hero__lead {
      font-size: 15px;
    }

    .hero__actions {
      flex-direction: column;
      gap: 12px;
    }

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

    .hero__stat-value {
      font-size: 24px;
    }

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

    .info article {
      padding: 24px 20px;
    }

    .info .ph {
      min-height: 240px;
    }

    .mission {
      grid-template-columns: 1fr;
      padding: 36px 24px;
      gap: 24px;
      text-align: center;
    }

    .mission__icon {
      font-size: 40px;
    }

    .mission h2 {
      font-size: 24px;
    }

    .mission p {
      font-size: 15px;
    }

    .mission__actions {
      flex-direction: column;
      gap: 12px;
    }

    .carousel {
      padding: 0 12px;
    }

    .carousel__track {
      gap: 16px;
    }

    .unit-card {
      min-width: calc(100% - 32px);
      padding: 20px;
    }

    .unit-card img {
      height: 160px;
    }

    .tabs__nav {
      flex-direction: column;
      gap: 8px;
      border: none;
    }

    .tabs__btn {
      padding: 14px 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      text-align: left;
    }

    .tabs__btn--active {
      border-color: var(--accent);
      border-bottom-color: var(--accent);
      background: rgba(8, 55, 64, 0.05);
    }

    .tabs__panel {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 24px 20px;
    }

    .tabs__panel img {
      height: 220px;
    }

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

    .contact__data,
    .contact__form {
      padding: 24px 20px;
    }

    .contact__form {
      gap: 18px;
    }

    .contact__info-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .footer {
      padding: 32px 20px;
      gap: 28px;
    }

    .footer__top {
      flex-direction: column;
      gap: 24px;
      align-items: flex-start;
    }

    .footer__links {
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
    }

    .footer__social {
      gap: 12px;
    }

    .footer__social span {
      width: 40px;
      height: 40px;
    }

    .footer__bottom {
      flex-direction: column;
      gap: 16px;
      text-align: center;
    }
  }

  /* Small mobile (max 479px) */
  @media (max-width: 479px) {
    .page {
      padding: 20px 5vw 40px;
    }

    .site-header {
      gap: 12px;
    }

    .brand__icon {
      width: 44px;
      height: 44px;
    }

    .brand__name {
      font-size: 18px;
    }

    .hero {
      padding: 24px 18px;
      gap: 24px;
    }

    .hero__eyebrow {
      font-size: 11px;
    }

    .hero__lead {
      font-size: 15px;
    }

    .hero__stats {
      gap: 12px;
    }

    .info article {
      padding: 24px 18px;
    }

    .mission {
      padding: 32px 20px;
    }

    .mission__icon {
      font-size: 36px;
    }

    .unit {
      padding: 28px 18px;
    }

    .unit-card {
      padding: 18px;
    }

    .news-card h3 {
      padding: 20px 20px 10px;
      font-size: 20px;
    }

    .news-card p {
      padding: 0 20px 20px;
      font-size: 14px;
    }

    .contact__data,
    .contact__form {
      padding: 24px 18px;
    }

    .footer {
      padding: 32px 20px;
    }

    .footer__social span {
      width: 36px;
      height: 36px;
    }
  }

  /* ============================================
     ACCESSIBILITY & MOTION PREFERENCES
     ============================================ */

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }

    .ph::before {
      animation: none !important;
    }
  }

  /* High contrast mode support */
  @media (prefers-contrast: high) {
    :root {
      --shadow: 0 0 0 2px currentColor;
      --shadow-sm: 0 0 0 1px currentColor;
      --shadow-lg: 0 0 0 3px currentColor;
      --shadow-xl: 0 0 0 4px currentColor;
    }

    .btn {
      border: 2px solid currentColor;
    }

    .unit-card,
    .news-card,
    .info article,
    .hero,
    .mission,
    .unit,
    .contact__data,
    .contact__form,
    .footer {
      border: 2px solid currentColor;
    }
  }

  /* Print styles */
  @media print {
    .page {
      max-width: 100%;
      padding: 0;
    }

    .header-actions,
    .hero__actions,
    .mission__actions,
    .footer__social,
    .dots,
    .btn {
      display: none;
    }

    .hero,
    .info article,
    .mission,
    .unit,
    .news-card,
    .contact__data,
    .contact__form,
    .footer {
      box-shadow: none;
      border: 1px solid #000;
      break-inside: avoid;
    }

    .ph {
      background: #f0f0f0;
      border: 1px solid #ccc;
    }
  }
}
