/* GADUNA compiled asset. Source partials remain authoritative. */

/* source: assets/css/foundation/tokens.css */
/* GADUNA Design System v1 — semantic tokens only. Components consume these, never palette literals. */
:root {
  color-scheme: light;

  /* Typography */
  --gd-font-sans: "Noto Sans Georgian", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gd-font-weight-regular: 400;
  --gd-font-weight-medium: 500;
  --gd-font-weight-semibold: 600;
  --gd-heading-weight: var(--gd-font-weight-medium);
  --gd-leading-tight: 1.25;
  --gd-leading-heading: 1.35;
  --gd-leading-body: 1.65;
  --gd-leading-ui: 1.4;

  --gd-type-display: clamp(2.5rem, 2.15rem + 1.1vw, 3.25rem);
  --gd-type-h1: clamp(2.125rem, 1.9rem + .7vw, 2.5rem);
  --gd-type-h2: clamp(1.75rem, 1.58rem + .55vw, 2rem);
  --gd-type-h3: clamp(1.375rem, 1.27rem + .35vw, 1.625rem);
  --gd-type-h4: clamp(1.125rem, 1.07rem + .18vw, 1.3125rem);
  --gd-type-body-lg: 1.125rem;
  --gd-type-body: 1rem;
  --gd-type-body-sm: .875rem;
  --gd-type-label: .875rem;
  --gd-type-caption: .8125rem;

  /* 4px spacing system */
  --gd-space-1: .25rem;
  --gd-space-2: .5rem;
  --gd-space-3: .75rem;
  --gd-space-4: 1rem;
  --gd-space-5: 1.25rem;
  --gd-space-6: 1.5rem;
  --gd-space-8: 2rem;
  --gd-space-10: 2.5rem;
  --gd-space-12: 3rem;
  --gd-space-16: 4rem;
  --gd-space-20: 5rem;
  --gd-space-24: 6rem;
  --gd-space-32: 8rem;
  --gd-space-section-sm: clamp(3rem, 2.2rem + 2vw, 4rem);
  --gd-space-section-md: clamp(4rem, 3rem + 3vw, 6rem);
  --gd-space-section-lg: clamp(5rem, 3.5rem + 5vw, 8rem);

  /* Geometry */
  --gd-radius-xs: .25rem;
  --gd-radius-sm: .5rem;
  --gd-radius-md: .75rem;
  --gd-radius-lg: 1.125rem;
  --gd-radius-xl: 1.5rem;
  --gd-radius-pill: 999px;

  /* Layout */
  --gd-container-reading: 46rem;
  --gd-container-content: 76rem;
  --gd-container-wide: 90rem;
  --gd-gutter: clamp(1rem, 3vw, 2.5rem);
  --gd-grid-gap: clamp(1rem, 2vw, 2rem);

  /* Motion */
  --gd-motion-micro: 150ms;
  --gd-motion-interface: 220ms;
  --gd-motion-spatial: 320ms;
  --gd-ease-standard: cubic-bezier(.2,.7,.2,1);
  --gd-ease-exit: cubic-bezier(.4,0,1,1);

  /* Morning palette → semantic layer */
  --gd-canvas: #F6F4EC;
  --gd-surface: #FBF9F3;
  --gd-surface-soft: #EFEEE6;
  --gd-surface-muted: #E3E8E2;
  --gd-surface-elevated: #FFFFFF;
  --gd-text: #29312E;
  --gd-text-secondary: #4F5B55;
  --gd-text-muted: #6C756F;
  --gd-brand: #607D70;
  --gd-brand-strong: #34463F;
  --gd-brand-soft: #E3E8E2;
  --gd-bronze: #A97B4E;
  --gd-bronze-soft: #D5B995;
  --gd-border: #D8D9D2;
  --gd-divider: #E3E2DB;
  --gd-focus: #607D70;
  --gd-selection: #E3E8E2;
  --gd-focus-width: 2px;
  --gd-focus-offset: 3px;

  /* Shared interaction geometry */
  --gd-control-min: 2.75rem;
  --gd-control-compact: 2.25rem;
  --gd-card-padding: clamp(1.25rem, 2vw, 1.75rem);
  --gd-filter-width: 18rem;

  /* Semantic status — restrained, non-neon. */
  --gd-success: #356A55;
  --gd-success-surface: #E3EFE8;
  --gd-warning: #835E25;
  --gd-warning-surface: #F4EBD9;
  --gd-danger: #8A4542;
  --gd-danger-surface: #F4E5E3;
  --gd-info: #426675;
  --gd-info-surface: #E3EDF0;

  /* Elevation */
  --gd-shadow-1: 0 1px 2px rgb(31 43 38 / .05), 0 8px 24px rgb(31 43 38 / .04);
  --gd-shadow-2: 0 2px 6px rgb(31 43 38 / .07), 0 18px 44px rgb(31 43 38 / .07);
  --gd-shadow-overlay: 0 20px 70px rgb(31 43 38 / .14);

  /* Compatibility aliases consumed by platform-specific presentation modules. */
  --gd-type-body-l: var(--gd-type-body-lg);
  --gd-type-small: var(--gd-type-body-sm);
  --gd-radius-s: var(--gd-radius-sm);
  --gd-radius-m: var(--gd-radius-md);
  --gd-radius-l: var(--gd-radius-lg);
  --gd-shadow-sm: var(--gd-shadow-1);
  --gd-shadow-3: var(--gd-shadow-overlay);
  --gd-reading-max: var(--gd-container-reading);
  --gd-header-height: 4.5rem;
  --gd-header-offset: var(--gd-header-height);
  --gd-shell-offset: var(--gd-header-height);
  --gd-layer-panel: 80;
  --gd-layer-dialog: 1000;
  --gd-layer-modal: 1100;
  --gd-z-overlay: 1200;
  --gd-z-modal: 1300;
}

