@tailwind base;
@tailwind components;
@tailwind utilities;

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-surface { background: #f8faf6; }
.bg-surface-alt { background: #f0f4ed; }

.top-bar {
  background: #1a2e0a;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.top-bar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { opacity: 0.8; }
.top-bar-social { display: flex; gap: 14px; }
.top-bar-social a {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.1); transition: background 0.2s;
}
.top-bar-social a:hover { background: rgba(255,255,255,0.2); }

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.3s ease; background: transparent;
}
.navbar.scrolled {
  background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 10px 0;
}
.navbar.scrolled .nav-links a, .navbar.scrolled .dropdown-toggle { color: #1a1a1a; }
.navbar.scrolled .logo-text strong, .navbar.scrolled .logo-text span { color: #1a1a1a; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 42px; height: 42px; background: #4a7c29; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 18px; font-weight: 700; color: #fff; transition: color 0.3s; }
.logo-text span { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; transition: color 0.3s; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .dropdown-toggle {
  color: #fff; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 6px;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.nav-links > a:hover, .dropdown-toggle:hover { background: rgba(255,255,255,0.12); }
.nav-links > a.active { background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-links > a:hover, .navbar.scrolled .dropdown-toggle:hover { background: rgba(74,124,41,0.1); color: #4a7c29; }
.navbar.scrolled .nav-links > a.active { background: rgba(74,124,41,0.12); color: #4a7c29; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff;
  border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s ease; z-index: 1001;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu.dropdown-right { left: auto; right: 0; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 14px; color: #333; transition: all 0.15s; }
.dropdown-menu a:hover { background: #f0f4ed; color: #4a7c29; }
.dropdown-menu a i { font-size: 18px; color: #4a7c29; flex-shrink: 0; }
.dropdown-header { font-weight: 600; color: #4a7c29; border-bottom: 1px solid #eee; margin-bottom: 4px; padding-bottom: 10px; }
.mobile-menu-btn { display: none; color: #fff; font-size: 24px; padding: 6px; }
.navbar.scrolled .mobile-menu-btn { color: #1a1a1a; }
.mobile-menu {
  display: none; position: fixed; top: 0; right: 0; width: 300px; max-width: 85vw; height: 100vh;
  background: #fff; z-index: 1002; padding: 80px 24px 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a, .mobile-toggle { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: #333; border-bottom: 1px solid #f0f0f0; }
.mobile-menu a.active { color: #4a7c29; font-weight: 600; }
.mobile-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mobile-submenu { display: none; padding-left: 16px; }
.mobile-submenu.open { display: block; }
.mobile-submenu a { font-size: 14px; padding: 10px 0; color: #666; }
.mobile-submenu .sub-header { font-weight: 600; color: #4a7c29; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1001; }
.mobile-overlay.open { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: all 0.2s; cursor: pointer;
}
.btn-accent { background: #d97706; color: #fff; }
.btn-accent:hover { background: #b45309; transform: translateY(-1px); }
.btn-primary { background: #4a7c29; color: #fff; }
.btn-primary:hover { background: #3a6b1f; transform: translateY(-1px); }
.btn-white { background: #fff; color: #1a1a1a; border: 1px solid #e5e5e5; }
.btn-white:hover { background: #f8f8f8; }
.btn-green { background: #25d366; color: #fff; }
.btn-green:hover { background: #128c7e; }
.btn-outline { background: transparent; color: #4a7c29; border: 2px solid #4a7c29; }
.btn-outline:hover { background: #4a7c29; color: #fff; }
.nav-cta { padding: 10px 20px; font-size: 13px; margin-left: 4px; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,46,10,0.75), rgba(26,46,10,0.55)); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 60px 0; }
.hero-title { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 22px; font-weight: 500; margin-bottom: 12px; opacity: 0.95; }
.hero-desc { font-size: 16px; max-width: 640px; margin: 0 auto 32px; opacity: 0.85; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 36px; font-weight: 800; color: #fbbf24; line-height: 1; }
.hero-stat-label { font-size: 13px; opacity: 0.85; margin-top: 6px; }

.page-hero { position: relative; min-height: 400px; display: flex; align-items: center; padding-top: 100px; background: #1a2e0a; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.35; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,46,10,0.9), rgba(26,46,10,0.7)); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; color: #fff; text-align: center; width: 100%; }
.page-hero-content h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-hero-content p { font-size: 16px; opacity: 0.85; max-width: 560px; margin: 0 auto; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.tag { display: inline-block; background: rgba(74,124,41,0.1); color: #4a7c29; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 100px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-accent { background: rgba(217,119,6,0.1); color: #d97706; }
.section-title { font-size: 32px; font-weight: 700; color: #1a2e0a; margin-bottom: 12px; line-height: 1.25; }
.section-desc { font-size: 15px; color: #555; line-height: 1.7; }

.card-grid { display: grid; gap: 24px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: 16px; padding: 32px 24px; text-align: center; transition: all 0.3s ease; border: 1px solid #f0f0f0; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: transparent; }
.card-icon { width: 56px; height: 56px; background: rgba(74,124,41,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; color: #4a7c29; }
.card-title { font-size: 18px; font-weight: 700; color: #1a2e0a; margin-bottom: 10px; }
.card-text { font-size: 14px; color: #666; line-height: 1.7; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-grid { display: grid; gap: 20px; }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { width: 44px; height: 44px; background: rgba(74,124,41,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #4a7c29; flex-shrink: 0; }
.feature-title { font-size: 15px; font-weight: 700; color: #1a2e0a; margin-bottom: 4px; }
.feature-desc { font-size: 13px; color: #777; line-height: 1.6; }
.img-rounded { border-radius: 20px; overflow: hidden; }
.img-rounded img { width: 100%; height: 100%; object-fit: cover; }
.badge-float { position: absolute; bottom: -20px; right: -10px; background: #d97706; color: #fff; padding: 16px 24px; border-radius: 14px; text-align: center; box-shadow: 0 10px 30px rgba(217,119,6,0.3); }
.badge-float strong { display: block; font-size: 28px; font-weight: 800; line-height: 1; }
.badge-float span { font-size: 12px; opacity: 0.9; }
.relative { position: relative; }

.table-wrap { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table thead { background: #1a2e0a; color: #fff; }
.table th { padding: 16px 20px; text-align: left; font-weight: 600; white-space: nowrap; }
.table td { padding: 16px 20px; border-bottom: 1px solid #f0f0f0; font-weight: 600; color: #4a7c29; }
.table tr:last-child td { border-bottom: none; }
.table-route { font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
.table-distance { font-size: 12px; color: #888; font-weight: 400; }
.table-note { padding: 16px 20px; font-size: 13px; color: #888; background: #f8f8f8; border-top: 1px solid #eee; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; border: 1px solid #f0f0f0; }
.faq-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-size: 15px; font-weight: 600; color: #1a2e0a; text-align: left; }
.faq-toggle i { font-size: 20px; color: #4a7c29; transition: transform 0.3s; }
.faq-toggle.open i { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-body.open { max-height: 500px; }
.faq-answer { padding: 0 22px 18px; font-size: 14px; color: #666; line-height: 1.7; }

.info-card { background: #fff; border-radius: 14px; padding: 22px; display: flex; align-items: flex-start; gap: 14px; transition: all 0.3s; border: 1px solid #f0f0f0; }
.info-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }
.info-card-icon { width: 44px; height: 44px; background: rgba(74,124,41,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #4a7c29; flex-shrink: 0; }
.info-card-title { font-size: 15px; font-weight: 700; color: #1a2e0a; margin-bottom: 4px; }
.info-card-text { font-size: 14px; color: #555; }
.info-card-text a { color: #4a7c29; font-weight: 500; }
.info-card-text a:hover { text-decoration: underline; }
.space-y-4 > * + * { margin-top: 16px; }

.map-wrap { border-radius: 16px; overflow: hidden; height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.btn-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.footer { background: #1a2e0a; color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; }
.footer .logo-text strong, .footer .logo-text span { color: #fff; }
.footer p { margin-top: 14px; line-height: 1.7; }
.footer-heading { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; font-size: 14px; }
.footer-links a:hover { color: #fbbf24; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact i { font-size: 18px; color: #4a7c29; flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact a:hover { color: #fbbf24; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; transition: background 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

.floating-actions { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-phone, .float-whatsapp { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform 0.2s; }
.float-phone { background: #4a7c29; }
.float-whatsapp { background: #25d366; }
.float-phone:hover, .float-whatsapp:hover { transform: scale(1.08); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 10px;
  font-size: 14px; color: #333; background: #fff; transition: all 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: #4a7c29; box-shadow: 0 0 0 3px rgba(74,124,41,0.1); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.form-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #444; cursor: pointer; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 8px; transition: all 0.2s; background: #fff; }
.form-checkbox:hover { border-color: #4a7c29; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: #4a7c29; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .form-group { margin-bottom: 0; }
.form-grid .form-group.full-width { grid-column: 1 / -1; }

.pricing-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.price-result-box { background: linear-gradient(135deg, #1a2e0a, #2d5016); border-radius: 16px; padding: 28px; color: #fff; text-align: center; margin-bottom: 20px; }
.price-result-amount { font-size: 36px; font-weight: 800; color: #fbbf24; line-height: 1; margin-bottom: 8px; }
.price-result-label { font-size: 13px; opacity: 0.8; }
.price-info-card { background: #fff; border-radius: 14px; padding: 20px; display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; border: 1px solid #f0f0f0; }
.price-info-icon { width: 44px; height: 44px; background: rgba(74,124,41,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #4a7c29; flex-shrink: 0; }
.price-info-title { font-size: 15px; font-weight: 700; color: #1a2e0a; margin-bottom: 4px; }
.price-info-text { font-size: 13px; color: #666; line-height: 1.6; }
.price-info-text a { color: #4a7c29; font-weight: 600; }
.form-card { background: #fff; border-radius: 16px; padding: 32px; border: 1px solid #f0f0f0; }
.form-card h3 { font-size: 20px; font-weight: 700; color: #1a2e0a; margin-bottom: 24px; }

@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .pricing-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .navbar { padding: 12px 0; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { display: block; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 28px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .card-grid-4, .card-grid-3, .card-grid-2, .feature-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { min-height: 300px; }
  .page-hero-content h1 { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .badge-float { right: 10px; bottom: -10px; padding: 12px 18px; }
  .badge-float strong { font-size: 22px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .table { font-size: 12px; }
  .table th, .table td { padding: 12px 10px; }
}