:root{
    --ink:#0F2340;
    --paper:#FFFDF6;
    --paper-deep:#FBF2DC;
    --navy:#0A2A5C;
    --navy-deep:#071B3D;
    --gold:#FFC830;
    --gold-deep:#E8A800;
    --gold-light:#FFE18A;
    --blue:#004AAD;
    --blue-bright:#0B5FD1;
    --line:rgba(15,35,64,0.13);
    --white-line:rgba(255,255,255,0.16);
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* <--- Yeh wali line lazmi add kar dein */
}
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:1120px;margin:0 auto;padding:0 32px;}
  h1,h2,h3{font-family:'Fraunces',serif;font-weight:600;letter-spacing:-0.01em;}
  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--blue);
  }
  @media (prefers-reduced-motion: reduce){
    *{animation:none !important;transition:none !important;}
  }

  /* ---------- NAV ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(255,253,246,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex;align-items:center;justify-content:space-between;
    padding:14px 32px;max-width:1120px;margin:0 auto;
  }
  .brand{
    display:flex;align-items:center;gap:12px;
    font-family:'Fraunces',serif;font-weight:600;font-size:17px;
    color:var(--navy);
  }
  .brand img{width:42px;height:42px;border-radius:50%;flex-shrink:0;box-shadow:0 2px 8px rgba(0,74,173,0.25);}
  nav.links{display:flex;gap:28px;font-size:14px;font-weight:500;}
  nav.links a{text-decoration:none;opacity:0.75;transition:opacity .2s;}
  nav.links a:hover{opacity:1;}
  .nav-cta{
    background:var(--blue);color:#fff;
    padding:10px 18px;border-radius:3px;text-decoration:none;
    font-size:13.5px;font-weight:600;letter-spacing:0.02em;
    transition:background .2s;
  }
  .nav-cta:hover{background:var(--blue-bright);}
  .nav-mobile-hide{display:flex;}
  @media (max-width:768px){ .nav-mobile-hide{display:none;} }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:radial-gradient(120% 140% at 20% 0%, var(--gold-light) 0%, var(--gold) 46%, var(--gold-deep) 100%);
    color:var(--navy-deep);
    overflow:hidden;
    padding:110px 0 90px;
  }
  .hero::before{
    content:"";position:absolute;inset:0;
    background-image: radial-gradient(circle, rgba(10,42,92,0.06) 1px, transparent 1.4px);
    background-size:26px 26px;
    pointer-events:none;
  }
  .hero-grid{
    position:relative;
    display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:center;
  }
  @media (max-width:860px){ .hero-grid{grid-template-columns:1fr;gap:56px;} }
  .hero .eyebrow{color:var(--blue);margin-bottom:20px;display:block;}
  .hero h1{
    font-size:clamp(38px,5.2vw,62px);
    line-height:1.04;
    color:var(--navy-deep);
    font-weight:700;
  }
  .hero h1 em{
    font-style:italic;font-weight:450;color:var(--blue);
  }
  .hero p.lede{
    margin-top:24px;max-width:480px;
    font-size:17px;color:rgba(15,35,64,0.72);
  }
  .hero-actions{margin-top:36px;display:flex;gap:16px;flex-wrap:wrap;}
  .btn-primary{
    background:var(--blue);color:#fff;
    padding:15px 26px;border-radius:3px;text-decoration:none;
    font-size:14.5px;font-weight:600;letter-spacing:0.02em;
    display:inline-flex;align-items:center;gap:10px;
    transition:transform .2s, background .2s;
    box-shadow:0 10px 26px -10px rgba(0,74,173,0.55);
  }
  .btn-primary:hover{background:var(--blue-bright);transform:translateY(-1px);}
  .btn-ghost{
    border:1.5px solid var(--navy-deep);color:var(--navy-deep);
    padding:15px 26px;border-radius:3px;text-decoration:none;
    font-size:14.5px;font-weight:600;
    transition:background .2s;
  }
  .btn-ghost:hover{background:rgba(10,42,92,0.08);}

  
/* ---------- 3D LOGO MEDALLION (signature element) ---------- */
.medallion-stage{
  perspective:1200px;display:flex;align-items:center;justify-content:center;
}
.medallion{
  position:relative;width:300px;height:300px;
  transform-style:preserve-3d;
  animation:medallion-float 7s ease-in-out infinite, medallion-swivel 9s ease-in-out infinite;
}
@keyframes medallion-swivel{
  0%,100% { transform: rotateY(-21deg) rotateX(7deg); }
  50% { transform: rotateY(21deg) rotateX(-5deg); }
}
@keyframes medallion-float{
  0%,100% { translate:0 0; }
  50% { translate:0 -17px; }
}
.medallion-disc{
  position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 200deg, var(--gold-light), var(--gold) 30%, var(--gold-deep) 55%);
  box-shadow:
    0 40px 70px -20px rgba(10,42,92,0.55),
    inset 0 0 6px rgba(255,255,255,0.35),
    inset 0 -10px 30px rgba(122,80,0,0.35);
}
.medallion img{
  position:absolute;inset:14px;width:calc(100% - 28px);height:calc(100% - 28px);
  border-radius:50%;object-fit:cover;
}

  /* ---------- rope divider ---------- */
  .rope-divider{
    height:30px;width:100%;
    background-repeat:repeat-x;background-size:30px 30px;
    background-image: radial-gradient(circle at 8px 15px, var(--gold) 0 4.5px, transparent 5px),
                       radial-gradient(circle at 22px 15px, var(--gold) 0 4.5px, transparent 5px);
    opacity:0.7;
  }

  /* ---------- SECTIONS ---------- */
  section{padding:96px 0;}
  .section-head{max-width:640px;margin-bottom:52px;}
  .section-head .eyebrow{margin-bottom:14px;display:block;}
  .section-head h2{font-size:clamp(28px,3.6vw,40px);line-height:1.12;color:var(--navy-deep);}
  .section-head p{margin-top:16px;color:rgba(15,35,64,0.66);font-size:16px;max-width:560px;}

  /* about */
  .about{background:var(--paper);}
  .about-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:64px;align-items:start;}
  @media (max-width:860px){ .about-grid{grid-template-columns:1fr;gap:36px;} }
  .about-copy p{color:rgba(15,35,64,0.72);margin-bottom:16px;font-size:15.5px;}
  .stat-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:8px;}
  .stat{border-top:2px solid var(--gold);padding-top:14px;}
  .stat .num{font-family:'Fraunces',serif;font-size:34px;font-weight:700;color:var(--blue);}
  .stat .label{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:0.08em;text-transform:uppercase;opacity:0.6;margin-top:4px;}

  .texture-panel{
    background:var(--navy);color:var(--paper);
    padding:36px;border-radius:6px;position:relative;overflow:hidden;
  }
  .texture-panel h3{font-size:20px;color:var(--gold);font-weight:600;margin-bottom:18px;}
  .texture-panel ul{list-style:none;}
  .texture-panel li{
    display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--white-line);
    font-size:14.5px;color:rgba(255,253,246,0.85);
  }
  .texture-panel li:last-child{border-bottom:none;}
  .texture-panel li::before{ content:"—";color:var(--gold);flex-shrink:0; }

  /* ---------- REAL PHOTO GALLERY (3D tilt cards) ---------- */
  .gallery{background:var(--navy-deep);color:var(--paper);padding:96px 0;}
  .gallery .section-head h2{color:var(--paper);}
  .gallery .section-head p{color:rgba(255,253,246,0.65);}
  .gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
  @media (max-width:860px){ .gallery-grid{grid-template-columns:1fr;} }
  .photo-card{
    perspective:1000px;border-radius:8px;overflow:hidden;position:relative;
    height:340px;box-shadow:0 25px 50px -20px rgba(0,0,0,0.6);
  }
  .photo-card .tilt{
    width:100%;height:100%;transform-style:preserve-3d;
    animation:tilt3d 8s ease-in-out infinite;
  }
  .photo-card:nth-child(2) .tilt{ animation-delay:1.2s; animation-duration:9s; }
  .photo-card:nth-child(3) .tilt{ animation-delay:.6s; animation-duration:7.5s; }
  @keyframes tilt3d{
    0%,100%{ transform:scale(1.06) rotateY(-6deg) rotateX(2deg); }
    50%{ transform:scale(1.1) rotateY(6deg) rotateX(-2deg); }
  }
  .photo-card img{width:100%;height:100%;object-fit:cover;}
  .photo-card .cap{
    position:absolute;left:0;right:0;bottom:0;padding:20px;
    background:linear-gradient(to top, rgba(7,27,61,0.92), transparent);
  }
  .photo-card .cap .eyebrow{color:var(--gold-light);}
  .photo-card .cap .title{font-family:'Fraunces',serif;font-size:19px;color:#fff;margin-top:4px;}

  /* history / timeline */
  .history{background:var(--paper-deep);}
  .timeline{position:relative;margin-top:20px;}
  .timeline::before{
    content:"";position:absolute;left:120px;top:6px;bottom:6px;width:1px;
    background:var(--line);
  }
  @media (max-width:700px){ .timeline::before{left:20px;} }
  .tl-item{ display:grid;grid-template-columns:120px 1fr;gap:32px;padding:32px 0;position:relative; }
  @media (max-width:700px){ .tl-item{grid-template-columns:1fr;gap:10px;padding-left:44px;} }
  .tl-item + .tl-item{border-top:1px solid var(--line);}
  .tl-years{font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--blue);padding-top:2px;}
  .tl-dot{
    position:absolute;left:116px;top:38px;width:9px;height:9px;border-radius:50%;
    background:var(--gold);border:2px solid var(--paper-deep);box-shadow:0 0 0 1px var(--blue);
  }
  @media (max-width:700px){ .tl-dot{left:16px;} }
  .tl-item h3{font-size:19px;margin-bottom:8px;color:var(--navy-deep);}
  .tl-item p{color:rgba(15,35,64,0.68);font-size:15px;max-width:560px;}
  /* founder portrait in history */
  .founder-story{display:grid;grid-template-columns:240px 1fr;gap:28px;align-items:center;}
  .founder-portrait{width:240px;height:240px;object-fit:cover;object-position:center top;display:block;border-radius:50%;border:5px solid #fff;box-shadow:0 10px 24px rgba(7,27,61,0.16);}
  .founder-story p{max-width:560px;}
  @media (max-width:700px){
    .founder-story{grid-template-columns:1fr;gap:16px;}
    .founder-portrait{width:190px;height:190px;margin:0 auto;}
  }


  /* products */
  .products{background:var(--paper);}
  .quality-badges{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap;}
  .qb{
    font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:0.06em;
    border:1.5px solid var(--blue);color:var(--blue);
    padding:8px 14px;border-radius:3px;
  }
  table{width:100%;border-collapse:collapse;font-size:14.5px;}
  .table-wrap{overflow-x:auto;border:1px solid var(--line);}
  th,td{padding:14px 18px;text-align:left;white-space:nowrap;}
  thead th{
    font-family:'IBM Plex Mono',monospace;font-size:11px;text-transform:uppercase;
    letter-spacing:0.08em;color:var(--blue);border-bottom:1px solid var(--line);
    background:var(--paper-deep);
  }
  tbody tr:not(:last-child) td{border-bottom:1px solid var(--line);}
  tbody td:first-child{font-family:'Fraunces',serif;font-weight:600;font-size:16px;color:var(--navy-deep);}
  td.mono{font-family:'IBM Plex Mono',monospace;color:rgba(15,35,64,0.7);}
  .tables-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:32px;margin-top:16px;}
  @media (max-width:860px){ .tables-grid{grid-template-columns:1fr;} }
  .table-note{font-size:13px;color:rgba(15,35,64,0.5);margin-top:14px;}

  /* packaging & export info */
  .pkg-grid{
    margin-top:56px;padding-top:40px;border-top:1px solid var(--line);
    display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  }
  @media (max-width:760px){ .pkg-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:480px){ .pkg-grid{grid-template-columns:1fr;} }
  .pkg-item .eyebrow{display:block;margin-bottom:6px;}
  .pkg-item p{font-size:14.5px;color:rgba(15,35,64,0.72);}

  /* global reach */
  .reach{background:var(--paper-deep);}
  .reach-grid{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px;}
  .reach-chip{
    font-family:'IBM Plex Mono',monospace;font-size:13px;
    background:var(--navy);color:var(--gold-light);
    padding:12px 20px;border-radius:30px;
    border:1px solid var(--blue);
  }

  /* certification band */
  .cert-band{ background:var(--navy); color:var(--paper); padding:64px 0; }
  .cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;align-items:center;}
  @media (max-width:760px){ .cert-grid{grid-template-columns:1fr;gap:32px;} }
  .cert-item{border-left:2px solid var(--gold);padding-left:20px;}
  .cert-item .eyebrow{color:var(--gold-light);}
  .cert-item p{margin-top:8px;font-size:14.5px;color:rgba(255,253,246,0.8);}
  .cert-item .code{font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--gold-light);margin-top:6px;}

  /* contact */
  .contact{background:var(--paper);}
  .contact-card{
    background:linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
    color:#fff; border-radius:8px;padding:64px 56px;
    display:grid;grid-template-columns:1.3fr 0.7fr;gap:40px;align-items:center;
    position:relative;overflow:hidden;
  }
  @media (max-width:760px){ .contact-card{grid-template-columns:1fr;padding:44px 28px;} }
  .contact-card h2{font-size:clamp(26px,3.4vw,38px);color:#fff;}
  .contact-card p{margin-top:14px;color:rgba(255,255,255,0.82);font-size:15.5px;max-width:440px;}
  .contact-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start;}
  @media (max-width:760px){ .contact-actions{align-items:stretch;} }
  .btn-cream{
    background:var(--gold);color:var(--navy-deep);
    padding:16px 26px;border-radius:3px;text-decoration:none;
    font-size:14.5px;font-weight:700;text-align:center;
    display:inline-flex;align-items:center;gap:10px;justify-content:center;
    transition:transform .2s;
  }
  .btn-cream:hover{transform:translateY(-1px);}
  .contact-meta{font-family:'IBM Plex Mono',monospace;font-size:13px;color:rgba(255,255,255,0.75);}

  footer{ padding:40px 0;border-top:1px solid var(--line); }
  .footer-row{
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
    font-size:13px;color:rgba(15,35,64,0.55);
  }
  .footer-row .brand-mini{display:flex;align-items:center;gap:10px;}
  .footer-row .brand-mini img{width:26px;height:26px;border-radius:50%;}

  .contact-choice-overlay{position:fixed;inset:0;background:rgba(7,27,61,.65);display:none;align-items:center;justify-content:center;z-index:1000;padding:20px}
  .contact-choice-overlay.is-open{display:flex}
  .contact-choice{background:var(--paper);width:min(420px,100%);border-radius:12px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.3);position:relative;text-align:center}
  .contact-choice h3{color:var(--navy-deep);font-size:25px;margin-bottom:8px}
  .contact-choice p{color:rgba(15,35,64,.65);font-size:14px;margin-bottom:22px}
  .contact-choice-actions{display:grid;gap:12px}
  .contact-choice-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px;border-radius:5px;text-decoration:none;font-weight:700;border:0;cursor:pointer;font-size:15px}
  .contact-choice-btn.whatsapp{background:#22c55e;color:#fff}
  .contact-choice-btn.email{background:var(--blue);color:#fff}
  .contact-choice-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:26px;cursor:pointer;color:var(--navy)}

.nav-contact-actions { display: flex; align-items: center; gap: 8px; }
.nav-email { background: #fff; color: #1f2937; border: 1px solid rgba(255,255,255,.7); }
.nav-email:hover { background: #f3f4f6; }
@media (max-width: 640px) { .nav-contact-actions { gap: 5px; } .nav-contact-actions .nav-cta { padding: 9px 10px; font-size: 12px; } }



  /* Keep the desktop layout unchanged, but make text comfortably readable on phones. */
  @media (max-width: 600px) {
    html { font-size: 16px; }
    body { font-size: 16px; }
    section { padding: 64px 0; }
    .container { padding-left: 22px; padding-right: 22px; }
    .section-head h2, .hero h1 { line-height: 1.12; }
    .section-head p, .hero p.lede, .about-copy p, .contact-card p {
      font-size: 17px !important;
      line-height: 1.65 !important;
    }
    .section-head .eyebrow, .hero .eyebrow, .eyebrow {
      font-size: 12px !important;
      letter-spacing: .16em;
    }
    .about-copy, .about-copy p, .tl-item, .tl-item p,
    .product-card p, .cert-item p, .cert-item .code,
    .contact-meta, .contact-card p, .contact-choice p {
      font-size: 16px !important;
      line-height: 1.65 !important;
    }
    .about-copy h3, .contact-card h2 { font-size: 29px !important; line-height: 1.2; }
    .contact-card { padding: 32px 22px !important; }
    .contact-actions .btn-cream, .contact-actions .btn-primary,
    .btn-primary, .btn-ghost { font-size: 16px; }
  }



  .location-map {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
  .location-map iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: clamp(360px, 42vw, 620px) !important;
    border: 0;
  }
  @media (max-width: 860px) {
    .location-map iframe {
      height: 450px !important;
    }
  }
  @media (max-width: 600px) {
    .location-map iframe {
      height: 430px !important;
    }
  }



*{box-sizing:border-box;}
html,body{width:100%;max-width:100%;margin:0;padding:0;overflow-x:hidden;}
body{min-width:0!important;}
header,.hero,main,section,footer{max-width:100%;}
.wrap,.nav{width:100%;max-width:1120px;box-sizing:border-box;}
img,iframe{max-width:100%;}
@media(max-width:760px){
  .wrap{padding-left:22px!important;padding-right:22px!important;}
  .nav{padding-left:16px!important;padding-right:16px!important;gap:10px;}
  .brand{font-size:15px!important;line-height:1.2;}
  .brand img{width:38px!important;height:38px!important;}
  nav.links{
    display:flex!important;
    flex:1 1 auto;
    min-width:0;
    gap:12px!important;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  nav.links::-webkit-scrollbar{display:none;}
  nav.links a{font-size:11px!important; flex:0 0 auto; white-space:nowrap;}
  .nav-contact-actions{margin-left:4px;flex-shrink:0;}
  .hero{width:100%!important;padding:70px 0 60px!important;}
  .hero-grid{width:100%!important;grid-template-columns:1fr!important;}
  .hero h1{font-size:clamp(34px,9vw,48px)!important;overflow-wrap:anywhere;}
}



.table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.table-wrap table{width:100%;max-width:100%;table-layout:fixed;}
.table-wrap th,.table-wrap td{overflow-wrap:anywhere;word-break:normal;}
@media(max-width:760px){
  .tables-grid{display:block!important;width:100%!important;max-width:100%!important;}
  .tables-grid>div{width:100%!important;max-width:100%!important;margin-bottom:28px;}
  .table-wrap{overflow-x:hidden!important;}
  .table-wrap table{font-size:14px!important;table-layout:fixed!important;}
  .table-wrap th,.table-wrap td{padding:14px 10px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.45!important;}
  .table-wrap th:first-child,.table-wrap td:first-child{width:24%!important;}
  .table-wrap th:nth-child(2),.table-wrap td:nth-child(2){width:76%!important;}
  .table-wrap .mono{font-size:13px!important;letter-spacing:0!important;}
  .table-note{font-size:14px!important;line-height:1.5!important;}
}



@media (max-width: 760px){
  html{font-size:14px!important;}
  body{font-size:14px!important;overflow-x:hidden!important;}
  section{padding:42px 0!important;}
  .wrap,.container{padding-left:16px!important;padding-right:16px!important;width:100%!important;max-width:100%!important;}
  .nav{padding:10px 12px!important;gap:6px!important;min-height:64px;}
  .brand{font-size:13px!important;line-height:1.15!important;white-space:normal!important;}
  .brand img{width:34px!important;height:34px!important;}
  .nav-contact-actions .nav-cta{padding:8px 9px!important;font-size:11px!important;}
  .hero{padding:48px 0 42px!important;}
  .hero h1{font-size:clamp(28px,7.5vw,38px)!important;line-height:1.12!important;}
  .hero p.lede,.section-head p,.about-copy p,.contact-card p{font-size:14px!important;line-height:1.55!important;}
  .about-copy h3,.contact-card h2{font-size:24px!important;line-height:1.2!important;}
  .about-copy,.about-copy p,.tl-item,.tl-item p,.product-card p,.cert-item p,.cert-item .code,.contact-meta,.contact-card p,.contact-choice p{font-size:14px!important;line-height:1.55!important;}
  .section-head .eyebrow,.hero .eyebrow,.eyebrow{font-size:10px!important;}
  .table-wrap{overflow-x:hidden!important;width:100%!important;}
  .table-wrap table{width:100%!important;table-layout:fixed!important;font-size:12.5px!important;}
  .table-wrap th,.table-wrap td{padding:11px 8px!important;line-height:1.35!important;overflow-wrap:anywhere!important;word-break:normal!important;}
  .table-wrap th:first-child,.table-wrap td:first-child{width:23%!important;}
  .table-wrap th:nth-child(2),.table-wrap td:nth-child(2){width:77%!important;}
  .table-wrap .mono{font-size:12px!important;}
  .table-note{font-size:12px!important;}
}



@media (max-width:760px){
  header .nav{display:flex!important;align-items:center!important;width:100%!important;overflow:hidden!important;}
  header .brand{flex:0 0 auto!important;max-width:145px!important;}
  header nav.links{display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;}
  header nav.links a{display:inline-block!important;flex:0 0 auto!important;font-size:10.5px!important;padding:4px 0!important;}
  header .nav-contact-actions{flex:0 0 auto!important;}
}



@media (max-width:760px){
  header .nav{display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"brand contact" "links links";align-items:center!important;gap:8px 10px!important;padding:10px 14px!important;min-height:auto!important;overflow:visible!important;}
  header .brand{grid-area:brand;max-width:none!important;min-width:0!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;line-height:1.15!important;}
  header .brand img{width:38px!important;height:38px!important;flex:0 0 38px!important;}
  header nav.links{grid-area:links;width:100%!important;display:flex!important;gap:18px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding:4px 0 2px!important;border-top:1px solid rgba(0,0,0,.08)!important;}
  header nav.links a{font-size:12px!important;flex:0 0 auto!important;padding:4px 0!important;}
  header .nav-contact-actions{grid-area:contact!important;margin:0!important;}
  header .nav-contact-actions .nav-cta{font-size:12px!important;padding:10px 12px!important;white-space:nowrap!important;}
}



.cert-docs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:start;}
.cert-doc-card{display:block;text-decoration:none;color:inherit;min-width:0;}
.cert-doc-thumb{width:100%;max-width:520px;margin:0 auto;overflow:hidden;border:1px solid rgba(10,39,78,.14);background:#fff;}
.cert-doc-thumb img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;}
.cert-doc-info{padding-top:18px;}
.cert-doc-info .title{font-size:24px;line-height:1.2;margin:8px 0;}
.cert-doc-info .meta{font-size:16px;line-height:1.5;color:#6b7280;}
.cert-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:30px;background:rgba(0,0,0,.86);}
.cert-lightbox.open{display:flex;}
.cert-lightbox img{display:block;max-width:92vw;max-height:92vh;width:auto;height:auto;object-fit:contain;}
.cert-lightbox-close{position:absolute;top:16px;right:24px;color:#fff;font-size:42px;line-height:1;cursor:pointer;z-index:2;}
@media(max-width:760px){
 .cert-docs-grid{grid-template-columns:1fr;gap:28px;}
 .cert-doc-thumb{max-width:100%;}
 .cert-doc-thumb img{max-height:none;}
 .cert-doc-info .title{font-size:21px;}
 .cert-doc-info .meta{font-size:15px;}
}
