/* ===========================================================================
   VetGo — design system "Ikat"
   Indigo, magenta and saffron from Uzbek atlas-silk ikat, with sharp indigo
   edges and chunky offset shadows for contrast.
   Display: Dela Gothic One · Body: Rubik (both cover Latin and Cyrillic).
   =========================================================================== */

:root {
  /* Palette */
  --indigo: #24124F;
  --indigo-deep: #1A0C3D;
  --ink: #1B0F3A;
  --magenta: #D41F74;          /* text-bearing magenta, AA with white */
  --magenta-hover: #B8165F;
  --saffron: #FFB21E;
  --saffron-hover: #F5A200;
  --lavender: #F5F1FB;         /* page ground */
  --lavender-2: #EDE6F7;
  --white: #FFFFFF;
  --field: #FBF9FE;
  --line: #E4DCF1;
  --line-strong: #CFC2E6;
  --muted: #5A4F75;
  --faint: #766B92;
  --on-dark-muted: #D8CFF2;
  --success: #17804F;
  --success-bg: #E6F5EC;
  --danger: #C21E3F;
  --danger-bg: #FDE8EC;
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5A;
  --whatsapp-ink: #062E16;

  /* Type */
  --font-display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --font-body: "Rubik", "Helvetica Neue", Arial, sans-serif;

  /* Shape & depth */
  --r-sm: 14px;
  --r: 20px;
  --r-card: 24px;
  --r-lg: 28px;
  --pill: 999px;
  --lift: 0 6px 0 var(--indigo);
  --lift-hover: 0 10px 0 var(--indigo);

  /* Layout */
  --maxw: 1120px;
  --gutter: 24px;

  /* Ikat textile tile, zigzag edges and divider (inline SVG) */
  --ikat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='105' height='160'%3E%3Crect width='105' height='160' fill='%231A0C3D'/%3E%3Cpolygon points='52.5,2 102,80 52.5,158 3,80' fill='%23E0267D'/%3E%3Crect y='68' width='12' height='4' fill='%23E0267D'/%3E%3Crect y='86' width='8' height='4' fill='%23E0267D'/%3E%3Crect x='93' y='68' width='12' height='4' fill='%23E0267D'/%3E%3Crect x='97' y='86' width='8' height='4' fill='%23E0267D'/%3E%3Cpolygon points='52.5,26 87,80 52.5,134 18,80' fill='%23FFB21E'/%3E%3Crect x='14' y='74' width='12' height='3' fill='%23FFB21E'/%3E%3Crect x='79' y='83' width='12' height='3' fill='%23FFB21E'/%3E%3Cpolygon points='52.5,50 71,80 52.5,110 34,80' fill='%23FFFFFF'/%3E%3Crect x='31' y='78' width='9' height='3' fill='%23FFFFFF'/%3E%3Crect x='65' y='78' width='9' height='3' fill='%23FFFFFF'/%3E%3Cpolygon points='52.5,66 61,80 52.5,94 44,80' fill='%2324124F'/%3E%3C/svg%3E");
  --zig-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpolygon points='0,14 12,0 24,14' fill='%23FFFFFF'/%3E%3C/svg%3E");
  --zig-indigo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpolygon points='0,14 12,0 24,14' fill='%2324124F'/%3E%3C/svg%3E");
  --zig-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpolyline points='0,9 10,1 20,9' fill='none' stroke='%23CFC2E6' stroke-width='2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--lavender);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body > main { flex: 1 0 auto; width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--indigo);
  text-wrap: balance;
}
p { margin: 0; }

a { color: var(--magenta); text-decoration: none; font-weight: 500; }
a:hover { color: var(--magenta-hover); text-decoration: underline; text-underline-offset: 3px; }

img { display: block; max-width: 100%; }
.icon { flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page { padding-top: 40px; }
section[id] { scroll-margin-top: 100px; }
.back-row .btn { margin-left: -12px; padding-left: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 2px solid var(--indigo);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--indigo); }
.brand:hover { color: var(--indigo); text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--indigo);
}
.brand-name { font-family: var(--font-display); font-size: 26px; line-height: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 2px solid var(--indigo);
  border-radius: var(--pill);
}
.lang-option {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--indigo);
  background: transparent;
  border: 0;
  border-radius: var(--pill);
  padding: 6px 11px;
  cursor: pointer;
}
.lang-option:hover { background: var(--lavender-2); }
.lang-option.is-active { background: var(--indigo); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 88px;
  background: var(--indigo);
  color: var(--on-dark-muted);
  font-size: 15px;
}
.site-footer::before {
  content: "";
  display: block;
  height: 14px;
  background: var(--zig-indigo) repeat-x left bottom, var(--lavender);
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 28px;
}
.footer-langs { color: var(--saffron); font-weight: 700; letter-spacing: 0.06em; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .12s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.65; cursor: progress; }

