/* ===== VARIABLES ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-card: #ffffff;
  --primary: #0a8e85;
  --accent: #06d6a0;
  --gradient: linear-gradient(135deg, #0a8e85 0%, #06d6a0 100%);
  --text: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #7a7a8a;
  --border: #e2e5ea;
  --whatsapp: #25D366;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-tag { display: inline-block; background: rgba(10,142,133,0.15); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }
.section-header h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-text strong { color: var(--primary); }
.link-accent { color: var(--primary); border-bottom: 1px solid rgba(10,142,133,0.3); transition: border-color 0.3s; }
.link-accent:hover { border-color: var(--primary); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,142,133,0.4); }
.btn-outline { border: 1px solid var(--border); color: var(--text-secondary); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== NAV ===== */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.3s; }
#navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 10px 0; border-bottom: 1px solid var(--border); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo-img { height: 48px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--gradient); color: #fff; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; transition: all 0.3s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(10,142,133,0.4); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }
.nav-mobile-logo { display: none; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero { min-height: auto; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge { display: inline-block; background: rgba(10,142,133,0.08); border: 1px solid rgba(10,142,133,0.2); padding: 8px 20px; border-radius: 30px; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; }
.hero-badge a { color: var(--accent); font-weight: 600; }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.hero-image { display: flex; justify-content: center; }
.hero-image img { max-width: 100%; border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.hero-image-wrapper { position: relative; display: inline-block; }
.hero-image-wrapper > img { display: block; max-width: 100%; border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.hero-image-stamp { position: absolute; bottom: 8px; right: 8px; width: 60px; height: 60px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.15); padding: 6px; }
.hero-image-stamp img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }

/* ===== PILLARS ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.pillar:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.pillar-icon { width: 56px; height: 56px; background: var(--gradient); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin-bottom: 24px; }
.pillar h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.pillar p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.95rem; }
.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pillar-list li { color: var(--text-muted); font-size: 0.9rem; padding-left: 20px; position: relative; }
.pillar-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.service-card:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.service-icon { width: 48px; height: 48px; background: rgba(10,142,133,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent); margin-bottom: 20px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.team-card:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.team-icon { width: 48px; height: 48px; background: var(--gradient); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; margin: 0 auto 16px; }
.team-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.team-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ===== TECH ===== */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.tech-features { display: flex; flex-direction: column; gap: 28px; }
.tech-feature { display: flex; gap: 16px; align-items: flex-start; }
.tech-feature-icon { min-width: 44px; height: 44px; background: rgba(10,142,133,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1rem; }
.tech-feature h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.tech-feature p { color: var(--text-muted); font-size: 0.88rem; }

.tech-showcase { position: sticky; top: 100px; }
.tech-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.tech-card-header { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.tech-dot { width: 12px; height: 12px; border-radius: 50%; }
.tech-dot.red { background: #ff5f57; }
.tech-dot.yellow { background: #ffbd2e; }
.tech-dot.green { background: #28c840; }
.tech-card-title { margin-left: 8px; font-size: 0.8rem; color: var(--text-muted); }
.tech-card-body { padding: 4px 0; }
.tech-mock-row { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr; padding: 10px 20px; font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.tech-mock-row.header { font-weight: 600; color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; background: var(--bg-alt); }
.tech-mock-row.total { font-weight: 700; color: var(--text); background: rgba(10,142,133,0.1); border-bottom: none; }
.tech-mock-row .accent { color: var(--accent); }
.tech-badge { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.tech-badge-logo { width: 36px; height: 36px; border-radius: 8px; }
.tech-badge span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CONSORCIOS ===== */
.consorcios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.consorcio-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.consorcio-card:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.consorcio-icon { width: 56px; height: 56px; background: rgba(10,142,133,0.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--accent); margin: 0 auto 16px; }
.consorcio-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.consorcio-location { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.consorcio-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.consorcio-tags span { background: rgba(10,142,133,0.12); color: var(--accent); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; }
.consorcios-cta { text-align: center; }
.consorcios-cta p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.1rem; }

/* ===== REVIEWS ===== */
.reviews-summary { text-align: center; margin-bottom: 40px; }
.reviews-score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.reviews-number { font-size: 3rem; font-weight: 800; color: var(--text); }
.reviews-stars { font-size: 1.4rem; color: #fbbc04; letter-spacing: 2px; }
.reviews-count { font-size: 0.85rem; color: var(--text-muted); }
.reviews-google-logo { height: 20px; margin-top: 8px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s; }
.review-card:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.review-stars { color: #fbbc04; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.review-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 24px; text-align: center; position: relative; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.process-step:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.process-number { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; background: var(--gradient); color: #fff; border-radius: 50%; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.process-icon { width: 56px; height: 56px; background: rgba(10,142,133,0.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--accent); margin: 0 auto 16px; }
.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(10,142,133,0.3); }
.faq-question { width: 100%; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; font-family: inherit; }
.faq-toggle { font-size: 1.4rem; color: var(--accent); transition: transform 0.3s; font-weight: 300; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }
.about-text strong { color: var(--text); }
.about-creds { display: flex; flex-direction: column; gap: 20px; }
.cred-card { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.cred-card:hover { border-color: rgba(10,142,133,0.3); }
.cred-icon { min-width: 44px; height: 44px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.cred-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.cred-card p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 24px; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.contact-card:hover { border-color: rgba(10,142,133,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,142,133,0.1); }
.contact-icon { width: 56px; height: 56px; background: rgba(10,142,133,0.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--accent); margin-bottom: 16px; }
.contact-icon.whatsapp { background: rgba(37,211,102,0.15); color: var(--whatsapp); }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.contact-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 12px; }
.contact-action { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.contact-zone { text-align: center; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ===== FOOTER ===== */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.footer-logo { height: 40px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }
.footer-powered { margin-top: 8px; }
.footer-powered a { color: var(--accent); font-weight: 600; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { color: var(--text-muted); font-size: 0.78rem; }
.footer-legal p { margin-bottom: 4px; }

/* ===== WA FLOAT ===== */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: var(--whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 999; transition: all 0.3s; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pillars, .services-grid, .contact-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .consorcios-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid, .about-grid { grid-template-columns: 1fr; }
  .tech-showcase { position: static; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; background: #ffffff; flex-direction: column; align-items: center; justify-content: center; gap: 28px; z-index: 9999; overflow-y: auto; }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.2rem; color: var(--text); }
  .nav-mobile-logo { height: 48px; margin-bottom: 8px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; z-index: 10000; }

  .section { padding: 50px 0; }
  .hero { padding: 100px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero-image { order: -1; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 1.6rem; }

  .section-header h2 { font-size: 1.8rem; }
  .pillars, .services-grid, .contact-grid, .reviews-grid { grid-template-columns: 1fr; }
  .consorcios-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
