/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f9f7f4;
}

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

ul {
  list-style: none;
}

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

/* ==================== UTILITIES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #b32006;
  color: white;
  border-color: #b32006;
}

.btn-primary:hover {
  background-color: #b32006;
  border-color: #b32006;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background-color: white;
  color: #1a1a1a;
}

.btn-full {
  width: 100%;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: #444;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #b32006;
}

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

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

.header-contact {
  display: none;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #444;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #b32006;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: #b32006;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  color: #1a1a1a;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: #444;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #b32006;
}

.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #666;
}

.mobile-contact-item svg {
  width: 20px;
  height: 20px;
  color: #b32006;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
}

.hero-text {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background-color: #b32006;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 500px;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

/* ==================== SECTIONS COMMON ==================== */
.section-badge {
  display: inline-block;
  background-color: rgba(201, 74, 53, 0.1);
  color: #b32006;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-description {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== SERVICES ==================== */
.services {
  padding: 5rem 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: #f9f7f4;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #b32006;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #b32006, #b32006);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #b32006;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 0.75rem;
}

.service-link svg {
  width: 18px;
  height: 18px;
}

/* ==================== ABOUT ==================== */
.about {
  padding: 5rem 0;
  background-color: #f9f7f4;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: linear-gradient(135deg, #b32006, #b32006);
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(201, 74, 53, 0.3);
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  opacity: 0.9;
}

.about-content {
  padding-top: 2rem;
}

.about-text {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: #b32006;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature span {
  font-weight: 500;
  color: #444;
}

.about-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #b32006;
}

.about-stat-label {
  font-size: 0.875rem;
  color: #666;
}

/* ==================== CONTACT ==================== */
.contact {
  padding: 5rem 0;
  background-color: #1a1a1a;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  color: white;
}

.contact-info .section-badge {
  background-color: rgba(201, 74, 53, 0.2);
}

.contact-info .section-title {
  color: white;
}

.contact-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(201, 74, 53, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
  color: #b32006;
}

.contact-detail h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background-color: #f9f7f4;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b32006;
  box-shadow: 0 0 0 3px rgba(201, 74, 53, 0.1);
}

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

/* ==================== FOOTER ==================== */
.footer {
  background-color: #111;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section {
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo .logo-icon svg {
  width: 22px;
  height: 22px;
}

.footer-logo .logo-name {
  color: white;
  font-size: 1.25rem;
}

.footer-logo .logo-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #b32006;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: #b32006;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem;
  }

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

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

  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .header-contact {
    display: flex;
  }

  .hero-title {
    font-size: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
