/* ============================================================
   PUNTO CERO — Shared Stylesheet
   somospuntocero.com
   ============================================================ */

:root {
  --bg-primary: #EDECE8;
  --bg-secondary: #D9D9D9;
  --bg-accent: #C8C8C8;
  --text-dark: #302C2B;
  --text-darkest: #231F1E;
  --text-muted: #929C93;
  --text-green: #526955;
  --white: #FFFFFF;
  --line: rgba(35,31,30,0.14);
  --line-soft: rgba(35,31,30,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-primary);
  color: var(--text-darkest);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ================== NAVBAR ================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(237,236,232,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.navbar--dark { background: rgba(26,24,23,0.92); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

.navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-desktop { width: 192px; height: auto; }
.logo-mobile { display: none; width: 140px; height: auto; }
.navbar--dark .logo-desktop, .navbar--dark .logo-mobile { filter: invert(1) brightness(1.1); }

.navbar__nav { flex: 1; display: flex; justify-content: center; z-index: 10; }
.navbar__menu { list-style: none; display: flex; gap: 24px; }
.navbar__menu a {
  color: var(--text-darkest);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--text-green);
  transition: width 0.3s;
}
.navbar__menu a:hover::after { width: 100%; }
.navbar__menu a:hover { color: var(--text-green); }
.navbar--dark .navbar__menu a { color: rgba(255,255,255,0.85); }
.navbar__menu a.active { color: var(--text-green); }
.navbar__menu a.active::after { width: 100%; }

.has-dropdown { position: relative; }
.caret { font-size: 0.7em; margin-left: 4px; }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #1a1817;
  list-style: none;
  padding: 24px;
  min-width: 520px;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}
.dropdown-col-title {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-green);
  font-weight: 700;
  padding: 8px 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 6px;
}
@media (min-width: 881px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
.dropdown li { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: rgba(237,236,232,0.85) !important;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--text-green) !important; }
.mobile-only { display: none; }
@media (max-width: 880px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

.navbar__right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.navbar__socials { display: flex; gap: 8px; }
.social-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-darkest);
  transition: all 0.3s;
  border-radius: 50%;
}
.navbar--dark .social-icon { color: rgba(255,255,255,0.7); }
.social-icon:hover { background: rgba(0,0,0,0.08); color: var(--text-green); transform: translateY(-2px); }
.navbar--dark .social-icon:hover { background: rgba(255,255,255,0.1); }

.btn-cta-nav {
  position: relative;
  border: 1.5px solid var(--text-green);
  color: var(--text-green);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  overflow: hidden;
  transition: color 0.35s;
  border-radius: 3px;
}
.btn-cta-nav::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--text-green);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.btn-cta-nav:hover::before { transform: translateX(0); }
.btn-cta-nav:hover { color: white; }
.btn-cta-nav span { position: relative; z-index: 1; }

