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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-dark: #1a1a1a;
  --gray-medium: #666666;
  --gray-light: #f5f5f5;
  --green: #25d366;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-img {
  height: 66px;
  width: auto;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1));
}

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

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin-bottom: 48px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--black);
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: bounce 2s infinite;
}

/* Services Section */
.services {
  padding: 128px 0;
  background: var(--white);
}

.section-header {
  max-width: 900px;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-description {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 48px;
}

.service-card {
  padding: 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: var(--black);
}

.service-content {
  display: flex;
  gap: 24px;
}

.service-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--black);
  color: var(--white);
}

.service-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.service-description {
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 128px 0;
  background: var(--black);
  color: var(--white);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 33.333%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.about::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33.333%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 96px;
  align-items: center;
}

.about-content {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s ease;
}

.about-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s ease 0.3s;
}

.about-features.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--white);
  color: var(--black);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.feature-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Team Section */
.team {
  padding: 128px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(40px);
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover {
  border-color: var(--black);
}

.team-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.7s ease;
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-info {
  padding: 32px;
  background: var(--white);
}

.team-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.team-role {
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 128px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--black);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: var(--black);
  color: var(--white);
}

.contact-label {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 600;
}

.emergency-box {
  margin-top: 32px;
  padding: 32px;
  background: var(--black);
  color: var(--white);
}

.emergency-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.emergency-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.6;
}

.emergency-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.emergency-phone:hover {
  text-decoration: underline;
}

.map-container {
  width: 100%;
  min-height: 600px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-text {
  color: rgba(0, 0, 0, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--black);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: all 0.5s ease;
}

.whatsapp-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
  }
}
