/* ========================================
   COSMOS T&S - Main Stylesheet
   ======================================== */

:root {
  --orange: #ff8d1e;
  --orange-dark: #ff6600;
  --orange-light: #f5a054;
  --black: #111111;
  --dark: #1a1a1a;
  --dark-2: #222222;
  --gray: #555555;
  --gray-light: #888888;
  --bg: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 40px rgba(255,141,30,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
  --font: 'Montserrat', 'Inter', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,123,34,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ---- SECTION HEADERS ---- */
.section-label {
  display: inline-block;
  background: rgba(224,123,34,0.10);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title span { color: var(--orange); }
.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #111 0%, #222 60%, #1a1a1a 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(224,123,34,0.18) 0%, transparent 65%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 60px
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,123,34,0.15);
  border: 1px solid rgba(224,123,34,0.35);
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-image-col {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46%;
  z-index: 1;
  overflow: hidden;
}
.hero-image-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark) 0%, transparent 50%);
  z-index: 1;
}

/* ---- CATEGORIES GRID ---- */
.categories-section { padding: 88px 0; background: var(--bg); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.category-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--dark-2);
}
.category-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card-image img { transform: scale(1.06); }
.category-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}
.category-card-icon {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.category-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.category-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.category-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.2s;
}
.category-card-link:hover { gap: 10px; }
.category-card-link svg { width: 16px; height: 16px; }

/* ---- WHY US ---- */
.why-section { padding: 88px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-features { display: grid; gap: 28px; }
.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-feature-icon {
  width: 52px; height: 52px;
  background: rgba(224,123,34,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.why-feature:hover .why-feature-icon { background: var(--orange); }
.why-feature-title { font-weight: 700; font-size: 1rem; margin-bottom: 5px; }
.why-feature-desc { font-size: 0.9rem; color: var(--gray); }
.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-visual-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
}
.why-visual-badge span { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.why-visual-badge small { font-size: 0.78rem; opacity: 0.85; }

/* ---- BRANDS ---- */
.brands-section {
  padding: 56px 0;
  background: var(--dark);
  overflow: hidden;
}
.brands-title {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.brands-track {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-item {
  color: rgba(255,255,255,0.25);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}
.brand-item:hover { color: var(--orange); }

/* ---- CTA BANNER ---- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,123,34,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-text p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
}
.page-hero-label {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 580px; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { opacity: 0.4; }

/* ---- CATEGORY PAGE ---- */
.category-content { padding: 72px 0; }
.category-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.category-intro-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.category-intro-text h2 span { color: var(--orange); }
.category-intro-text p { color: var(--gray); line-height: 1.75; margin-bottom: 14px; }
.category-intro-img { border-radius: var(--radius-lg); overflow: hidden; height: 380px; }
.category-intro-img img { width: 100%; height: 100%; object-fit: cover; }

.subcategories-section { margin-bottom: 72px; }
.subcategories-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 28px; border-left: 4px solid var(--orange); padding-left: 16px; }
.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.subcategory-item {
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.subcategory-item:hover {
  border-color: var(--orange);
  background: rgba(224,123,34,0.05);
  transform: translateY(-3px);
}
.subcategory-item span { display: block; font-size: 1.6rem; margin-bottom: 8px; }
.subcategory-item p { font-size: 0.82rem; font-weight: 600; color: var(--dark); }

/* ---- BANNERS ---- */
.banners-section { margin-bottom: 72px; }
.banners-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}
.banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background: var(--dark-2);
}
.banner.banner-main { grid-row: 1 / 3; }
.banner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.5s;
}
.banner:hover img { transform: scale(1.04); }
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  z-index: 1;
}
.banner-content { position: relative; z-index: 2; color: var(--white); }
.banner-tag {
  display: inline-block;
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.banner-content h3 { font-size: 1.2rem; font-weight: 700; }
.banner-main .banner-content h3 { font-size: 1.7rem; }
.banner-content p { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ---- CONTACT ---- */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
.contact-info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.contact-info p { color: var(--gray); margin-bottom: 36px; }
.contact-info-items { display: grid; gap: 24px; margin-bottom: 36px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 46px; height: 46px;
  background: rgba(224,123,34,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.82rem; font-weight: 600; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-info-item p { color: var(--dark); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.contact-info-item a { color: var(--orange); }
.contact-departments { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.contact-departments h4 { font-weight: 700; margin-bottom: 16px; font-size: 0.95rem; }
.dept-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.dept-item:last-child { border-bottom: none; }
.dept-item span { color: var(--gray); }
.dept-item a { color: var(--orange); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--gray); font-size: 0.9rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--gray); font-size: 0.9rem; }

.map-section { padding: 0 0 80px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 420px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- SEO TEXT ---- */
.seo-block { padding: 64px 0; background: var(--bg); border-top: 1px solid var(--border); }
.seo-block .seo-content { max-width: 860px; margin: 0 auto; }
.seo-block h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.seo-block h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; }
.seo-block p { color: var(--gray); font-size: 0.95rem; line-height: 1.8; margin-bottom: 10px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .why-grid, .category-intro { grid-template-columns: 1fr; gap: 36px; }
  .why-visual { min-height: 300px; order: -1; }
  .banners-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .banner.banner-main { grid-row: auto; }
  .banner { min-height: 220px; }
}
@media (max-width: 768px) {
  .hero { min-height: 100vh; }
  .hero-image-col { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .subcategories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .contact-form-wrap { padding: 24px; }
}
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