.hamburger {
  display: none;
  position: relative;
  width: 28px; height: 28px;
  padding: 0; background: transparent; flex-shrink: 0;
}
.hamburger span {
  position: absolute; left: 2px;
  width: 24px; height: 2.5px;
  background: var(--text-darkest);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 7px; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { top: 19px; }
.navbar--dark .hamburger span { background: rgba(255,255,255,0.9); }
.hamburger.active span { background: var(--text-darkest); z-index: 101; }
.hamburger.active { z-index: 101; position: relative; }
.hamburger.active span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

@media (max-width: 1280px) {
  .navbar__menu { gap: 18px; }
  .navbar__menu a { font-size: 0.75rem; }
  .btn-cta-nav { padding: 8px 14px; font-size: 0.68rem; }
}
.mobile-extras { display: none; }
@media (max-width: 880px) { .navbar__right > .navbar__socials { display: none; } }

@media (max-width: 880px) {
  .navbar { padding: 0 20px; height: 60px; }
  .logo-desktop { display: none; }
  .logo-mobile { display: block; }
  .navbar__nav {
    position: fixed;
    top: 60px; left: 0;
    width: 100%; height: calc(100vh - 60px);
    background: #1a1817;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 99;
    display: flex; flex-direction: column; flex: none;
    overflow-y: auto; padding: 40px 24px 24px;
  }
  .navbar__nav.active { transform: translateX(0); }
  .navbar__menu {
    flex-direction: column; gap: 0; width: 100%;
    padding-top: 24px; flex: 1;
    justify-content: center; align-items: center;
  }
  .navbar__menu > li { width: 100%; text-align: center; }
  .navbar__menu a {
    display: block; padding: 14px 24px;
    color: #EDECE8;
    font-size: clamp(2.2rem, 7vw, 3rem);
    font-weight: 700; letter-spacing: -0.01em;
    transition: color 0.2s;
  }
  .navbar__menu a:hover, .navbar__menu a:active { color: var(--text-green); }
  .navbar__menu a::after { display: none; }
  .has-dropdown .dropdown-toggle .caret { display: inline-block; transition: transform 0.3s; font-size: 0.6em; }
  .has-dropdown.open .dropdown-toggle .caret { transform: rotate(180deg); }
  .has-dropdown .dropdown {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    background: transparent; box-shadow: none; border-radius: 0;
    padding: 0; min-width: 0; display: none;
    grid-template-columns: 1fr; max-height: 0; overflow: hidden;
  }
  .has-dropdown.open .dropdown {
    display: block;
    width: 100%; max-height: 500px; padding: 8px 0 16px;
    overflow: visible;
  }
  .dropdown-col-title { display: none; }
  .dropdown .mobile-only {
    list-style: none;
    width: 100%; text-align: center;
    display: block !important;
  }
  .dropdown .mobile-only a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: clamp(2rem, 6.5vw, 2.6rem);
    font-weight: 600;
    color: rgba(237,236,232,0.65) !important;
    text-align: center;
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }
  .dropdown .mobile-only a:hover,
  .dropdown .mobile-only a:active { color: var(--text-green) !important; }
  .mobile-extras {
    display: flex; flex-direction: column; gap: 18px;
    padding: 24px 8px 8px; margin-top: auto;
  }
  .mobile-extras .btn-cta-nav {
    width: 100%; text-align: center; padding: 18px 16px; font-size: 0.85rem;
    background: var(--text-green); color: #fff; border: none;
  }
  .mobile-extras .navbar__socials { display: flex; justify-content: center; gap: 14px; }
  .mobile-extras .social-icon {
    color: rgba(255,255,255,0.85); width: 48px; height: 48px;
    border: 1px solid rgba(255,255,255,0.18);
  }
  .hamburger {
    display: flex; width: 44px; height: 44px;
    align-items: center; justify-content: center;
  }
  body.menu-open .navbar { background: var(--bg-primary); }
  body.menu-open .logo-mobile,
  body.menu-open .navbar .logo-desktop { filter: none !important; }
  .navbar__right > .btn-cta-nav { display: none; }
  .navbar__right > .navbar__socials { display: none; }
}

/* ================== MAIN PADDING ================== */
main { padding-top: 70px; }
@media (max-width: 880px) { main { padding-top: 60px; } }

/* ================== HERO (home) ================== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
  padding: 60px 0; overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: center; width: 100%;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-green); font-weight: 600; margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--text-green); }
.hero h1 {
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 300; margin-bottom: 28px;
}
.hero h1 strong { font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--text-green); }
.hero-sub {
  font-size: 17px; line-height: 1.65; color: var(--text-dark);
  opacity: 0.78; max-width: 480px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  max-width: 588px;
  width: 100%;
  border-radius: 4px; overflow: hidden;
}
.hero-img {
  overflow: hidden;
  transition: transform 0.6s;
}
.hero-img img {
  width: 100%; height: auto;
  display: block;
}
.hero-visual:hover .hero-img { transform: scale(1.03); }
.img-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-dark); background: rgba(237,236,232,0.85);
  backdrop-filter: blur(8px); padding: 7px 11px; border-radius: 2px;
}
.hero-stats {
  position: absolute; bottom: 24px; right: 24px;
  background: rgba(35,31,30,0.92); color: var(--bg-primary);
  padding: 18px 22px; border-radius: 4px;
}
.hero-stats .num { font-size: 32px; font-weight: 200; line-height: 1; }
.hero-stats .num strong { font-weight: 700; }
.hero-stats .label { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; margin-top: 6px; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 100%; }
}

/* ================== SECTIONS ================== */
section { padding: 110px 0; }
@media (max-width: 768px) { section { padding: 72px 0; } }