[data-gd-appearance="dusk"] {
  color-scheme: dark;
  --gd-canvas: #222B29;
  --gd-surface: #293531;
  --gd-surface-soft: #31403B;
  --gd-surface-muted: #3B4B45;
  --gd-surface-elevated: #35453F;
  --gd-text: #ECEDE7;
  --gd-text-secondary: #D0D6D2;
  --gd-text-muted: #BBC3BE;
  --gd-brand: #9BAFA6;
  --gd-brand-strong: #B3C7BE;
  --gd-brand-soft: #35483F;
  --gd-bronze: #C39A6B;
  --gd-bronze-soft: #8C6B49;
  --gd-border: #46564F;
  --gd-divider: #394842;
  --gd-focus: #B3C7BE;
  --gd-selection: #3C5148;
  --gd-success: #9FC8B1;
  --gd-success-surface: #2C453A;
  --gd-warning: #D7B77C;
  --gd-warning-surface: #4A3D29;
  --gd-danger: #D9A09B;
  --gd-danger-surface: #4D3433;
  --gd-info: #A9C7D1;
  --gd-info-surface: #30434A;
  --gd-shadow-1: 0 1px 2px rgb(0 0 0 / .16), 0 8px 24px rgb(0 0 0 / .10);
  --gd-shadow-2: 0 2px 6px rgb(0 0 0 / .20), 0 18px 44px rgb(0 0 0 / .14);
  --gd-shadow-overlay: 0 20px 70px rgb(0 0 0 / .28);
}

