:root {
  --primary: #2f6fb0;
  --primary-dark: #24568c;
  --accent: #f5a623;
  --dark: #1d2836;
  --muted: #5a6672;
  --light: #f4f7fa;
  --border: #e2e8f0;
  --white: #fff;
  --red: #e8483c;
  --green: #2f9e6e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.section { padding: 68px 0; }

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Topbar */
.topbar { background: var(--dark); color: var(--white); padding: 8px 0; font-size: .85rem; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar p { opacity: .85; }
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact .nit { color: var(--accent); font-weight: 600; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.logo-text { font-size: 1.35rem; color: var(--dark); font-weight: 300; }
.logo-text strong { color: var(--primary); font-weight: 800; }

.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--primary); }

.menu-toggle {
  display: none;
  font-size: 1.6rem; cursor: pointer;
  background: none; border: none; color: var(--dark);
}

/* Hero */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 82vh;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-overlay { position: absolute; inset: 0; background: rgba(20,32,48,.6); }
.hero-content { position: relative; padding: 80px 0; max-width: 640px; }
.hero-badge {
  display: inline-block; background: var(--accent); color: var(--dark);
  font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 18px; }
.hero p { font-size: 1.15rem; opacity: .92; margin-bottom: 30px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: transform .15s, background .15s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-whats { background: #25d366; }
.btn-whats:hover { background: #1eb356; }

/* Highlights */
.highlights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.highlight {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 30px; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.icon { font-size: 2.4rem; }
.highlight h3 { margin: 12px 0 6px; color: var(--dark); }
.highlight p { color: var(--muted); font-size: .95rem; }

/* Services */
.services { background: var(--light); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.service {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.service img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.service h3 { padding: 16px 18px 0; font-size: 1.15rem; }
.service p { padding: 6px 18px 20px; color: var(--muted); font-size: .95rem; }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.gallery-grid img:nth-child(2) { grid-row: span 2; }
.gallery-grid img:nth-child(6) { grid-row: span 2; }

/* About */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-media img { border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.about-text .section-title { text-align: left; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; font-weight: 500; }
.cert { margin-top: 14px; border-radius: 12px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 72px 0; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.cta p { opacity: .9; margin-bottom: 26px; }

/* Contact */
.contact { background: var(--light); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-info ul { list-style: none; display: grid; gap: 16px; }
.contact-info li { font-size: 1.05rem; }
.contact-info li span { color: var(--dark); font-weight: 600; margin-left: 6px; }
.contact-form {
  background: var(--white); padding: 30px; border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08); display: grid; gap: 14px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border);
  border-radius: 8px; font: inherit; font-size: .95rem;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--primary); border-color: transparent;
}
.contact-form button { justify-self: start; }
.form-note { color: var(--green); font-weight: 600; min-height: 1.2em; }

/* Footer */
.footer { background: var(--dark); color: #cbd5e1; padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 40px;
}
.footer .logo-text { color: var(--white); }
.footer-brand p { margin-top: 12px; font-size: .92rem; opacity: .85; }
.footer-col h4 { color: var(--white); margin-bottom: 14px; font-size: 1.05rem; }
.footer-col a { display: block; color: #cbd5e1; text-decoration: none; font-size: .92rem; padding: 3px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: .92rem; padding: 3px 0; opacity: .9; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; text-decoration: none; font-size: 1rem;
}
.socials a:hover { background: var(--accent); color: var(--dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: .85rem; opacity: .75; }

/* Responsive */
/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center;
  padding: 30px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 8%; border-top: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar p { display: none; }
}