.sec-head {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 56px; margin-bottom: 56px; align-items: end;
  border-bottom: 1px solid var(--line); padding-bottom: 28px;
}
.sec-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-green); letter-spacing: 0.18em; margin-bottom: 12px; }
.sec-label { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-green); font-weight: 600; }
.sec-head h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 300; }
.sec-head h2 strong { font-weight: 700; }
.sec-head .lead { font-size: 15px; color: var(--text-dark); opacity: 0.8; max-width: 480px; margin-top: 14px; }
@media (max-width: 768px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } }

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 100px;
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600; transition: all 0.25s;
}
.btn-primary { background: var(--text-darkest); color: var(--bg-primary); }
.btn-primary:hover { background: var(--text-green); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(82,105,85,0.25); }
.btn-primary .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.25s; }
.btn-primary .arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn-primary:hover .arrow { width: 28px; }
.btn-ghost { color: var(--text-darkest); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--text-darkest); color: var(--bg-primary); }
.btn-green { background: var(--text-green); color: white; }
.btn-green:hover { background: #3d5040; transform: translateY(-2px); }

/* ================== SERVICE LIST ================== */
.service-list { display: grid; gap: 0; }
.service-row {
  display: grid; grid-template-columns: 80px 1.5fr 2fr auto;
  gap: 28px; padding: 30px 0; border-top: 1px solid var(--line);
  align-items: center; transition: all 0.3s; position: relative;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row::before {
  content: ''; position: absolute; top: 0; bottom: 0;
  left: 50%; width: 100vw; background: var(--text-darkest);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s; z-index: 0;
}
.service-row:hover::before { transform: translateX(-50%) scaleX(1); }
.service-row > * { position: relative; z-index: 1; transition: color 0.3s; }
.service-row:hover > * { color: var(--bg-primary); }
.service-row:hover .service-cta { border-color: var(--bg-primary); }
.service-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-green); }
.service-name { font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; }
.service-desc { font-size: 14px; color: var(--text-dark); opacity: 0.78; max-width: 420px; }
.service-cta {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 100px;
  white-space: nowrap; color: var(--text-darkest); transition: all 0.3s;
}
@media (max-width: 768px) {
  .service-row { grid-template-columns: auto 1fr; gap: 14px; padding: 22px 0; }
  .service-desc, .service-cta { grid-column: 1 / -1; }
}

/* ================== SECTION DARK ================== */
.section-dark { background: var(--text-darkest); color: var(--bg-primary); }
.section-dark .sec-head { border-color: rgba(237,236,232,0.18); }
.section-dark .sec-num, .section-dark .sec-label { color: var(--text-muted); }
.section-dark .lead { color: rgba(237,236,232,0.78); }
.section-dark .service-row { border-color: rgba(237,236,232,0.15); }
.section-dark .service-row::before { background: var(--text-green); }
.section-dark .service-row:hover > * { color: white; }
.section-dark .service-cta { border-color: rgba(237,236,232,0.25); color: var(--bg-primary); }
.section-dark .service-desc { color: rgba(237,236,232,0.7); }

/* ================== PROYECTOS ================== */
.proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 980px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card { cursor: pointer; overflow: hidden; border-radius: 4px; transition: transform 0.4s; }
.proj-card:hover { transform: translateY(-4px); }
.proj-img {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background-color: var(--bg-accent);
}
.proj-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.proj-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(237,236,232,0.92); backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 2px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: var(--text-dark);
}
.proj-cat {
  position: absolute; top: 14px; right: 14px;
  background: rgba(82,105,85,0.92); color: white;
  padding: 6px 10px; border-radius: 2px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.proj-info { padding: 18px 4px 4px; display: flex; justify-content: space-between; align-items: baseline; }
.proj-info h3 { font-size: 16px; font-weight: 500; }
.proj-info .meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-green); }
.proj-loc { font-size: 12px; color: var(--text-dark); opacity: 0.6; padding: 0 4px 14px; }

/* ================== NOSOTROS ================== */
.nosotros { background: var(--bg-secondary); }
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .nosotros-grid { grid-template-columns: 1fr; gap: 40px; } }
.nosotros-text h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 24px; }
.nosotros-text h2 strong { font-weight: 700; }
.nosotros-text h2 em { font-style: normal; color: var(--text-green); }
.nosotros-text p { font-size: 15.5px; line-height: 1.7; color: var(--text-dark); margin-bottom: 16px; opacity: 0.85; }
.nosotros-img {
  max-width: 588px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.nosotros-img img {
  width: 100%; height: auto;
  display: block;
  border-radius: 4px;
}

.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line);
}
.metric {
  position: relative; cursor: default; transition: transform 0.3s ease;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.metric:hover { transform: translateY(-4px); }
.metric .n { font-size: clamp(36px, 5vw, 64px); font-weight: 200; letter-spacing: -0.025em; line-height: 1; display: flex; align-items: baseline; }
.metric .n strong { font-weight: 200; }
.metric .n .counter::before { content: attr(data-prefix); font-weight: 700; }
.metric .n .counter::after { content: attr(data-suffix); font-weight: 700; }
.metric .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-green); margin-top: 8px; }
@media (max-width: 600px) { .metrics { grid-template-columns: 1fr; } }