/* source: assets/css/foundation/base.css */
*,*::before,*::after{box-sizing:border-box}
html{font-family:var(--gd-font-sans);font-size:100%;background:var(--gd-canvas);color:var(--gd-text);text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%}
body{margin:0;min-width:20rem;background:var(--gd-canvas);color:var(--gd-text);font-size:var(--gd-type-body);font-weight:var(--gd-font-weight-regular);line-height:var(--gd-leading-body)}
img,svg,video{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--gd-brand-strong);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--gd-brand)}
::selection{background:var(--gd-selection);color:var(--gd-text)}
:focus-visible{outline:2px solid var(--gd-focus);outline-offset:3px}
.gd-main{min-height:60vh}
.gd-skip-link{position:fixed;z-index:10000;inset-block-start:var(--gd-space-3);inset-inline-start:var(--gd-space-3);padding:var(--gd-space-3) var(--gd-space-4);border-radius:var(--gd-radius-sm);background:var(--gd-surface-elevated);color:var(--gd-text);box-shadow:var(--gd-shadow-2);transform:translateY(calc(-100% - 2rem));transition:transform var(--gd-motion-micro) var(--gd-ease-standard)}
.gd-skip-link:focus{transform:none}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* source: assets/css/foundation/typography.css */
h1,h2,h3,h4,h5,h6,p{margin-block-start:0}
h1,h2,h3,h4{font-weight:var(--gd-heading-weight,var(--gd-font-weight-medium));line-height:var(--gd-leading-heading);letter-spacing:-.012em;text-wrap:balance}
h1{font-size:var(--gd-type-h1)}h2{font-size:var(--gd-type-h2)}h3{font-size:var(--gd-type-h3)}h4{font-size:var(--gd-type-h4)}
.gd-type-display{font-size:var(--gd-type-display);font-weight:var(--gd-font-weight-regular);line-height:var(--gd-leading-tight);letter-spacing:-.018em;text-wrap:balance}
.gd-type-body-lg{font-size:var(--gd-type-body-lg)}.gd-type-body-sm{font-size:var(--gd-type-body-sm)}.gd-type-label{font-size:var(--gd-type-label);font-weight:var(--gd-font-weight-medium);line-height:var(--gd-leading-ui)}.gd-type-caption{font-size:var(--gd-type-caption);color:var(--gd-text-muted)}
.gd-text-secondary{color:var(--gd-text-secondary)}.gd-text-muted{color:var(--gd-text-muted)}

/* source: assets/css/foundation/layout.css */
.gd-container,.gd-container-wide,.gd-container-reading{width:min(100% - (2 * var(--gd-gutter)),var(--gd-container-content));margin-inline:auto}
.gd-container-wide{width:min(100% - (2 * var(--gd-gutter)),var(--gd-container-wide))}.gd-container-reading{width:min(100% - (2 * var(--gd-gutter)),var(--gd-container-reading))}
.gd-section{padding-block:var(--gd-space-section-md)}.gd-section--compact{padding-block:var(--gd-space-section-sm)}.gd-section--spacious{padding-block:var(--gd-space-section-lg)}
.gd-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gd-grid-gap)}
.gd-stack{display:flex;flex-direction:column;gap:var(--gd-space-6)}
.gd-cluster{display:flex;flex-wrap:wrap;align-items:center;gap:var(--gd-space-3)}
@media(max-width:47.999rem){.gd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:48rem) and (max-width:74.999rem){.gd-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}

/* source: assets/css/foundation/utilities.css */
.gd-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.gd-surface{background:var(--gd-surface);color:var(--gd-text)}.gd-surface-soft{background:var(--gd-surface-soft);color:var(--gd-text)}.gd-surface-elevated{background:var(--gd-surface-elevated);color:var(--gd-text);box-shadow:var(--gd-shadow-1)}

