@font-face {
    font-family: NotoGeo;
    src: url('../fonts/noto-georgian-semibold.woff2') format('woff2');
    font-display: swap;
    font-weight: 600 900
}

@font-face {
    font-family: NotoGeo;
    src: url('../fonts/noto-georgian.woff2') format('woff2');
    font-display: swap;
    font-weight: 400
}

@font-face {
    font-family: NotoSerifGeo;
    src: url('../fonts/noto-serif-georgian.woff2') format('woff2');
    font-display: swap;
    font-weight: 600
}

:root {
    --cream: #F5F1E8;
    --navy: #20243C;
    --ink: #09172B;
    --gold: #B69A5C;
    --gold-text: #80652f;
    --beige: #E5DDCD;
    --line: #d8d0c2;
    --muted: #4f5663;
    --serif: NotoSerifGeo, Georgia, serif;
    --sans: NotoGeo, Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 16px/1.75 var(--sans)
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    color: var(--gold-text)
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
input,
textarea,
select {
    touch-action: manipulation
}

a,
button,
input,
textarea,
select {
    outline-offset: 5px
}

:focus-visible {
    outline: 2px solid var(--gold-text)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

figure {
    margin: 0
}

.container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto
}

.section {
    padding-block: 80px
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 24px;
    overflow-wrap: anywhere
}

h1 {
    font-size: clamp(30px, 3.35vw, 48px);
    letter-spacing: -.025em
}

h2 {
    font-size: clamp(26px, 2.7vw, 38px)
}

h3 {
    font-size: 22px
}

p {
    margin: 0 0 24px
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: #F5F1E8;
    box-shadow: 0 4px 20px rgba(9, 23, 43, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.brand {
    flex-shrink: 0;
    display: block;
    width: 260px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    font-size: 14px;
    padding-right: 24px;
}

.nav-service-top svg.icon {
    width: 14px;
    display: flex;
}

/* ისრის რბილი მოძრაობა */
.services-toggle .icon {
    transition: transform 0.2s ease;
}

/* გახსნილი მენიუ - მუშაობს hover-ზეც და დაკლიკებაზეც */
.nav-services.expanded .services-toggle .icon {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .services-toggle .icon {
        transition: none;
    }
}

.main-nav a {
    padding-block: 12px;
    position: relative;
    white-space: nowrap
}

.main-nav a[aria-current]:after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold)
}

.language {
    display: flex;
    gap: 10px;
    border-left: 1px solid var(--line);
    padding-left: 24px;
    font-size: 13px;
    white-space: nowrap
}

.language [aria-current] {
    color: var(--gold-text)
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 10px;
    color: var(--ink)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 54px;
    background: var(--navy);
    color: white;
    padding: 12px 28px;
    border: 1px solid var(--navy);
    cursor: pointer;
    transition: background .2s
}

.button .icon {
    color: var(--gold)
}

.button:hover {
    background: #303852;
    color: white
}

.button:disabled {
    opacity: .6;
    cursor: not-allowed
}

.button-light {
    background: var(--cream);
    color: var(--ink)
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--gold-text);
    padding-block: 8px;
    text-decoration: underline;
    text-underline-offset: 6px
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
    margin: 20px 0 24px
}

.service-link {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    min-height: 84px;
    padding: 20px 0;
    transition: color .2s
}

.service-number {
    color: var(--gold-text);
    font-family: Georgia, serif;
    font-size: 21px;
    padding-right: 18px;
    border-right: 1px solid var(--line)
}

.service-link .icon {
    margin-left: auto;
    color: var(--gold-text)
}

.service-link:hover {
    color: var(--gold-text)
}

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

.contact-grid address {
    font-style: normal;
    max-width: 420px;
    padding-top: 20px
}

.contact-grid address a,
.contact-grid address p {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
    overflow-wrap: anywhere
}

.contact-grid address .icon {
    color: var(--gold-text);
    margin-top: 3px
}

.contact-form {
    border-left: 1px solid var(--line);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 5px
}

input,
textarea,
select {
    color: var(--ink);
    background: transparent;
    border: 1px solid #a9a397;
    border-radius: 2px;
    padding: 11px 12px;
    max-width: 100%
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 17px;
    width: 100%
}

