/* ENTREDRONES — paleta extraída del logo */
:root {
  --navy-950: #020a15;
  --navy-900: #071723;
  --navy-800: #0d2130;
  --navy-700: #13292f;
  --forest-700: #2d4e41;
  --green-600: #457e2f;
  --green-500: #4f8f36;
  --green-400: #5fa83f;
  --sage-500: #41784f;
  --sage-400: #748f7b;
  --green-300: #96b897;
  --mint-100: #cbe2de;
  --mint-50: #eef6f3;
  --white: #ffffff;
  --ink: #0f1f29;
  --muted: #4b5f66;
  --line: #d6e4df;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(7, 23, 35, .10);
  --shadow-lg: 0 20px 50px rgba(7, 23, 35, .18);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-300); margin-bottom: .8em;
}
.eyebrow--dark { color: var(--green-600); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-600); color: var(--white); }
.btn--primary:hover { background: var(--green-500); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.btn--outline:hover, .btn--outline[aria-expanded="true"] { background: var(--navy-900); color: var(--white); }
.btn--sm { padding: .55em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn__icon { width: 1.25em; height: 1.25em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(7, 23, 35, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(150, 184, 151, .15);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand__name { font-family: var(--font-head); font-weight: 800; color: var(--white); letter-spacing: .04em; font-size: 1.1rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #dbe8e3; text-decoration: none; font-weight: 500; font-size: .93rem; }
.nav a:hover { color: var(--white); }
.nav__social { display: flex; gap: 10px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.18); }
.nav__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); }
.nav__social a:hover { background: var(--green-600); }
.nav__social svg { width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 8px 16px 20px;
    border-bottom: 1px solid rgba(150,184,151,.2);
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .nav__social { border: 0; padding: 16px 4px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(150,184,151,.18), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: #dbe8e3;
  padding: calc(var(--header-h) + 56px) 0 150px;
}
.hero__mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.12rem; max-width: 40em; color: #c9dad4; }
.hero .lead strong { color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-300); }
.hero__stats span { font-size: .85rem; color: #9fb4ad; }
.hero__logo { justify-self: center; }
.hero__logo img {
  width: min(320px, 70vw); height: auto; border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(150,184,151,.18);
  animation: hover 6s ease-in-out infinite;
}
@keyframes hover { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__logo img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero { padding-bottom: 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo { order: -1; }
  .hero__logo img { width: 180px; }
}

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--mint { background: var(--mint-50); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 70%, var(--forest-700));
  color: #d4e3de;
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section--dark .section__head p:last-child { color: #b5c9c2; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--white); background: var(--green-600); border-radius: 50%; padding: 3px; margin-top: 1px; }

.coverage { background: var(--mint-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.coverage h3 { font-size: 1rem; margin-top: 4px; }
.chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--navy-900); color: var(--white); font-size: .85rem; padding: .35em .85em; border-radius: 999px; }
.chips--alt li { background: var(--white); color: var(--navy-900); border: 1px solid var(--green-300); }
.note { font-size: .8rem; color: var(--muted); margin: 0; }
.note--dark { color: #9fb4ad; margin-top: 14px; }

/* ---------- Catálogo ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  font: 600 .88rem var(--font-body); padding: .5em 1.05em; border-radius: 999px;
  border: 1.5px solid var(--green-300); background: var(--white); color: var(--navy-900); cursor: pointer;
}
.chip-btn:hover { border-color: var(--green-600); }
.chip-btn.is-active { background: var(--green-600); border-color: var(--green-600); color: var(--white); }

.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card[hidden] { display: none; }
.card__media {
  position: relative; aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 35%, #1d3a3f, var(--navy-900));
  display: grid; place-items: center; overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .drone-art { width: 78%; height: auto; color: var(--green-300); }
.card__media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%;
  background: linear-gradient(transparent, rgba(69,126,47,.35));
}
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--green-600); color: var(--white); font: 700 .72rem var(--font-head);
  letter-spacing: .06em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px;
}
.card__body { padding: 22px 22px 8px; flex: 1; }
.card__brand { font: 700 .75rem var(--font-head); letter-spacing: .12em; color: var(--sage-400); text-transform: uppercase; margin-bottom: 2px; }
.card__title { font-size: 1.45rem; margin-bottom: .4em; }
.card__summary { color: var(--muted); font-size: .95rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.kpi { background: var(--mint-50); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); white-space: nowrap; }
.kpi span { font-size: .72rem; color: var(--muted); line-height: 1.2; display: block; }
.card__highlights { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: .9rem; }
.card__highlights li { display: flex; gap: 8px; }
.card__highlights svg { flex: none; color: var(--green-600); width: 18px; height: 18px; margin-top: 3px; }
.specs { border-top: 1px solid var(--line); margin-top: 8px; }
.specs summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green-600); }
.specs[open] summary::after { content: "−"; }
.specs dl { margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1.2fr; font-size: .86rem; }
.specs dt, .specs dd { margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.specs dt { color: var(--muted); padding-right: 10px; }
.specs dd { font-weight: 500; }
.card__foot { padding: 0 22px 22px; }

.compare { margin-bottom: 32px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 720px; }
.compare th, .compare td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-head); position: sticky; top: 0; }
.compare tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; background: var(--mint-50); position: sticky; left: 0; }
.compare tbody tr:hover td { background: #f7fbf9; }

/* ---------- Calculadoras ---------- */
.tabs { display: inline-flex; background: var(--mint-50); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { font: 700 .92rem var(--font-head); border: 0; background: transparent; padding: .7em 1.3em; border-radius: 999px; cursor: pointer; color: var(--navy-900); }
.tab.is-active { background: var(--navy-900); color: var(--white); }

.calc {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.calc[hidden] { display: none; }
.calc__form { padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; background: var(--white); }
.calc__result { padding: 28px; background: var(--navy-900); color: #d4e3de; }
.calc__result h3 { color: var(--white); }
.calc--dark { border-color: rgba(150,184,151,.25); }
.calc--dark .calc__form { background: rgba(255,255,255,.04); }
.calc--dark .calc__result { background: var(--navy-950); }
.calc--dark label, .calc--dark .label { color: #d4e3de; }
.calc--dark .hint { color: #9fb4ad; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc__form { grid-template-columns: 1fr; padding: 20px; } .calc__result { padding: 22px 20px; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
label, .label { font-weight: 600; font-size: .86rem; color: var(--navy-900); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .7em .85em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(69,126,47,.18); }
.input-unit { display: flex; align-items: stretch; }
.input-unit input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); min-width: 0; }
.input-unit > span, .input-unit > select {
  flex: none; display: grid; place-items: center; padding: 0 .8em; font-size: .85rem; font-weight: 600;
  background: var(--mint-50); border: 1.5px solid var(--line); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted);
}
.input-unit > select { width: auto; padding-right: .4em; }
.hint { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label {
  display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .55em .9em; flex: 1 1 200px;
}
.segmented label:has(input:checked) { border-color: var(--green-600); background: var(--mint-50); }
.segmented input { width: auto; accent-color: var(--green-600); }

.calib { border: 1.5px dashed var(--green-300); border-radius: var(--radius-sm); padding: 14px 16px 16px; margin: 0; }
.calib legend { font-weight: 700; font-size: .88rem; padding: 0 6px; color: var(--navy-900); }
.calib .hint { margin-bottom: 12px; }
.calib__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 520px) { .calib__grid { grid-template-columns: 1fr; } }

.results { margin: 8px 0 18px; display: grid; gap: 0; }
.results > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.09); align-items: baseline; }
.results dt { color: #a9bfb8; font-size: .9rem; }
.results dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--white); text-align: right; font-size: 1.05rem; }
.results .is-key dd { color: var(--green-300); font-size: 1.35rem; }
.results .is-warn dd { color: #f2c46d; }
.results .note-row { display: block; color: #f2c46d; font-size: .84rem; border: 0; padding-top: 12px; }

.tank-visual { position: relative; height: 26px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; display: flex; }
.tank-visual__fill { height: 100%; background: #3d8fb8; transition: width .3s; }
.tank-visual__product { height: 100%; background: var(--green-400); transition: width .3s; }
.tank-legend { font-size: .8rem; color: #a9bfb8; margin: 8px 0 0; display: flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.swatch--water { background: #3d8fb8; }
.swatch--product { background: var(--green-400); margin-left: 10px; }

.formula { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; font-size: .88rem; }
.formula summary { cursor: pointer; font-weight: 600; color: var(--green-300); }
.formula p { margin: .6em 0; color: #c2d4ce; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .84rem; background: rgba(255,255,255,.06); padding: .15em .45em; border-radius: 5px; color: var(--white); }
p.mono { display: block; padding: .6em .8em; }

.price-label { font: 600 .82rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: #9fb4ad; margin: 0; }
.price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--green-300); margin: 4px 0 0; line-height: 1.1; }
.price-sub { color: #b5c9c2; margin-bottom: 8px; }

/* ---------- Casos de uso ---------- */
.grid--uses { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.use {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  position: relative; transition: border-color .2s, transform .2s;
}
.use:hover { border-color: var(--green-300); transform: translateY(-2px); }
.use__icon { width: 52px; height: 52px; color: var(--green-600); background: var(--mint-50); border-radius: 14px; padding: 9px; margin-bottom: 16px; }
.use p { color: var(--muted); font-size: .95rem; }
.use__drones { margin: 0; font: 600 .78rem var(--font-head); color: var(--sage-500) !important; letter-spacing: .03em; }

.grid--rules { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.rule { background: var(--white); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--green-600); }
.rule p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Contacto ---------- */
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--mint-50); color: var(--green-600); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--green-600); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social__btn { display: inline-flex; align-items: center; gap: 8px; padding: .65em 1.1em; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; }
.social__btn svg { width: 20px; height: 20px; }
.social__btn--ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.social__btn--fb { background: #1877f2; }
.contact-form { display: grid; gap: 14px; background: var(--mint-50); padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.map { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb4ad; padding: 40px 0 24px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { border-radius: 12px; }
.footer__brand strong { font-family: var(--font-head); color: var(--white); letter-spacing: .05em; }
.footer__brand p { margin: 0; font-size: .88rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); color: var(--white); }
.footer__social a:hover { background: var(--green-600); }
.footer__social svg { width: 20px; height: 20px; }
.footer__legal p { font-size: .78rem; margin: 18px 0 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
