/* ================================================================
   MUTSENGI ATTORNEYS — STYLESHEET
   Brand: Deep Navy · Electric Blue · Cyan · Slate
   ================================================================ */

   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

   /* ── Variables ── */
   :root {
     --navy:        #08142E;
     --navy-mid:    #0F1E45;
     --blue-dark:   #1439A0;
     --blue-mid:    #1E5CC8;
     --blue-light:  #4A96DC;
     --cyan:        #00AEEF;
     --white:       #FFFFFF;
     --off-white:   #F2F5FB;
     --slate:       #6B7C9A;
     --slate-light: #C4D3E8;
     --font-display:'Playfair Display', Georgia, serif;
     --font-body:   'DM Sans', sans-serif;
     --section-pad: 100px 0;
     --container:   1200px;
     --ease:        cubic-bezier(0.4, 0, 0.2, 1);
     --t:           0.3s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   /* ── Reset ── */
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
   html {
     scroll-behavior: smooth;
     overscroll-behavior: none;
     scroll-padding-top: 80px;
   }
   body {
     font-family: var(--font-body);
     background: var(--white);
     color: var(--navy);
     line-height: 1.7;
     overflow-x: hidden;
     overscroll-behavior: none;
     -webkit-overflow-scrolling: touch;
   }
   img  { max-width: 100%; display: block; }
   a    { text-decoration: none; color: inherit; }
   ul   { list-style: none; }
   
   /* Full logo image in navbar */
   .nav-logo-full {
     height: 52px;
     width: auto;
     max-width: 220px;
     object-fit: contain;
     /* Logo has white background — keep it clean with no border */
     filter: drop-shadow(0 2px 8px rgba(0,174,239,0.15));
     transition: filter var(--t), transform var(--t);
   }
   .nav-logo:hover .nav-logo-full {
     filter: drop-shadow(0 4px 16px rgba(0,174,239,0.35));
     transform: scale(1.03);
   }
   /* Legacy small icon (footer area only) */
   .nav-logo-img {
     width: 48px;
     height: 48px;
     object-fit: contain;
     flex-shrink: 0;
     border-radius: 50%;
     border: 2px solid var(--blue-mid);
     box-shadow: 0 0 12px rgba(0,174,239,0.25);
     transition: box-shadow var(--t), transform var(--t);
   }
   .nav-logo:hover .nav-logo-img {
     box-shadow: 0 0 20px rgba(0,174,239,0.5);
     transform: scale(1.05);
   }
   .container {
     max-width: var(--container);
     margin: 0 auto;
     padding: 0 32px;
   }
   
   /* Full horizontal logo in footer */
   .footer-logo-full {
     width: 220px;
     height: auto;
     object-fit: contain;
     /* The image has a black background — add a gentle fade so it blends
        into the dark footer without a hard black rectangle */
     border-radius: 6px;
     opacity: 0.92;
     transition: opacity var(--t);
     margin-bottom: 4px;
   }
   .footer-logo-full:hover { opacity: 1; }
   .about-strip,
   .services,
   .commitment { position: relative; overflow: hidden; }
   
   /* The actual image layer */
   .section-bg-img {
     position: absolute;
     inset: 0;
     background-size: cover;
     background-position: center center;
     background-repeat: no-repeat;
     z-index: 0;
   }
   
   /* Tint layer — sits on top of image */
   .section-bg-tint {
     position: absolute;
     inset: 0;
     z-index: 1;
     background: rgba(242, 245, 251, 0.92); /* light sections */
   }
   .section-bg-tint.dark {
     background: rgba(8, 20, 46, 0.87);     /* dark sections */
   }
   .section-bg-tint.dark.strong {
     background: rgba(8, 20, 46, 0.93);     /* extra-dark for commitment */
   }
   
   /* Content sits above both layers */
   .section-content { position: relative; z-index: 2; }
   
   /* ================================================================
      NAVBAR
      ================================================================ */
   .navbar {
     position: fixed;
     top: 0; left: 0; right: 0;
     z-index: 1000;
     padding: 0;
     transition: background var(--t), box-shadow var(--t);
   }
   .navbar.scrolled {
     background: rgba(8, 20, 46, 0.97);
     backdrop-filter: blur(16px);
     -webkit-backdrop-filter: blur(16px);
     box-shadow: 0 2px 40px rgba(0,0,0,0.3), 0 1px 0 rgba(0,174,239,0.12);
   }
   .nav-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 80px;
   }
   .nav-logo {
     display: flex;
     align-items: center;
     gap: 0;
   }
   .logo-mark {
     width: 48px; height: 48px;
     border-radius: 50%;
     border: 2px solid var(--blue-mid);
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: var(--font-display);
     font-size: 20px;
     font-weight: 900;
     color: var(--cyan);
     background: rgba(43,109,217,0.12);
     letter-spacing: -1px;
     flex-shrink: 0;
   }
   .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
   .logo-text .firm-name {
     font-family: var(--font-display);
     font-size: 18px;
     font-weight: 700;
     color: var(--white);
     letter-spacing: 0.5px;
   }
   .logo-text .firm-sub {
     font-size: 10px;
     font-weight: 500;
     color: var(--cyan);
     letter-spacing: 2px;
     text-transform: uppercase;
   }
   .nav-links {
     display: flex;
     align-items: center;
     gap: 36px;
   }
   .nav-links a {
     font-size: 13.5px;
     font-weight: 500;
     color: var(--slate-light);
     letter-spacing: 0.5px;
     text-transform: uppercase;
     transition: color var(--t);
     position: relative;
   }
   .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -4px; left: 0;
     width: 0; height: 1px;
     background: var(--cyan);
     transition: width var(--t);
   }
   .nav-links a:hover        { color: var(--white); }
   .nav-links a:hover::after { width: 100%; }
   .nav-cta {
     background: var(--blue-mid) !important;
     color: var(--white) !important;
     padding: 10px 22px;
     border-radius: 4px;
     font-size: 13px !important;
     font-weight: 600 !important;
     transition: background var(--t), transform var(--t) !important;
   }
   .nav-cta:hover         { background: var(--cyan) !important; transform: translateY(-1px); }
   .nav-cta::after        { display: none !important; }
   .hamburger {
     display: none;
     flex-direction: column;
     gap: 5px;
     cursor: pointer;
     padding: 8px;
   }
   .hamburger span {
     display: block;
     width: 24px; height: 2px;
     background: var(--white);
     border-radius: 2px;
     transition: var(--t);
   }
   
   /* ================================================================
      HERO
      ================================================================ */
   .hero {
     min-height: 100vh;
     background: var(--navy);
     position: relative;
     display: flex;
     align-items: center;
     overflow: hidden;
     /* Push all content below the 80px fixed navbar */
     padding-top: 80px;
   }
   
   /* Grid pattern overlay */
   .hero-bg-grid {
     position: absolute;
     inset: 0;
     background-image:
       linear-gradient(rgba(43,109,217,0.06) 1px, transparent 1px),
       linear-gradient(90deg, rgba(43,109,217,0.06) 1px, transparent 1px);
     background-size: 60px 60px;
     z-index: 1;
     animation: gridFade 8s ease-in-out infinite alternate;
   }
   @keyframes gridFade { from { opacity: 0.4; } to { opacity: 1; } }
   
   /* Glow orbs */
   .hero-glow, .hero-glow-2 {
     position: absolute;
     border-radius: 50%;
     pointer-events: none;
     z-index: 1;
   }
   .hero-glow {
     width: 700px; height: 700px;
     background: radial-gradient(circle, rgba(43,109,217,0.18) 0%, transparent 70%);
     top: -100px; right: -100px;
     animation: pulse 6s ease-in-out infinite;
   }
   .hero-glow-2 {
     width: 400px; height: 400px;
     background: radial-gradient(circle, rgba(0,196,255,0.1) 0%, transparent 70%);
     bottom: 50px; left: -100px;
     animation: pulse 8s ease-in-out infinite reverse;
   }
   @keyframes pulse {
     0%, 100% { transform: scale(1); opacity: 0.7; }
     50%       { transform: scale(1.15); opacity: 1; }
   }
   
   /* Background photo (right half) */
   .hero-photo-wrap {
     position: absolute;
     inset: 0;
     z-index: 2;
     pointer-events: none;
   }
   .hero-bg-photo {
     position: absolute;
     top: 0; left: 0;
     height: 100%; width: 100%;
     object-fit: cover;
     object-position: center center;
   }
   .hero-photo-overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(
       105deg,
       rgba(8,20,46,0.92) 0%,
       rgba(8,20,46,0.75) 50%,
       rgba(8,20,46,0.60) 100%
     );
   }
   
   /* Hero text content */
   .hero-content {
     position: relative;
     z-index: 3;
     max-width: 700px;
   }
   .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(43,109,217,0.2);
     border: 1px solid rgba(79,163,232,0.3);
     border-radius: 100px;
     padding: 6px 16px;
     font-size: 12px;
     font-weight: 600;
     color: var(--cyan);
     letter-spacing: 1.5px;
     text-transform: uppercase;
     margin-bottom: 28px;
     opacity: 0;
     animation: fadeUp 0.8s var(--ease) 0.2s forwards;
   }
   .hero-badge i { font-size: 10px; }
   .hero h1 {
     font-family: var(--font-display);
     font-size: clamp(42px, 6vw, 76px);
     font-weight: 900;
     color: var(--white);
     line-height: 1.08;
     margin-bottom: 28px;
     opacity: 0;
     animation: fadeUp 0.8s var(--ease) 0.4s forwards;
   }
   .hero h1 .highlight { color: var(--cyan); }
   .hero p {
     font-size: 18px;
     color: var(--slate-light);
     max-width: 560px;
     margin-bottom: 44px;
     font-weight: 300;
     opacity: 0;
     animation: fadeUp 0.8s var(--ease) 0.6s forwards;
   }
   .hero-actions {
     display: flex;
     gap: 16px;
     flex-wrap: wrap;
     opacity: 0;
     animation: fadeUp 0.8s var(--ease) 0.8s forwards;
   }
   .hero-stats {
     position: relative;
     z-index: 3;
     display: flex;
     gap: 48px;
     margin-top: 80px;
     padding-top: 48px;
     border-top: 1px solid rgba(79,163,232,0.15);
     opacity: 0;
     animation: fadeUp 0.8s var(--ease) 1s forwards;
   }
   .hero-stat { text-align: left; }
   .hero-stat .num {
     font-family: var(--font-display);
     font-size: 42px;
     font-weight: 700;
     color: var(--white);
     line-height: 1;
   }
   .hero-stat .num span { color: var(--cyan); }
   .hero-stat .label {
     font-size: 12px;
     color: var(--slate);
     text-transform: uppercase;
     letter-spacing: 1.5px;
     margin-top: 4px;
   }
   .hero-divider {
     width: 1px;
     background: rgba(79,163,232,0.2);
     align-self: stretch;
   }
   @keyframes fadeUp {
     from { opacity: 0; transform: translateY(30px); }
     to   { opacity: 1; transform: translateY(0); }
   }
   
   /* ================================================================
      BUTTONS
      ================================================================ */
   .btn-primary {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     background: var(--blue-mid);
     color: var(--white);
     padding: 16px 32px;
     border-radius: 4px;
     font-size: 14px;
     font-weight: 600;
     letter-spacing: 0.5px;
     border: 2px solid transparent;
     transition: all var(--t);
     cursor: pointer;
   }
   .btn-primary:hover {
     background: var(--cyan);
     color: var(--navy);
     transform: translateY(-2px);
     box-shadow: 0 12px 40px rgba(0,174,239,0.3);
   }
   .btn-outline {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     background: transparent;
     color: var(--white);
     padding: 16px 32px;
     border-radius: 4px;
     font-size: 14px;
     font-weight: 600;
     letter-spacing: 0.5px;
     border: 2px solid rgba(255,255,255,0.3);
     transition: all var(--t);
     cursor: pointer;
   }
   .btn-outline:hover {
     border-color: var(--cyan);
     color: var(--cyan);
     transform: translateY(-2px);
   }
   
   /* ================================================================
      SECTION LABELS & TYPOGRAPHY
      ================================================================ */
   .section-label {
     display: inline-block;
     font-size: 11px;
     font-weight: 700;
     color: var(--blue-mid);
     letter-spacing: 3px;
     text-transform: uppercase;
     margin-bottom: 14px;
   }
   .section-label.light { color: var(--cyan); }
   .section-title {
     font-family: var(--font-display);
     font-size: clamp(32px, 4vw, 50px);
     font-weight: 700;
     line-height: 1.15;
     color: var(--navy);
   }
   .section-title.light { color: var(--white); }
   .section-lead {
     font-size: 17px;
     color: var(--slate);
     max-width: 560px;
     margin-top: 16px;
     font-weight: 300;
   }
   .section-lead.light { color: var(--slate-light); }
   .section-header    { margin-bottom: 60px; }
   
   /* ================================================================
      ABOUT
      ================================================================ */
   .about-strip { padding: var(--section-pad); }
   .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 80px;
     align-items: center;
   }
   .about-visual { position: relative; }
   .about-card-main {
     background: var(--navy);
     border-radius: 8px;
     padding: 44px;
     position: relative;
     overflow: hidden;
   }
   .about-card-main::before {
     content: '';
     position: absolute;
     top: 0; left: 0; right: 0;
     height: 3px;
     background: linear-gradient(90deg, var(--blue-mid), var(--cyan));
   }
   .about-card-main blockquote {
     font-family: var(--font-display);
     font-size: 22px;
     color: var(--white);
     line-height: 1.5;
     margin-bottom: 24px;
     font-style: italic;
   }
   .about-card-main cite {
     font-size: 13px;
     color: var(--cyan);
     font-style: normal;
     letter-spacing: 1px;
     font-weight: 600;
     text-transform: uppercase;
   }
   .about-badge-float {
     position: absolute;
     bottom: -20px; right: -20px;
     width: 120px; height: 120px;
     background: var(--blue-mid);
     border-radius: 50%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     border: 4px solid var(--off-white);
   }
   .about-badge-float .num {
     font-family: var(--font-display);
     font-size: 32px;
     font-weight: 700;
     color: var(--white);
     line-height: 1;
   }
   .about-badge-float .txt {
     font-size: 10px;
     color: var(--slate-light);
     text-align: center;
     letter-spacing: 1px;
     text-transform: uppercase;
     margin-top: 2px;
   }
   .about-text h2 { margin-bottom: 20px; }
   .about-text p  { color: var(--slate); margin-bottom: 16px; font-size: 16px; }
   .about-text p:last-of-type { margin-bottom: 32px; }
   .value-pills {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-bottom: 36px;
   }
   .pill {
     display: flex;
     align-items: center;
     gap: 6px;
     background: rgba(43,109,217,0.08);
     border: 1px solid rgba(43,109,217,0.2);
     border-radius: 100px;
     padding: 6px 14px;
     font-size: 13px;
     font-weight: 500;
     color: var(--blue-dark);
   }
   .pill i { color: var(--blue-mid); font-size: 11px; }
   
   /* ================================================================
      SERVICES
      ================================================================ */
   .services { padding: var(--section-pad); }
   /* Grid overlay pattern on top of bg image */
   .services::before {
     content: '';
     position: absolute;
     inset: 0;
     background-image:
       linear-gradient(rgba(43,109,217,0.05) 1px, transparent 1px),
       linear-gradient(90deg, rgba(43,109,217,0.05) 1px, transparent 1px);
     background-size: 40px 40px;
     z-index: 2;
     pointer-events: none;
   }
   .services-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 2px;
     background: rgba(79,163,232,0.1);
     border: 1px solid rgba(79,163,232,0.1);
     border-radius: 8px;
     overflow: hidden;
   }
   .service-card {
     background: var(--navy-mid);
     padding: 36px 32px;
     transition: background var(--t);
     position: relative;
     overflow: hidden;
   }
   .service-card::after {
     content: '';
     position: absolute;
     bottom: 0; left: 0; right: 0;
     height: 0;
     background: linear-gradient(180deg, transparent, rgba(43,109,217,0.08));
     transition: height var(--t);
   }
   .service-card:hover             { background: rgba(26,75,171,0.25); }
   .service-card:hover::after      { height: 60px; }
   .service-icon {
     width: 56px; height: 56px;
     background: rgba(43,109,217,0.15);
     border: 1px solid rgba(43,109,217,0.3);
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 24px;
     font-size: 22px;
     color: var(--cyan);
     transition: all var(--t);
   }
   .service-card:hover .service-icon {
     background: var(--blue-mid);
     border-color: var(--blue-mid);
     transform: translateY(-4px);
   }
   .service-card h3 {
     font-family: var(--font-display);
     font-size: 20px;
     font-weight: 700;
     color: var(--white);
     margin-bottom: 12px;
   }
   .service-card p { font-size: 15px; color: var(--slate); line-height: 1.7; }
   .service-card ul {
     margin-top: 16px;
     display: flex;
     flex-direction: column;
     gap: 8px;
   }
   .service-card ul li {
     font-size: 14px;
     color: var(--slate-light);
     display: flex;
     align-items: center;
     gap: 8px;
   }
   .service-card ul li::before {
     content: '';
     width: 5px; height: 5px;
     border-radius: 50%;
     background: var(--cyan);
     flex-shrink: 0;
   }
   
   /* ================================================================
      WHY CHOOSE US
      ================================================================ */
   .why { padding: var(--section-pad); background: var(--white); }
   .why-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 80px;
     align-items: center;
   }
   .why-features { display: flex; flex-direction: column; gap: 32px; }
   .why-feature {
     display: flex;
     gap: 20px;
     align-items: flex-start;
     padding: 28px;
     border-radius: 8px;
     border: 1px solid transparent;
     transition: all var(--t);
   }
   .why-feature:hover {
     border-color: rgba(43,109,217,0.15);
     background: var(--off-white);
     transform: translateX(8px);
   }
   .why-feature-icon {
     width: 50px; height: 50px;
     background: var(--navy);
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
     color: var(--cyan);
     flex-shrink: 0;
   }
   .why-feature h4 {
     font-family: var(--font-display);
     font-size: 18px;
     font-weight: 700;
     color: var(--navy);
     margin-bottom: 8px;
   }
   .why-feature p { font-size: 15px; color: var(--slate); }
   .why-visual { display: flex; flex-direction: column; gap: 20px; }
   .why-card {
     background: var(--navy);
     border-radius: 8px;
     padding: 36px;
     position: relative;
     overflow: hidden;
   }
   .why-card::before {
     content: '';
     position: absolute;
     left: 0; top: 0; bottom: 0;
     width: 3px;
     background: linear-gradient(180deg, var(--blue-mid), var(--cyan));
   }
   .why-card-icon { font-size: 28px; color: var(--cyan); margin-bottom: 14px; }
   .why-card h4 {
     font-family: var(--font-display);
     font-size: 20px;
     color: var(--white);
     margin-bottom: 10px;
   }
   .why-card p  { font-size: 14px; color: var(--slate); }
   .why-card-quote {
     font-family: var(--font-display);
     font-size: 28px;
     font-style: italic;
     color: var(--white);
     line-height: 1.4;
     margin-bottom: 8px;
   }
   .why-card-attr {
     font-size: 13px;
     color: var(--cyan);
     letter-spacing: 1.5px;
     text-transform: uppercase;
     font-weight: 600;
   }
   
   /* ================================================================
      DIRECTOR
      ================================================================ */
   /* ================================================================
      DIRECTOR / TEAM
      ================================================================ */
   .director {
     background: var(--off-white);
     padding: var(--section-pad);
     position: relative;
     overflow: hidden;
   }
   /* Subtle corner decoration */
   .director::before {
     content: '';
     position: absolute;
     top: -120px; right: -120px;
     width: 400px; height: 400px;
     border-radius: 50%;
     background: radial-gradient(circle, rgba(30,92,200,0.06) 0%, transparent 70%);
     pointer-events: none;
   }
   .director-grid {
     display: grid;
     grid-template-columns: 400px 1fr;
     gap: 72px;
     align-items: start;
   }

   /* ── Photo column ── */
   .director-photo-wrap { position: sticky; top: 100px; }
   .director-photo-frame {
     position: relative;
     border-radius: 12px;
     overflow: hidden;
     background: var(--navy);
     aspect-ratio: 4/5;
     box-shadow: 0 32px 80px rgba(8,20,46,0.18), 0 0 0 1px rgba(30,92,200,0.1);
   }
   .director-real-photo {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center top;
     display: block;
     transition: transform 0.7s var(--ease);
   }
   .director-photo-wrap:hover .director-real-photo { transform: scale(1.04); }
   .director-photo-frame::after {
     content: '';
     position: absolute;
     bottom: 0; left: 0; right: 0;
     height: 55%;
     background: linear-gradient(0deg, rgba(8,20,46,0.97) 0%, transparent 100%);
     pointer-events: none;
   }
   /* Gold accent stripe on photo frame */
   .director-photo-frame::before {
     content: '';
     position: absolute;
     top: 0; left: 0; right: 0;
     height: 4px;
     background: linear-gradient(90deg, var(--blue-mid), var(--cyan));
     z-index: 3;
   }
   .director-tag {
     position: absolute;
     bottom: 24px; left: 20px; right: 20px;
     z-index: 2;
     padding: 18px 20px;
   }
   .director-tag .name {
     font-family: var(--font-display);
     font-size: 20px;
     font-weight: 700;
     color: var(--white);
     line-height: 1.2;
   }
   .director-tag .title {
     font-size: 11px;
     color: var(--slate);
     letter-spacing: 1.5px;
     text-transform: uppercase;
     margin-top: 5px;
   }
   .director-badge-row {
     display: flex;
     gap: 8px;
     margin-top: 16px;
     flex-wrap: wrap;
   }
   .dir-badge {
     display: flex;
     align-items: center;
     gap: 7px;
     background: var(--navy);
     color: var(--slate-light);
     font-size: 11.5px;
     font-weight: 500;
     padding: 8px 14px;
     border-radius: 40px;
     border: 1px solid rgba(201,168,76,0.2);
   }
   .dir-badge i { color: var(--white); }

   /* ── Info column ── */
   .director-info { padding-top: 8px; }
   .director-info h2 { margin-bottom: 0; }

   /* Gold divider line under heading */
   .director-divider {
     width: 56px;
     height: 3px;
     background: linear-gradient(90deg, var(--blue-light), var(--cyan));
     border-radius: 2px;
     margin: 20px 0 28px;
   }

   .director-info p {
     font-size: 16px;
     color: var(--slate);
     margin-bottom: 18px;
     line-height: 1.8;
   }

   /* Practice area chips */
   .director-areas {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin: 28px 0 36px;
   }
   .area-chip {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     background: var(--navy);
     color: var(--slate-light);
     font-size: 12.5px;
     font-weight: 600;
     padding: 9px 18px;
     border-radius: 40px;
     border: 1px solid rgba(30,92,200,0.25);
     letter-spacing: 0.3px;
   }
   .area-chip i { color: var(--cyan); font-size: 12px; }

   /* Credential list — two-part layout */
   .director-credentials {
     display: flex;
     flex-direction: column;
     gap: 0;
     margin-bottom: 40px;
     border: 1px solid rgba(8,20,46,0.09);
     border-radius: 10px;
     overflow: hidden;
   }
   .credential {
     display: flex;
     align-items: center;
     gap: 18px;
     padding: 18px 22px;
     background: var(--white);
     border-bottom: 1px solid rgba(8,20,46,0.07);
     transition: background var(--t);
   }
   .credential:last-child { border-bottom: none; }
   .credential:hover { background: var(--off-white); }
   .cred-icon {
     width: 40px;
     height: 40px;
     border-radius: 10px;
     background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
   }
   .cred-icon i { color: var(--white); font-size: 15px; }
   .cred-text {
     display: flex;
     flex-direction: column;
     gap: 2px;
   }
   .cred-text strong {
     font-size: 14.5px;
     color: var(--navy);
     font-weight: 700;
   }
   .cred-text span {
     font-size: 13px;
     color: var(--slate);
     line-height: 1.4;
   }

   
   /* ================================================================
      COMMITMENT
      ================================================================ */
   .commitment { padding: var(--section-pad); }
   .commitment-inner {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 80px;
     align-items: center;
   }
   .commitment-list {
     display: flex;
     flex-direction: column;
     gap: 20px;
     margin-top: 40px;
   }
   .commitment-item {
     display: flex;
     gap: 16px;
     align-items: flex-start;
   }
   .commitment-item i {
     width: 36px; height: 36px;
     background: rgba(43,109,217,0.2);
     border-radius: 6px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 15px;
     color: var(--cyan);
     flex-shrink: 0;
   }
   .commitment-item p { font-size: 15px; color: var(--slate-light); padding-top: 6px; }
   .commitment-right { display: flex; flex-direction: column; gap: 16px; }
   .value-card {
     background: rgba(43,109,217,0.12);
     border: 1px solid rgba(79,163,232,0.15);
     border-radius: 8px;
     padding: 28px;
     transition: all var(--t);
   }
   .value-card:hover {
     background: rgba(43,109,217,0.22);
     border-color: rgba(79,163,232,0.3);
     transform: translateX(6px);
   }
   .value-card h4 {
     font-family: var(--font-display);
     font-size: 18px;
     color: var(--white);
     margin-bottom: 8px;
     display: flex;
     align-items: center;
     gap: 10px;
   }
   .value-card h4 i { color: var(--cyan); font-size: 16px; }
   .value-card p    { font-size: 14px; color: var(--slate); }
   
   /* ================================================================
      CONTACT
      ================================================================ */
   .contact { padding: var(--section-pad); background: var(--white); }
   .contact-grid {
     display: grid;
     grid-template-columns: 1fr 1.2fr;
     gap: 80px;
   }
   .contact-info { display: flex; flex-direction: column; gap: 28px; }
   .contact-item { display: flex; gap: 18px; align-items: flex-start; }
   .contact-icon {
     width: 50px; height: 50px;
     background: var(--navy);
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 18px;
     color: var(--cyan);
     flex-shrink: 0;
   }
   .contact-item-text .label {
     font-size: 11px;
     color: var(--slate);
     text-transform: uppercase;
     letter-spacing: 1.5px;
     font-weight: 600;
     margin-bottom: 4px;
   }
   .contact-item-text .value { font-size: 16px; color: var(--navy); font-weight: 500; }
   .contact-item-text .value a { color: var(--blue-mid); }
   .contact-item-text .value a:hover { color: var(--cyan); }
   .contact-form {
     background: var(--off-white);
     border-radius: 8px;
     padding: 44px;
     border: 1px solid rgba(43,109,217,0.1);
   }
   .contact-form h3 {
     font-family: var(--font-display);
     font-size: 24px;
     color: var(--navy);
     margin-bottom: 28px;
   }
   .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
   .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
   .form-group label {
     font-size: 12px;
     font-weight: 600;
     color: var(--navy);
     letter-spacing: 0.5px;
     text-transform: uppercase;
   }
   .form-group input,
   .form-group select,
   .form-group textarea {
     padding: 13px 16px;
     border: 1px solid rgba(43,109,217,0.2);
     border-radius: 4px;
     font-family: var(--font-body);
     font-size: 15px;
     color: var(--navy);
     background: var(--white);
     transition: border-color var(--t), box-shadow var(--t);
     outline: none;
   }
   .form-group input:focus,
   .form-group select:focus,
   .form-group textarea:focus {
     border-color: var(--blue-mid);
     box-shadow: 0 0 0 3px rgba(43,109,217,0.12);
   }
   .form-group textarea { resize: vertical; min-height: 120px; }
   .form-submit {
     width: 100%;
     padding: 16px;
     background: var(--navy);
     color: var(--white);
     border: none;
     border-radius: 4px;
     font-family: var(--font-body);
     font-size: 15px;
     font-weight: 600;
     letter-spacing: 1px;
     text-transform: uppercase;
     cursor: pointer;
     transition: all var(--t);
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
   }
   .form-submit:hover {
     background: var(--blue-mid);
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(43,109,217,0.35);
   }
   
   /* ================================================================
      FOOTER
      ================================================================ */
   .footer {
     background: #050D1E;
     padding: 64px 0 0;
     border-top: 1px solid rgba(201,168,76,0.18);
   }
   .footer-grid {
     display: grid;
     grid-template-columns: 1.5fr 1fr 1fr;
     gap: 60px;
     padding-bottom: 48px;
   }
   .footer-brand p {
     font-size: 14px;
     color: var(--slate);
     margin-top: 16px;
     max-width: 280px;
     line-height: 1.7;
   }
   .footer-tagline {
     font-family: var(--font-display) !important;
     font-size: 16px !important;
     font-style: italic;
     color: var(--white) !important;
     margin-top: 20px !important;
   }
   .footer-col h5 {
     font-size: 12px;
     font-weight: 700;
     color: var(--white);
     letter-spacing: 2px;
     text-transform: uppercase;
     margin-bottom: 20px;
   }
   .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
   .footer-col ul li a {
     font-size: 14px;
     color: var(--slate);
     transition: color var(--t);
     display: flex;
     align-items: center;
     gap: 8px;
   }
   .footer-col ul li a:hover { color: var(--white); }
   .footer-col ul li a i { font-size: 11px; opacity: 0.5; }
   .footer-bottom {
     border-top: 1px solid rgba(255,255,255,0.06);
     padding: 24px 0;
     display: flex;
     align-items: center;
     justify-content: space-between;
   }
   .footer-bottom p { font-size: 13px; color: var(--slate); }
   
   /* ================================================================
      TOAST
      ================================================================ */
   .toast {
     position: fixed;
     bottom: 32px; right: 32px;
     background: var(--navy);
     border: 1px solid var(--blue-mid);
     border-radius: 8px;
     padding: 16px 24px;
     font-size: 14px;
     color: var(--white);
     z-index: 9999;
     transform: translateY(80px);
     opacity: 0;
     transition: all 0.4s var(--ease);
     display: flex;
     align-items: center;
     gap: 10px;
     pointer-events: none;
   }
   .toast.show { transform: translateY(0); opacity: 1; pointer-events: all; }
   .toast i { color: var(--cyan); }
   
   /* ================================================================
      SCROLL ANIMATIONS
      ================================================================ */
   .reveal {
     opacity: 0;
     transform: translateY(40px);
     transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
   }
   .reveal.visible { opacity: 1; transform: translateY(0); }
   .reveal-left {
     opacity: 0;
     transform: translateX(-40px);
     transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
   }
   .reveal-left.visible { opacity: 1; transform: translateX(0); }
   .reveal-right {
     opacity: 0;
     transform: translateX(40px);
     transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
   }
   .reveal-right.visible { opacity: 1; transform: translateX(0); }
   
   /* ================================================================
      MOBILE MENU
      ================================================================ */
   .mobile-menu {
     position: fixed;
     inset: 0;
     background: rgba(8,20,46,0.99);
     z-index: 999;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 36px;
     opacity: 0;
     pointer-events: none;
     transition: opacity var(--t);
   }
   .mobile-menu.open { opacity: 1; pointer-events: all; }
   .mobile-menu a {
     font-family: var(--font-display);
     font-size: 32px;
     color: var(--white);
     font-weight: 700;
     transition: color var(--t);
   }
   .mobile-menu a:hover { color: var(--cyan); }
   .mobile-close {
     position: absolute;
     top: 28px; right: 28px;
     background: none;
     border: none;
     font-size: 28px;
     color: var(--white);
     cursor: pointer;
   }
   
   /* ================================================================
      RESPONSIVE — COMPREHENSIVE MOBILE-FIRST
      ================================================================ */
   
   /* ── Tablet: 1024px and below ── */
   @media (max-width: 1024px) {
     /* Layouts: collapse to single column */
     .about-grid,
     .why-grid,
     .commitment-inner,
     .contact-grid        { grid-template-columns: 1fr; gap: 48px; }
   
     /* Director: static position, centred */
     .director-grid       { grid-template-columns: 1fr; gap: 48px; }
     .director-photo-wrap { position: static; max-width: 420px; margin: 0 auto; }
     .director-areas      { margin: 20px 0 28px; }
   
     /* Services: 2 columns on tablet */
     .services-grid       { grid-template-columns: repeat(2, 1fr); }
   
     /* Footer: two columns */
     .footer-grid         { grid-template-columns: 1fr 1fr; gap: 40px; }
   
     /* Why grid: full width text */
     .why-grid            { gap: 48px; }
   }
   
   /* ── Mobile: 768px and below ── */
   @media (max-width: 768px) {
     :root {
       --section-pad: 64px 0;
       --container:   100%;
     }
   
     /* Container padding on mobile */
     .container { padding: 0 20px; }
   
     /* ── Navbar ── */
     .nav-links { display: none; }
     .hamburger { display: flex; }
     .nav-logo-full        { height: 40px; max-width: 160px; }
     .nav-inner            { height: 68px; }
   
     /* Update scroll-padding to match smaller navbar */
     html { scroll-padding-top: 68px; }
   
     /* ── Hero ── */
     .hero                 { padding-top: 68px; min-height: 100svh; align-items: flex-start; padding-bottom: 48px; }
     .hero-content         { max-width: 100%; padding-top: 36px; }
     .hero h1              { font-size: clamp(36px, 10vw, 52px); }
     .hero p               { font-size: 16px; }
   
     /* Hero photo: darken more on mobile so text stays readable */
     .hero-bg-photo        { width: 100%; height: 100%; opacity: 1; object-position: center center; }
     .hero-photo-overlay   {
       background: linear-gradient(160deg,
         rgba(8,20,46,0.95) 0%,
         rgba(8,20,46,0.88) 60%,
         rgba(8,20,46,0.82) 100%
       );
     }
   
     /* Hero stats: horizontal scroll row on mobile */
     .hero-stats {
       display: flex;
       flex-direction: row;
       flex-wrap: wrap;
       gap: 20px 32px;
       margin-top: 40px;
       padding-top: 28px;
     }
     .hero-divider         { display: none; }
     .hero-stat .num       { font-size: 32px; }
   
     /* Hero actions: stack buttons */
     .hero-actions         { flex-direction: column; gap: 12px; }
     .btn-primary,
     .btn-outline          { width: 100%; justify-content: center; padding: 15px 24px; }
   
     /* Hero badge: smaller on mobile */
     .hero-badge           { font-size: 10px; letter-spacing: 1px; padding: 5px 12px; }
   
     /* ── About ── */
     .about-grid           { gap: 32px; }
     .about-card-main      { padding: 28px; }
     .about-card-main blockquote { font-size: 18px; }
     .about-badge-float    { display: none; }
     .about-text p         { font-size: 15px; }
   
     /* ── Services ── */
     .service-card         { padding: 28px; }
     .services-grid        { grid-template-columns: 1fr; gap: 1px; border-radius: 6px; }
   
     /* ── Why ── */
     .why-grid             { grid-template-columns: 1fr; gap: 36px; }
     .why-feature          { padding: 20px; }
     .why-feature:hover    { transform: none; }
   
     /* ── Director ── */
     .director-photo-wrap  { max-width: 100%; }
     .director-real-photo  { object-position: center 15%; }
     .director-badge-row   { flex-wrap: wrap; }
     .director-credentials { gap: 0; }
     .credential           { padding: 14px 16px; }
     .cred-text strong     { font-size: 13.5px; }
     .area-chip            { font-size: 12px; padding: 8px 14px; }
   
     /* ── Commitment ── */
     .commitment-inner     { gap: 36px; }
     .commitment-right     { gap: 12px; }
     .value-card           { padding: 22px; }
     .value-card:hover     { transform: none; }
   
     /* ── Contact ── */
     .contact-grid         { gap: 36px; }
     .contact-form         { padding: 28px 20px; }
     .form-row             { grid-template-columns: 1fr; }
     .contact-info         { gap: 20px; }
     .contact-item-text .value { font-size: 14px; word-break: break-all; }
   
     /* ── Footer ── */
     .footer               { padding: 48px 0 0; }
     .footer-grid          { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
     .footer-bottom        { flex-direction: column; gap: 8px; text-align: center; padding: 20px 0; }
     .footer-bottom p      { font-size: 12px; }
     .footer-tagline       { font-size: 14px !important; }
   
     /* ── Section typography ── */
     .section-title        { font-size: clamp(26px, 7vw, 38px); }
     .section-lead         { font-size: 15px; }
     .section-header       { margin-bottom: 40px; }
   
     /* ── Toast ── */
     .toast { bottom: 16px; right: 16px; left: 16px; font-size: 13px; }
   }
   
   /* ── Small phones: 480px and below ── */
   @media (max-width: 480px) {
     .container            { padding: 0 16px; }
     .hero h1              { font-size: clamp(30px, 9vw, 42px); }
     .hero p               { font-size: 15px; max-width: 100%; }
     .service-card         { padding: 22px 18px; }
     .contact-form         { padding: 22px 16px; }
     .why-card             { padding: 24px 20px; }
     .mobile-menu a        { font-size: 26px; }
     .section-title        { font-size: clamp(24px, 8vw, 32px); }
     .nav-logo-full        { height: 34px; max-width: 130px; }
   }

   /* Social media links */
   .footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }
  .footer-socials a {
    width: 40px; height: 40px;
    background: rgba(43,109,217,0.12);
    border: 1px solid rgba(79,163,232,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--slate-light);
    transition: all var(--t);
  }
  .footer-socials a:hover {
    background: var(--blue-mid);
    border-color: var(--blue-mid);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30,92,200,0.3);
  }

  .footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a {
    font-size: 14px;
    color: var(--slate);
    transition: color var(--t);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .footer-col ul li a:hover { color: var(--white); }
  .footer-col ul li a i { font-size: 11px; opacity: 0.5; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .footer-bottom p { font-size: 13px; color: var(--slate); }

  /* Google Maps */
  .google-map-wrap {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(8,20,46,0.08);
    box-shadow: 0 4px 16px rgba(8,20,46,0.06);
  }
  .google-map-wrap iframe {
    display: block;
    width: 100%;
  }

  /* ================================================================
      FLOATING BUTTONS
      ================================================================ */

   /* WhatsApp */
   /*.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    z-index: 900;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: all var(--t);
    animation: whatsappPulse 2s ease-in-out infinite;
  }
  .whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37,211,102,0.5);
    animation: none;
  }
  @keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
    50%      { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.12); }
  }*/

  /* Back to Top */
  .back-to-top {
    position: fixed;
    bottom: 5px; right: 5px;
    width: 40px; height: 40px;
    background: var(--navy);
    border: 1px solid rgba(79,163,232,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
    z-index: 900;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: all var(--t);
  }
  .back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .back-to-top:hover {
    background: var(--blue-mid);
    border-color: var(--blue-mid);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30,92,200,0.3);
  }

  /* =========================================================
   ARTICLES SECTION — MATCHED TO MAIN SITE DESIGN
   ========================================================= */

.articles-section {
  padding: var(--section-pad);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* Background glow */
.articles-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(30, 92, 200, 0.08) 0%,
      transparent 70%);
  pointer-events: none;
}

.articles-container {
  position: relative;
  z-index: 2;
}

.art-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.art-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 18px;
}

