*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(0,0,0,0.7); }

.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.badge { display: inline-block; background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; margin-bottom: 18px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all .25s; border: 0; font-family: inherit; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 80%, #000); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--secondary); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px var(--secondary); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Mini topbar */
.topbar-mini { background: var(--primary); color: rgba(255,255,255,0.92); font-size: 0.82rem; }
.topbar-mini-inner { display: flex; gap: 32px; padding: 8px 0; flex-wrap: wrap; }

.topbar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e5e7eb; }
.topbar-inner { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--primary); letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; flex: 1; }
.nav a { color: var(--text); font-weight: 500; opacity: 0.85; }
.nav a:hover { color: var(--primary); opacity: 1; }

.hero { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #000)); color: #fff; padding: 100px 0 120px; }
.hero-inner { max-width: 800px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.92); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 80px 0; }
.section-alt { background: #f5f9fc; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }

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

.service-card { background: #fff; padding: 28px; border-radius: 14px; border: 1px solid #e5e7eb; transition: all .3s; }
.service-card:hover { border-color: var(--primary); box-shadow: 0 16px 32px -16px rgba(0,102,204,0.18); transform: translateY(-3px); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card p { color: rgba(0,0,0,0.65); margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: 16px; }

.team-card { background: #fff; padding: 24px; border-radius: 14px; text-align: center; border: 1px solid #e5e7eb; transition: all .3s; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(0,102,204,0.18); }
.team-avatar img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; }
.team-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.team-role { display: block; color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-card p { color: rgba(0,0,0,0.6); margin: 0; font-size: 0.88rem; }

.testimonial { background: #fff; padding: 28px; border-radius: 14px; border: 1px solid #e5e7eb; }
.testimonial .stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { font-style: italic; color: rgba(0,0,0,0.8); margin-bottom: 16px; }
.testimonial strong { display: block; }
.testimonial span { color: rgba(0,0,0,0.55); font-size: 0.88rem; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 12px 0 0; color: rgba(0,0,0,0.7); }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: #fff; padding: 32px; border-radius: 14px; border: 1px solid #e5e7eb; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-size: 0.86rem; font-weight: 600; }
.field input, .field textarea { padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-family: inherit; font-size: 0.95rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.92rem; min-height: 1.2em; }
.form-status.success { color: #059669; } .form-status.error { color: #dc2626; }
.contact-info { background: #fff; padding: 28px; border-radius: 14px; display: flex; flex-direction: column; gap: 16px; border: 1px solid #e5e7eb; }
.contact-info > div { display: flex; flex-direction: column; gap: 4px; }
.contact-info strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(0,0,0,0.55); }
.maps { margin-top: 32px; border-radius: 14px; overflow: hidden; }
.maps iframe { width: 100%; height: 320px; border: 0; }

.site-footer { background: #1a2332; color: #c1c8d4; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-logo { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #2a3548; font-size: 0.86rem; }

.whatsapp-fab { position: fixed; bottom: 24px; right: 24px; z-index: 100; width: 56px; height: 56px; background: #25d366; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

.reveal { transform: translateY(24px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.active { transform: translateY(0); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar-mini-inner { gap: 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 56px 0; }
}

/* Footer brand color fix — use CSS var instead of hardcoded color */
.site-footer .logo,
.footer-logo,
.footer-brand,
.site-footer .brand-name,
.site-footer h3.logo {
  color: var(--color-primary) !important;
}