/* source: assets/css/foundation/accessibility.css */
/* GADUNA accessibility qualification baseline: WCAG-oriented focus, reflow, targets and system preferences. */
:where(button,[role="button"],input,select,textarea,a[href]){scroll-margin-block:1rem}
:where(button,[role="button"],input:not([type="hidden"]),select){min-block-size:2.75rem}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--gd-focus);outline-offset:3px}
.gd-visually-hidden:not(:focus):not(:active){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
[hidden]{display:none!important}
@media (max-width:20rem){.gd-container,.gd-container-wide{padding-inline:1rem}.gd-header__actions,.gd-student__mast-grid,.gd-teacher__mast-grid,.gd-admin__mast-grid{min-width:0}.gd-button,.gd-search-trigger{max-width:100%;white-space:normal}}
@media (prefers-contrast:more){:root{--gd-border:color-mix(in srgb,var(--gd-text) 52%,var(--gd-canvas));--gd-divider:color-mix(in srgb,var(--gd-text) 38%,var(--gd-canvas));--gd-focus:var(--gd-text)}.gd-status:before{outline:1px solid currentColor}.gd-button,.gd-input,.gd-select,.gd-textarea{border-width:2px}}
@media (forced-colors:active){*{forced-color-adjust:auto}.gd-environment{display:none!important}.gd-status:before,.gd-studio__dot{background:CanvasText!important}.gd-progress__track span{background:Highlight!important}:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid Highlight!important}.gd-button,.gd-card,.gd-input,.gd-select,.gd-textarea{box-shadow:none!important}}
@media (prefers-reduced-transparency:reduce){.gd-mega-menu,.gd-discovery__backdrop{backdrop-filter:none!important}.gd-mega-menu{background:var(--gd-surface-elevated)}}
@media print{.gd-skip-link,.gd-tools-panel,.gd-tools-backdrop,.gd-discovery,.gd-mobile-nav-trigger{display:none!important}}