.art-lead {
  font-size: 17px;
  color: var(--slate);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* =========================================================
   SLIDER
   ========================================================= */

.slider-wrap {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 10px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* =========================================================
   ARTICLE CARD
   ========================================================= */

.art-card {
  flex: 0 0 360px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(43, 109, 217, 0.08);
  transition: all var(--t);
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(8, 20, 46, 0.04);
}

.art-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 60px rgba(8, 20, 46, 0.12),
    0 0 0 1px rgba(30, 92, 200, 0.08);
}

/* Top gradient line */
.art-card-top {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--blue-mid),
    var(--cyan)
  );
}

/* Card image */
.art-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.art-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.art-card:hover .art-image img {
  transform: scale(1.08);
}

.art-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(8, 20, 46, 0.15)
  );
}

/* Card body */
.art-card-body {
  padding: 30px;
}

.art-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 92, 200, 0.08);
  border: 1px solid rgba(30, 92, 200, 0.12);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.art-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 16px;
  transition: color var(--t);
}

.art-card:hover h3 {
  color: var(--blue-mid);
}

.art-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 26px;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.art-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 20, 46, 0.06);
}

.art-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.5px;
}

.art-read {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--t);
}

.art-card:hover .art-read {
  color: var(--cyan);
}

.art-read svg {
  transition: transform var(--t);
}

