/* ===== IT-MICRO Corporate Website Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --dark-bg: #12151e;
  --dark-card: #1a1f2e;
  --dark-border: #2a2f3e;
  --orange: #e8601c;
  --orange-light: #f07030;
  --orange-bg: rgba(232,96,28,0.12);
  --white: #ffffff;
  --light-bg: #f4f5f7;
  --light-card: #ffffff;
  --text-dark: #1a2035;
  --text-body: #4a5568;
  --text-muted: #8892a4;
  --border-light: #e8eaed;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.logo-text {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--white);
}
.logo-text span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: #c8cdd8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c8cdd8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-phone:hover { color: var(--white); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #c8cdd8;
}
.nav-lang a { color: inherit; text-decoration: none; }
.nav-lang .active { color: var(--white); }

.btn-portal {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-portal:hover { background: var(--orange-light); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: var(--dark-bg);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(232,96,28,0.06) 0%, transparent 60%),
                    radial-gradient(circle at 10% 80%, rgba(100,120,200,0.05) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 60px;
  position: relative;
  overflow: hidden;
}

/* dot grid background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 8px 18px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero-badge .dot {
  width: 18px;
  height: 18px;
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge .dot svg { width: 10px; height: 10px; color: var(--orange); }

.hero-badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--orange);
}

.hero-title {
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 28px;
  max-width: 780px;
}

.hero-sub {
  font-size: 17px;
  color: #8892a4;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 44px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--dark-border);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: #4a5568; background: rgba(255,255,255,0.04); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 48px;
  margin: 0 80px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 4px 40px rgba(0,0,0,0.10);
}

.stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--border-light);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
section { padding: 100px 80px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ===== ABOUT ===== */
#about {
  background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left .section-title { margin-bottom: 24px; }

.about-left p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.about-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--orange);
}

.about-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
#services { background: var(--light-bg); }

.services-header { text-align: center; margin-bottom: 60px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.services-grid-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: calc(66.66% + 12px);
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
  cursor: default;
}
.service-card:hover, .service-card.active {
  border-color: var(--orange);
  box-shadow: 0 4px 24px rgba(232,96,28,0.10);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.service-card.active .service-icon {
  background: var(--orange-bg);
  color: var(--orange);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.service-list li::before {
  content: '›';
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: -1px;
}

/* two-column list for software dev */
.service-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

/* ===== TECHNOLOGY ===== */
#technology { background: var(--dark-bg); }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tech-left .section-title { color: var(--white); }

.tech-category { margin-bottom: 36px; }

.tech-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.tech-cat-title svg { color: var(--orange); }

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  color: #c8cdd8;
  font-weight: 500;
}

/* Industries panel */
.industries-panel {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--dark-border);
}

.industries-panel .section-label { margin-bottom: 8px; }

.industries-panel h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}

.industries-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
}

.industries-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #c8cdd8;
}

.industries-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== GLOBAL DELIVERY ===== */
#global-delivery { background: var(--light-bg); }

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.delivery-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.delivery-check {
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.delivery-check svg { width: 13px; height: 13px; color: var(--orange); }

.delivery-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.delivery-item p { font-size: 14px; color: var(--text-body); }

.it-park-card {
  background: var(--dark-bg);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.it-park-card::after {
  content: 'IT';
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
}

.it-park-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.it-park-card p { font-size: 15px; color: #8892a4; line-height: 1.8; }

/* ===== WHY US ===== */
#why-us { background: var(--light-bg); }

.why-us-header { text-align: center; margin-bottom: 60px; }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.advantage-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.adv-icon {
  width: 44px;
  height: 44px;
  background: var(--light-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.advantage-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.advantage-card p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* ===== CONTACT ===== */
#contact { background: var(--light-bg); }

.contact-header { text-align: center; margin-bottom: 60px; }
.contact-header .section-sub { margin: 12px auto 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--dark-bg);
  border-radius: 20px;
  padding: 36px;
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(232,96,28,0.20);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.contact-info-item .info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-info-item .info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.contact-divider {
  border: none;
  border-top: 1px solid var(--dark-border);
  margin-bottom: 24px;
}

.coverage-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coverage-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 13px;
  color: #c8cdd8;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 0; }

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group label svg { width: 14px; height: 14px; color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8c8; }

.form-group textarea { min-height: 130px; resize: vertical; margin-bottom: 20px; }

.form-group-full { margin-bottom: 20px; }

.btn-send {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s;
}
.btn-send:hover { background: var(--orange-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark-bg);
  padding: 60px 80px 30px;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: #8892a4;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8892a4;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #8892a4;
}
.footer-contact-list li svg { color: var(--orange); flex-shrink: 0; }

.footer-regions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-regions li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #8892a4;
}
.footer-regions li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-banner p { font-size: 13px; color: #8892a4; flex: 1; }
.cookie-banner p a { color: var(--orange); }
.cookie-banner p strong { color: var(--white); }

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-decline {
  background: transparent;
  border: 1px solid var(--dark-border);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-accept {
  background: var(--orange);
  border: none;
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  section { padding: 80px 40px; }
  #hero { padding: 120px 40px 60px; }
  .stats-bar { margin: 0 40px; margin-top: -40px; padding: 28px 32px; }
  .about-grid, .delivery-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-bottom { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--dark-bg);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--dark-border);
  }
  #hero { padding: 100px 24px 60px; }
  .hero-title { font-size: 40px; }
  .stats-bar { margin: 0 24px; margin-top: -20px; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { border-right: none; padding: 0; }
  section { padding: 60px 24px; }
  .services-grid, .services-grid-bottom { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 24px 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px 24px; }
}

/* ===== FORM FEEDBACK ===== */
.form-feedback {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-feedback.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-feedback.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Active nav link */
.nav-links a.active { color: var(--white); }
.nav-lang a.active  { color: var(--white); font-weight: 700; }