/* v0.43.0 keyboard/screen-reader qualification */
:where([aria-disabled="true"]){cursor:not-allowed}
:where(a[aria-disabled="true"]){pointer-events:none}
:where([role="alert"]){scroll-margin-block:1rem}
@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}:where(*,::before,::after){animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media (forced-colors:active){:where([aria-current="page"],[aria-selected="true"],[aria-pressed="true"]){outline:2px solid Highlight;outline-offset:2px}.gd-skip-link:focus{background:Canvas;color:CanvasText}}

/* v0.74.0 accessibility + Georgian-first qualification */
:where(main,[role="main"]):focus-visible{outline:3px solid var(--gd-focus);outline-offset:3px}
:lang(ka){font-family:var(--gd-font-sans);font-kerning:normal;text-rendering:optimizeLegibility}
:lang(ka) :where(p,li,dd,dt,label,legend,button,input,select,textarea){line-height:max(1.5,1.5em)}
:where(p,li,dd,dt,figcaption,.gd-card,.gd-public-card){overflow-wrap:anywhere}
:where(input,select,textarea,button){font:inherit}
:where(input,select,textarea):disabled,:where([aria-disabled="true"]){opacity:.72}
@media (max-width:20rem){:where(table){display:block;max-inline-size:100%;overflow-x:auto}:where(pre,code){white-space:pre-wrap;overflow-wrap:anywhere}}


/* Theme Studio accessibility publication contract. */
.gd-enhanced-focus :focus-visible{outline:3px solid var(--gd-focus,#607d70);outline-offset:3px}

/* source: assets/css/foundation/responsive.css */
/* GADUNA responsive qualification baseline — intrinsic sizing first, breakpoint corrections second. */
html{overflow-x:clip}
body{overflow-wrap:anywhere}
:where(.gd-main,.gd-section,.gd-container,.gd-container-wide,.gd-container-reading,.gd-card,.gd-surface,.gd-surface-soft,.gd-surface-elevated){min-inline-size:0}
:where(img,video,iframe,canvas,svg){max-inline-size:100%;block-size:auto}
:where(input,select,textarea,button){max-inline-size:100%}
:where(table){max-inline-size:100%}
:where(.gd-table-wrap,.gd-admin-table-wrap,[class*="table-wrap"]){max-inline-size:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
:where(dialog,[role="dialog"]){max-inline-size:min(calc(100vw - (2 * var(--gd-gutter))),64rem);max-block-size:min(90dvh,56rem)}
:where(.gd-button,.gd-chip,.gd-badge){min-inline-size:0}

/* Large tablet: collapse multi-column utility layouts before content becomes cramped. */
@media(max-width:64rem){
  :where(.gd-catalog__layout,.gd-services-layout,.gd-people-layout,.gd-gallery-layout,.gd-articles-layout,.gd-events-layout,.gd-regions-layout,.gd-practice-layout){grid-template-columns:minmax(0,1fr)}
  :where(.gd-catalog__filters,.gd-services-filters,.gd-people-filters,.gd-gallery-filters,.gd-articles-filters,.gd-events-filters,.gd-regions-filters,.gd-practice-filters){max-inline-size:none}
  :where(.gd-profile-layout,.gd-region-layout,.gd-event-layout,.gd-article-layout,.gd-legal-layout){min-inline-size:0}
}

/* Phone/tablet reflow qualification. */
@media(max-width:48rem){
  :root{--gd-gutter:clamp(1rem,4vw,1.5rem);--gd-grid-gap:1rem;--gd-card-padding:1.125rem}
  body{min-width:0}
  .gd-section{padding-block:clamp(2.75rem,9vw,4rem)}
  .gd-section--spacious{padding-block:clamp(3.25rem,11vw,5rem)}
  :where(.gd-toolbar,.gd-catalog__toolbar,.gd-services-toolbar,.gd-people-toolbar,.gd-gallery-toolbar,.gd-articles-toolbar,.gd-events-toolbar,.gd-regions-toolbar,.gd-practice-toolbar){align-items:stretch;flex-direction:column}
  :where(.gd-toolbar input,.gd-toolbar select,.gd-catalog__toolbar input,.gd-catalog__toolbar select){inline-size:100%}
  :where(.gd-pagination,.gd-catalog__pagination,.gd-services-pagination,.gd-people-pagination,.gd-gallery-pagination,.gd-articles-pagination,.gd-events-pagination,.gd-regions-pagination,.gd-practice-pagination){max-inline-size:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding-block:.25rem;scrollbar-width:thin}
  :where(.gd-card-grid,.gd-related-grid,.gd-profile-cards){grid-template-columns:minmax(0,1fr)}
  :where(.gd-hero__actions,.gd-auth__actions,.gd-contact__actions){align-items:stretch}
  :where(.gd-hero__actions .gd-button,.gd-auth__actions .gd-button,.gd-contact__actions .gd-button){max-inline-size:100%}
  :where(dialog,[role="dialog"]){inline-size:calc(100vw - (2 * var(--gd-gutter)));max-inline-size:none;margin:auto;padding:clamp(1rem,4vw,1.5rem)}
}

/* Narrow phones: preserve 320px reflow and usable controls without horizontal page scrolling. */
@media(max-width:30rem){
  :root{--gd-type-display:clamp(2rem,9vw,2.5rem);--gd-type-h1:clamp(1.8rem,8vw,2.125rem);--gd-type-h2:clamp(1.5rem,7vw,1.75rem)}
  .gd-container,.gd-container-wide,.gd-container-reading{width:min(100% - 2rem,var(--gd-container-content))}
  :where(.gd-cluster,.gd-header__actions,.gd-admin__mast-actions){gap:.5rem}
  :where(.gd-button,.gd-input,.gd-select,.gd-textarea){max-inline-size:100%}
  :where(.gd-filter-toggle,[class$="filter-toggle"]){inline-size:100%;justify-content:center}
  :where(.gd-chip,.gd-badge){white-space:normal}
}

/* Landscape/mobile-height resilience for fixed overlays and drawers. */
@media(max-height:36rem) and (pointer:coarse){
  :where(.gd-tools-panel,.gd-mega-menu,.gd-discovery,.gd-people-filters,.gd-catalog__filters,.gd-services-filters,.gd-gallery-filters,.gd-articles-filters,.gd-events-filters,.gd-regions-filters,.gd-practice-filters){max-block-size:90dvh;overflow-y:auto;overscroll-behavior:contain}
}

@media(forced-colors:active){
  :where(.gd-table-wrap,.gd-admin-table-wrap,[class*="table-wrap"]){border-color:CanvasText}
}
