:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #475569;
  --primary: #1e293b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.1rem;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-whatsapp-inline {
  width: 100%;
  margin-top: 16px;
  background: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp-inline:hover {
  background: var(--whatsapp-hover);
}

.btn-whatsapp-large {
  background: var(--whatsapp);
  color: #ffffff;
  padding: 15px 28px;
  font-size: 1.05rem;
  white-space: nowrap;
}

.btn-whatsapp-large:hover {
  background: var(--whatsapp-hover);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #293548 100%);
  color: #ffffff;
  padding: 76px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.18);
  color: #fbbf24;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-text p {
  color: #cbd5e1;
  font-size: 1.06rem;
  max-width: 62ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.hero-card {
  background: var(--surface);
  color: var(--text);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--whatsapp);
  font-weight: 700;
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.trust-badge {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 6px 10px;
  border-radius: 6px;
}

.trust-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.trust-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--whatsapp);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.card-link:hover {
  color: var(--whatsapp-hover);
  text-decoration: underline;
}

/* Portfolio */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.portfolio-thumb {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  color: #ffffff;
  padding: 28px 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-tag {
  align-self: flex-start;
  background: rgba(217, 119, 6, 0.22);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.portfolio-city {
  font-size: 0.9rem;
  color: #e2e8f0;
  font-weight: 600;
}

.portfolio-body {
  padding: 22px;
}

.portfolio-body h3 {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.portfolio-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Neighborhoods */
.neighborhoods-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.neighborhoods-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.neighborhoods-note {
  text-align: center;
  margin-top: 28px;
  color: var(--text-muted);
}

.neighborhoods-note a {
  color: var(--accent-hover);
  font-weight: 600;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.city-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.city-card h3 {
  color: var(--primary);
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.city-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--surface);
}

.faq-item summary {
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary);
  color: #ffffff;
  padding: 56px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-content h2 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.cta-content p {
  color: #cbd5e1;
}

/* Footer */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 28px 0;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: #ffffff;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .cards-grid,
  .trust-grid,
  .neighborhoods-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }
}