.btn-primary { background: var(--magenta); color: var(--white); }
.btn-primary:hover { background: var(--magenta-hover); color: var(--white); }

.btn-accent { background: var(--saffron); color: var(--indigo); }
.btn-accent:hover { background: var(--saffron-hover); color: var(--indigo); }

.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: var(--white); }

.btn-ghost { background: transparent; color: var(--indigo); }
.btn-ghost:hover { background: var(--lavender-2); color: var(--indigo); }

.btn-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--indigo); }

.btn-whatsapp { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn-whatsapp:hover { background: var(--whatsapp-hover); color: var(--whatsapp-ink); }

.btn-lg { font-size: 18px; padding: 16px 28px; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 32vw, 460px);
  background: var(--indigo);
  color: var(--white);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 80px 56px 92px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.hero-tag {
  border: 2px solid var(--saffron);
  border-radius: var(--pill);
  color: var(--saffron);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 16px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.02;
}
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero p { max-width: 34em; font-size: 20px; line-height: 1.55; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.hero-art {
  min-height: 100%;
  background: var(--ikat) repeat center top, var(--indigo-deep);
  animation: weave 60s linear infinite;
}
@keyframes weave { to { background-position: center 640px; } }

/* ---------- Notices & section heads ---------- */
.banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 14px 16px 14px 18px;
  background: var(--white);
  border: 2px solid var(--indigo);
  border-radius: var(--r);
  font-size: 15.5px;
}
.banner .icon { color: var(--magenta); }
.banner .btn { margin-left: auto; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 64px 0 28px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head .count { font-size: 17px; font-weight: 700; color: var(--magenta); }

/* ---------- Vet cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--lift);
  color: var(--ink);
  font-weight: 400;
  transition: transform .15s, box-shadow .15s;
}
a.card:hover { color: var(--ink); text-decoration: none; transform: translateY(-4px); box-shadow: var(--lift-hover); }

.card-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--saffron);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 14px;
  background: var(--zig-white) repeat-x left bottom;
}

.initials {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--indigo);
}

.distance-badge {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--pill);
  background: var(--magenta);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 24px 0; }
.card-body h3 { font-size: 24px; line-height: 1.15; }
div.card .card-body { padding-bottom: 24px; }

.profession {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
}
.card-desc {
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 22px;
  font-weight: 700;
  color: var(--indigo);
}
.card-go {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  transition: background-color .15s;
}
a.card:hover .card-go { background: var(--magenta); }

/* ---------- States ---------- */
.state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 24px;
  text-align: center;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
}
.state h3 { font-size: 28px; }
.state p { max-width: 36em; color: var(--muted); }
.state .btn { margin-top: 10px; }
.state-art {
  width: 96px; height: 96px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ikat) center / 63px 96px, var(--indigo-deep);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--indigo);
}
.state-icon {
  width: 72px; height: 72px;
  margin-bottom: 6px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lavender-2);
  color: var(--magenta);
}

.skeleton-card { overflow: hidden; background: var(--white); border-radius: var(--r-card); box-shadow: 0 6px 0 var(--line-strong); }
.skeleton-card .sk-photo { aspect-ratio: 16 / 11; }
.skeleton-card .sk-line { height: 14px; margin: 18px 24px; border-radius: 7px; }
.skeleton-card .sk-line.short { width: 50%; }
.skeleton-card .sk-photo,
.skeleton-card .sk-line {
  background: linear-gradient(90deg, var(--lavender-2), var(--lavender), var(--lavender-2));
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Vet profile ---------- */
.back-row { margin-bottom: 20px; }

.detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.detail-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--saffron);
  box-shadow: 0 8px 0 var(--indigo);
}
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo .initials { font-size: 140px; }

.detail-main { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.detail-main h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; }
.detail-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }

