* { box-sizing: border-box; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #242424;
  margin: 0;
  background: #FFFFFF;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header / nav */
header.site {
  border-bottom: 0.5px solid #E3E1D9;
  padding: 16px 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 28px; height: 28px; }
.logo span { font-size: 16px; font-weight: 600; color: #242424; }
.logo span em { color: #C31E2A; font-style: normal; }
nav.main { display: flex; gap: 26px; font-size: 14px; color: #5F5E5A; }
nav.main a.active, nav.main a:hover { color: #C31E2A; }
.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: #C31E2A; color: #fff; }
.btn-outline { background: transparent; color: #C31E2A; border-color: #C31E2A; }
.btn-outline.dark { color: #242424; border-color: #E3E1D9; font-weight: 400; }

/* Hero */
.hero { text-align: center; padding: 64px 24px 48px; }
.hero svg.big { width: 64px; height: 64px; margin-bottom: 20px; }
.hero h1 { font-size: 34px; font-weight: 600; margin: 0 0 14px; line-height: 1.3; }
.hero p { font-size: 16px; color: #5F5E5A; max-width: 560px; margin: 0 auto 26px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; }

/* Sections */
section { padding: 56px 24px; }
section.alt { background: #FAFAF8; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head h2 { font-size: 26px; font-weight: 600; margin: 0 0 10px; }
.section-head p { font-size: 15px; color: #5F5E5A; margin: 0; }

/* Service cards (home grid) */
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.card { background: #FAFAF8; border: 0.5px solid #E3E1D9; border-radius: 12px; padding: 22px 16px; text-align: center; }
.card .icon { width: 44px; height: 44px; border-radius: 50%; background: #FCEBEB; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.card .icon i { font-size: 20px; color: #C31E2A; }
.card h3 { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.card p { font-size: 12px; color: #8A8A85; margin: 0; }

/* Service detail rows (servicios.html) */
.svc-row { display: flex; gap: 18px; border: 0.5px solid #E3E1D9; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.svc-row .icon { width: 48px; height: 48px; border-radius: 50%; background: #FCEBEB; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-row .icon i { font-size: 22px; color: #C31E2A; }
.svc-row h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.svc-row p { font-size: 14px; color: #5F5E5A; margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; color: #242424; background: #F1EFE8; padding: 5px 12px; border-radius: 20px; }

/* Sector cards */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.sector-card { border: 0.5px solid #E3E1D9; border-radius: 12px; padding: 24px; }
.sector-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: #C31E2A; }
.sector-card p { font-size: 14px; color: #5F5E5A; margin: 0 0 12px; }
.sector-card ul { margin: 0; padding-left: 18px; font-size: 13px; color: #3A3A38; }
.sector-card li { margin-bottom: 4px; }

/* About / stats */
.stats { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.stat { text-align: center; min-width: 140px; }
.stat b { display: block; font-size: 26px; color: #C31E2A; }
.stat span { font-size: 13px; color: #5F5E5A; }
.offices { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.office { border: 0.5px solid #E3E1D9; border-radius: 12px; padding: 18px; flex: 1; min-width: 220px; }
.office h4 { margin: 0 0 6px; font-size: 14px; }
.office p { margin: 0; font-size: 13px; color: #5F5E5A; }

/* Projects */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.project-card { border: 0.5px solid #E3E1D9; border-radius: 12px; overflow: hidden; }
.project-card .thumb { height: 140px; background: #F1EFE8; display: flex; align-items: center; justify-content: center; color: #8A8A85; font-size: 12px; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card .body { padding: 16px; }
.project-card h3 { font-size: 15px; margin: 0 0 6px; }
.project-card p { font-size: 13px; color: #5F5E5A; margin: 0; }
.pending-note { font-size: 13px; color: #8A8A85; background: #FAFAF8; border: 1px dashed #E3E1D9; border-radius: 10px; padding: 14px 18px; margin-top: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; margin-bottom: 6px; color: #3A3A38; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 10px 12px; border: 1px solid #E3E1D9; border-radius: 6px; font-size: 14px; font-family: inherit;
}
.contact-info .office { margin-bottom: 16px; }

/* Footer */
footer.site { background: #242424; color: #C9C7C0; padding: 48px 24px 24px; margin-top: 40px; }
footer.site .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
footer.site h5 { color: #fff; font-size: 13px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.04em; }
footer.site a { display: block; font-size: 13px; color: #C9C7C0; margin-bottom: 8px; }
footer.site a:hover { color: #fff; }
footer.site .bottom { max-width: 1080px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #3A3A38; font-size: 12px; color: #8A8A85; text-align: center; }

@media (max-width: 760px) {
  .grid6, .grid3, .grid2, .contact-grid { grid-template-columns: 1fr; }
  nav.main { display: none; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
