:root {
  --bg: #f5f7f6;
  --surface: #ffffff;
  --ink: #11201c;
  --muted: #60716b;
  --line: rgba(17, 32, 28, 0.12);
  --brand: #0f7b57;
  --brand-2: #18a46f;
  --dark: #071411;
  --dark-soft: #11201c;
  --white: #ffffff;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(7, 20, 17, 0.14);
  --wrap: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(7, 20, 17, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(7, 20, 17, 0.9); box-shadow: 0 14px 45px rgba(0,0,0,.18); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand img { width: 190px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; }
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-cta {
  padding: 11px 16px;
  background: var(--white);
  color: var(--dark);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); }
.menu-button span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; border-radius: 99px; }

.hero { position: relative; min-height: 100vh; display: grid; align-items: center; overflow: hidden; color: var(--white); padding: 128px 0 76px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,17,.96), rgba(7,20,17,.74) 45%, rgba(7,20,17,.35)), url('assets/hero-geotecnologia.jpg') center/cover; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .55fr; gap: 48px; align-items: end; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-2); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow::before, .section-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 99px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 860px; margin-bottom: 22px; font-size: clamp(48px, 8vw, 92px); line-height: .94; letter-spacing: -.07em; font-weight: 800; }
.hero-copy p { max-width: 690px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 22px); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: white; box-shadow: 0 18px 38px rgba(24,164,111,.28); }
.btn-ghost { border: 1px solid rgba(255,255,255,.38); color: white; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--dark); color: white; }
.hero-card { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.10); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.hero-card strong { display: block; font-size: 26px; letter-spacing: -.04em; }
.hero-card span { display: block; color: rgba(255,255,255,.72); margin-top: 6px; }
.hero-card-line { height: 1px; background: rgba(255,255,255,.18); margin: 22px 0; }
.hero-card p { color: rgba(255,255,255,.82); margin-bottom: 0; }

.section { padding: 104px 0; }
.two-col { display: grid; grid-template-columns: .8fr 1fr; gap: 64px; align-items: start; }
h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.055em; margin: 14px 0 0; }
.intro-text { color: var(--muted); font-size: 18px; }
.intro-text p:last-child { margin-bottom: 0; }

.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 45px rgba(7,20,17,.07); min-height: 100%; }
.service-card.featured { grid-column: span 2; }
.service-card img { width: 100%; height: 260px; object-fit: cover; background: linear-gradient(135deg, #dfe9e5, #f8fbfa); }
.service-card:not(.featured) img { object-fit: cover; }
.service-card div { padding: 26px; }
.service-card h3 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.tech { background: var(--dark); color: var(--white); }
.seo-content { background: #ffffff; border-top: 1px solid var(--line); }
.seo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.seo-text { color: var(--muted); font-size: 18px; }
.seo-text strong { color: var(--ink); }
.keyword-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 28px 0 0; list-style: none; }
.keyword-list li { padding: 14px 16px; border-radius: 16px; background: var(--bg); color: var(--ink); font-weight: 700; border: 1px solid var(--line); }
.tech-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.tech-copy p { color: rgba(255,255,255,.72); font-size: 18px; margin-top: 20px; }
.tech-list { display: grid; gap: 16px; }
.tech-list article { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.tech-list span { color: var(--brand-2); font-weight: 900; }
.tech-list h3 { margin-bottom: 8px; font-size: 22px; }
.tech-list p { grid-column: 2; color: rgba(255,255,255,.72); margin-bottom: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--dark); padding: 8px; }
.gallery img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; }

.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 56px; align-items: center; }
.contact p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.contact-card { background: var(--bg); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
dl { margin: 0; display: grid; gap: 24px; }
dt { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 7px; }
dd { margin: 0; font-size: 18px; font-weight: 700; }
dd a { color: var(--brand); }

.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { width: 160px; opacity: .92; }
.footer-inner p { margin: 0; }

@media (max-width: 900px) {
  .nav { height: 68px; }
  .brand img { width: 158px; }
  .menu-button { display: block; }
  .nav-links { position: fixed; inset: 68px 20px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: rgba(7,20,17,.96); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero-grid, .two-col, .tech-panel, .seo-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { max-width: 520px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: span 2; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 280px; }
}

@media (max-width: 620px) {
  :root { --wrap: min(100% - 28px, 1160px); }
  .section { padding: 76px 0; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: auto; }
  .service-card img { height: 220px; }
  .tech-list article { grid-template-columns: 1fr; }
  .tech-list p { grid-column: auto; }
  .keyword-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