.about { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.about h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.about p { max-width: 38em; font-size: 18px; line-height: 1.65; white-space: pre-line; }

.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding: 28px 110px 28px 28px;
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--r-lg);
}
.contact-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 72px;
  background: var(--ikat) center top / 63px 96px, var(--indigo-deep);
}
.contact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
}
.contact-card .phone {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ---------- Auth pages (register, login) ---------- */
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
  padding-top: 40px;
}
.auth-aside {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 40px 36px 0;
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--r-lg);
}
.auth-aside h1 { color: var(--white); font-size: clamp(34px, 4vw, 48px); }
.auth-aside p { font-size: 18px; color: var(--on-dark-muted); }
.auth-art {
  height: 220px;
  margin: 22px -36px 0;
  background: var(--ikat) repeat center top, var(--indigo-deep);
}

.form-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
}

.field { margin-bottom: 20px; }
.field > label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
}
.hint { font-size: 13.5px; font-weight: 400; color: var(--faint); }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 13px 16px;
  background: var(--field);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: #A59CBD; }
.field input:hover,
.field textarea:hover { border-color: #B6A6D6; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(212, 31, 116, 0.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { padding: 10px; background: var(--white); border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  background: var(--lavender-2);
  border: 0;
  border-radius: var(--pill);
  cursor: pointer;
}

.photo-row { display: flex; align-items: center; gap: 16px; }
.photo-row input[type="file"] { flex: 1; min-width: 0; }
.photo-input { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.photo-preview {
  flex-shrink: 0;
  width: 96px; height: 96px;
  object-fit: cover;
  background: var(--lavender-2);
  border: 2px solid var(--indigo);
  border-radius: var(--r-sm);
}

.divider { height: 10px; margin: 28px 0; background: var(--zig-line) repeat-x center; }

.location-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.location-status { flex-basis: 100%; font-size: 14.5px; color: var(--muted); }
.location-status:empty { display: none; }
.location-status.ok { color: var(--success); font-weight: 700; }
.location-status.warn { color: #8A4B00; font-weight: 500; }
.geo-credit { font-size: 13px; color: var(--faint); white-space: nowrap; }

/* Map picker (Leaflet). `isolation` keeps Leaflet's high z-index panes from
   drawing over the sticky header. */
.map-wrap { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.map-picker {
  height: 320px;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid var(--indigo);
  border-radius: var(--r);
}
.map-picker a { color: var(--indigo); }
.map-pin span {
  position: relative;
  display: block;
  width: 28px; height: 28px;
  background: var(--magenta);
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 0 var(--indigo);
}
.map-pin span::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--white);
}

.form-msg { display: none; margin-bottom: 20px; padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; }
.form-msg.error { display: block; background: var(--danger-bg); color: var(--danger); border: 2px solid #F5C2CD; }
.form-msg.success { display: block; background: var(--success-bg); color: var(--success); border: 2px solid #BFE3CD; }

.form-foot { margin-top: 22px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { font-size: clamp(34px, 4.4vw, 52px); }
.dash-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-sub { margin: 10px 0 32px; font-size: 17px; color: var(--muted); }
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.dash-preview { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
}
.loading-state { display: grid; place-items: center; padding: 48px 0; color: var(--magenta); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  z-index: 50;
  padding: 13px 22px;
  background: var(--indigo);
  color: var(--white);
  font-weight: 500;
  border-radius: var(--pill);
  box-shadow: 0 6px 0 var(--saffron);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Utilities ---------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.spinner-lg { width: 34px; height: 34px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 56px var(--gutter) 48px; }
  .hero-art { min-height: 96px; }
  .detail,
  .auth-layout,
  .dash-grid { grid-template-columns: 1fr; gap: 28px; }
  .auth-aside,
  .dash-preview { position: static; }
  .auth-art { height: 96px; }
  .detail-photo { aspect-ratio: 16 / 11; max-height: 380px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .site-header .container { height: auto; flex-wrap: wrap; row-gap: 10px; padding-block: 12px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 22px; }
  .header-actions .btn { font-size: 14px; padding: 8px 14px; }
  .btn-lg { font-size: 17px; padding: 15px 22px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero p { font-size: 18px; }
  .section-head { margin-top: 44px; }
  .banner { flex-wrap: wrap; }
  .banner .btn { margin-left: 0; }
  .form-card { padding: 24px 20px; }
  .auth-aside { padding: 28px 22px 0; }
  .auth-art { margin: 18px -22px 0; }
  .contact-card { padding: 24px 22px; }
  .contact-card::after { display: none; }
  .contact-card .phone { font-size: 24px; }  /* keeps a full +998 number on one line */
  .contact-actions .btn { flex: 1 1 100%; }
  .detail-photo .initials { font-size: 110px; }
  .site-footer { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
