/* =========================================================
   SHIFO APTEKA — Rasmiy korporativ uslub (ko'p sahifali)
   ========================================================= */

:root {
  --primary: #006b3f;
  --primary-dark: #005232;
  --primary-light: #e8f5ee;
  --primary-glow: rgba(0, 107, 63, 0.2);
  --gold: #b8860b;
  --gold-light: #faf3e2;
  --navy: #0d2b3e;
  --navy-2: #123649;
  --text: #3c4a55;
  --text-light: #74818c;
  --border: #e3e9ed;
  --primary: #007a53;
  --primary-light: #e6f6f0;
  --primary-dark: #005a3d;
  --secondary: #0d2b3e;
  --bg: #f7f9fc;
  --bg-soft: #edf1f5;
  --text: #334155;
  --text-light: #64748b;
  --navy: #0f172a;
  --danger: #ef4444;
  --gold: #f59e0b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  
  --font-main: 'Inter', sans-serif;
  --font-head: 'Manrope', sans-serif;
  --radius: 20px;
  --transition: 0.3s ease;
  --shadow: 0 6px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px rgba(0,122,83,0.1);
  --card-bg-rgb: 255, 255, 255;
}

[data-theme="dark"] {
  --primary: #10b981;
  --primary-light: rgba(16, 185, 129, 0.15);
  --primary-dark: #34d399;
  --secondary: #0b1121;
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --text: #cbd5e1;
  --text-light: #94a3b8;
  --navy: #f8fafc;
  --border: #334155;
  --card-bg: #1e293b;
  --card-bg-rgb: 30, 41, 59;
  --shadow: 0 6px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.3; transition: color 0.3s; }

/* ===== Gradient text ===== */
.gradient-text {
  background: linear-gradient(120deg, var(--primary), #1a9c62);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14.5px;
  font-family: var(--font-head);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.btn i { transition: transform 0.3s; }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px -6px var(--primary-light);
  border: 1px solid var(--primary);
  position: relative; overflow: hidden;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15.5px; }

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.4s, visibility 0.4s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px;
  animation: loaderPulse 1.6s ease infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.08) rotate(4deg); }
}

