:root {
  --primary: #1a3a5c;
  --accent: #d4a843;
  --dark: #0f1f2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
}

html {
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: background .3s;
}
.navbar.scrolled {
  background: var(--dark) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.navbar-brand img {
  height: 45px;
}
.nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1rem !important;
}
.nav-link:hover { color: var(--accent) !important; }
.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: .5rem 1.5rem;
  font-weight: 600;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.hero .lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
}
.hero .badge-years {
  background: var(--accent);
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Stats */
.stats { background: var(--dark); padding: 3rem 0; }
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sections */
section { padding: 5rem 0; }
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .5rem;
}
.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.service-card .card-img-top {
  height: 220px;
  object-fit: cover;
}
.service-card .card-body { padding: 1.5rem; }
.service-card .card-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}
.service-card .card-text {
  color: var(--gray);
  font-size: .95rem;
}

/* Projects */
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.project-card:hover img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 2rem 1.5rem 1.5rem;
  color: #fff;
}
.project-overlay h5 { font-weight: 700; margin-bottom: .25rem; }
.project-overlay small { color: rgba(255,255,255,.7); }

/* Why Us */
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.why-icon {
  width: 70px;
  height: 70px;
  background: rgba(212,168,67,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  color: var(--accent);
}

/* Process */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

/* FAQ */
.accordion-button {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}
.accordion-button:not(.collapsed) {
  background: rgba(212,168,67,.08);
  color: var(--primary);
}
.accordion-button:focus { box-shadow: none; border-color: var(--accent); }

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  height: 100%;
}
.testimonial-card .stars { color: var(--accent); margin-bottom: .75rem; }
.testimonial-card blockquote {
  font-style: italic;
  color: #555;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
}
.testimonial-card cite {
  font-weight: 600;
  color: var(--dark);
  font-style: normal;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  padding: 5rem 0;
}
.cta-section h2 { font-weight: 800; }
.btn-cta {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  border: none;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
}
.btn-cta:hover { background: #c49a35; color: var(--dark); }

/* Contact Form */
.contact-form .form-control {
  border-radius: 8px;
  padding: .75rem 1rem;
  border: 1px solid #dee2e6;
}
.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(212,168,67,.15);
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
  word-break: break-word;
}
.footer h5 { color: #fff; font-weight: 700; margin-bottom: 1.25rem; }
.footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Blog */
.blog-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
  transition: transform .3s;
  height: 100%;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card .card-body { padding: 1.5rem; }
.blog-card .badge { background: var(--accent); color: var(--dark); }

/* Responsive - Tablet */
@media (max-width: 991px) {
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .project-card { height: 250px; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hero { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; }
  .hero h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero .lead { font-size: 1rem; }
  .hero .badge-years { font-size: .85rem; }
  .hero .btn-lg { font-size: .95rem; padding: .6rem 1.5rem; width: 100%; }
  .hero .d-flex { flex-direction: column; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: .75rem; }
  .stats { padding: 2rem 0; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: .95rem; margin-bottom: 2rem; }
  section { padding: 2.5rem 0; }
  .service-card .card-img-top { height: 180px; }
  .project-card { height: 220px; }
  .testimonial-card { padding: 1.25rem; }
  .testimonial-card blockquote { font-size: .9rem; }
  .why-card { padding: 1.25rem 1rem; }
  .why-icon { width: 55px; height: 55px; font-size: 1.4rem; }
  .step-number { width: 40px; height: 40px; font-size: 1rem; }
  .cta-section { padding: 3rem 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section .btn-lg { width: 100%; margin-bottom: .5rem; }
  .footer { padding: 2.5rem 0 1.5rem; }
  .blog-card .card-title { font-size: .95rem; }
  .navbar-brand { font-size: 1.1rem; }
  .navbar-collapse { background: var(--dark); padding: 1rem; border-radius: 0 0 12px 12px; margin-top: .5rem; }
  .navbar-collapse .nav-link { padding: .75rem 1rem !important; border-bottom: 1px solid rgba(255,255,255,.05); }
  .navbar-collapse .dropdown-menu { background: rgba(0,0,0,.2); border: none; }
  img, video, iframe, table { max-width: 100%; }
}

/* Responsive - Small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .stat-number { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }
  .service-card .card-img-top { height: 160px; }
  .project-card { height: 200px; }
  .accordion-button { font-size: .92rem; padding: .65rem .8rem; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .email-float { width: 52px; height: 52px; bottom: 18px; right: 78px; font-size: 1.3rem; }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

.email-float {
  position: fixed;
  bottom: 25px;
  right: 95px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212,168,67,.4);
  z-index: 999;
  transition: transform .3s;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
}
.email-float:hover { transform: scale(1.1); color: #fff; }
