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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: #000;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #000;
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: #000;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .navbar-container {
    padding: 0 40px;
  }
  
  .nav-menu {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 24px;
    height: 70px;
    max-width: 100%;
    overflow: hidden;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    gap: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hamburger {
    display: flex;
  }
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.hero-brand {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 700px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  display: inline-block;
  padding: 16px 32px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-cta:hover {
  background: #f5f5f5;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }
  
  .hero-content {
    padding: 0 24px;
  }
  
  .hero-brand {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
}

section {
  padding: 120px 60px;
}

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

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  section {
    padding: 80px 24px;
  }
}

.animate-left,
.animate-right,
.animate-up,
.animate-scale {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left {
  transform: translateX(-60px);
}

.animate-right {
  transform: translateX(60px);
}

.animate-up {
  transform: translateY(60px);
}

.animate-scale {
  transform: scale(0.9);
}

.animate-left.active,
.animate-right.active,
.animate-up.active,
.animate-scale.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.values {
  background: #fafafa;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.values-content {
  max-width: 480px;
}

.values-text {
  font-size: 17px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 40px;
}

.values-list {
  list-style: none;
}

.values-list li {
  font-size: 16px;
  color: #333;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 16px;
}

.values-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
}

.values-image {
  height: 500px;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800');
  background-size: cover;
  background-position: center;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .values-image {
    height: 400px;
    order: -1;
  }
}

.why-us {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.why-item {
  padding: 48px;
  background: #fafafa;
  transition: all 0.4s ease;
}

.why-item:hover {
  background: #f5f5f5;
  transform: translateY(-5px);
}

.why-number {
  font-size: 36px;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .why-item {
    padding: 32px;
  }
}

.stats {
  background: #000;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #333;
  margin-top: 60px;
}

.stat-item {
  background: #000;
  padding: 60px 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: #111;
}

.stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item {
    padding: 40px 24px;
  }
}

.services {
  background: #fafafa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #eee;
  margin-top: 60px;
}

.service-item {
  background: #fff;
  padding: 60px 40px;
  transition: all 0.4s ease;
}

.service-item:hover {
  background: #f5f5f5;
  transform: translateY(-5px);
}

.service-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.service-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item {
    padding: 40px 24px;
  }
}

.process {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 60px;
}

.process-item {
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.process-item:hover {
  transform: translateY(-5px);
}

.process-step {
  font-size: 32px;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 16px;
}

.process-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.process-arrow {
  font-size: 24px;
  color: #ccc;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .process-arrow {
    display: none;
  }
  
  .process-item {
    background: #fafafa;
    padding: 32px;
  }
}

.cases {
  background: #fafafa;
}

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

.case-item {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.case-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.case-item:hover .case-image {
  transform: scale(1.08);
}

.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

.case-item:hover .case-info {
  transform: translateY(0);
  opacity: 1;
}

.case-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-category {
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .case-item {
    height: 300px;
  }
}

.testimonials {
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.testimonial-item {
  padding: 48px;
  background: #fafafa;
  transition: all 0.4s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info strong {
  display: block;
  font-size: 15px;
  color: #000;
}

.author-info span {
  font-size: 13px;
  color: #888;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.news {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.news-item {
  padding: 32px;
  background: #fafafa;
  transition: all 0.4s ease;
  cursor: pointer;
}

.news-item:hover {
  background: #f5f5f5;
  transform: translateY(-5px);
}

.news-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.news-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

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

.contact {
  background: #fafafa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #000;
}

.contact-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  font-size: 15px;
  color: #333;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-list li strong {
  font-weight: 600;
  color: #000;
  min-width: 80px;
}

.contact-form {
  background: #fff;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
}

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

.form-btn {
  width: 100%;
  padding: 16px 32px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 24px;
  }
}

footer {
  background: #000;
  color: #fff;
  padding: 80px 60px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #333;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 60px 24px 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #333;
  transform: translateY(-3px);
}

.back-to-top.inverted {
  background: #fff;
  color: #000;
}

.back-to-top.inverted:hover {
  background: #f0f0f0;
}