/* ===== Topbar ===== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(var(--card-bg-rgb, 255,255,255),0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: var(--transition); }
[data-theme="dark"] .header { background: rgba(30, 41, 59, 0.95); }
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(13,43,62,0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--text); font-size: 18px; transition: var(--transition); }
.theme-toggle:hover { background: var(--primary-light); color: var(--primary); transform: rotate(15deg) scale(1.1); }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-text { white-space: nowrap; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.logo-name { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--navy); }

.nav-list { display: flex; gap: 2px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 24px; height: 3px; background: var(--navy); transition: var(--transition); }

/* ===== Section head ===== */
.section { padding: 88px 0; }
.section-title { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.section-desc { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ===== HERO ===== */
.hero { padding: 100px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.8; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary-dark); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 30px; margin-bottom: 24px; text-transform: uppercase; }
.hero-content h1 { font-size: 58px; font-weight: 800; margin-bottom: 24px; letter-spacing: -1.5px; line-height: 1.15; }
.hero-content p { font-size: 18px; color: var(--text-light); margin-bottom: 34px; max-width: 90%; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.hero-trust-item i { color: var(--primary); font-size: 18px; }

.hero-visual { position: relative; }
.hero-photo-wrap { position: relative; padding: 20px; z-index: 1; }
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); z-index: 1; border: 1px solid var(--border); }
.hero-photo img { width: 100%; height: 500px; object-fit: cover; display: block; }
.hero-license, .hero-license-2 {
  position: absolute; background: var(--card-bg); padding: 16px 20px;
  border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 2;
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--border);
}
.hero-license { bottom: 40px; left: -20px; }
.hero-license-2 { top: 40px; right: -20px; }
.hero-license i, .hero-license-2 i { font-size: 28px; color: var(--primary); }
.hero-license b, .hero-license-2 b { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.hero-license span, .hero-license-2 span { display: block; font-size: 13px; color: var(--text-light); }

/* ===== STATISTIKA ===== */
.stats-band { background: var(--secondary); padding: 80px 0; color: #fff; margin: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item b { display: block; font-size: 56px; font-weight: 800; font-family: var(--font-head); line-height: 1; margin-bottom: 12px; }
.stat-item b span { color: #8fd4b0; }
.stat-item p { font-size: 16px; color: rgba(255,255,255,0.75); margin-top: 4px; font-weight: 500; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 16px; font-weight: 500; }
.about-list li i { color: var(--primary); font-size: 20px; margin-top: 4px; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.about-photo img { width: 100%; height: 460px; object-fit: cover; }
.about-years { position: absolute; left: 0; bottom: 22px; background: var(--card-bg); border-radius: 0 10px 10px 0; border-left: 4px solid var(--primary); padding: 14px 22px; box-shadow: var(--shadow-lg); }
.about-years b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1; }
.about-years span { font-size: 12.5px; color: var(--text-light); font-weight: 600; }

/* ===== Xizmatlar ===== */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; background: var(--card-bg); border-radius: var(--radius); padding: 40px 24px; text-align: center; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; align-items: center; }
.category-icon { width: 96px; height: 96px; margin: 0 auto 24px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 42px; transition: var(--transition); }
.category-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.category-card p { font-size: 16px; color: var(--text-light); line-height: 1.6; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.category-card:hover .category-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(5deg); }
.feature-card:hover .feature-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(-5deg); }

/* ===== Kafolatlar / Nega Biz ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== Gallery ===== */
.gallery-section { padding-bottom: 80px; }
.gallery-wrapper { display: flex; flex-direction: column; gap: 24px; padding: 20px 0; margin-top: 20px; }
.gallery-track { display: flex; gap: 24px; width: max-content; }
.gallery-track.track-1 { animation: scrollLeft 45s linear infinite; }
.gallery-track.track-2 { animation: scrollRight 50s linear infinite; }
.gallery-track:hover { animation-play-state: paused; }
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
@keyframes scrollRight {
  0% { transform: translateX(calc(-50% - 12px)); }
  100% { transform: translateX(0); }
}
.gal-img { width: 340px; height: 240px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); flex-shrink: 0; background: var(--card-bg); }
.gal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.gal-img:hover img { transform: scale(1.08); }
.feature-card { text-align: center; padding: 40px 24px; background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon { width: 96px; height: 96px; margin: 0 auto 24px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 42px; transition: var(--transition); }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { font-size: 16px; color: var(--text-light); line-height: 1.6; }

/* ===== Tabs (Lokatsiyalar) ===== */
.tabs-container { max-width: 800px; margin: 0 auto; }
.tabs-header { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 14px 28px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 30px; font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer; transition: var(--transition); font-family: var(--font-head); }
.tab-btn:hover { background: var(--border); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 8px 24px var(--primary-light); transform: translateY(-3px); }
.tab-pane { display: none; animation: fadeIn 0.5s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.location-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: flex-start; gap: 16px; }

.map-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); transition: var(--transition); border: 1px solid var(--border); }
.map-container:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.map-link-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; }
.map-info { position: absolute; bottom: 24px; left: 24px; background: rgba(255,255,255, 0.85); backdrop-filter: blur(12px); padding: 20px 24px; border-radius: 12px; z-index: 15; pointer-events: none; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
[data-theme="dark"] .map-info { background: rgba(30, 41, 59, 0.85); }
.map-info h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; font-weight: 700; }
.map-info p { font-size: 15px; color: var(--text); display: flex; align-items: center; }
.map-info p i { color: var(--primary); margin-right: 8px; font-size: 18px; }
.loc-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.loc-info h3 { font-size: 16px; margin-bottom: 6px; }
.loc-info p { font-size: 15px; color: var(--text-light); margin-bottom: 12px; line-height: 1.4; }
.loc-info span { font-size: 14px; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 6px; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); padding: 60px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px); background-size: 24px 24px; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 16px; }

