:root {
  --green-900: #0d4a32;
  --green-700: #1a6b4a;
  --green-500: #2d9a6a;
  --green-100: #e8f5ef;
  --blue-800: #1e4d8c;
  --blue-600: #2563eb;
  --red-600: #c62828;
  --gold: #c9a227;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
img[loading="lazy"] { content-visibility: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--gray-600);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--green-700); }
.nav-cta {
  background: var(--green-700); color: var(--white) !important;
  padding: 0.55rem 1.25rem; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--green-900); }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--gray-800);
  margin: 5px 0; transition: 0.3s;
}

/* Hero */
.hero {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--green-100) 0%, var(--white) 50%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800; line-height: 1.15; color: var(--gray-900);
  margin-bottom: 1.25rem;
}
.hero-content h1 span { color: var(--green-700); }
.hero-content p {
  font-size: 1.1rem; color: var(--gray-600); margin-bottom: 2rem; max-width: 520px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
}
.badge svg { width: 16px; height: 16px; color: var(--green-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-900); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-outline {
  background: var(--white); color: var(--green-700);
  border: 2px solid var(--green-700);
}
.hero-image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 480px; object-fit: cover; }
.hero-image-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,0.95); padding: 1rem 1.25rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-image-badge strong { display: block; color: var(--green-700); font-size: 1.1rem; }
.hero-image-badge span { font-size: 0.85rem; color: var(--gray-600); }

/* Sections */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800;
  color: var(--gray-900); margin-bottom: 0.75rem;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; }
.section-label {
  display: inline-block; color: var(--green-700); font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* Services grid */
.services { background: var(--gray-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--gray-200);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card.featured { border-color: var(--green-500); grid-column: span 1; }
.service-card img { height: 180px; width: 100%; object-fit: cover; }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card-body p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 1rem; }
.service-card-body a {
  color: var(--green-700); font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.service-tag {
  display: inline-block; background: var(--green-100); color: var(--green-700);
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 4px; margin-bottom: 0.75rem; text-transform: uppercase;
}

/* Trust */
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.trust-item { text-align: center; }
.trust-item .icon {
  width: 56px; height: 56px; background: var(--green-100);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem;
}
.trust-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.trust-item p { font-size: 0.88rem; color: var(--gray-600); }
.clients-banner {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem; text-align: center;
}
.clients-banner img {
  width: 100%; max-width: 1100px; height: auto;
  margin: 0 auto; opacity: 1; display: block;
}
.clients-banner p { margin-top: 1.25rem; font-size: 0.9rem; color: var(--gray-600); }

/* Process */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.process-step {
  text-align: center; padding: 2rem 1.25rem;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); position: relative;
}
.process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--green-700); color: var(--white);
  border-radius: 50%; font-weight: 800; margin: 0 auto 1rem;
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; color: var(--gray-600); }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white); padding: 1.5rem 1rem 0.75rem; font-size: 0.85rem; font-weight: 600;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white); padding: 4rem 0; text-align: center;
}
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-primary { background: var(--white); color: var(--green-700); }
.cta-band .btn-whatsapp { background: #25d366; }

/* Page hero (inner pages) */
.page-hero {
  margin-top: var(--header-h);
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; max-width: 600px; }

/* Two col content */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.content-block h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.content-block p { color: var(--gray-600); margin-bottom: 1rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.75rem; font-size: 0.95rem;
}
.check-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 22px; height: 22px; background: var(--green-100); color: var(--green-700);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem;
  background: var(--white); border: none; cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--green-700); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s;
  padding: 0 1.5rem; color: var(--gray-600); font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.5rem 1.25rem; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-info-card {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--gray-200);
}
.contact-info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item {
  display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start;
}
.contact-item .icon {
  width: 44px; height: 44px; background: var(--green-100);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-item strong { display: block; font-size: 0.85rem; color: var(--gray-600); }
.contact-item span, .contact-item a { font-weight: 600; color: var(--gray-900); }
.map-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.25rem;
}
.contact-form {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-200);
  border-radius: 8px; font-family: var(--font); font-size: 0.95rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.form-error {
  color: var(--red-600); font-size: 0.88rem; font-weight: 600;
  margin-bottom: 1rem; text-align: center;
}
.form-error[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Footer */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { font-size: 0.88rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem; text-align: center; font-size: 0.85rem;
}

/* Certifications */
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.cert-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-card img { width: 100%; height: 200px; object-fit: cover; }
.cert-card img.doc { height: auto; max-height: 340px; object-fit: contain; background: var(--gray-50); padding: 0.5rem; }
.cert-card-body { padding: 1.25rem; }
.cert-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.cert-card-body p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.cert-card-body a {
  font-size: 0.85rem; font-weight: 600; color: var(--green-700);
}
.cert-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
  margin-bottom: 2rem;
}
.cert-badge {
  background: var(--green-100); color: var(--green-900);
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700;
  border: 1px solid rgba(26,107,74,0.2);
}

.gallery-grid.large { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) {
  .cert-grid { grid-template-columns: 1fr; }
  .gallery-grid.large { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid.large { grid-template-columns: 1fr; }
}

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: white; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero { padding: 3rem 0; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-image img { height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white); padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow);
  }
  .menu-toggle { display: block; }
  .services-grid, .gallery-grid, .trust-grid, .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
