/* Лендинг al-hamid.uz. Токены — из design/design-system/tokens, кнопки —
   из components/core/Button.jsx, таймлайн — из RouteTimeline.jsx. */

@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url("fonts/inter-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url("fonts/inter-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url("fonts/inter-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url("fonts/inter-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
--brand-primary:#570125;--brand-primary-hover:#3E011A;--brand-primary-light:#F5E9ED;--brand-accent:#E1AC28;
--gray-900:#101828;--gray-600:#475467;--gray-400:#98A2B3;--gray-300:#D0D5DD;--gray-200:#EAECF0;--gray-50:#F9FAFB;--white:#FFFFFF;
--success:#12805C;--warning:#B54708;--error:#D92D20;--info:#175CD3;
--success-bg:#E7F5EF;--warning-bg:#FBEEE3;--error-bg:#FCEBEA;--info-bg:#E8EFFA;
--text-primary:var(--gray-900);--text-secondary:var(--gray-600);--text-muted:var(--gray-400);--text-on-brand:var(--white);--text-link:var(--brand-primary);
--surface-page:var(--white);--surface-subtle:var(--gray-50);--surface-brand-subtle:var(--brand-primary-light);
--border-default:var(--gray-300);--border-light:var(--gray-200);
--focus-ring:0 0 0 3px rgba(87,1,37,.18);
--font-ui:'Inter',-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
--text-xs:12px;--text-sm:14px;--text-md:16px;--text-lg:18px;--text-xl:22px;--text-2xl:28px;
--weight-regular:400;--weight-medium:500;--weight-semibold:600;
--leading-tight:1.2;--leading-normal:1.5;
--numeric-tabular:"tnum" 1,"lnum" 1;
--radius-button:12px;--radius-card:16px;--radius-input:10px;--radius-pill:999px;
--control-height:52px;--control-height-sm:36px;
--shadow-card:0 1px 3px rgba(16,24,40,.08);
}

html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-ui);font-size:var(--text-md);line-height:var(--leading-normal);color:var(--text-primary);background:var(--surface-page);-webkit-font-smoothing:antialiased}
a{color:var(--text-link);text-decoration:none}
a:hover{color:var(--brand-primary-hover);text-decoration:underline}
.tabular{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:var(--numeric-tabular)}
[hidden]{display:none!important}
img{max-width:100%}
h1,h2{margin:0}

/* Кнопки дизайн-системы */
.ah-btn{font-family:var(--font-ui);font-weight:var(--weight-semibold);border:1.5px solid transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out;white-space:nowrap;box-sizing:border-box;text-decoration:none}
.ah-btn:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.ah-btn[disabled],.ah-btn[aria-disabled="true"]{background:var(--gray-200)!important;color:var(--gray-400)!important;border-color:transparent!important;cursor:not-allowed;pointer-events:none}
.ah-btn-md{height:var(--control-height);padding:0 24px;font-size:var(--text-md);border-radius:var(--radius-button)}
.ah-btn-primary{background:var(--brand-primary);color:var(--text-on-brand)}
.ah-btn-primary:hover{background:var(--brand-primary-hover);color:var(--text-on-brand);text-decoration:none}
.ah-btn-secondary{background:var(--brand-primary-light);color:var(--brand-primary)}
.ah-btn-secondary:hover{background:#EEDBE3;text-decoration:none}

/* Шапка и переключатель языка */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border-light)}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.lang-switch{display:inline-flex;background:var(--surface-subtle);border:1px solid var(--border-light);border-radius:8px;padding:2px;gap:2px}
.lang-btn{border:0;cursor:pointer;border-radius:6px;padding:5px 12px;font-size:12px;font-weight:600;font-family:var(--font-ui);background:transparent;color:var(--gray-600)}
.lang-btn[aria-pressed="true"]{background:var(--brand-primary);color:#fff}
.lang-btn:focus-visible{outline:none;box-shadow:var(--focus-ring)}

/* Секции */
.section{scroll-margin-top:72px}
.section-inner{max-width:1080px;margin:0 auto;padding:56px 16px}
.h2{font-size:22px;font-weight:600}
.card{background:#fff;border:1px solid var(--border-light);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:10px}
.card-title{font-size:16px;font-weight:600}
.card-text{font-size:14px;line-height:1.55;color:var(--text-secondary)}
.num{width:32px;height:32px;border-radius:999px;background:var(--brand-primary-light);color:var(--brand-primary);font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;flex:none}
.icon-box{width:44px;height:44px;border-radius:12px;background:var(--brand-primary-light);color:var(--brand-primary);display:flex;align-items:center;justify-content:center}
.icon-box.sm{width:40px;height:40px}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.grid-why{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:32px}
.grid-contacts{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.ct-card{border:1px solid var(--border-light);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:12px}
.ct-label{font-size:13px;color:var(--text-muted);margin-bottom:2px}
.ct-value{font-size:15px;font-weight:500}

/* Таймлайн маршрута (RouteTimeline) */
.tl{display:flex;flex-direction:column}
.tl-row{display:flex;gap:12px;align-items:stretch}
.tl-time{width:44px;text-align:right;font-size:var(--text-sm);font-weight:400;color:var(--text-secondary);padding-top:1px}
.tl-axis{display:flex;flex-direction:column;align-items:center;width:12px}
.tl-dot{width:8px;height:8px;border-radius:50%;background:var(--white);border:2px solid var(--gray-300);box-sizing:border-box;z-index:1}
.tl-line{flex:1;width:2px;background:var(--gray-200);margin:2px 0;min-height:24px}
.tl-body{padding-bottom:20px;margin-top:-2px}
.tl-name{font-size:var(--text-sm);font-weight:500;color:var(--text-primary)}
.tl-note{font-size:var(--text-xs);color:var(--text-muted);margin-top:2px}
.tl-row.end .tl-time{font-weight:600;color:var(--text-primary)}
.tl-row.end .tl-dot{width:12px;height:12px;background:var(--brand-primary);border:none}
.tl-row.end .tl-name{font-size:var(--text-md);font-weight:600}
.tl-row:last-child .tl-line{display:none}
.tl-row:last-child .tl-body{padding-bottom:0}

/* Футер */
.footer{background:var(--brand-primary);color:#fff}
.ft-head{font-size:13px;font-weight:600;color:rgba(255,255,255,.9)}
.ft-link{color:#fff;opacity:.85;font-size:14px;text-decoration:none}
.ft-link:hover{color:#fff;opacity:1;text-decoration:underline}
.ft-muted{font-size:12px;color:rgba(255,255,255,.72);line-height:1.5}
