:root {
  --blue: #1534a4;
  --blue-dark: #0b1b5c;
  --ink: #101828;
  --muted: #5d667a;
  --line: #d9dfec;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --mint: #dff7ea;
  --aqua: #dff5ff;
  --yellow: #fff1c2;
  --coral: #ffe0d6;
  --radius: 10px;
  --shadow: 0 24px 70px rgba(16, 24, 40, .12);
}

* { 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:
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 48%, #ffffff 100%);
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(217, 223, 236, .8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  background:
    linear-gradient(135deg, var(--blue), #33a7c9);
  box-shadow: 0 10px 24px rgba(21, 52, 164, .24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: #2b3448;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue); }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white !important;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(21, 52, 164, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(21, 52, 164, .24);
}

.button.secondary {
  background: white;
  color: var(--blue) !important;
  box-shadow: none;
}

.nav-toggle { display: none; }

.hero,
.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 64px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 241, 194, .82), transparent 31%),
    radial-gradient(circle at 28% 74%, rgba(223, 247, 234, .92), transparent 27%),
    linear-gradient(135deg, #f7f9ff 0%, #ffffff 46%, #eff6ff 100%);
}

.hero h1,
.page-title h1 {
  max-width: 1040px;
  margin: 0 0 20px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-lab {
  display: grid;
  gap: 16px;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid rgba(217, 223, 236, .95);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
}

.hero-image-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(16, 24, 40, .12);
}

.hero-image-card strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.hero-image-card span {
  color: var(--muted);
  font-size: 13px;
}

.lab-window {
  overflow: hidden;
  border: 1px solid rgba(217, 223, 236, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.lab-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.lab-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.lab-bar span:nth-child(2) { background: var(--yellow); }
.lab-bar span:nth-child(3) { background: var(--mint); }

.lab-grid {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.lab-product {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #e5eaf5;
  border-radius: var(--radius);
  background: white;
}

.lab-product:nth-child(2) { background: #f7fffb; }
.lab-product:nth-child(3) { background: #fffaf0; }
.lab-product:nth-child(4) { background: #f5fbff; }
.lab-product:nth-child(5) { background: #fff7f4; }

.lab-product strong {
  font-size: 16px;
}

.lab-product span {
  color: var(--muted);
  font-size: 13px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid rgba(217, 223, 236, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-header h2,
.page-title h1 {
  margin-top: 0;
}

.section-header h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid rgba(217, 223, 236, .95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 34px rgba(16, 24, 40, .05);
}

.product-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-visual {
  position: relative;
  overflow: hidden;
  height: 118px;
  margin: -4px -4px 20px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 52, 164, .14), rgba(223, 245, 255, .9));
}

.product-visual span,
.product-page-visual span {
  position: absolute;
  left: 18px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: white;
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(21, 52, 164, .18);
}

.product-visual i,
.product-page-visual i {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.product-visual i:nth-of-type(1) {
  width: 48%;
  height: 10px;
  top: 24px;
  right: 18px;
}

.product-visual i:nth-of-type(2) {
  width: 36%;
  height: 10px;
  top: 48px;
  right: 38px;
}

.product-visual i:nth-of-type(3) {
  width: 26%;
  height: 10px;
  top: 72px;
  right: 22px;
}

.product-visual-alertaboe {
  background: linear-gradient(135deg, #eaf7ff, #dff7ea);
}

.product-visual-sellotia {
  background: linear-gradient(135deg, #fff4d1, #edf2ff);
}

.product-visual-acompania365 {
  background: linear-gradient(135deg, #e7fff5, #eef6ff);
}

.product-visual-geocopilot-ai {
  background: linear-gradient(135deg, #eaf0ff, #ddfbff);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 52, 164, .38);
  box-shadow: 0 24px 58px rgba(21, 52, 164, .12);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.product-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--aqua);
  color: var(--blue-dark);
  font-weight: 900;
}

.product-card:nth-child(2n) .product-badge { background: var(--mint); }
.product-card:nth-child(3n) .product-badge { background: var(--yellow); }
.product-card:nth-child(4n) .product-badge { background: var(--coral); }

.card h3,
.card h2 { margin-top: 0; }

.card p { color: var(--muted); }

.card-proof {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.product-card .text-link {
  margin-top: auto;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.band {
  background:
    linear-gradient(135deg, var(--blue-dark), #132a76 56%, #173c54);
  color: white;
}

.band p { color: rgba(255,255,255,.76); }
.band .card { color: var(--ink); }
.band .card p,
.band .card li {
  color: #475467;
}
.band .card .eyebrow {
  color: var(--blue);
}
.band .eyebrow { color: #99e6ff; }

.compact-section {
  padding-top: clamp(38px, 5vw, 70px);
  padding-bottom: clamp(38px, 5vw, 70px);
}

.statement-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.mini-list {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
}

.mini-list li {
  margin: 8px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  padding: 24px 0 0;
  border-top: 2px solid var(--blue);
}

.process-grid span {
  color: var(--blue);
  font-weight: 900;
}

.process-grid h3 {
  margin: 10px 0 8px;
}

.process-grid p {
  color: var(--muted);
}

.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 28px;
  align-items: end;
}

.portfolio-intro h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.portfolio-list {
  display: grid;
  gap: 18px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: center;
}

.portfolio-item h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
}

.service-card h4 {
  margin: 22px 0 8px;
}

.page-title {
  padding: clamp(58px, 7vw, 92px) clamp(18px, 5vw, 64px) 30px;
  background:
    linear-gradient(135deg, #f8faff 0%, #ffffff 56%, #f1f8ff 100%);
}

.product-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  background:
    linear-gradient(135deg, #f6f8ff 0%, #ffffff 58%, #effbf5 100%);
}

.product-hero > *:not(.product-page-visual) {
  position: relative;
  z-index: 1;
}

.product-page-visual {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 24px;
  width: min(360px, 34vw);
  height: 210px;
  border: 1px solid rgba(217, 223, 236, .9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(21, 52, 164, .12), rgba(223, 247, 234, .8));
  box-shadow: 0 24px 70px rgba(16, 24, 40, .1);
}

.product-page-visual i:nth-of-type(1) {
  width: 55%;
  height: 12px;
  top: 42px;
  right: 24px;
}

.product-page-visual i:nth-of-type(2) {
  width: 38%;
  height: 12px;
  top: 76px;
  right: 52px;
}

.product-page-visual i:nth-of-type(3) {
  width: 72px;
  height: 72px;
  right: 34px;
  bottom: 28px;
  background: rgba(21, 52, 164, .16);
}

.product-page-visual i:nth-of-type(4) {
  width: 118px;
  height: 12px;
  left: 92px;
  bottom: 48px;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 34px;
  align-items: start;
}

.product-main h2 {
  margin-top: 32px;
}

.product-main h2:first-of-type {
  margin-top: 0;
}

.product-main p {
  color: var(--muted);
  font-size: 18px;
}

.proof-card h2 {
  margin-bottom: 10px;
}

.product-cta-band {
  padding-top: clamp(42px, 5vw, 76px);
  padding-bottom: clamp(42px, 5vw, 76px);
}

.list {
  padding-left: 20px;
}

.list li { margin: 10px 0; }

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 28px);
}

.article h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.article h2 {
  margin-top: 40px;
  font-size: 30px;
  line-height: 1.1;
}

.article h3 {
  margin-top: 28px;
}

.article p,
.article li,
.article-date {
  color: var(--muted);
  font-size: 18px;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  margin: 24px 0 10px;
  border-radius: 8px;
  object-fit: cover;
}

.article img:not(.article-cover) {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article a {
  color: var(--accent);
  font-weight: 700;
}

.article-faq {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.article-faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.article-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin-top: 34px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--muted);
  font-size: 17px;
}

.admin-login {
  max-width: 520px;
}

.admin-table {
  display: grid;
  gap: 16px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.admin-row form {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.geo-history {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}

.geo-history h2 {
  margin: 0;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.geo-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.geo-row:last-child { border-bottom: 0; }

.geo-row span { color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: 32px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfcff;
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(21, 52, 164, .14);
  border-color: var(--blue);
  background: white;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.notice.success { background: var(--mint); }
.notice.error { background: #ffe3e3; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: white;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 28px);
  right: auto;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  width: min(720px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 44px rgba(16, 24, 40, .16);
}

.cookie-banner[hidden],
.cookie-banner.is-hidden {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  color: #344054;
  font-size: 14px;
}
.cookie-copy {
  display: grid;
  gap: 10px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-settings {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.cookie-banner button {
  min-height: 36px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.cookie-banner button:first-child {
  background: white;
  color: var(--ink);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #128c7e;
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(18, 140, 126, .28);
}

@media (max-width: 1180px) {
  .product-grid,
  .grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero,
  .contact-layout,
  .portfolio-intro,
  .portfolio-item,
  .product-story {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 310px;
  }

  .grid,
  .grid.two,
  .grid.three,
  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    padding: 9px 14px;
    font: inherit;
    font-weight: 800;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }
  .section-header { display: block; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 18px; flex-wrap: wrap; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: block;
    width: auto;
    padding: 12px;
  }
  .cookie-actions { margin-top: 12px; justify-content: flex-start; }
  .cookie-settings { align-items: flex-start; flex-direction: column; }
  .geo-row { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-row form { justify-items: start; }
  .product-page-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 360px;
  }
}