/* ================== BLOG ================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border-radius: 4px; overflow: hidden; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-img {
  aspect-ratio: 16/10; background: var(--bg-accent); position: relative;
  background-image: linear-gradient(45deg, transparent 49%, rgba(35,31,30,0.04) 49%, rgba(35,31,30,0.04) 51%, transparent 51%);
  background-size: 18px 18px;
}
.blog-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(35,31,30,0.92); color: var(--bg-primary);
  padding: 5px 10px; border-radius: 2px;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.blog-body { padding: 20px 4px 4px; }
.blog-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-green); margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.01em; }
.blog-card p { font-size: 13.5px; color: var(--text-dark); opacity: 0.75; line-height: 1.55; }
.blog-card:hover h3 { color: var(--text-green); }

/* ================== FAQ ================== */
.faq { background: var(--bg-secondary); }
.faq-list { max-width: 980px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: clamp(17px, 2vw, 22px); font-weight: 500;
  letter-spacing: -0.005em; color: var(--text-darkest); transition: color 0.2s;
}
.faq-q:hover { color: var(--text-green); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--text-darkest); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 300; flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--text-green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 0 26px 0; font-size: 15px; line-height: 1.7;
  color: var(--text-dark); opacity: 0.85; max-width: 760px;
}

/* ================== CONTACTO ================== */
.contacto { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-form { display: grid; gap: 22px; }
.field label {
  display: block; font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-green); font-weight: 600; margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--line);
  background: transparent; padding: 10px 0; font-family: inherit;
  font-size: 15px; color: var(--text-darkest); outline: none; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text-green); }
.field textarea { resize: vertical; min-height: 100px; }
.contact-info { display: grid; gap: 28px; align-content: start; }
.ci-block h4 {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-green); margin-bottom: 10px; font-weight: 600;
}
.ci-block p, .ci-block a { font-size: 15.5px; color: var(--text-darkest); line-height: 1.6; display: block; }
.ci-block a:hover { color: var(--text-green); }

