:root {
  --primary: #0a1628;
  --secondary: #1e3a5f;
  --accent: #00d4aa;
  --accent-hover: #00b894;
  --gold: #f0b429;
  --text: #e8edf5;
  --text-muted: #94a3b8;
  --card-bg: rgba(30, 58, 95, 0.6);
  --glass: rgba(255, 255, 255, 0.05);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0, 212, 170, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(30, 58, 95, 0.8), transparent);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
  transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.nav { display: flex; gap: 8px; align-items: center; }

.nav a {
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover, .nav a.active {
  color: var(--accent);
  background: var(--glass);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.2s both;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(0, 212, 170, 0.2);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--accent), transparent);
  border-radius: calc(var(--radius) + 20px);
  opacity: 0.2;
  z-index: -1;
  animation: glow 4s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent);
}

.stat-item span { font-size: 0.85rem; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #00a88a);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.5);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(0, 212, 170, 0.5);
  color: var(--accent);
}

.btn-outline:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  color: white;
}

/* Sections */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: var(--shadow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 170, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); margin-bottom: 20px; }

.service-card .read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content h2 { font-size: 2rem; margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  background: rgba(0, 212, 170, 0.15);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Neighborhoods */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.neighborhood-link {
  display: block;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
}

.neighborhood-link:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(30, 58, 95, 0.3));
}

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

.contact-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
}

.contact-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-card h3 { margin-bottom: 8px; }
.contact-card a { font-size: 1.2rem; font-weight: 600; }

/* Footer */
.footer {
  background: rgba(5, 12, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px;
}

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

.footer h4 { margin-bottom: 16px; color: var(--accent); }
.footer p, .footer a { color: var(--text-muted); font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: waPulse 2s infinite;
  text-decoration: none;
}

.wa-btn:hover {
  background: #20bd5a;
  transform: scale(1.05);
  color: white;
}

.wa-btn .wa-icon { font-size: 1.5rem; }

.wa-btn-secondary {
  background: rgba(37, 211, 102, 0.9);
  animation: waPulse 2s infinite 0.5s;
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* Page Hero (inner pages) */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.4), transparent);
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Content */
.content-section { padding: 60px 0 100px; }

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.content-main h2 { font-size: 1.6rem; margin: 32px 0 16px; color: var(--accent); }
.content-main h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.content-main p { color: var(--text-muted); margin-bottom: 16px; }
.content-main ul { color: var(--text-muted); margin: 16px 0 16px 24px; }
.content-main li { margin-bottom: 8px; }

.content-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-card h3 { margin-bottom: 16px; font-size: 1.1rem; }

.cta-box {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(30, 58, 95, 0.8));
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.cta-box h3 { margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes glow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.35; }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-grid, .about-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 212, 170, 0.1);
  }

  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .wa-btn span.label { display: none; }
}