.contact-form textarea {
    resize: vertical
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 5px
}

.check a {
    text-decoration: underline
}

.captcha {
    min-height: 85px;
    margin: 12px 0;
    max-width: 100%
}

.notice {
    padding: 14px;
    background: #e9e3d7;
    border-left: 3px solid var(--gold-text);
    font-size: 14px
}

.notice.error {
    border-color: #a32e37
}

.notice.success {
    border-color: #315f49
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.site-footer {
    background: var(--navy);
    color: var(--cream);
    border-top: 2px solid var(--gold);
    padding: 42px 0
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center
}

.site-footer nav {
    display: flex;
    justify-content: flex-end;
    gap: 26px;
    font-size: 14px;
    flex-wrap: wrap
}

.site-footer a:hover {
    color: #e1c78e
}

.legal-links {
    display: flex;
    gap: 25px;
    font-size: 12px
}

.site-footer small {
    text-align: right;
    font-size: 12px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px
}

.post-image {
    display: block;
    overflow: hidden;
    margin-bottom: 18px
}

.post-image img {
    aspect-ratio: 16/10;
    object-fit: cover
}

.post-card time {
    font-size: 12px;
    color: var(--muted)
}

.post-card h3 {
    font-size: 22px;
    margin: 10px 0 16px
}

.post-card p {
    font-size: 14px;
    color: var(--muted)
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 20;
    background: var(--navy);
    color: white;
    padding: 10px 20px
}

.skip-link:focus {
    top: 10px
}

.empty-state {
    padding: 60px 0;
    border-block: 1px solid var(--line)
}

@media(max-width:1100px) {
    .site-header {
        gap: 20px
    }

    .brand {
        width: 215px
    }

    .main-nav {
        gap: 16px;
        font-size: 12px
    }

    .language {
        padding-left: 15px
    }
}

@media(max-width:850px) {
    .container {
        width: calc(100% - 40px)
    }

    .site-header {
        min-height: 92px;
        flex-wrap: wrap;
        gap: 12px;
        position: relative
    }

    .brand {
        width: 205px
    }

    .menu-toggle {
        display: block;
        order: 3;
        margin-left: 0
    }

    .language {
        margin-left: auto;
        border: 0;
        padding-left: 0
    }

    .main-nav {
        display: none;
        order: 4;
        width: 100%;
        padding: 10px 0 20px;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        font-size: 16px
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        padding: 10px
    }

    .section {
        padding-block: 48px
    }

    .service-list {
        column-gap: 32px
    }

    .service-link {
        gap: 12px
    }

    .contact-grid {
        gap: 30px
    }

    .contact-form {
        padding-left: 24px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .site-footer nav {
        justify-content: flex-start
    }

    .site-footer small {
        text-align: left
    }

    .post-grid {
        grid-template-columns: 1fr 1fr
    }

    .section-heading {
        align-items: flex-start
    }
}

@media(max-width:600px) {
    .brand {
        width: 185px
    }

    .site-header {
        gap: 8px
    }

    .language {
        font-size: 12px;
        gap: 7px
    }

    .menu-toggle {
        padding: 8px
    }

    .service-list {
        grid-template-columns: 1fr
    }

    .service-link {
        min-height: 74px;
        font-size: 15px
    }

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

    .contact-form {
        padding-left: 0;
        border-left: 0
    }

    .post-grid {
        grid-template-columns: 1fr
    }

    .section-heading {
        display: block
    }

    .post-image img {
        aspect-ratio: 16/9
    }

    .footer-grid {
        gap: 24px
    }

    .site-footer nav {
        gap: 16px;
        font-size: 13px
    }

    .legal-links {
        flex-wrap: wrap;
        gap: 12px
    }

    .button {
        width: 100%;
        gap: 20px
    }

    .section {
        padding-block: 40px
    }

    h1 {
        font-size: 30px
    }

    .contact-grid address {
        padding: 0
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* Expanded editorial footer */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.footer-expanded {
    padding: 0;
    background: var(--navy);
    color: var(--cream);
    border-top: 3px solid var(--gold)
}

.footer-intro {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 40px;
    align-items: center;
    padding-block: 46px;
    border-bottom: 1px solid #ffffff24
}

.footer-intro .brand {
    width: 260px
}

.footer-intro p {
    font-size: 14px;
    line-height: 1.9;
    color: #dedbd4;
    max-width: 430px;
    margin: 0
}

.footer-cta {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    border: 1px solid #b69a5c;
    padding: 14px 19px;
    font-size: 13px;
    color: var(--cream);
    min-height: 48px;
    white-space: nowrap
}

.footer-expanded a:hover {
    color: #e5c984
}

.footer-cta:hover {
    background: #ffffff08
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 64px;
    padding-block: 48px 52px
}

.footer-column h2 {
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 600;
    color: #f5f1e8;
    margin: 0 0 26px;
    padding-bottom: 14px;
    position: relative;
    width: max-content;
}

.footer-column h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gold)
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px
}

.footer-column li {
    margin: 0
}

.footer-column li a {
    font-size: 14px;
    line-height: 1.8;
    display: inline-block;
    color: #dedbd4;
    padding-block: 2px;
    overflow-wrap: anywhere
}

.footer-contact address {
    font-style: normal;
    display: grid;
    gap: 19px
}

.footer-contact address>a,
.footer-contact address>p {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    overflow-wrap: anywhere
}

.footer-contact address .icon {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    color: #d4b575
}

.footer-contact small {
    display: block;
    color: #d7c49a;
    font-size: 11px;
    margin-bottom: 3px
}

.footer-contact span {
    min-width: 0
}

.footer-appointment {
    font-size: 12px;
    color: #c7c6ce;
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid #ffffff24
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff24;
    padding-block: 22px;
    color: #ceccd4;
    font-size: 12px
}

.footer-bottom small {
    font-size: 12px
}

@media(max-width:1000px) {
    .footer-intro {
        grid-template-columns: 1fr 1fr;
        gap: 26px
    }

    .footer-cta {
        justify-self: start
    }

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

@media(max-width:700px) {
    .footer-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 34px
    }

    .footer-intro .brand {
        width: 235px
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
        padding-block: 36px
    }

    .footer-contact {
        grid-column: 1/-1
    }

    .footer-column h2 {
        font-size: 16px;
        margin-bottom: 20px
    }

    .footer-column li a {
        font-size: 13px
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }

    .footer-contact address {
        grid-template-columns: 1fr
    }

    .footer-appointment {
        max-width: 450px
    }
}

@media(max-width:380px) {
    .footer-columns {
        grid-template-columns: 1fr
    }

    .footer-contact {
        grid-column: auto
    }
}

.footer-expanded nav.footer-column {
    display: block
}

.footer-expanded .footer-contact small {
    text-align: left;
    font-size: 11px
}

@media(max-width:700px) {
    .footer-expanded .footer-columns {
        grid-template-columns: 1fr
    }

    .footer-expanded .footer-contact {
        grid-column: auto
    }
}

/* 1.4: services disclosure and contact links */
.nav-services {
    position: relative
}

.nav-service-top {
    display: flex;
    align-items: center;
    gap: .25rem
}

.services-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    padding-left: 2px;
    cursor: pointer
}

.services-dropdown {
    display: none;
    list-style: none;
    margin: 0;
    padding: 1rem;
    background: var(--cream, #F5F1E8);
    border: 1px solid #d9cfbd;
    box-shadow: 0 18px 40px #09172b18;
    z-index: 30
}

.nav-services.expanded .services-dropdown {
    display: block
}

.services-dropdown li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem;
    text-decoration: none;
    white-space: normal
}

.services-dropdown .icon {
    flex-shrink: 0;
    color: #8a713e
}

.services-dropdown a:hover {
    background: #E5DDCD
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .875rem
}

.contact-social .icon {
    width: 16px;
    height: 16px
}

.contact-social:empty {
    display: none
}

.service-number .icon {
    width: 28px;
    height: 28px
}

@media(min-width:851px) {
    .services-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 360px;
        max-width: 80vw
    }
}

@media(max-width:850px) {
    .nav-services {
        width: 100%
    }

    .nav-service-top {
        justify-content: space-between
    }

    .services-dropdown {
        box-shadow: none;
        width: 100%
    }

    .services-dropdown li a {
        font-size: .9rem
    }
}