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

:root {
  --primary: #ffb703;
  --primary-hover: #fb8500;
  --secondary: #023047;
  --bg-color: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* --- Header --- */
header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.logo {
  font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--secondary); letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links > a, .dropdown-trigger {
  font-weight: 500; font-size: 1rem; transition: var(--transition); cursor: pointer;
}
.nav-links > a:hover, .dropdown-trigger:hover { color: var(--primary); }

/* --- Dropdown Menu --- */
.nav-dropdown { position: relative; }
.dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-arrow { font-size: 0.7rem; transition: transform 0.3s ease; }

.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 600px; padding: 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(10px);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}

.dropdown-grid a {
  padding: 10px 14px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500; color: var(--text-dark);
  transition: var(--transition); white-space: nowrap;
}
.dropdown-grid a:hover {
  background: var(--primary); color: var(--secondary); transform: translateX(3px);
}

.mobile-menu-btn {
  display: none; font-size: 1.5rem; background: none; border: none;
  cursor: pointer; color: var(--secondary);
}

/* --- Hero Section --- */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden;
  margin-top: 0; padding-top: 80px;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('hero_bg.webp');
  background-size: cover; background-position: center; z-index: -2;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(2, 48, 71, 0.8), rgba(2, 48, 71, 0.4));
  z-index: -1;
}
.hero-content {
  max-width: 800px; padding: 0 20px; animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: 3.5rem; margin-bottom: 15px; text-transform: uppercase;
  letter-spacing: 1px; text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 1.2rem; margin-bottom: 30px; font-weight: 300;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* --- Buttons --- */
.btn-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-full); transition: var(--transition);
  cursor: pointer; border: none;
}
.btn-primary { background-color: var(--primary); color: var(--secondary); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background-color: #25D366; color: white; }
.btn-whatsapp:hover { background-color: #1ebe57; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-phone { background-color: var(--secondary); color: white; }
.btn-phone:hover { background-color: #034466; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- About Section --- */
.section-padding { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img-wrapper {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.about-img-wrapper:hover img { transform: scale(1.03); }

.section-title {
  font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 60px; height: 4px; background-color: var(--primary); border-radius: 2px;
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.about-text p { color: var(--text-light); margin-bottom: 15px; font-size: 1.05rem; }

/* --- Services Section --- */
.services { background-color: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px; margin-top: 40px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-img { height: 200px; width: 100%; object-fit: cover; }
.service-content {
  padding: 25px; flex-grow: 1; display: flex; flex-direction: column;
}
.service-content h3 { font-size: 1.25rem; color: var(--secondary); margin-bottom: 10px; }
.service-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.service-link {
  color: var(--primary-hover); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
  transition: var(--transition); margin-top: auto;
}
.service-link:hover { gap: 10px; }

/* --- Service Areas --- */
.areas-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px; margin-top: 40px;
}
.area-box {
  background: var(--white); padding: 15px; text-align: center;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  font-weight: 500; color: var(--secondary);
  border: 1px solid rgba(0,0,0,0.05); transition: var(--transition);
}
.area-box:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* --- Testimonials --- */
.testimonials { background-color: #fff; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 40px;
}
.review-card {
  background: var(--bg-color); padding: 25px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); display: none;
}
.review-card.visible { display: block; animation: fadeIn 0.5s ease; }
.review-stars { color: #FFD700; margin-bottom: 10px; font-size: 1.2rem; }
.review-text { font-style: italic; color: var(--text-light); margin-bottom: 15px; font-size: 0.95rem; }
.review-author { font-weight: 600; color: var(--secondary); }
.show-more-btn { margin: 40px auto 0; display: block; }

/* --- Contact & Form --- */
.contact-section { background: var(--secondary); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info .section-title { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 30px; }
.contact-form {
  background: var(--white); padding: 30px; border-radius: var(--radius-lg); color: var(--text-dark);
}
.form-group { margin-bottom: 20px; }
.form-control {
  width: 100%; padding: 12px 15px; border: 1px solid #ced4da;
  border-radius: var(--radius-md); font-family: inherit; font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-light); }
.checkbox-group input { margin-top: 4px; }
.checkbox-group a { color: var(--primary-hover); text-decoration: underline; }

/* --- Footer --- */
footer { background-color: #011d2a; color: rgba(255,255,255,0.7); padding: 40px 0 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px;
  margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px;
}
.footer-logo {
  color: var(--white); font-family: 'Outfit', sans-serif; font-size: 1.5rem;
  font-weight: 800; margin-bottom: 15px; display: block;
}
.footer-title { color: var(--white); font-family: 'Outfit', sans-serif; font-size: 1.2rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; font-size: 0.9rem; }

/* --- Sticky Buttons --- */
.sticky-container { position: fixed; z-index: 9999; display: flex; transition: var(--transition); }

@media (min-width: 769px) {
  .sticky-container { bottom: 30px; right: 30px; flex-direction: column; gap: 15px; }
  .sticky-btn {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.8rem; box-shadow: var(--shadow-lg);
    transition: var(--transition); position: relative;
  }
  .sticky-btn:hover { transform: scale(1.1); }
  .sticky-btn .tooltip {
    position: absolute; right: 70px; background: rgba(0,0,0,0.8);
    color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.9rem;
    opacity: 0; visibility: hidden; transition: var(--transition); white-space: nowrap;
  }
  .sticky-btn:hover .tooltip { opacity: 1; visibility: visible; }
  .sticky-phone { background-color: var(--primary-hover); }
  .sticky-whatsapp { background-color: #25D366; }
  .sticky-btn::before {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; z-index: -1; animation: pulse 2s infinite;
  }
  .sticky-phone::before { background-color: rgba(251, 133, 0, 0.4); }
  .sticky-whatsapp::before { background-color: rgba(37, 211, 102, 0.4); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --- Detailed Service Page Styles --- */
.page-header {
  padding: 140px 0 60px; background: var(--secondary); color: var(--white); text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 15px; }
.page-header p { color: rgba(255,255,255,0.8); }

.content-section { padding: 60px 0; background: var(--white); }
.prose { max-width: 900px; margin: 0 auto; }
.prose h2 { font-size: 1.8rem; color: var(--secondary); margin-top: 30px; margin-bottom: 15px; }
.prose h3 { font-size: 1.3rem; color: var(--secondary); margin-top: 20px; margin-bottom: 10px; }
.prose p { margin-bottom: 15px; color: var(--text-dark); line-height: 1.8; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; }
.prose li { margin-bottom: 10px; }

.service-hero-img {
  width: 100%; max-height: 450px; object-fit: cover;
  border-radius: var(--radius-lg); margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
}

/* Process Steps */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px; margin: 30px 0;
}
.process-step {
  background: var(--bg-color); padding: 30px 20px; border-radius: var(--radius-md);
  text-align: center; border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-number {
  width: 50px; height: 50px; background: var(--primary); color: var(--secondary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 15px;
}
.process-step h4 { color: var(--secondary); margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

/* Advantages Grid */
.advantages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin: 25px 0;
}
.advantage-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px; background: var(--bg-color); border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05); transition: var(--transition);
}
.advantage-item:hover { box-shadow: var(--shadow-sm); transform: translateX(3px); }
.advantage-icon { font-size: 1.5rem; flex-shrink: 0; }
.advantage-item strong { display: block; color: var(--secondary); margin-bottom: 4px; }
.advantage-item span { font-size: 0.9rem; color: var(--text-light); }

/* FAQ Section */
.faq-section { background: var(--bg-color); }
.faq-list { max-width: 800px; margin: 30px auto 0; }
.faq-item {
  background: var(--white); border-radius: var(--radius-md); margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.06); overflow: hidden;
}
.faq-question {
  padding: 18px 20px; font-weight: 600; color: var(--secondary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: rgba(255,183,3,0.05); }
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 700; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 20px; color: var(--text-light); line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 20px 18px; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary), #034466);
  color: var(--white); text-align: center;
}
.cta-section .section-title { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 25px; font-size: 1.1rem; }

/* Service Areas in Subpage */
.service-areas-compact {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; justify-content: center;
}
.service-areas-compact span {
  background: var(--bg-color); padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.85rem; color: var(--secondary); font-weight: 500;
  border: 1px solid rgba(0,0,0,0.06);
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .header-inner { height: 70px; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; width: 100%;
    background: var(--white); flex-direction: column; padding: 20px;
    text-align: center; box-shadow: var(--shadow-md); max-height: 80vh; overflow-y: auto;
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  /* Mobile Dropdown */
  .nav-dropdown { width: 100%; }
  .dropdown-trigger { width: 100%; justify-content: center; padding: 10px 0; }
  .dropdown-menu {
    position: static; transform: none; min-width: 100%;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0; background: var(--bg-color);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0; visibility: hidden;
  }
  .nav-dropdown.active .dropdown-menu {
    max-height: 500px; opacity: 1; visibility: visible;
    padding: 10px; overflow-y: auto;
  }
  .nav-dropdown:hover .dropdown-menu { opacity: 0; visibility: hidden; }
  .nav-dropdown:hover .dropdown-arrow { transform: none; }
  .nav-dropdown.active .dropdown-arrow { transform: rotate(180deg); }
  .dropdown-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .dropdown-grid a { font-size: 0.85rem; padding: 8px 10px; text-align: center; }

  /* Mobile Sticky */
  .sticky-container {
    bottom: 0; left: 0; width: 100%; flex-direction: row; gap: 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  }
  .sticky-btn {
    flex: 1; height: 60px; display: flex; align-items: center; justify-content: center;
    gap: 10px; color: white; font-weight: 600; font-size: 1.1rem; border-radius: 0;
  }
  .sticky-btn i { font-size: 1.4rem; }
  .sticky-btn .tooltip { display: none; }
  .sticky-phone { background-color: var(--primary-hover); }
  .sticky-whatsapp { background-color: #25D366; }
  body { padding-bottom: 60px; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
}
