:root{
  --ink:#152b4e;--ink-2:#334b6b;--red:#f43f5e;--red-dark:#e93555;--soft:#f7f8fa;--line:#e7ebf0;--pink:#fff0f3;--shadow:0 16px 35px rgba(31,48,70,.10)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Noto Sans Georgian",sans-serif;color:var(--ink);background:#fff;line-height:1.45}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}button,input{font:inherit}
.site-header{min-height:62px;background:#fff;border-bottom:1px solid #eef1f4;position:relative;z-index:10}.header-inner{max-width:980px;min-height:62px;margin:0 auto;display:flex;align-items:center;gap:24px;padding:0 14px}.brand{width:155px;flex:0 0 auto}.brand img{width:100%;height:auto;object-fit:contain}.main-nav{display:flex;gap:22px;align-items:center;flex:1;justify-content:center;font-size:11px;color:#334862;white-space:nowrap}.nav-link{position:relative;padding:22px 4px 19px;transition:color .18s ease,transform .18s ease}.nav-link::after{content:"";position:absolute;left:4px;right:4px;bottom:14px;height:2px;background:var(--red);transform:scaleX(0);transition:transform .18s ease}.nav-link:hover{color:var(--red);transform:translateY(-1px)}.nav-link:hover::after,.nav-link.active::after{transform:scaleX(1)}.nav-link.active{color:var(--red)}.header-tools{display:flex;align-items:center;gap:16px;flex:0 0 auto}.search-icon{width:15px;height:15px;border:1.5px solid #243b5a;border-radius:50%;display:inline-block;position:relative}.search-icon:after{content:"";position:absolute;width:6px;height:1.5px;background:#243b5a;right:-4px;bottom:-2px;transform:rotate(45deg);transform-origin:left center}.lang-toggle{border:0;background:none;color:#223a59;display:flex;align-items:center;gap:6px;font-size:10px;cursor:pointer;padding:6px 4px;border-radius:7px;transition:background .18s ease}.lang-toggle:hover{background:#f6f8fb}.flag-img{width:20px;height:20px;object-fit:contain;flex:0 0 20px}.lang-label{min-width:22px;text-align:left}
.section-shell{max-width:920px;margin:0 auto;padding-left:20px;padding-right:20px}.wide-shell{max-width:930px;margin-left:auto;margin-right:auto}
.hero-wrap{background:linear-gradient(180deg,#fff 0%,#fff 15%,#f8fafc 100%);padding:64px 20px 34px}.hero-card{max-width:910px;margin:0 auto;min-height:460px;border-radius:19px;overflow:hidden;background:linear-gradient(115deg,#173454 0%,#1c4b78 44%,#1699dc 100%);display:flex;align-items:stretch;box-shadow:0 24px 36px rgba(30,58,90,.14)}.hero-copy{width:42%;padding:38px 20px 30px 24px;display:flex;align-items:flex-start}.hero-copy h1{margin:0;color:#fff;font-size:39px;line-height:1.08;letter-spacing:-1.5px;font-weight:700}.hero-art{width:58%;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center}
.popular-services{text-align:center;padding-top:69px;padding-bottom:75px}.eyebrow{font-size:13px;font-weight:700;color:var(--red);margin-bottom:14px}.popular-services h2,.services-page h1{font-size:27px;font-weight:500;margin:0 0 40px;color:#3b4f6a}.service-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:left}.service-card{height:116px;border:1px solid #dfe5eb;border-radius:13px;box-shadow:0 10px 18px rgba(34,52,74,.10);display:flex;justify-content:space-between;align-items:center;overflow:hidden;background:#fff;padding-left:13px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.service-card:hover{transform:translateY(-5px);box-shadow:0 16px 26px rgba(34,52,74,.18);border-color:#f6a8b7}.service-card:active{transform:translateY(-1px)}.service-card .card-title{font-size:18px;line-height:1.35;font-weight:700;color:#203758;z-index:1}.service-card img{width:45%;height:100%;object-fit:cover;object-position:center}.primary-pill{display:inline-flex;align-items:center;gap:10px;background:var(--red);color:#fff;border-radius:22px;padding:10px 17px 10px 19px;margin-top:49px;font-size:12px;font-weight:700;transition:transform .18s ease,background .18s ease}.primary-pill:hover{background:var(--red-dark);transform:translateY(-2px)}.arrow{font-size:20px;line-height:12px}
.services-page{padding-top:72px;padding-bottom:70px;text-align:center}.services-page h1{margin-bottom:54px}.all-services-grid{display:grid;grid-template-columns:repeat(3,1fr);column-gap:42px;row-gap:12px;text-align:left}.service-row{display:flex;align-items:flex-start;gap:10px;min-height:50px;color:#233a59;font-size:12px;line-height:1.35;padding:7px 8px;border-radius:10px;cursor:pointer;transition:background .18s ease,transform .18s ease,box-shadow .18s ease,color .18s ease}.service-row:hover{background:#fff5f7;color:var(--red);transform:translateY(-2px);box-shadow:0 8px 18px rgba(31,48,70,.08)}.service-row .icon-box{width:31px;height:31px;border-radius:6px;background:#ffe9ee;color:#c9294a;display:inline-flex;align-items:center;justify-content:center;flex:0 0 31px;font-size:15px}.service-row span:last-child{padding-top:6px}.service-row:hover .icon-box{background:#ffdce4}
.site-footer{background:#f8fafc;border-top:1px solid #e2e6ec;padding:43px 0 48px}.footer-grid{display:grid;grid-template-columns:1.25fr 1.2fr .7fr 1.15fr;gap:52px;font-size:11px;color:#58708c;padding-left:26px;padding-right:26px}.footer-grid h3{color:#314963;font-size:10px;margin:0 0 18px;font-weight:700}.footer-grid p{margin:0 0 10px}.subscribe-box{height:34px;border:1px solid #cfd6df;border-radius:18px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 14px;margin-bottom:8px;color:#8794a7}.footer-grid button{width:100%;height:36px;border:0;border-radius:18px;background:var(--red);color:#fff;font-weight:700;font-size:11px}
.registry-page{padding-bottom:80px}.registry-hero{min-height:430px;display:flex;align-items:flex-start;padding:47px 22px 30px;gap:70px}.registry-hero h1{margin:0;width:44%;font-size:39px;line-height:1.12;letter-spacing:-1.5px;color:#0f2746}.registry-visual{width:40%;height:330px;border-radius:12px;background:#fff;box-shadow:0 24px 40px rgba(31,48,70,.12);display:flex;align-items:center;justify-content:center;overflow:hidden}.registry-visual img{width:100%;height:100%;object-fit:cover;object-position:center}.registry-content{display:grid;grid-template-columns:200px 1fr;gap:24px;max-width:760px;margin:0 auto;padding:0 20px 20px}.side-menu{border:1px solid #d7dce2;background:#f5f5f5;padding:10px;height:max-content}.side-item{display:flex;gap:8px;align-items:flex-start;font-size:11px;color:#ef3e5d;margin:0 0 4px;line-height:1.35;padding:9px 8px;border-radius:6px;cursor:pointer;transition:background .18s ease,transform .18s ease}.side-item:hover,.side-item.active-side{background:#fff0f3;transform:translateX(2px)}.side-item:last-child{margin-bottom:0}.registry-copy{color:#172b48}.registry-copy h2{font-size:16px;font-weight:500;margin:0 0 7px}.registry-copy p{font-size:9.5px;line-height:1.55;margin:0 0 17px;color:#293a53;text-align:justify}
.form-layout{align-items:start}.document-search-panel{padding:10px 0 20px;max-width:360px}.document-search-panel h2{font-size:22px;line-height:1.1;margin:0 0 14px;color:#172b48}.document-search-panel form{display:flex;flex-direction:column;gap:8px}.document-search-panel label[for="docNumber"]{font-size:11px;font-weight:700;color:#111}.document-search-panel input[type="text"]{height:38px;border:1px solid #f0526b;padding:0 12px;outline:none}.document-search-panel input[type="text"]:focus{box-shadow:0 0 0 3px rgba(244,63,94,.12)}.human-check{height:58px;border:1px solid #d6d8dc;background:#fafafa;display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;font-size:12px;color:#242424;position:relative}.human-check input{position:absolute;opacity:0;pointer-events:none}.check-box{width:22px;height:22px;border:1.5px solid #6f7781;background:#fff;display:inline-grid;place-items:center}.human-check input:checked + .check-box::after{content:"✓";font-size:18px;color:#1f5b32;line-height:1}.search-button{align-self:flex-start;border:0;background:var(--red);color:#fff;border-radius:4px;padding:8px 13px;font-size:11px;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease}.search-button:hover{background:var(--red-dark);transform:translateY(-1px)}.form-error{min-height:16px;margin:0;color:#c52e49;font-size:11px}
.results-shell{padding:70px 20px 80px;text-align:center}.results-shell h1{font-size:30px;font-weight:500;color:#2d4563;margin:0 0 10px}.result-reference{margin:0 0 34px;color:#52677f}.pdf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:760px;margin:0 auto}.pdf-card{background:#fff;border:1px solid #e1e6ec;border-radius:14px;box-shadow:0 14px 28px rgba(31,48,70,.10);overflow:hidden;text-align:left}.pdf-preview{position:relative;display:block;background:#f8fafc;padding:18px;cursor:pointer}.pdf-preview img{width:100%;aspect-ratio:0.71/1;object-fit:cover;border-radius:8px;box-shadow:0 5px 16px rgba(31,48,70,.12)}.live-pdf-preview{aspect-ratio:.71/1;overflow:hidden}.pdf-live-frame{display:block;width:100%;height:100%;border:0;border-radius:8px;background:#fff;pointer-events:none}.pdf-open-overlay{position:absolute;inset:18px;z-index:2;border-radius:8px}.open-hint{position:absolute;right:28px;bottom:28px;background:rgba(21,43,78,.9);color:#fff;border-radius:18px;padding:7px 12px;font-size:11px}.pdf-meta{padding:16px}.pdf-meta h2{font-size:16px;margin:0 0 12px}.download-button{display:inline-block;background:var(--red);color:#fff;border-radius:20px;padding:9px 14px;font-size:11px;font-weight:700}.download-button:hover{background:var(--red-dark)}
@media(max-width:780px){
  .site-header{min-height:auto}.header-inner{min-height:58px;padding:8px 12px;gap:10px;flex-wrap:wrap}.brand{width:126px}.header-tools{margin-left:auto}.main-nav{order:3;width:100%;justify-content:flex-start;overflow-x:auto;gap:14px;padding:0 0 4px;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}.nav-link{padding:8px 3px 9px;font-size:10px}.nav-link::after{bottom:4px}.hero-wrap{padding:22px 12px 16px}.hero-card{min-height:0;display:block;border-radius:14px}.hero-copy{width:100%;padding:25px 22px 12px}.hero-copy h1{font-size:30px}.hero-art{width:100%;height:260px}.popular-services{padding-top:42px;padding-bottom:50px}.popular-services h2,.services-page h1{font-size:23px;margin-bottom:28px}.service-card-grid{grid-template-columns:1fr;gap:13px}.service-card{height:104px}.service-card img{width:40%}.primary-pill{margin-top:28px}.services-page{padding-top:42px}.all-services-grid{grid-template-columns:1fr;gap:7px}.service-row{font-size:13px;min-height:50px}.site-footer{padding:30px 0}.footer-grid{grid-template-columns:1fr;gap:24px;padding:0 22px}.registry-hero{display:block;padding:30px 18px 22px;min-height:0}.registry-hero h1{width:100%;font-size:31px;margin-bottom:24px}.registry-visual{width:100%;height:280px}.registry-content{display:block;padding:0 18px;max-width:none}.side-menu{margin-bottom:24px}.registry-copy h2{font-size:18px}.registry-copy p{font-size:12px;line-height:1.6}.document-search-panel{max-width:none;padding-top:0}.document-search-panel h2{font-size:24px}.document-search-panel input[type="text"]{height:44px}.human-check{height:64px;font-size:13px}.search-button{font-size:13px;padding:10px 16px}.results-shell{padding:42px 16px 60px}.results-shell h1{font-size:25px}.pdf-grid{grid-template-columns:1fr;gap:20px}.pdf-card{max-width:430px;margin:0 auto;width:100%}
}

/* Grey PDF thumbnail placeholders */
.grey-pdf-preview{
  aspect-ratio:.71/1;
  background:#d9dde3;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  cursor:default;
}
.center-open-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:104px;
  padding:12px 20px;
  border-radius:24px;
  background:#263e61;
  color:#fff;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(31,48,70,.18);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.center-open-button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(31,48,70,.24);
  background:#1e3352;
}


/* Live counters + news from sda.gov.ge */
.live-home-block{margin-top:54px;text-align:left;border-top:1px solid #eef1f4;padding-top:30px}.live-source-line{text-align:center;font-size:10px;color:#8794a7;margin-bottom:28px}.live-source-line a{color:var(--red);font-weight:700}.live-stats-section{display:grid;grid-template-columns:1.05fr 1fr;gap:42px;align-items:center;margin-bottom:58px}.live-section-heading{text-align:left}.live-section-heading .eyebrow{margin-bottom:8px}.live-section-heading h2{font-size:23px;line-height:1.32;margin:0;color:#233a59;font-weight:600}.live-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.live-stat-card{min-height:110px;border:1px solid #e2e6ec;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(34,52,74,.07);padding:13px 14px;text-align:left}.live-stat-type{font-size:9px;color:#8794a7;margin-bottom:6px}.live-stat-name{font-size:12px;color:#263e61;font-weight:700;margin-bottom:8px}.live-stat-number{font-size:25px;line-height:1;color:var(--red);font-weight:700}.live-news-section{margin-top:10px}.live-news-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.live-news-header .eyebrow{margin-bottom:5px}.live-news-header h2{font-size:23px;margin:0;color:#233a59;font-weight:600}.live-all-news{font-size:11px;color:var(--red);font-weight:700}.live-news-list{display:grid;gap:10px}.live-news-item{display:grid;grid-template-columns:92px 1fr 116px;gap:18px;align-items:center;padding:11px 0;border-bottom:1px solid #eef1f4;color:#233a59}.live-news-item:last-child{border-bottom:0}.live-news-date{font-size:9px;color:#8794a7}.live-news-title{font-size:12px;line-height:1.45;font-weight:600}.live-news-thumb{width:116px;height:68px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#f1f3f6,#e1e5eb);justify-self:end}.live-news-thumb img{width:100%;height:100%;object-fit:cover}.live-loading{padding:20px 0;color:#8794a7;font-size:12px}.live-data-note{font-size:9px;color:#9aa5b4;text-align:right;margin-top:10px}
@media(max-width:780px){.live-home-block{margin-top:38px;padding-top:24px}.live-stats-section{grid-template-columns:1fr;gap:20px;margin-bottom:42px}.live-section-heading h2,.live-news-header h2{font-size:21px}.live-stats-grid{grid-template-columns:repeat(2,1fr);gap:10px}.live-stat-card{min-height:102px}.live-stat-number{font-size:23px}.live-news-header{align-items:flex-start}.live-news-item{grid-template-columns:1fr 88px;gap:10px;padding:13px 0}.live-news-date{grid-column:1/2}.live-news-title{grid-column:1/2}.live-news-thumb{grid-column:2/3;grid-row:1/3;width:88px;height:68px}.live-all-news{white-space:nowrap;margin-top:4px}}


/* Footer variants */
.site-footer{
  position:relative;
  overflow:hidden;
  padding:38px 0 20px;
}
.site-footer-light{
  background:#f8fafc;
  border-top:1px solid #e2e6ec;
}
.site-footer-dark{
  background:#202020;
  border-top:0;
  color:#aeb6c1;
}
.site-footer-dark .footer-grid,
.site-footer-dark .footer-grid p{
  color:#9fa8b4;
}
.site-footer-dark .footer-grid h3{
  color:#ffffff;
}
.site-footer-dark .subscribe-box{
  background:#3a3a3a;
  border-color:#5b5b5b;
  color:#cbd1d9;
}
.site-footer-dark .footer-grid button{
  background:var(--red);
}
.footer-bottom{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:24px;
  padding:16px 26px 0;
  border-top:1px solid rgba(120,130,145,.28);
  font-size:10px;
  color:#7f8b99;
}
.site-footer-dark .footer-bottom{
  color:#8f99a5;
  border-top-color:rgba(255,255,255,.18);
}
.footer-network-mark{
  position:absolute;
  width:180px;
  height:180px;
  object-fit:contain;
  right:-28px;
  bottom:-38px;
  opacity:.07;
  filter:grayscale(1) brightness(.55);
  pointer-events:none;
}
.site-footer-dark .footer-network-mark{
  opacity:.16;
  filter:grayscale(1) brightness(1.5);
}

/* Keep secondary-page footers immediately after actual page content */
.registry-page{
  padding-bottom:0;
}
.registry-hero{
  min-height:0;
}
.registry-content{
  padding-bottom:28px;
}
.results-shell{
  padding-bottom:38px;
}
.services-page{
  padding-bottom:38px;
}

@media (max-width:780px){
  .site-footer{
    padding-top:30px;
  }
  .footer-bottom{
    padding-left:22px;
    padding-right:22px;
  }
  .footer-network-mark{
    width:130px;
    height:130px;
  }
}


/* Live news thumbnail images */
.live-news-thumb{
  overflow:hidden;
  background:#eef1f5;
}
.live-news-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}


/* Footer navigation + editable subscribe field */
.footer-menu{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.footer-menu a{
  color:inherit;
  font-size:11px;
  transition:color .18s ease,transform .18s ease;
}
.footer-menu a:hover{
  color:var(--red);
  transform:translateX(2px);
}
.subscribe-box{
  display:flex;
  align-items:center;
  gap:8px;
}
.subscribe-input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:inherit;
  font-size:11px;
}
.subscribe-input::placeholder{color:#8794a7}
.subscribe-button{cursor:pointer}
.subscribe-button:active{transform:translateY(1px)}

/* Agency page */
.agency-page{padding:48px 20px 42px}
.agency-hero{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.agency-title-wrap h1{font-size:39px;line-height:1;margin:12px 0 0;color:#0f2746}
.agency-visual{height:330px;background:#fff;border-radius:12px;box-shadow:0 22px 42px rgba(31,48,70,.12);display:flex;align-items:center;justify-content:center}
.agency-visual img{width:58%;height:58%;object-fit:contain}
.agency-link-grid{max-width:610px;margin:34px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:22px 90px}
.agency-option{display:flex;align-items:center;gap:11px;font-size:14px;color:#172b48}
.agency-option:hover{color:var(--red)}
.agency-icon{width:34px;height:34px;border-radius:7px;background:#ffe9ee;color:#c9294a;display:inline-grid;place-items:center;flex:0 0 34px}

/* News page */
.news-page{padding:54px 20px 46px}
.news-page>h1{font-size:28px;margin:0 0 36px;color:#0f2746}
.news-page-list{display:grid;gap:14px}
.news-page-item{display:grid;grid-template-columns:120px 1fr 170px;gap:24px;align-items:center;padding:0 0 14px}
.news-page-date{font-size:10px;color:#687e97;border-left:2px solid var(--red);padding-left:7px}
.news-page-item h2{font-size:16px;line-height:1.35;margin:0;color:#0f2746}
.news-page-image{width:170px;height:110px;border-radius:10px;overflow:hidden;background:#eef1f5}
.news-page-image img{width:100%;height:100%;object-fit:cover}
.news-fallback-art{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e8ecf2,#dce2ea);color:#9aa6b7;font-weight:700;font-size:14px}

/* Contact page */
.contact-page{padding:54px 20px 46px}
.contact-kicker{font-size:11px;color:var(--red);font-weight:700;margin-bottom:12px}
.contact-page h1{font-size:30px;margin:0 0 12px}
.contact-intro{font-size:12px;color:#556c86;margin:0 0 40px}
.contact-cards{display:grid;grid-template-columns:180px 180px;gap:40px 34px;max-width:500px;margin-bottom:48px}
.contact-card{font-size:11px;color:#233a59}
.contact-card:nth-child(3){grid-column:1/-1}
.contact-icon{width:34px;height:34px;border-radius:7px;background:#ffe9ee;color:#c9294a;display:grid;place-items:center;margin-bottom:9px}
.contact-card h2{font-size:11px;margin:0 0 12px}
.contact-card p{margin:0 0 8px;color:#e33d57}
.contact-map{height:260px;border-radius:10px;overflow:hidden;position:relative;background:#335e68;margin:0 0 44px}
.map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:45px 45px;opacity:.35}
.map-label{position:absolute;left:16px;bottom:12px;color:#fff;font-size:12px;opacity:.8}
.contact-tabs{display:flex;justify-content:center;gap:0}
.contact-tab,.project-tab{border:1px solid #d5dce5;background:#fff;color:#657993;padding:9px 15px;font-size:11px;cursor:pointer}
.contact-tab:first-child{border-radius:9px 0 0 9px}
.contact-tab:last-child{border-radius:0 9px 9px 0;border-left:0}
.contact-tab.active,.project-tab.active{color:#233a59;background:#f8fafc}

/* Projects page */
.projects-page{padding:48px 20px 42px}
.projects-hero{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center}
.projects-copy h1{font-size:35px;margin:0 0 18px}
.projects-copy p{font-size:13px;line-height:1.55;color:#314963;margin:0}
.projects-visual{height:320px;border-radius:12px;background:#fff;box-shadow:0 22px 42px rgba(31,48,70,.12);position:relative;display:grid;place-items:center}
.projects-gears{font-size:105px;z-index:2;filter:saturate(.8)}
.projects-paper{position:absolute;width:170px;height:120px;border-radius:12px;background:linear-gradient(160deg,#f3f5f8,#dfe5ec);transform:rotate(10deg);bottom:58px}
.project-tabs{display:flex;gap:14px;margin:34px 0 28px}
.project-tab{border:0;border-bottom:2px solid transparent;padding:7px 0;background:transparent}
.project-tab.active{border-bottom-color:var(--red);color:var(--red)}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.project-card{border:1px solid #e1e6ec;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 20px rgba(31,48,70,.05);padding-bottom:16px}
.project-image{height:170px;background:#fbfcfd;display:grid;place-items:center;padding:12px}
.project-image img{max-height:145px;object-fit:contain}
.project-meta{font-size:10px;color:var(--red);padding:15px 14px 7px}
.project-card h2{font-size:16px;line-height:1.4;margin:0;padding:0 14px;min-height:68px;color:#0f2746}
.project-more{display:inline-block;margin:16px 14px 0;font-size:11px;color:var(--red)}

@media(max-width:780px){
  .agency-page,.news-page,.contact-page,.projects-page{padding:34px 16px 34px}
  .agency-hero,.projects-hero{grid-template-columns:1fr;gap:26px}
  .agency-title-wrap h1,.projects-copy h1{font-size:31px}
  .agency-visual,.projects-visual{height:260px}
  .agency-link-grid{grid-template-columns:1fr;gap:14px;margin-top:26px}
  .news-page-item{grid-template-columns:1fr 96px;gap:10px;padding-bottom:16px}
  .news-page-date{grid-column:1}
  .news-page-item h2{grid-column:1;font-size:14px}
  .news-page-image{grid-column:2;grid-row:1/3;width:96px;height:76px}
  .contact-cards{grid-template-columns:1fr;gap:22px;max-width:none}
  .contact-card:nth-child(3){grid-column:auto}
  .contact-map{height:220px}
  .project-grid{grid-template-columns:1fr}
  .project-card h2{min-height:auto}
}


/* Official SDA links still open in the same browser tab */
.external-service{
  cursor:pointer;
}
.external-service:hover{
  color:var(--red);
}


/* =========================================================
   Source-driven homepage refinement based on sda.gov.ge
   ========================================================= */
.site-header{min-height:72px}
.header-inner{max-width:1120px;min-height:72px;padding:0 22px}
.brand{width:170px}
.main-nav{font-size:12px;gap:28px}
.nav-link{padding-top:26px;padding-bottom:24px}
.nav-link::after{bottom:17px}
.section-shell{max-width:1120px;padding-left:24px;padding-right:24px}
.wide-shell{max-width:1120px}

.sda-home-hero{padding:48px 24px 36px;background:#fff}
.sda-home-hero-inner{max-width:1120px;height:535px;margin:0 auto;position:relative;overflow:hidden;border-radius:0}
.sda-home-hero-image{width:100%;height:100%;object-fit:cover;object-position:center}
.sda-home-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,48,81,.50) 0%,rgba(18,48,81,.17) 36%,rgba(18,48,81,0) 68%)}
.sda-home-hero-title{position:absolute;left:56px;top:50%;transform:translateY(-50%);margin:0;width:470px;color:#fff;font-size:54px;line-height:1.06;letter-spacing:-1.8px;font-weight:600}

.official-services{text-align:center;padding-top:70px;padding-bottom:58px}
.center-eyebrow{text-align:center;margin-bottom:10px}
.official-section-title{font-size:34px;line-height:1.2;font-weight:500;margin:0 0 42px;color:#152b4e}
.official-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:left}
.official-service-card{min-height:215px;border:1px solid #e1e6ec;border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 12px 26px rgba(31,48,70,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.official-service-card strong{font-size:18px;line-height:1.25;color:#172b48;padding:20px 20px 4px;font-weight:600}
.official-service-card span{display:block;height:150px;overflow:hidden}
.official-service-card img{width:100%;height:100%;object-fit:cover}
.official-service-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(31,48,70,.13);border-color:#f3b0bc}
.official-cta-wrap{display:flex;justify-content:center}
.source-pill{margin-top:38px;border-radius:24px;padding:12px 22px;font-size:13px}

.remote-services-banner{padding-top:24px;padding-bottom:58px}
.remote-banner-inner{height:290px;position:relative;overflow:hidden;border-radius:0}
.remote-banner-inner>img{width:100%;height:100%;object-fit:cover}
.remote-banner-copy{position:absolute;left:48px;top:50%;transform:translateY(-50%);color:#fff;text-align:left}
.remote-banner-copy h2{margin:0 0 18px;font-size:36px;line-height:1.1;font-weight:600}
.remote-banner-button{margin:0}

.source-live-block{margin-top:0;border-top:0;padding-top:10px;padding-bottom:72px;text-align:left}
.source-live-block .live-source-line{margin-bottom:30px}
.source-stats{position:relative;overflow:hidden;background:#f8fafc;border-radius:0;padding:50px 46px;margin-bottom:68px;grid-template-columns:1fr 1.05fr;gap:60px}
.statistics-decoration{position:absolute;width:330px;height:330px;left:-82px;bottom:-140px;background:url('https://sda.gov.ge/wp-content/themes/sda-theme/assets/img/logo-background.svg') center/contain no-repeat;opacity:.055;pointer-events:none}
.source-stats .live-section-heading{position:relative;z-index:1}
.source-stats .live-section-heading h2{font-size:30px;line-height:1.25;font-weight:500;max-width:460px}
.source-stats .live-stats-grid{position:relative;z-index:1;gap:16px}
.source-stats .live-stat-card{min-height:135px;border-radius:12px;padding:18px 20px;box-shadow:none}
.source-stats .live-stat-type{font-size:11px}
.source-stats .live-stat-name{font-size:15px}
.source-stats .live-stat-number{font-size:36px}

.source-news-section{margin-top:0}
.source-news-section .live-news-header{align-items:center;margin-bottom:28px}
.source-news-section .live-news-header h2{font-size:34px;font-weight:500}
.source-news-grid{grid-template-columns:repeat(3,1fr);gap:24px}
.source-news-card{display:block;padding:0;border:1px solid #e2e6ec;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(31,48,70,.06);transition:transform .18s ease,box-shadow .18s ease}
.source-news-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(31,48,70,.12)}
.source-news-card .live-news-thumb{width:100%;height:165px;border-radius:0;justify-self:auto;background:#eef1f5}
.source-news-card .live-news-date{font-size:10px;color:#7b8da2;padding:15px 17px 0}
.source-news-card .live-news-title{font-size:14px;line-height:1.4;min-height:84px;padding:8px 17px 4px;color:#172b48}
.source-news-card .live-news-more{font-size:11px;color:var(--red);padding:8px 17px 18px;font-weight:700}
.source-news-card .live-news-more span{font-size:16px}

/* reCAPTCHA-like local visual control. This is still the site's local checkbox. */
.recaptcha-style{width:228px;height:58px;padding:7px 8px 7px 10px;gap:9px;background:#fafafa;border:1px solid #cfcfcf;box-shadow:0 1px 1px rgba(0,0,0,.08);font-family:Arial,sans-serif}
.recaptcha-style .check-box{width:20px;height:20px;border:1px solid #666;background:#fff;flex:0 0 20px}
.recaptcha-style .recaptcha-copy{font-size:12px;color:#111;white-space:nowrap}
.recaptcha-brand{margin-left:auto;width:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.recaptcha-mark{font-size:25px;line-height:22px;color:#447bd4;font-weight:700;transform:rotate(-30deg)}
.recaptcha-name{font-size:8px;color:#6c6c6c;margin-top:2px}
.recaptcha-legal{font-size:5.5px;color:#777;margin-top:2px;white-space:nowrap}
.recaptcha-style input:checked + .check-box::after{content:"✓";font-size:16px;color:#287a40}

.document-search-panel form{gap:6px}
.search-button{border-radius:2px;padding:7px 10px;font-size:10px}
.form-error{margin-top:2px}

@media(max-width:780px){
  .header-inner{min-height:60px;padding:8px 12px}
  .brand{width:138px}
  .sda-home-hero{padding:18px 12px 12px}
  .sda-home-hero-inner{height:320px}
  .sda-home-hero-title{left:22px;width:72%;font-size:32px;letter-spacing:-.8px}
  .official-services{padding-top:42px;padding-bottom:38px}
  .official-section-title{font-size:25px;margin-bottom:26px}
  .official-service-grid{grid-template-columns:1fr;gap:14px}
  .official-service-card{min-height:165px}
  .official-service-card span{height:110px}
  .remote-services-banner{padding:10px 12px 38px}
  .remote-banner-inner{height:230px}
  .remote-banner-copy{left:24px}
  .remote-banner-copy h2{font-size:27px}
  .source-stats{grid-template-columns:1fr;padding:32px 20px;gap:24px;margin-bottom:42px}
  .source-stats .live-section-heading h2{font-size:24px}
  .source-stats .live-stat-number{font-size:28px}
  .source-news-section .live-news-header h2{font-size:26px}
  .source-news-grid{grid-template-columns:1fr;gap:15px}
  .source-news-card .live-news-thumb{height:180px}
  .source-news-card .live-news-title{min-height:0}
}


/* ==========================================================
   Closer visual match to the current SDA homepage
   ========================================================== */

/* Header and dropdown */
.site-header{min-height:82px;background:#fff}
.header-inner{max-width:1230px;min-height:82px;padding:0 18px}
.brand{width:152px;flex:0 0 152px}
.brand img{width:100%;height:auto;display:block}
.main-nav{gap:27px;font-size:11px;align-items:stretch}
.nav-link{padding:31px 0 28px;white-space:nowrap}
.nav-link::after{bottom:21px}
.nav-dropdown{position:relative;display:flex;align-items:stretch}
.agency-dropdown-menu{
  position:absolute;left:-45px;top:67px;width:270px;
  background:#fff;border:1px solid #e4e8ee;border-radius:18px;
  padding:17px 0;box-shadow:0 14px 36px rgba(25,47,73,.14);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
  z-index:1000
}
.nav-dropdown:hover .agency-dropdown-menu,
.nav-dropdown:focus-within .agency-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.agency-dropdown-menu a{
  min-height:48px;padding:7px 20px;display:flex;align-items:center;gap:15px;
  font-size:14px;color:#62738a;line-height:1.25
}
.agency-dropdown-menu a:hover{color:#172b48;background:#fafbfc}
.agency-dropdown-icon{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px}
.agency-dropdown-icon img{width:25px;height:25px;object-fit:contain}

/* Hero */
.sda-home-hero{padding:45px 16px 40px}
.sda-home-hero-inner{
  max-width:1216px;height:610px;border-radius:22px;
  box-shadow:0 25px 42px rgba(27,52,79,.12)
}
.sda-home-hero-title{left:34px;width:535px;font-size:50px;line-height:1.05}
.sda-home-hero-overlay{background:linear-gradient(90deg,rgba(22,52,87,.56) 0%,rgba(22,52,87,.20) 39%,rgba(22,52,87,0) 67%)}

/* Most required services, compact side-by-side composition */
.official-services{max-width:1216px;padding:62px 16px 44px}
.official-section-title{font-size:34px;margin-bottom:38px}
.official-service-grid{grid-template-columns:repeat(3,1fr);gap:20px}
.official-service-card{
  height:144px;min-height:144px;border-radius:14px;padding:0 0 0 16px;
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  box-shadow:0 12px 28px rgba(31,48,70,.08)
}
.official-service-card strong{
  padding:0;max-width:47%;font-size:20px;line-height:1.18;font-weight:600
}
.official-service-card span{height:100%;width:53%;display:grid;place-items:end center;overflow:hidden}
.official-service-card img{width:100%;height:100%;object-fit:contain;object-position:center right}
.source-pill{margin-top:37px;padding:11px 21px}

/* Remote services banner */
.remote-services-banner{max-width:1216px;padding:25px 16px 50px}
.remote-banner-inner{height:285px;border-radius:22px;box-shadow:0 22px 40px rgba(31,48,70,.10)}
.remote-banner-copy{left:48px}
.remote-banner-copy h2{font-size:36px}

/* Statistics: white, open layout like official page */
.source-live-block{max-width:1216px;padding:0 16px 70px}
.source-live-block .live-source-line{display:none}
.source-stats{
  margin:0 0 66px;padding:42px 0 46px;background:#fff;border-radius:0;
  grid-template-columns:1.05fr 1fr;gap:80px;overflow:visible
}
.statistics-decoration{
  width:390px;height:390px;left:-90px;bottom:-92px;
  opacity:.095;filter:hue-rotate(300deg) saturate(2.1)
}
.source-stats .live-section-heading h2{font-size:30px;line-height:1.27;max-width:465px}
.source-stats .live-stats-grid{gap:16px}
.source-stats .live-stat-card{
  min-height:128px;border:1px solid #e4e8ee;border-radius:14px;
  padding:17px 18px;background:#fff;box-shadow:none
}
.source-stats .live-stat-number{font-size:38px}

/* Homepage news as the official date / title / image list */
.source-news-section{margin-top:0}
.source-news-section .live-news-header{
  display:block;margin-bottom:24px
}
.source-news-section .live-news-header .eyebrow{display:none}
.source-news-section .live-news-header h2{
  font-size:32px;font-weight:600;margin:0 0 22px;color:#102945
}
.source-news-section .live-all-news{
  display:inline-flex;font-size:12px;color:var(--red);margin:0
}
.source-news-grid{display:block}
.source-news-row{
  display:grid;grid-template-columns:125px minmax(0,1fr) 295px;
  gap:30px;align-items:center;padding:24px 0;border-bottom:0;
  color:#102945
}
.source-news-row .live-news-date{
  padding-left:12px;border-left:3px solid var(--red);
  font-size:11px;color:#71859d;line-height:1.2
}
.source-news-row .live-news-title{
  padding:0;min-height:0;font-size:18px;line-height:1.35;
  font-weight:600;color:#102945
}
.source-news-row .live-news-thumb{
  width:295px;height:160px;border-radius:14px;overflow:hidden;background:#eef1f5
}
.source-news-row .live-news-thumb img{width:100%;height:100%;object-fit:cover}
.source-news-row:hover .live-news-title{color:var(--red)}

/* Footer */
.site-footer{padding:0;min-height:0}
.site-footer-dark{background:#222;color:#9ba3ad}
.site-footer-light{background:#f7f9fb;color:#53677f}
.official-footer-grid{
  position:relative;z-index:2;display:grid;
  grid-template-columns:1.35fr 1.05fr .72fr 1.05fr;
  gap:58px;padding:55px 28px 44px
}
.official-footer-column h3{
  margin:0 0 22px;font-size:10px;line-height:1.2;
  font-weight:700;color:inherit;text-transform:uppercase
}
.site-footer-dark .official-footer-column h3{color:#fff}
.official-footer-column,.official-footer-column a,.official-footer-column p{
  font-size:11px;line-height:1.55
}
.footer-contact-row{display:flex;gap:10px;margin-bottom:13px;align-items:flex-start}
.footer-contact-row>img{width:17px;height:17px;flex:0 0 17px;opacity:.88}
.footer-contact-row p{margin:0 0 8px}
.footer-contact-row strong{font-weight:400}
.site-footer-dark .footer-contact-row strong{color:#9ba3ad}
.official-footer-links,.official-footer-menu{display:flex;flex-direction:column;gap:11px}
.official-footer-links a{display:flex;gap:7px}
.official-footer-menu a{font-size:11px}
.footer-subscribe-column{min-width:0}
.official-subscribe-box{
  height:38px;border:1px solid rgba(150,158,169,.55);
  border-radius:22px;padding:0 13px;background:rgba(255,255,255,.10)
}
.site-footer-light .official-subscribe-box{background:#fff}
.official-subscribe-box .subscribe-input{font-size:11px}
.official-subscribe-button{
  width:100%;height:38px;margin-top:10px;border:0;border-radius:22px;
  display:flex;align-items:center;justify-content:center;gap:7px;
  background:var(--red);color:#fff;font-size:11px;font-weight:700
}
.paper-plane{font-size:15px}
.official-footer-bottom{
  position:relative;z-index:2;border-top:1px solid rgba(160,168,177,.25);
  min-height:76px;padding:0 28px;display:flex;align-items:center;
  justify-content:space-between
}
.footer-socials{display:flex;gap:17px;align-items:center}
.footer-socials img{width:18px;height:18px;opacity:.75}
.footer-rights{font-size:11px}
.official-footer-decoration{
  position:absolute;right:-70px;bottom:-150px;width:440px;height:440px;
  background:url('https://sda.gov.ge/wp-content/themes/sda-theme/assets/img/logo-background.svg') center/contain no-repeat;
  opacity:.12;pointer-events:none
}
.site-footer-light .official-footer-decoration{opacity:.055}

@media(max-width:900px){
  .header-inner{padding:0 14px}
  .main-nav{gap:16px;font-size:10px}
  .agency-dropdown-menu{left:-60px}
  .sda-home-hero-inner{height:500px}
  .official-service-card strong{font-size:17px}
  .source-news-row{grid-template-columns:105px 1fr 220px;gap:18px}
  .source-news-row .live-news-thumb{width:220px;height:135px}
  .official-footer-grid{grid-template-columns:1fr 1fr;gap:38px}
}

@media(max-width:780px){
  .main-nav{display:none}
  .sda-home-hero-inner{height:330px;border-radius:16px}
  .sda-home-hero-title{left:24px;font-size:31px;width:70%}
  .official-service-grid{grid-template-columns:1fr}
  .official-service-card{height:132px;min-height:132px}
  .source-stats{grid-template-columns:1fr;gap:25px;padding:24px 0}
  .source-news-row{grid-template-columns:1fr 108px;gap:12px}
  .source-news-row .live-news-date{grid-column:1}
  .source-news-row .live-news-title{grid-column:1;font-size:14px}
  .source-news-row .live-news-thumb{
    grid-column:2;grid-row:1/3;width:108px;height:82px
  }
  .official-footer-grid{grid-template-columns:1fr;padding:38px 22px 28px;gap:28px}
  .official-footer-bottom{padding:18px 22px;gap:18px;align-items:flex-start;flex-direction:column}
}


/* ----------------------------------------------------------
   Final homepage alignment fixes from official SDA source
   ---------------------------------------------------------- */

/* Header: keep navigation left, immediately after logo, like the original. */
.header-inner{
  max-width:1216px;
  padding-left:16px;
  padding-right:16px;
  justify-content:flex-start;
}
.brand{
  width:136px;
  flex:0 0 136px;
  margin-right:34px;
}
.main-nav{
  margin-left:0;
  gap:28px;
  flex:0 0 auto;
}
.header-tools{
  margin-left:auto;
}
.nav-link{
  font-size:11px;
}

/* Official homepage contains exactly six "Most Required Services" cards. */
.official-service-grid{
  grid-template-columns:repeat(3,1fr);
  gap:24px 22px;
}

/* Match the source: text left, smaller illustration toward the right. */
.official-service-card{
  height:144px;
  min-height:144px;
  padding:0 16px 0 18px;
  align-items:center;
  overflow:hidden;
}
.official-service-card strong{
  flex:0 0 50%;
  max-width:50%;
  font-size:19px;
  line-height:1.22;
}
.official-service-card .official-service-card-art{
  flex:0 0 42%;
  width:42%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.official-service-card .official-service-card-art img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:102px;
  object-fit:contain;
  object-position:center;
}
.official-service-card:hover .official-service-card-art img{
  transform:none;
}

/* ID.ge and marriage art need a touch more room, still smaller than before. */
.official-service-card:nth-child(5) .official-service-card-art img,
.official-service-card:nth-child(6) .official-service-card-art img{
  max-height:112px;
}

/* Keep the call-to-action centred under only these six cards. */
.official-cta-wrap{
  margin-top:0;
}

/* At narrower desktop widths, preserve official-style proportions. */
@media(max-width:1000px){
  .brand{width:126px;flex-basis:126px;margin-right:24px}
  .main-nav{gap:20px}
  .official-service-card strong{font-size:17px}
  .official-service-card .official-service-card-art img{max-height:92px}
}

@media(max-width:780px){
  .official-service-grid{grid-template-columns:1fr}
  .official-service-card{height:132px;min-height:132px}
  .official-service-card strong{font-size:17px}
  .official-service-card .official-service-card-art img{max-height:88px}
}


/* =========================================================
   Products page + translation + footer final correction
   ========================================================= */

/* Products page: match official archive proportions more closely */
.services-page{
  padding:52px 20px 52px;
}
.services-page .eyebrow{
  font-size:11px;
  line-height:1.2;
  margin-bottom:10px;
  text-align:center;
}
.services-page h1,
.services-page .page-title{
  font-size:31px;
  line-height:1.2;
  font-weight:500;
  text-align:center;
  margin:0 0 42px;
}
.all-services-grid{
  max-width:1110px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:54px;
  row-gap:24px;
}
.service-row{
  min-height:44px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:flex;
  align-items:center;
  gap:12px;
  color:#172b48;
  font-size:13px;
  line-height:1.35;
}
.service-row:hover{
  color:var(--red);
  background:transparent;
  transform:none;
}
.service-row .official-service-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#ffe8ed;
}
.service-row .official-service-icon img{
  width:18px;
  height:18px;
  object-fit:contain;
}
.service-row span:last-child{
  display:block;
}

/* Header language control closer to official */
.lang-toggle{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0!important;
  min-width:auto!important;
  box-shadow:none!important;
  gap:6px!important;
}
.lang-toggle .flag-img{
  width:20px!important;
  height:auto!important;
}
.lang-toggle .lang-label{
  font-size:11px!important;
  color:#172b48!important;
}

/* Footer: closer dimensions and typography to official */
.site-footer{
  position:relative;
  overflow:hidden;
}
.official-footer-grid{
  max-width:1216px;
  padding:45px 28px 32px;
  grid-template-columns:1.33fr 1.04fr .68fr 1.02fr;
  gap:52px;
}
.official-footer-logo{
  width:118px;
  height:auto;
  display:block;
  margin:0 0 24px;
  opacity:.92;
}
.official-footer-column h3{
  font-size:9px;
  margin-bottom:17px;
  letter-spacing:0;
}
.official-footer-column,
.official-footer-column a,
.official-footer-column p{
  font-size:10px;
  line-height:1.46;
}
.footer-contact-row{
  gap:8px;
  margin-bottom:10px;
}
.footer-contact-row>img{
  width:14px;
  height:14px;
  flex-basis:14px;
}
.footer-contact-row p{
  margin-bottom:6px;
}
.official-footer-links,
.official-footer-menu{
  gap:9px;
}
.official-footer-menu a{
  font-size:10px;
}
.official-subscribe-box{
  height:34px;
  border-radius:18px;
  padding:0 11px;
}
.official-subscribe-box .subscribe-input{
  font-size:10px;
}
.official-subscribe-button{
  height:34px;
  margin-top:9px;
  border-radius:18px;
  font-size:10px;
}
.official-footer-bottom{
  max-width:1216px;
  min-height:62px;
  padding:0 28px;
}
.footer-socials img{
  width:16px;
  height:16px;
}
.footer-rights{
  font-size:9px;
}
.official-footer-decoration{
  width:380px;
  height:380px;
  right:-76px;
  bottom:-154px;
}

/* Homepage service cards: official-size text and art, with complete translation */
.official-service-card strong{
  font-size:17px;
  line-height:1.22;
}
.official-service-card .official-service-card-art img{
  max-height:82px;
  max-width:88px;
}
.official-service-card:nth-child(5) .official-service-card-art img{
  max-height:86px;
  max-width:96px;
}
.official-service-card:nth-child(6) .official-service-card-art img{
  max-height:96px;
  max-width:102px;
}

/* Counter typography and grouping */
.live-stat-number{
  font-variant-numeric:tabular-nums;
  letter-spacing:-.02em;
}
.source-stats .live-stat-number{
  font-size:36px;
  line-height:1;
}

@media(max-width:900px){
  .all-services-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}
}
@media(max-width:680px){
  .all-services-grid{grid-template-columns:1fr}
  .official-footer-grid{grid-template-columns:1fr}
}


/* Registry page match */
.registry-page{padding-bottom:0;background:#fff}
.registry-official-shell{max-width:980px;min-height:390px;margin:0 auto;padding:48px 10px 30px;display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:58px;align-items:start}
.registry-official-shell h1{width:auto;margin:20px 0 0;font-size:34px;line-height:1.10;letter-spacing:-1px;font-weight:600;text-transform:uppercase;color:#102945}
.registry-official-shell .registry-visual{width:338px;height:338px;border-radius:12px;background:#fff;box-shadow:0 28px 48px rgba(30,47,67,.13);display:flex;align-items:center;justify-content:center;overflow:hidden}
.registry-official-shell .registry-visual img{width:64%;height:64%;object-fit:contain}
.registry-official-content{max-width:630px;margin:0 auto;padding:0 0 54px;display:block}
.official-side-menu{width:465px;max-width:100%;margin:0 0 12px;padding:11px 14px;border:1px solid #d9dde2;background:#f4f4f4}
.official-side-menu .side-item{margin:0;padding:8px 7px;border-radius:0;gap:8px;font-size:11px;line-height:1.22;color:#ef3e5d}
.official-side-menu .side-item:hover,.official-side-menu .side-item.active-side{background:transparent;transform:none;color:#d92e4d}
.side-icon{position:relative;width:12px;height:12px;flex:0 0 12px;display:inline-grid;place-items:center;margin-top:1px;color:#ef3e5d;font-size:9px;font-weight:700}
.side-info{border:1.4px solid #ef3e5d;border-radius:50%;font-family:Arial,sans-serif;font-size:7px}
.side-play{border:1.3px solid #ef3e5d;border-radius:50%;font-size:6px;padding-left:1px}
.side-search-icon{border:1.4px solid #ef3e5d;border-radius:50%;width:9px;height:9px;margin:1px 2px 0 0}
.side-search-icon::after{content:"";position:absolute;width:5px;height:1.3px;right:-4px;bottom:-2px;background:#ef3e5d;transform:rotate(45deg);transform-origin:left center}
.official-registry-copy{width:100%;color:#152b48}
.official-registry-copy h2{margin:0 0 5px;font-size:16px;line-height:1.25;font-weight:500;color:#152b48}
.official-registry-copy p{margin:0 0 14px;font-size:10px;line-height:1.45;color:#263a54;text-align:left}
.registry-search-content{min-height:220px}
.official-document-search{width:465px;max-width:100%;padding:8px 0 26px}
.official-document-search h2{font-size:17px;line-height:1.2;font-weight:500;margin:0 0 12px;color:#152b48}
.official-document-search form{gap:6px}
.official-document-search label[for="docNumber"]{font-size:10px;font-weight:600}
.official-document-search input[type="text"]{width:228px;max-width:100%;height:34px;border:1px solid #ef3e5d;padding:0 9px}
.official-search-button{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:6px 10px;border-radius:2px;background:#ef3e5d;font-size:10px;line-height:1}
.button-search-icon{width:13px;height:13px;flex:0 0 13px}
.official-document-search .recaptcha-style{width:228px;height:58px;max-width:100%}
.registry-page + .site-footer{margin-top:0}
@media(max-width:780px){
.registry-official-shell{display:block;min-height:0;padding:30px 18px 26px}
.registry-official-shell h1{font-size:28px;margin:0 0 24px}
.registry-official-shell .registry-visual{width:100%;max-width:338px;height:300px}
.registry-official-content{max-width:none;padding:0 18px 38px}
.official-side-menu,.official-document-search{width:100%}
.official-registry-copy p{font-size:11px}
}


/* Validation + clean PDF results */
.form-error{
  display:block;
  min-height:16px;
  margin:3px 0 0;
  color:#d92e4d;
  font-size:11px;
  line-height:1.35;
  font-weight:600;
}
.clean-results-shell{
  padding-top:54px;
  padding-bottom:70px;
}
.pdf-actions-only{
  display:flex;
  justify-content:center;
  padding:14px 16px 16px;
}
.clean-pdf-card .pdf-preview{
  min-height:300px;
}
.clean-pdf-card .center-open-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}


/* Restore document count heading above clean PDF results */
.clean-results-shell #dynamicResultsTitle{
  margin:0 0 28px;
  font-size:28px;
  line-height:1.2;
  font-weight:600;
  color:#102945;
}


/* Final responsive override for Fold/tablet widths. Desktop remains unchanged. */
.mobile-menu-toggle{
  display:none;
  width:40px;
  height:40px;
  padding:8px;
  border:0;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.mobile-menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:2px;
  background:#102945;
  transition:transform .2s ease,opacity .2s ease;
}
.mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
.mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:900px){
  .site-header{min-height:78px!important;position:relative!important;z-index:1100!important}
  .header-inner{
    min-height:78px!important;
    max-width:none!important;
    width:100%!important;
    padding:0 18px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
  }
  .brand{width:146px!important;flex:0 0 146px!important;margin-right:auto!important}
  .brand img{width:100%!important;height:auto!important}
  .header-tools{margin-left:auto!important;display:flex!important;align-items:center!important;gap:8px!important}
  .search-icon{display:none!important}
  .lang-toggle{display:flex!important;order:1!important;margin:0!important;padding:5px 2px!important}
  .mobile-menu-toggle{display:flex!important;order:2!important}

  .main-nav{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    padding:8px 18px 18px!important;
    margin:0!important;
    background:#fff!important;
    border-top:1px solid #eef1f4!important;
    box-shadow:0 16px 30px rgba(20,40,64,.10)!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    overflow:visible!important;
    white-space:normal!important;
    z-index:1099!important;
  }
  .main-nav.mobile-open{display:flex!important}
  .main-nav>.nav-link,
  .main-nav>.nav-dropdown>.nav-link{
    min-height:47px!important;
    width:100%!important;
    padding:13px 2px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-bottom:1px solid #eef1f4!important;
    font-size:14px!important;
    color:#334862!important;
  }
  .main-nav .nav-link::after{display:none!important}
  .main-nav .nav-dropdown{display:block!important;width:100%!important}
  .agency-dropdown-menu{
    position:static!important;
    width:100%!important;
    min-width:0!important;
    left:auto!important;
    top:auto!important;
    padding:4px 0 8px 12px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fafbfc!important;
  }
  .agency-dropdown-menu a{min-height:42px!important;padding:8px 8px!important;font-size:13px!important}

  .sda-home-hero{padding:26px 18px 22px!important}
  .sda-home-hero-inner{
    max-width:none!important;
    width:100%!important;
    height:420px!important;
    border-radius:20px!important;
  }
  .sda-home-hero-title{
    left:28px!important;
    width:56%!important;
    font-size:42px!important;
    line-height:1.04!important;
    letter-spacing:-1.2px!important;
  }

  .official-services,
  .remote-services-banner,
  .source-live-block{padding-left:18px!important;padding-right:18px!important}
  .official-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  .official-service-card{height:138px!important;min-height:138px!important}
  .official-service-card strong{font-size:17px!important}
  .source-stats{grid-template-columns:1fr!important;gap:24px!important;padding-top:28px!important}
  .source-news-row{grid-template-columns:95px minmax(0,1fr) 190px!important;gap:14px!important}
  .source-news-row .live-news-thumb{width:190px!important;height:118px!important}

  .registry-official-shell{
    max-width:none!important;
    width:100%!important;
    min-height:0!important;
    padding:34px 18px 26px!important;
    grid-template-columns:minmax(0,1fr) 290px!important;
    gap:30px!important;
  }
  .registry-official-shell h1{font-size:31px!important;margin-top:10px!important}
  .registry-official-shell .registry-visual{width:290px!important;height:290px!important}
  .registry-official-content{max-width:none!important;width:100%!important;padding:0 18px 42px!important}

  .official-footer-grid{grid-template-columns:1fr 1fr!important;gap:30px!important;padding-left:18px!important;padding-right:18px!important}
  .official-footer-bottom{padding-left:18px!important;padding-right:18px!important}
}

@media(max-width:680px){
  .site-header{min-height:72px!important}
  .header-inner{min-height:72px!important;padding:0 14px!important}
  .brand{width:132px!important;flex-basis:132px!important}
  .main-nav{padding-left:14px!important;padding-right:14px!important}

  .sda-home-hero{padding:18px 12px 14px!important}
  .sda-home-hero-inner{height:330px!important;border-radius:16px!important}
  .sda-home-hero-title{left:22px!important;width:72%!important;font-size:31px!important}
  .official-service-grid{grid-template-columns:1fr!important}
  .source-news-row{grid-template-columns:1fr 110px!important}
  .source-news-row .live-news-date{grid-column:1!important}
  .source-news-row .live-news-title{grid-column:1!important;font-size:14px!important}
  .source-news-row .live-news-thumb{grid-column:2!important;grid-row:1/3!important;width:110px!important;height:84px!important}

  .registry-official-shell{display:block!important;padding:28px 16px 22px!important}
  .registry-official-shell h1{font-size:28px!important;margin:0 0 20px!important}
  .registry-official-shell .registry-visual{width:100%!important;max-width:338px!important;height:280px!important}
  .registry-official-content{padding:0 16px 36px!important}
  .official-footer-grid{grid-template-columns:1fr!important;padding-left:18px!important;padding-right:18px!important}
  .official-footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}
}


/* Fold/tablet menu cleanup: hidden desktop Agency submenu must not reserve space. */
@media(max-width:900px){
  .main-nav .agency-dropdown-menu{
    display:none!important;
    position:absolute!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .main-nav .nav-dropdown{
    min-height:0!important;
  }
}


/* Fold/tablet typography: closer to the official site's readable sizing.
   Desktop/laptop typography remains unchanged. */
@media(max-width:900px){
  body{
    font-size:16px;
  }

  /* Mobile navigation */
  .main-nav>.nav-link,
  .main-nav>.nav-dropdown>.nav-link{
    font-size:17px!important;
    line-height:1.35!important;
    min-height:54px!important;
    padding-top:15px!important;
    padding-bottom:15px!important;
  }
  .agency-dropdown-menu a{
    font-size:15px!important;
    line-height:1.4!important;
  }
  .lang-toggle{
    font-size:15px!important;
  }

  /* Registry page */
  .official-side-menu .side-item{
    font-size:15px!important;
    line-height:1.4!important;
    padding:10px 8px!important;
  }
  .official-registry-copy h2{
    font-size:20px!important;
    line-height:1.3!important;
    margin-bottom:8px!important;
  }
  .official-registry-copy p{
    font-size:15px!important;
    line-height:1.55!important;
    margin-bottom:22px!important;
  }

  /* Document search */
  .official-document-search h2{
    font-size:21px!important;
  }
  .official-document-search label[for="docNumber"]{
    font-size:14px!important;
  }
  .official-document-search input[type="text"]{
    font-size:16px!important;
  }
  .official-document-search .recaptcha-style{
    font-size:14px!important;
  }
  .official-search-button{
    font-size:14px!important;
    padding:9px 13px!important;
  }
  .form-error{
    font-size:14px!important;
    line-height:1.45!important;
  }

  /* Products / service rows */
  .service-row{
    font-size:15px!important;
    line-height:1.45!important;
  }
  .official-service-card strong{
    font-size:18px!important;
    line-height:1.35!important;
  }

  /* Live/stat/news copy */
  .live-source-line{
    font-size:12px!important;
  }
  .live-stat-type{
    font-size:12px!important;
  }
  .live-stat-name{
    font-size:14px!important;
  }
  .live-news-date{
    font-size:12px!important;
  }
  .live-news-title{
    font-size:15px!important;
    line-height:1.45!important;
  }
  .live-all-news{
    font-size:13px!important;
  }

  /* Footer */
  .official-footer-column h3,
  .official-footer-grid h3{
    font-size:13px!important;
  }
  .official-footer-column,
  .official-footer-column p,
  .official-footer-column a,
  .official-footer-links,
  .official-footer-menu{
    font-size:13px!important;
    line-height:1.5!important;
  }
  .subscribe-input,
  .official-subscribe-button{
    font-size:13px!important;
  }
  .footer-rights{
    font-size:12px!important;
  }

  /* Results */
  .clean-results-shell #dynamicResultsTitle{
    font-size:27px!important;
  }
  .center-open-button,
  .download-button{
    font-size:14px!important;
  }
}

@media(max-width:680px){
  .main-nav>.nav-link,
  .main-nav>.nav-dropdown>.nav-link{
    font-size:16px!important;
  }
  .official-registry-copy h2{
    font-size:19px!important;
  }
  .official-registry-copy p{
    font-size:15px!important;
  }
}
