/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --primary: #F4A100;
  --primary-dark: #D18D00;
  --primary-light: #FFBB33;
  --dark: #1A1A1A;
  --text: #333333;
  --text-light: #666666;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #111111;
  --border: #E9ECEF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --container: 1200px;
  --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utility */
.highlight {
  color: var(--primary);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}
.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 161, 0, 0.4);
}

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

.btn--card {
  background-color: var(--primary);
  color: var(--dark);
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}
.btn--card:hover {
  background-color: var(--dark);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--full {
  width: 100%;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__badge {
  display: inline-block;
  background-color: rgba(244, 161, 0, 0.1);
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header__desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ====================
   HEADER
   ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
  background-color: transparent;
  backdrop-filter: blur(0px);
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  height: 70px;
}

.header--scrolled .nav__link {
  color: var(--dark);
}

.header--scrolled .header__phone {
  color: var(--dark);
  border-color: var(--border);
}

.header--scrolled .logo__text {
  color: var(--dark);
}

.header--scrolled .nav__toggle-bar {
  background-color: var(--dark);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo__img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.logo__fallback {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__text {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.logo__highlight {
  color: var(--primary);
}

/* Nav */
.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--primary);
}

/* Header Phone */
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.header__phone:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle-bar {
  width: 28px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 992px) {
  .nav__toggle {
    display: flex;
  }

  .header__phone {
    display: none; /* Hide phone on mobile, moved inside nav */
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    padding: 100px 40px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .nav--open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 8px;
  }

  .nav__link {
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
  }

  .nav__link:hover {
    background-color: rgba(244, 161, 0, 0.05);
    color: var(--primary);
  }

  .nav__link::after {
    display: none;
  }

  /* Mobile phone inside nav */
  .nav__mobile-phone {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    padding: 16px 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
  }
  
  .nav__mobile-phone:hover {
    background-color: var(--primary);
    color: #fff;
  }
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&h=900&fit=crop&auto=format') center/cover no-repeat;
  background-color: var(--dark);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background-color: rgba(244, 161, 0, 0.2);
  color: var(--primary-light);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(244, 161, 0, 0.3);
}

.hero__title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__highlight {
  color: var(--primary);
  position: relative;
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle strong {
  color: var(--primary-light);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ====================
   TECHNICS SECTION
   ==================== */
.technics {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.technics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Tech Card */
.tech-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tech-card__image-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.tech-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tech-card:hover .tech-card__img {
  transform: scale(1.08);
}

.tech-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  z-index: 1;
}

.tech-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tech-card__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.tech-card__desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tech-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-card__specs li {
  background-color: var(--bg-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.tech-card__specs li strong {
  font-weight: 700;
  color: var(--dark);
}

@media (max-width: 768px) {
  .technics__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tech-card__image-wrap {
    height: 200px;
  }
}

/* ====================
   ABOUT SECTION
   ==================== */
.about {
  padding: 100px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about__experience-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--primary);
  color: var(--dark);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__exp-number {
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.about__exp-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about__title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about__text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
}

@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about__experience-badge {
    bottom: -16px;
    right: 16px;
    padding: 14px 20px;
  }
  
  .about__features {
    grid-template-columns: 1fr;
  }
}

/* ====================
   CONTACT SECTION
   ==================== */
.contact {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

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

.contact__info-card {
  display: flex;
  gap: 18px;
  background-color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact__info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact__icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background-color: rgba(244, 161, 0, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact__info-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact__info-link {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 500;
}

.contact__info-link:hover {
  color: var(--primary);
}

/* Contact Form */
.contact__form {
  background-color: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact__form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background-color: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(244, 161, 0, 0.1);
}

.form-input::placeholder {
  color: #aaa;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: none;
  font-size: 13px;
  color: #e74c3c;
  margin-top: 6px;
  font-weight: 500;
}

.form-group--error .form-input {
  border-color: #e74c3c;
}

.form-group--error .form-error {
  display: block;
}

.form-success {
  text-align: center;
  margin-top: 16px;
  padding: 14px;
  background-color: #e8f5e9;
  border-radius: var(--radius-sm);
  color: #2e7d32;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact__form {
    padding: 24px;
  }
}

/* ====================
   FOOTER
   ==================== */
.footer {
  background-color: var(--bg-dark);
  color: #ccc;
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__desc {
  font-size: 15px;
  line-height: 1.7;
  color: #aaa;
  margin-top: 4px;
}

.footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: #aaa;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer__contact p {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer__contact strong {
  color: #eee;
}

.footer__contact a {
  color: var(--primary-light);
}

.footer__contact a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__links ul {
    align-items: center;
  }
}

/* ====================
   BACK TO TOP
   ==================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--dark);
  color: var(--primary);
  transform: translateY(-4px);
}

/* ====================
   MOBILE NAV OVERLAY
   ==================== */
.nav__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav__overlay--visible {
  opacity: 1;
  visibility: visible;
}