/* ===== Footer ===== */
.footer { background: #0d2b3e; color: rgba(255,255,255,0.72); }
[data-theme="dark"] .footer { background: #020617; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding: 64px 24px 44px; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-tag { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-socials { display: flex; gap: 9px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: var(--transition); }
.footer-socials a:hover { background: var(--primary); transform: translateY(-4px); }
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2.5px; border-radius: 2px; background: var(--primary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a, .footer-contact li { font-size: 14.5px; display: flex; align-items: center; gap: 9px; transition: var(--transition); color: rgba(255,255,255,0.68); }
.footer-col ul a:hover { color: #8fd4b0; padding-left: 5px; }
.footer-col ul a i { font-size: 10px; color: var(--primary); }
.footer-contact li { align-items: flex-start; color: rgba(255,255,255,0.68); }
.footer-contact i { color: var(--primary); margin-top: 3px; width: 16px; font-size: 13px; }
.footer-contact a:hover { color: #8fd4b0; }
.footer-license { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 16px; font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-license b { color: #8fd4b0; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.45); }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px); z-index: 3000; background: var(--navy); color: #fff; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); opacity: 0; transition: var(--transition); max-width: 92vw; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast i { color: #8fd4b0; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="150"] { transition-delay: 0.15s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .header { backdrop-filter: none; background: #fff; }
  [data-theme="dark"] .header { background: var(--card-bg); }
  .nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 85%); height: 100vh;
    background: #fff; box-shadow: -20px 0 60px rgba(13,43,62,0.2); z-index: 1001;
    padding: 88px 28px 30px; transition: right 0.45s cubic-bezier(0.4,0,0.2,1); overflow-y: auto;
  }
  [data-theme="dark"] .nav { background: var(--bg); }
  .nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 4px; display: flex; }
  .nav-link { display: block; padding: 13px 16px; font-size: 15px; }
  .nav-link::after { display: none; }
  .burger { display: flex; z-index: 1002; }
  .burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  
  .hero { padding-top: 40px; }
  .hero-title { font-size: clamp(28px, 8vw, 36px); }
  .hero-desc { font-size: 15px; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-trust { flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
  .hero-trust-item { padding: 6px 14px; font-size: 12.5px; }
  .hero-photo img { height: 260px; }
  .hero-license, .hero-license-2 { display: none; }
  
  .section { padding: 50px 0; }
  .section-title { font-size: clamp(24px, 7vw, 32px); }
  .section-desc { font-size: 15px; }
  
  .categories-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .category-card { padding: 24px 20px; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; align-items: center; text-align: left; }
  .category-card .category-icon { margin: 0; width: 60px; height: 60px; font-size: 26px; grid-row: span 2; display: flex; justify-content: center; align-items: center; }
  .category-card h3 { font-size: 18px; margin: 0; align-self: flex-end; }
  .category-card p { font-size: 14px; margin: 0; align-self: flex-start; }
  
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px 20px; }
  
  .cta-band { padding: 40px 0; }
  .cta-inner { justify-content: center; text-align: center; gap: 20px; }
  .cta-inner h2 { font-size: clamp(22px, 6vw, 28px); }
  
  .stats-band { padding: 40px 0; margin: 40px 0; }
  .stats-grid { gap: 20px; }
  
  .footer { padding: 48px 0 0; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 0 32px; }
  .footer-col h4 { margin-bottom: 16px; }
  
  .header-phone-btn { display: none; }
  .gal-img { width: 240px; height: 160px; }
}

@media (max-width: 480px) {
  .logo-tag { display: none; }
  .logo-name { font-size: 17px; }
  .container { padding: 0 16px; }
  
  .hero-title { font-size: clamp(22px, 6vw, 26px); line-height: 1.25; }
  .hero-desc { font-size: 14px; margin-bottom: 24px; }
  .hero-btns { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
  .hero-btns .btn { width: auto; font-size: 13.5px; padding: 12px 20px; }
  .hero-trust { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .hero-trust-item { font-size: 10.5px; padding: 5px 8px; }
  
  .hero-photo { width: 92%; margin: 0 auto; border-radius: 20px; }
  .hero-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
  
  .section-title { font-size: clamp(20px, 6vw, 24px); }
  .section-desc { font-size: 14px; }
  
  .category-card { display: flex; flex-direction: column; text-align: center; padding: 24px 16px; gap: 12px; }
  .category-card .category-icon { margin: 0 auto; width: 56px; height: 56px; font-size: 24px; }
  .category-card h3 { font-size: 17px; margin-bottom: 4px; align-self: center; }
  .category-card p { font-size: 13.5px; align-self: center; }
  
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 16px; gap: 14px; }
  .stat-icon { width: 44px; height: 44px; font-size: 18px; }
  .stat-info h3 { font-size: 20px; }
  .stat-info p { font-size: 13.5px; }
  
  .cta-inner h2 { font-size: clamp(18px, 5vw, 22px); }
  .cta-inner p { font-size: 14px; }
  
  .gal-img { width: 200px; height: 140px; }
}

@media (max-width: 380px) {
  .logo-name { font-size: 16px; }
  .container { padding: 0 12px; }
  .hero-title { font-size: 20px; }
  .hero-trust { flex-direction: column; width: 100%; align-items: stretch; text-align: center; }
  
  .category-card { padding: 20px 12px; }
  .category-card .category-icon { width: 48px; height: 48px; font-size: 20px; }
  
  .feature-card { padding: 16px; }
  .footer-grid { gap: 24px; }
  .gal-img { width: 180px; height: 120px; }
}