/* ================== FOOTER ================== */
.footer { background: #1a1817; color: rgba(255,255,255,0.75); }
.footer-main { padding: 70px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 50px; }
.footer-brand-col .footer-brand-logo { width: 110px; height: auto; filter: invert(1) brightness(1.1); margin-bottom: 18px; }
.footer-brand-col p { font-size: 13.5px; opacity: 0.7; line-height: 1.6; }
.footer-section__title {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,0.95); margin-bottom: 22px;
}
.footer-menu { list-style: none; }
.footer-menu li { margin-bottom: 11px; }
.footer-menu a {
  color: rgba(255,255,255,0.65); font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s; display: inline-block;
}
.footer-menu a:hover { color: var(--text-green); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact p { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.footer-contact a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-contact a:hover { color: var(--text-green); }
.footer-contact strong { color: rgba(255,255,255,0.5); font-weight: 500; margin-right: 6px; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 11px 16px; background: #25D366; color: white; border-radius: 4px;
  font-weight: 500; font-size: 13px; transition: background 0.2s, transform 0.2s; width: fit-content;
}
.whatsapp-btn:hover { background: #1FA844; transform: translateY(-2px); }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); transition: all 0.2s;
}
.footer-socials a:hover { background: var(--text-green); color: white; transform: translateY(-2px); }
.footer-bottom {
  padding: 16px 40px; background: #0f0e0d;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-credits { overflow: hidden; max-width: 520px; flex: 1; cursor: default; }
.footer-credits__inner { display: flex; width: 200%; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.footer-copyright, .footer-maker {
  width: 50%; flex-shrink: 0; font-size: 11.5px; font-weight: 400;
  white-space: nowrap; display: flex; align-items: center;
}
.footer-copyright { color: rgba(255,255,255,0.45); padding-right: 16px; }
.footer-maker { padding-left: 16px; color: rgba(255,255,255,0.55); gap: 5px; font-size: 11px; align-items: center; }
.footer-maker-logo { height: 9px; width: auto; display: inline-block; vertical-align: middle; margin-left: 4px; opacity: 0.7; }
.footer-credits:hover .footer-credits__inner { transform: translateX(-50%); }
.footer-locale { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 768px) {
  .footer-main { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { padding: 14px 20px; flex-direction: column; align-items: flex-start; }
  .footer-credits { max-width: 100%; width: 100%; }
  .footer-credits__inner { width: auto; transform: none !important; flex-direction: column; gap: 6px; }
  .footer-copyright, .footer-maker { width: auto; }
  .footer-maker { padding-left: 0; }
}

/* ================== SCROLL REVEAL ================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s, transform 0.8s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ================== TICKER ================== */
.ticker {
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; background: var(--bg-secondary);
}
.ticker-track { display: inline-flex; gap: 56px; animation: ticker 40s linear infinite; padding-left: 56px; }
.ticker-item {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-darkest); font-weight: 500; display: inline-flex; align-items: center; gap: 56px;
}
.ticker-item::after { content: '✦'; color: var(--text-green); font-size: 14px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================== SERVICES TOGGLE ================== */
.serv-toggle {
  position: relative; display: inline-flex;
  background: var(--bg-secondary); border-radius: 100px;
  padding: 6px; margin-bottom: 48px; gap: 0;
}
.serv-toggle__btn {
  position: relative; z-index: 2; padding: 12px 28px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--text-darkest);
  border-radius: 100px; transition: color 0.3s; background: transparent; white-space: nowrap;
}
.serv-toggle__btn.active { color: white; }
.serv-toggle__indicator {
  position: absolute; top: 6px; left: 6px;
  height: calc(100% - 12px); background: var(--text-darkest); border-radius: 100px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), width 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 1;
}
#servicios { transition: background 0.4s, color 0.4s; }
#servicios.is-dark { background: var(--text-darkest); color: var(--bg-primary); }
#servicios.is-dark .sec-num, #servicios.is-dark .sec-label { color: var(--text-muted); }
#servicios.is-dark .sec-head { border-color: rgba(237,236,232,0.18); }
#servicios.is-dark .sec-head h2 { color: var(--bg-primary); }
#servicios.is-dark .lead { color: rgba(237,236,232,0.75); }
#servicios.is-dark .serv-toggle { background: rgba(237,236,232,0.08); }
#servicios.is-dark .serv-toggle__btn { color: rgba(237,236,232,0.6); }
#servicios.is-dark .serv-toggle__btn.active { color: var(--text-darkest); }
#servicios.is-dark .serv-toggle__indicator { background: var(--bg-primary); }
#servicios.is-dark .service-row { border-color: rgba(237,236,232,0.15); }
#servicios.is-dark .service-row::before { background: var(--bg-primary); }
#servicios.is-dark .service-row > * { color: var(--bg-primary); }
#servicios.is-dark .service-row:hover > * { color: var(--text-darkest); }
#servicios.is-dark .service-num { color: rgba(237,236,232,0.5); }
#servicios.is-dark .service-desc { color: rgba(237,236,232,0.7); }
#servicios.is-dark .service-cta { border-color: rgba(237,236,232,0.3); color: var(--bg-primary); }
#servicios.is-dark .service-row:hover .service-cta { border-color: var(--text-darkest); color: var(--text-darkest); }
.serv-panel { display: none; }
.serv-panel.active { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .serv-toggle { width: 100%; }
  .serv-toggle__btn { flex: 1; padding: 11px 14px; font-size: 0.7rem; }
}

/* ================== INNER PAGES ================== */

/* Page Hero */
.page-hero {
  background: var(--text-darkest);
  color: var(--bg-primary);
  padding: 80px 0 72px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(237,236,232,0.4); margin-bottom: 40px;
}
.breadcrumb a { color: rgba(237,236,232,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-green); }
.breadcrumb .sep { color: rgba(237,236,232,0.18); margin: 0 2px; }
.breadcrumb .current { color: var(--text-green); }

.page-hero__eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-green); font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero__eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--text-green); }
.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 74px);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 300; margin-bottom: 22px;
  color: var(--bg-primary);
}
.page-hero h1 strong { font-weight: 700; }
.page-hero h1 em { font-style: normal; color: var(--text-green); }
.page-hero__sub {
  font-size: 16px; line-height: 1.65;
  color: rgba(237,236,232,0.65); max-width: 600px;
}
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.page-hero .btn-primary { background: var(--text-green); color: white; }
.page-hero .btn-primary:hover { background: #3d5040; }
.page-hero .btn-ghost { color: rgba(237,236,232,0.7); border-color: rgba(237,236,232,0.25); }
.page-hero .btn-ghost:hover { background: rgba(237,236,232,0.1); color: white; }

/* Service Cards (inner pages) */
.service-cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
}
@media (max-width: 768px) { .service-cards-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bg-secondary); padding: 48px 40px;
  position: relative; overflow: hidden; transition: background 0.35s;
}
@media (max-width: 600px) { .service-card { padding: 36px 24px; } }
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px; background: var(--text-green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--bg-accent); }
.service-card__num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-green); margin-bottom: 20px;
}
.service-card h3 {
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 400;
  letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 14px;
}
.service-card p {
  font-size: 14.5px; line-height: 1.65; color: var(--text-dark); opacity: 0.8; margin-bottom: 24px;
}
.service-card__list { list-style: none; margin-bottom: 28px; }
.service-card__list li {
  font-size: 13.5px; color: var(--text-dark); opacity: 0.75;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.service-card__list li::before { content: '→'; color: var(--text-green); font-size: 12px; }
.service-card__link {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--text-green); display: inline-flex; align-items: center; gap: 10px; transition: gap 0.2s;
}
.service-card__link:hover { gap: 16px; }

