@font-face { font-family:'Instrument Serif'; font-style:normal; font-weight:400; font-display:swap; src:url(fonts/instrument-serif-400-normal.woff2) format('woff2'); }
@font-face { font-family:'Instrument Serif'; font-style:italic; font-weight:400; font-display:swap; src:url(fonts/instrument-serif-400-italic.woff2) format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:400; font-display:swap; src:url(fonts/inter-tight-400-normal.woff2) format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:500; font-display:swap; src:url(fonts/inter-tight-500-normal.woff2) format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:600; font-display:swap; src:url(fonts/inter-tight-600-normal.woff2) format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:700; font-display:swap; src:url(fonts/inter-tight-700-normal.woff2) format('woff2'); }

:root {
  --bg: #FAFAFA;
  --bg-warm: #F2F4F8;
  --bg-deep: #0F1A2E;
  --ink: #0F1A2E;
  --ink-soft: #4A5568;
  --ink-mute: #94A0B5;
  --paper: #FFFFFF;
  --brand: #1E5FBF;
  --brand-deep: #14418A;
  --brand-soft: #DCE7F7;
  --accent: #E8B547;
  --line: rgba(15, 26, 46, 0.08);
  --line-strong: rgba(15, 26, 46, 0.16);
  --font-body: 'Inter Tight', -apple-system, system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
}

/* NAVBAR */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 48px; display: block; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: none;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.active { background: var(--ink); color: var(--paper); }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand); }

/* HERO */
.hero {
  padding: 100px 0 80px;
  position: relative;
}
@media (max-width: 700px) { .hero { padding: 60px 0 50px; } }

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 920px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  background: var(--brand);
  color: white;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-secondary {
  background: white;
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--line-strong);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-secondary svg { width: 16px; height: 16px; }

.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
  align-items: center;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

/* SERVICES */
.services {
  padding: 100px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .services { padding: 60px 0; } }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 20px;
}
.section-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; gap: 14px; } }

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 80%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  pointer-events: none;
  opacity: 1;
  transition: transform 0.4s ease;
}
.service-card:hover::before {
  transform: scale(1.05);
  transform-origin: top right;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-card.svc-ai::before { background-image: url('images/bg-service-ai.svg') }
.service-card.svc-iot::before { background-image: url('images/bg-service-iot.svg') }
.service-card.svc-drone::before { background-image: url('images/bg-service-drone.svg') }
.service-card.svc-consult::before { background-image: url('images/bg-service-consult.svg') }
@media (max-width: 700px) {
  .service-card::before { width: 60%; height: 55%; opacity: 0.85; }
}
.service-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 26, 46, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.service-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-size: 11px;
  padding: 3px 9px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 4px;
  font-weight: 500;
}

/* ABOUT */
.about {
  padding: 100px 0;
}
@media (max-width: 700px) { .about { padding: 60px 0; } }

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-warm);
}
@media (max-width: 700px) {
  .about-photo { width: 160px; height: 160px; margin: 0 auto; }
}

.about-text h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.about-text h2 strong {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.about-name {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
@media (max-width: 700px) { .about-credentials { justify-content: center; } }
.credential-pill {
  font-size: 12px;
  padding: 5px 11px;
  background: var(--bg-warm);
  color: var(--ink-soft);
  border-radius: 4px;
  font-weight: 500;
}

.about-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 700px) { .about-actions { justify-content: center; } }

/* CONTACT */
.contact {
  padding: 100px 0;
  background: var(--bg-deep);
  color: white;
}
@media (max-width: 700px) { .contact { padding: 60px 0; } }

.contact .section-eyebrow { color: var(--accent); }
.contact .section-title { color: white; }
.contact .section-title em { color: var(--accent); }
.contact .section-lead { color: rgba(255, 255, 255, 0.7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: center;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-item-icon svg { width: 16px; height: 16px; }
.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.contact-item-value {
  color: white;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.contact-item-value a {
  color: white;
  text-decoration: none;
  display: block;
}
.contact-item-value a:hover { color: var(--accent); }
.country-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  min-width: 36px;
}

.wa-card {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  border-radius: 14px;
  padding: 32px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
}
.wa-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(7, 94, 84, 0.3); }
@media (max-width: 700px) {
  .wa-card { grid-template-columns: 100px 1fr; gap: 16px; padding: 22px; }
}

.wa-card img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  background: white;
  padding: 6px;
  display: block;
}
@media (max-width: 700px) { .wa-card img { width: 100px; height: 100px; } }

.wa-card-content h4 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-card-content h4 svg { width: 20px; height: 20px; fill: white; }
.wa-card-content p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
}

/* FOOTER */
footer {
  padding: 32px 0;
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer img { height: 56px; opacity: 0.85; }

/* WhatsApp floating */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
@media (max-width: 700px) { .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* PRESENCIA */
.presencia {
  padding: 100px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) { .presencia { padding: 60px 0; } }

.presencia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 700px) { .presencia-grid { grid-template-columns: 1fr; gap: 14px; } }

.presencia-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}
.presencia-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 26, 46, 0.06);
  border-color: var(--line-strong);
}
.presencia-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.presencia-flag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
.presencia-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.presencia-country {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.presencia-focus {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.presencia-focus strong {
  color: var(--ink);
  font-weight: 600;
}


.presencia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}


/* PRESENTE — editorial chapter */
.presente {
  padding: 110px 0;
  background: var(--bg);
}
@media (max-width: 700px) { .presente { padding: 70px 0; } }

.presente-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

.presente-title {
  font-family: var(--font-body);
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 880px;
  margin-bottom: 48px;
}
.presente-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.presente-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1080px;
}
@media (max-width: 700px) {
  .presente-body { grid-template-columns: 1fr; gap: 28px; }
}

.presente-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.presente-body p:last-child { margin-bottom: 0; }
.presente-body p strong {
  color: var(--ink);
  font-weight: 600;
}
.presente-body p .lead-line {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}