/* Phone and small tablet layouts. The desktop theme stays in styles.css. */
:root { scroll-padding-top: 16px; }
body { overflow-wrap: break-word; -webkit-text-size-adjust: 100%; }
.container { width: calc(100% - 32px); }
.topbar-inner { gap: 12px; }
.topbar-inner > span { flex: 1 1 0; min-width: 0; max-width: none; padding-block: 7px; font-size: 12px; line-height: 1.5; }
.topbar a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; font-size: 13px; letter-spacing: 0; }
.header-inner { min-height: 0; padding-block: 19px 16px; flex-direction: column; align-items: stretch; gap: 17px; }
.brand { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; width: 100%; }
.brand-monogram { font-size: 38px; letter-spacing: -2px; }
.brand-square { width: 8px; height: 8px; }
.brand-copy { padding-left: 14px; gap: 5px; }
.brand-copy strong { font-size: 18px; letter-spacing: 3px; }
.brand-copy > span { max-width: none; font-size: 12px; line-height: 1.4; }
.header-right { margin: 0; align-items: stretch; }
.header-motto { display: none; }
.languages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.languages button { min-width: 0; min-height: 44px; justify-content: center; padding: 7px 5px; gap: 7px; border: 1px solid var(--line); font-size: 14px; }
.languages button[aria-pressed="true"] { border-color: var(--orange); background: #fff4ec; }
.flag, .flag img { width: 22px; }
.flag img { height: 16px; }
.navigation.has-mobile-menu .nav-toggle { display: flex; }
.nav-toggle { width: 100%; min-height: 52px; align-items: center; justify-content: space-between; padding: 12px 0; border: 0; background: transparent; color: white; font-size: 16px; font-weight: 700; text-align: left; }
.menu-icon { display: flex; flex-direction: column; gap: 5px; width: 23px; }
.menu-icon span { width: 100%; height: 2px; background: currentColor; transition: transform .15s, opacity .15s; }
.nav-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-7px) rotate(-45deg); }
.navigation .nav-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 8px; }
.navigation.has-mobile-menu:not([data-open="true"]) .nav-inner { display: none; }
.navigation .nav-inner > a,
:lang(ka) .navigation .nav-inner > a,
:lang(ru) .navigation .nav-inner > a { flex: none; min-height: 48px; justify-content: flex-start; padding: 12px 16px; font-size: 16px; line-height: 1.5; border: 0; border-top: 1px solid #ffffff18; }
.nav-since { display: none; }
.hero, .hero-inner { min-height: 0; }
.hero-inner { display: block; padding-block: 40px 30px; }
.hero-content, :lang(ka) .hero-content { width: 100%; max-width: 580px; }
.hero-image { background-position: 64% center; }
.hero-shade { background: linear-gradient(90deg, #091b2bec, #091b2b9c); }
.hero .eyebrow { max-width: 100%; font-size: 12px; letter-spacing: 1px; line-height: 1.6; }
.hero h1 { font-size: clamp(32px, 7.8vw, 44px); line-height: 1.18; letter-spacing: -.8px; margin-bottom: 20px; overflow-wrap: anywhere; }
:lang(ka) .hero h1 { font-size: clamp(27px, 6.8vw, 36px); line-height: 1.4; letter-spacing: 0; }
.hero-description { max-width: 100%; font-size: 16px; line-height: 1.7; margin-bottom: 25px; }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 380px; }
.hero-actions .button { min-height: 50px; padding: 14px 18px; font-size: 15px; }
.hero-secondary { min-height: 46px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 14px; border: 1px solid #c2cdd270; font-size: 15px; line-height: 1.5; }
.hero-label { position: static; margin-top: 28px; max-width: 100%; }
.hero-label > div { min-width: 0; }
.hero-label-line { flex-shrink: 0; height: 31px; }
.hero-label strong { font-size: 12px; letter-spacing: .7px; }
.hero-label span:not(.hero-label-line) { font-size: 12px; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { min-height: 112px; padding: 19px 14px; gap: 5px; }
.stat:first-child, .stat:nth-child(3) { padding-left: 0; }
.stat:nth-child(2), .stat:nth-child(4) { padding-right: 0; padding-left: 14px; }
.stat:nth-child(2) { border-right: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat strong { font-size: clamp(22px, 5.8vw, 29px); line-height: 1.3; overflow-wrap: anywhere; }
.stat-primary strong { font-size: clamp(21px, 5.8vw, 29px); }
.stat strong > span { font-size: .64em; }
.stat > span { font-size: 13px; line-height: 1.6; }
:lang(ka) .stat:last-child strong { font-size: clamp(19px, 4.8vw, 25px); }
.section { padding: 43px 0; }
.about-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
.section h2, .closing h2 { font-size: clamp(27px, 6.5vw, 34px); line-height: 1.28; letter-spacing: -.5px; overflow-wrap: anywhere; }
:lang(ka) .section h2, :lang(ka) .closing h2 { font-size: clamp(24px, 5.9vw, 29px); line-height: 1.45; letter-spacing: 0; }
.about-copy .lead { font-size: 17px; }
.about-copy p, .section-heading > p { font-size: 16px; line-height: 1.7; }
.about-points { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 21px; }
.section-heading { display: block; margin-bottom: 24px; }
.section-heading > p { max-width: none; margin-top: 17px; }
.systems-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.system-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.system-visual { height: 100%; min-height: 220px; }
.system-body { padding: 23px; }
.system-body h3 { font-size: 22px; overflow-wrap: anywhere; }
.system-link { min-height: 44px; margin-top: 13px; align-items: center; font-size: 14px; }
.applications-block { margin-top: 32px; padding: 25px 21px; }
.applications-block > h3 { font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
.applications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.application-card h4 { font-size: 18px; }
.technology-heading { gap: 15px; margin-top: 34px; }
.technology-heading h3 { font-size: 23px; }
.technology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.technology-card { gap: 12px; padding: 23px 18px; }
.technology-number { flex-shrink: 0; }
.technology-card h4 { font-size: 19px; overflow-wrap: anywhere; }
.technology-brands { gap: 4px 10px; }
.technology-brands a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.brand-index { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.brand-index a { min-width: 0; min-height: 78px; padding: 13px; }
.brand-index img { width: auto; max-width: 100%; max-height: 40px; }
.brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-card { min-width: 0; }
.brand-card-top { min-height: 82px; padding: 17px 22px; }
.brand-card-top img { max-width: min(145px, 72%); max-height: 46px; }
.brand-number { white-space: nowrap; }
.product-visual { height: auto; aspect-ratio: 1.55; margin: 12px 22px 0; }
.brand-card-body { padding: 19px 22px 23px; }
.brand-card-body h3 { font-size: 21px; overflow-wrap: anywhere; }
.product-name { font-size: 14px; overflow-wrap: anywhere; }
.brand-card-actions { flex-direction: column; gap: 9px; }
.brand-card-actions a { display: flex; min-height: 46px; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.catalogue-note { font-size: 13px; line-height: 1.75; }
.closing { padding: 38px 0; }
.closing-inner { grid-template-columns: minmax(0, 1fr); gap: 25px; }
.closing-copy p { font-size: 16px; }
.contact-phone { min-height: 56px; max-width: none; margin-top: 9px; padding: 13px 15px; border: 1px solid #ffffff50; font-size: clamp(19px, 5.3vw, 24px); line-height: 1.4; letter-spacing: .2px; }
footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.footer-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
.footer-meta { text-align: left; gap: 9px; line-height: 1.7; }
@media (max-width: 600px) {
  .system-card { display: block; }
  .system-visual { min-height: 0; height: auto; aspect-ratio: 1.75; }
  .applications-grid, .technology-grid, .brand-grid { grid-template-columns: minmax(0, 1fr); }
  .application-card + .application-card { padding-top: 21px; border-top: 1px solid #ffffff25; }
  .product-visual { max-height: 245px; }
}
@media (max-width: 360px) {
  .brand-monogram { font-size: 33px; }
  .brand { gap: 11px; }
  .brand-copy { padding-left: 11px; }
  .brand-copy strong { font-size: 16px; }
  .languages { gap: 4px; }
  .languages button { gap: 5px; }
  .brand-index a { padding: 11px; }
  .system-body, .brand-card-body { padding-inline: 19px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero-inner { padding-block: 27px; }
  .hero-actions { display: flex; max-width: none; flex-wrap: wrap; }
  .hero-label { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-icon span { transition: none; }
}
.brand.brand-artwork { width: 250px; max-width: 100%; padding: 0; margin-left: -35px; }
.hero-branded .hero-inner { width: calc(100% - 32px); min-height: 650px; display: block; padding: 39px 0 195px; }
.hero-branded .hero-content { width: 100%; max-width: 600px; padding: 0; }
.hero-branded .hero-scene img { object-position: 58% bottom; }
.hero-branded .hero-shade { background: linear-gradient(180deg,#071e32e6 0%,#071e32de 45%,#071e3290 70%,#071e3220 100%); }
.hero-branded h1 { font-size: clamp(32px, 7.8vw, 44px); }
:lang(ka) .hero-branded h1 { font-size: clamp(27px, 6.8vw, 36px); }
.hero-branded .hero-description { font-size: 16px; }
.hero-branded .hero-actions { gap: 10px; }
.footer-brand-artwork { width: 225px; margin-left: -32px; }