/* CTA Strip */
.cta-strip {
  background: var(--text-green); color: white;
  padding: 80px 0; text-align: center;
}
.cta-strip h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 300;
  letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 16px; color: white;
}
.cta-strip h2 strong { font-weight: 700; }
.cta-strip p {
  font-size: 16px; color: rgba(255,255,255,0.78);
  margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-strip .btn { background: white; color: var(--text-green); }
.cta-strip .btn:hover { background: var(--text-darkest); color: white; }

/* Process Steps */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  padding: 40px 32px; border-right: 1px solid var(--line); transition: background 0.3s;
}
.step:last-child { border-right: none; }
@media (max-width: 880px) {
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.step:hover { background: var(--bg-secondary); }
.step__num {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; color: var(--text-green); margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--text-dark); opacity: 0.75; }

/* Values / Features Grid */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; gap: 28px; } }
.value-item { padding-top: 20px; border-top: 2px solid var(--text-green); }
.value-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.value-item p { font-size: 14px; line-height: 1.65; color: var(--text-dark); opacity: 0.78; }

/* Text + Image two-col */
.two-col-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
@media (max-width: 880px) { .two-col-grid { grid-template-columns: 1fr; gap: 40px; } }
.two-col-img {
  aspect-ratio: 4/5; background: var(--bg-accent); border-radius: 4px;
  background-image: linear-gradient(135deg, transparent 49%, rgba(35,31,30,0.05) 49%, rgba(35,31,30,0.05) 51%, transparent 51%);
  background-size: 24px 24px; display: flex; align-items: flex-end; padding: 22px;
}
.two-col-text h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 20px; }
.two-col-text h2 strong { font-weight: 700; }
.two-col-text h2 em { font-style: normal; color: var(--text-green); }
.two-col-text p { font-size: 15px; line-height: 1.7; color: var(--text-dark); opacity: 0.82; margin-bottom: 16px; }

/* Blog Article */
.article-hero {
  background: var(--text-darkest); color: var(--bg-primary); padding: 80px 0 60px;
}
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.article-cat {
  background: var(--text-green); color: white;
  padding: 5px 12px; border-radius: 2px;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.article-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(237,236,232,0.5); }
.article-read-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(237,236,232,0.35); }
.article-hero h1 {
  font-size: clamp(30px, 4.5vw, 60px); line-height: 1.06;
  letter-spacing: -0.03em; font-weight: 300; max-width: 900px;
  margin-bottom: 20px; color: var(--bg-primary);
}
.article-hero h1 strong { font-weight: 700; }
.article-hero .article-sub { font-size: 17px; line-height: 1.65; color: rgba(237,236,232,0.65); max-width: 640px; }