.art-card:hover .art-read svg {
  transform: translateX(4px);
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--t);
}

.slider-btn:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 92, 200, 0.3);
}

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

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(8, 20, 46, 0.16);
  transition: all var(--t);
  cursor: pointer;
}

.dot.active {
  width: 22px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    var(--blue-mid),
    var(--cyan)
  );
}

/* =========================================================
   MODAL
   ========================================================= */

.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 46, 0.82);
  backdrop-filter: blur(10px);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}

.modal-bg.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;

  background: var(--white);
  border-radius: 12px;

  transform: translateY(30px) scale(0.96);
  transition: transform var(--t);

  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.modal-bg.open .modal {
  transform: translateY(0) scale(1);
}

/* Header */
.modal-header {
  background: var(--navy);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;

  background: linear-gradient(
    90deg,
    var(--blue-mid),
    var(--cyan)
  );
}

.modal-tag {
  display: inline-block;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.2);

  color: var(--cyan);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  border-radius: 100px;
  padding: 6px 12px;

  margin-bottom: 18px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.modal-meta {
  font-size: 13px;
  color: var(--slate-light);
  letter-spacing: 0.4px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.08);
  color: var(--white);

  font-size: 16px;
  cursor: pointer;

  transition: all var(--t);
}

.modal-close:hover {
  background: var(--blue-mid);
  transform: rotate(90deg);
}

/* Body */
.modal-body {
  padding: 40px;
}

.modal-body p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: 20px;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin: 40px 0 16px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .art-card {
    flex: 0 0 320px;
  }

  .modal-header,
  .modal-body {
    padding: 32px;
  }
}

@media (max-width: 640px) {

  .articles-section {
    padding: 80px 0;
  }

  .art-card {
    flex: 0 0 88%;
  }

  .art-title {
    font-size: 38px;
  }

  .art-card-body {
    padding: 24px;
  }

  .modal-header,
  .modal-body {
    padding: 24px;
  }

  .modal-body h3 {
    font-size: 24px;
  }
}