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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  background: #f8f9fa;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: #1565c0;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.05rem;
  line-height: 1.2;
}

.logo-highlight {
  color: #1565c0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Navigation */
.nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav.open {
  max-height: 500px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.nav-list > li > a.nav-link {
  display: block;
  padding: 12px 20px;
  font-weight: 500;
  color: #333;
  transition: color 0.3s, background 0.3s;
}

.nav-list > li > a.nav-link:hover,
.nav-list > li > a.nav-link.active {
  color: #1565c0;
  background: #f0f4ff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  background: #f8f9fa;
  border-left: 3px solid #1565c0;
  margin: 0 20px 10px 20px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: #444;
  transition: color 0.3s, background 0.3s;
}

.dropdown-menu li a:hover {
  color: #1565c0;
  background: #e8eef6;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

/* Desktop Nav */
@media (min-width: 900px) {
  .hamburger {
    display: none;
  }

  .nav {
    position: static;
    max-height: none !important;
    overflow: visible;
    box-shadow: none;
    background: none;
  }

  .nav-list {
    flex-direction: row;
    padding: 0;
    align-items: center;
    gap: 4px;
  }

  .nav-list > li > a.nav-link {
    padding: 8px 16px;
    border-radius: 6px;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #1565c0;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    margin: 0;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 130px 0 60px;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 550px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: #ffffff;
  color: #1565c0;
  border-color: #ffffff;
}

.btn-primary:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: #1565c0;
  border-color: #1565c0;
}

.btn-outline:hover {
  background: #1565c0;
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===== TRUST ===== */
.trust {
  padding: 60px 0;
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.trust-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: transform 0.3s, box-shadow 0.3s;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(21,101,192,0.1);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #1565c0;
}

.trust-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.trust-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.75rem;
  color: #1a1a2e;
  margin-bottom: 10px;
}

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

/* ===== SERVICES ===== */
.services {
  padding: 60px 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: #e3f2fd;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.service-card ul {
  text-align: left;
  margin-bottom: 16px;
  padding-left: 4px;
}

.service-card ul li {
  padding: 5px 0;
  font-size: 0.85rem;
  color: #555;
  position: relative;
  padding-left: 18px;
}

.service-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #1565c0;
  font-weight: 700;
}

/* ===== ERROR CODES ===== */
.error-codes {
  padding: 60px 0;
  background: #ffffff;
}

.error-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.error-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border: 1px solid #e8eef6;
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.error-card:hover {
  border-color: #1565c0;
  box-shadow: 0 4px 16px rgba(21,101,192,0.08);
}

.error-code {
  display: inline-block;
  background: #e3f2fd;
  color: #1565c0;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 4px 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-family: monospace;
}

.error-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1a1a2e;
}

.error-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.error-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: #fff8e1;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
  font-size: 0.9rem;
  color: #555;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 60px 0;
  background: #f8f9fa;
}

.testimonial-slider {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  text-align: center;
  padding: 32px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.testimonial-stars {
  color: #ffc107;
  font-size: 1.3rem;
  margin-bottom: 14px;
  letter-spacing: 4px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-author {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.testimonial-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #1565c0;
}

/* ===== COVERAGE ===== */
.coverage {
  padding: 60px 0;
  background: #ffffff;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.coverage-card {
  padding: 20px 16px;
  border: 1px solid #e8eef6;
  border-radius: 10px;
  transition: border-color 0.3s;
}

.coverage-card:hover {
  border-color: #1565c0;
}

.coverage-card h3 {
  font-size: 1rem;
  color: #1565c0;
  margin-bottom: 10px;
}

.coverage-card ul li {
  font-size: 0.85rem;
  color: #555;
  padding: 3px 0;
}

/* ===== CONTACT ===== */
.contact {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-info > p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.contact-detail span:first-child {
  font-size: 1.2rem;
}

.contact-hours {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-hours h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-hours p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.disclaimer {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  border-left: 3px solid rgba(255,255,255,0.3);
}

.disclaimer p {
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* Form */
.contact-form {
  background: #ffffff;
  padding: 28px 20px;
  border-radius: 12px;
  color: #1a1a2e;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1565c0;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-col ul li {
  font-size: 0.85rem;
  padding: 5px 0;
}

.footer-col ul li a {
  color: #aaa;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* ===== FLOATING WHATSAPP ===== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.floating-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.floating-wa-icon {
  font-size: 1.3rem;
}

@media (max-width: 480px) {
  .floating-wa {
    padding: 14px 18px;
    bottom: 16px;
    right: 16px;
    font-size: 0.85rem;
  }
}

/* ===== RESPONSIVE TABLET ===== */
@media (min-width: 600px) {
  .hero h1 { font-size: 2.5rem; }

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

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

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

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

/* ===== RESPONSIVE DESKTOP ===== */
@media (min-width: 900px) {
  .hero {
    padding: 160px 0 80px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

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

  .coverage-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

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