.article-cover {
  width: 100%; aspect-ratio: 21/9;
  background: var(--bg-accent);
  background-image: linear-gradient(135deg, transparent 49%, rgba(35,31,30,0.04) 49%, rgba(35,31,30,0.04) 51%, transparent 51%);
  background-size: 24px 24px;
  border-radius: 4px; margin: 60px 0;
  display: flex; align-items: flex-end; padding: 18px;
}
.article-body-wrap { padding-bottom: 80px; }
.article-layout {
  display: grid; grid-template-columns: 1fr min(680px, 100%) 1fr; gap: 0;
}
@media (max-width: 1100px) { .article-layout { grid-template-columns: 1fr; } }
.article-content {
  grid-column: 2; font-size: 17px; line-height: 1.78; color: var(--text-dark);
}
@media (max-width: 1100px) { .article-content { max-width: 720px; margin: 0 auto; } }
.article-content h2 {
  font-size: clamp(22px, 3vw, 34px); font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.15; margin: 56px 0 18px; color: var(--text-darkest);
}
.article-content h3 { font-size: 19px; font-weight: 600; margin: 36px 0 12px; color: var(--text-darkest); }
.article-content p { margin-bottom: 22px; }
.article-content ul, .article-content ol { margin: 0 0 22px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 3px solid var(--text-green); padding-left: 24px;
  margin: 40px 0; font-size: 20px; font-style: italic;
  color: var(--text-darkest); opacity: 0.82;
}
.article-content strong { color: var(--text-darkest); font-weight: 600; }
.article-content a { color: var(--text-green); border-bottom: 1px solid currentColor; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--text-dark);
}

/* Related posts */
.related-posts { background: var(--bg-secondary); }

/* Projects page filters */
.proj-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px;
  color: var(--text-dark); transition: all 0.25s; cursor: pointer; background: transparent;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: var(--text-darkest); color: white; border-color: var(--text-darkest); }

/* Antidrones — use cases */
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 768px) { .use-cases-grid { grid-template-columns: 1fr; } }
.use-case {
  background: var(--text-darkest); color: var(--bg-primary);
  padding: 44px 36px; position: relative; overflow: hidden;
}
.use-case::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--text-green);
}
.use-case__icon { font-size: 28px; margin-bottom: 18px; }
.use-case h3 { font-size: 20px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; }
.use-case p { font-size: 14px; line-height: 1.6; color: rgba(237,236,232,0.68); }

/* Coverage band */
.coverage-band {
  background: var(--text-green); color: white; padding: 48px 0;
  text-align: center;
}
.coverage-band p {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; opacity: 0.8; margin-bottom: 8px;
}
.coverage-band h3 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 300; letter-spacing: -0.02em; }
.coverage-band h3 strong { font-weight: 700; }

/* Dropdown col-title as link */
.dropdown a.dropdown-col-title {
  color: var(--text-green) !important;
  font-size: 10px !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 8px 12px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 6px;
  display: block;
  cursor: pointer;
}
.dropdown a.dropdown-col-title:hover { background: transparent !important; color: white !important; }

/* Navbar socials always visible from 880px up */
@media (min-width: 881px) { .navbar__socials { display: flex !important; } }

/* Service page tabs unified — always dark theme */
#servicios { background: var(--text-darkest); color: var(--bg-primary); }
#servicios .sec-num, #servicios .sec-label { color: var(--text-muted); }
#servicios .sec-head { border-color: rgba(237,236,232,0.18); }
#servicios .sec-head h2 { color: var(--bg-primary); }
#servicios .lead { color: rgba(237,236,232,0.75); }
#servicios .serv-toggle { background: rgba(237,236,232,0.08); }
#servicios .serv-toggle__btn { color: rgba(237,236,232,0.6); }
#servicios .serv-toggle__btn.active { color: var(--text-darkest); }
#servicios .serv-toggle__indicator { background: var(--bg-primary); }
#servicios .service-row { border-color: rgba(237,236,232,0.15); }
#servicios .service-row::before { background: var(--bg-primary); }
#servicios .service-row > * { color: var(--bg-primary); }
#servicios .service-row:hover > * { color: var(--text-darkest); }
#servicios .service-num { color: rgba(237,236,232,0.5); }
#servicios .service-desc { color: rgba(237,236,232,0.7); }
#servicios .service-cta { border-color: rgba(237,236,232,0.3); color: var(--bg-primary); }
#servicios .service-row:hover .service-cta { border-color: var(--text-darkest); color: var(--text-darkest); }
