:root {
  --navy: #001f3b;
  --navy-2: #002a4d;
  --navy-3: #021529;
  --gold: #d9a53a;
  --gold-2: #f0bd48;
  --ink: #071f3c;
  --text: #22314d;
  --muted: #6d7b8d;
  --line: #dce4ee;
  --card: #ffffff;
  --soft: #f5f8fb;
  --shadow: 0 18px 45px rgba(3,23,43,.10);
  --radius: 18px;
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55
}

a {
  color:inherit;
  text-decoration:none
}

img {
  max-width:100%;
  display:block
}

.container {
  width:min(1160px,92vw);
  margin:0 auto
}

.header {
  background:linear-gradient(110deg,var(--navy),#00294e);
  color:white;
  position:sticky;
  top:0;
  z-index:20;
  box-shadow:0 2px 20px rgba(0,0,0,.18)
}

.nav {
  height:116px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0
}

.logo {
  width:78px;
  height:78px;
  object-fit:contain;
  flex:0 0 auto
}

.brand-title {
  font-family:Georgia,'Times New Roman',serif;
  font-size:44px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.02em;
  white-space:nowrap
}

.nav-links {
  display:flex;
  gap:56px;
  align-items:center;
  font-weight:700;
  font-size:20px;
  white-space:nowrap
}

.nav-links a {
  position:relative;
  padding:12px 0;
  color:#fff;
  opacity:.95
}

.nav-links a:hover,.nav-links a.active {
  opacity:1
}

.nav-links a.active::after,.nav-links a:hover::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:4px;
  background:var(--gold);
  border-radius:4px
}

.hero-cover {
  height:330px;
  background-image:linear-gradient(90deg,rgba(0,31,59,.68),rgba(0,31,59,.12)),url('../images/hero-portada-limpia.png');
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden
}

.hero-cover.center {
  text-align:center;
  justify-content:center;
  background-image:linear-gradient(90deg,rgba(0,31,59,.42),rgba(0,31,59,.18)),url('../images/hero-portada-limpia.png')
}

.hero-cover .container {
  position:relative;
  z-index:2
}

.hero-title {
  font-family:Georgia,'Times New Roman',serif;
  font-size:58px;
  line-height:1;
  margin:0 0 18px;
  color:#fff
}

.hero-sub {
  font-size:25px;
  max-width:520px;
  margin:0;
  color:rgba(255,255,255,.95)
}

.gold-line {
  width:80px;
  height:4px;
  background:var(--gold);
  border-radius:4px;
  margin:0 0 26px
}

.cover-placeholder {
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:20px;
  text-shadow:0 2px 14px rgba(0,0,0,.25)
}

.cover-placeholder svg {
  width:56px;
  height:56px;
  opacity:.95
}

.section {
  padding:66px 0
}

.section-tight {
  padding:50px 0
}

.title {
  font-family:Georgia,'Times New Roman',serif;
  font-size:58px;
  line-height:1.08;
  color:var(--ink);
  margin:0 0 24px;
  letter-spacing:-.03em
}

.title.mid {
  font-size:48px
}

.lead {
  font-size:20px;
  max-width:760px;
  margin:0 0 32px;
  color:#263752
}

.intro-grid {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center
}

.line-art {
  opacity:.75;
  max-height:300px;
  object-fit:contain;
  margin-left:auto
}

.cards-2 {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px
}

.service-card,.card {
  background:#fff;
  border:1px solid rgba(200,212,226,.85);
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:34px;
  position:relative;
  overflow:hidden
}

.service-card {
  min-height:285px
}

.service-card .sketch {
  position:absolute;
  right:-10px;
  bottom:0;
  width:48%;
  opacity:.58
}

.icon-circle {
  width:72px;
  height:72px;
  border-radius:50%;
  background:var(--navy);
  display:grid;
  place-items:center;
  box-shadow:0 12px 24px rgba(0,31,59,.18);
  flex:0 0 auto
}

.icon-circle svg {
  width:34px;
  height:34px;
  stroke:var(--gold);
  fill:none;
  stroke-width:2.4
}

.card-title {
  font-family:Georgia,'Times New Roman',serif;
  font-size:30px;
  color:var(--ink);
  margin:14px 0 6px
}

.mini-line {
  width:45px;
  height:3px;
  background:var(--gold);
  border-radius:3px;
  margin:0 0 20px
}

.bullets {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
  position:relative;
  z-index:2
}

.bullets li {
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#263752
}

.bullets li::before {
  content:'◉';
  font-size:12px;
  line-height:1.75;
  color:var(--gold)
}

.projects-strip {
  margin-top:34px;
  background:linear-gradient(90deg,#f8fbfe,#fff);
  border:1px solid #e4ebf3;
  border-radius:4px;
  padding:28px 30px;
  display:grid;
  grid-template-columns:300px 1fr 1fr;
  gap:24px;
  align-items:center
}

.placeholder {
  height:210px;
  border-radius:6px;
  background:linear-gradient(145deg,#d9d9d9,#f0f0f0);
  border:1px solid #dadde1;
  display:grid;
  place-items:center;
  text-align:center;
  color:#566171;
  font-weight:600
}

.placeholder svg {
  width:50px;
  margin:0 auto 10px
}

.beebot-banner {
  margin-top:38px;
  background:linear-gradient(110deg,#002241,#00142a);
  color:#fff;
  border-radius:18px;
  box-shadow:0 20px 44px rgba(0,31,59,.25);
  display:grid;
  grid-template-columns:210px 260px 1px 1fr;
  gap:32px;
  align-items:center;
  padding:34px
}

.beebot-banner img {
  width:150px;
  justify-self:center
}

.beebot-banner h2 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:42px;
  margin:0 0 10px
}

.beebot-banner p {
  margin:0;
  font-size:17px;
  color:rgba(255,255,255,.88)
}

.divider {
  height:120px;
  background:rgba(217,165,58,.65);
  width:1px
}

.quick-chat {
  display:grid;
  grid-template-columns:86px 1fr;
  gap:18px;
  align-items:center
}

.chat-bubble-preview {
  background:rgba(255,255,255,.12);
  padding:18px 20px;
  border-radius:8px;
  color:white
}

.input-row {
  grid-column:2;
  display:flex;
  gap:12px
}

.input-row input,.input-row textarea,.field {
  width:100%;
  border:1px solid #cdd8e4;
  border-radius:8px;
  padding:17px 18px;
  font-size:16px;
  background:#fff;
  color:var(--ink)
}

.btn {
  border:0;
  border-radius:8px;
  background:linear-gradient(180deg,var(--gold-2),var(--gold));
  color:#0c2440;
  font-weight:800;
  font-size:17px;
  padding:16px 24px;
  display:inline-flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(217,165,58,.25)
}

.btn:hover {
  filter:brightness(.98);
  transform:translateY(-1px)
}

.btn.secondary {
  background:#fff;
  border:1px solid #cbd7e2;
  color:#0c2440
}

.contact-mini {
  padding:42px 0;
  background:#fbfdff;
  background-image:radial-gradient(#eaf1f8 1px, transparent 1px);
  background-size:18px 18px
}

.contact-row {
  display:grid;
  grid-template-columns:300px repeat(3,1fr);
  gap:28px;
  align-items:center
}

.contact-chip {
  display:flex;
  align-items:center;
  gap:18px;
  border-left:1px solid #d8e1eb;
  padding-left:26px
}

.contact-chip strong {
  display:block;
  color:var(--ink)
}

.contact-chip span {
  font-size:14px;
  color:#516174
}

.footer {
  background:linear-gradient(110deg,var(--navy),#001326);
  color:white;
  padding:54px 0 34px
}

.footer-grid {
  display:grid;
  grid-template-columns:1.25fr 1px .6fr .6fr;
  gap:46px;
  align-items:start
}

.footer-brand {
  display:flex;
  gap:20px;
  align-items:flex-start
}

.footer-brand img {
  width:82px
}

.footer h3 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:34px;
  margin:8px 0 7px
}

.footer p {
  margin:0;
  color:rgba(255,255,255,.82)
}

.footer-line {
  width:1px;
  background:var(--gold);
  height:74px
}

.footer a {
  display:inline-block;
  font-size:20px;
  font-weight:700;
  position:relative
}

.footer a::after {
  content:"";
  display:block;
  width:43px;
  height:3px;
  background:var(--gold);
  margin-top:12px;
  border-radius:3px
}

.copyright {
  text-align:center;
  margin-top:40px;
  color:rgba(255,255,255,.72);
  font-size:14px
}

/* BeeBot page */
.page-intro {
  position:relative
}

.page-intro::after {
  content:"";
  position:absolute;
  right:4%;
  top:15px;
  width:300px;
  height:260px;
  background:url('../images/beebot-linea-v2.png') center/contain no-repeat;
  opacity:.8;
  pointer-events:none
}

.chat-page-grid {
  display:grid;
  grid-template-columns:1fr 330px;
  gap:24px;
  align-items:start
}

.chat-system {
  display:grid;
  grid-template-columns:240px 1fr;
  background:white;
  border:1px solid #e1e8f0;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow)
}

.chat-sidebar {
  background:linear-gradient(180deg,#002241,#001426);
  color:white;
  padding:38px 28px;
  text-align:center
}

.chat-sidebar .bee {
  width:134px;
  margin:0 auto 18px
}

.chat-sidebar h2 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:38px;
  margin:0
}

.chat-sidebar .mini-line {
  margin:16px auto 42px
}

.side-feature {
  display:flex;
  align-items:center;
  text-align:left;
  gap:14px;
  border-top:1px solid rgba(255,255,255,.18);
  padding:24px 0;
  font-size:15px;
  color:rgba(255,255,255,.9)
}

.side-feature .icon-circle {
  width:50px;
  height:50px;
  background:transparent;
  border:1px solid var(--gold);
  box-shadow:none
}

.side-feature .icon-circle svg {
  width:25px;
  height:25px
}

.chat-window {
  padding:34px 24px 22px;
  background:#fff
}

.day {
  display:flex;
  align-items:center;
  gap:24px;
  color:#738194;
  justify-content:center;
  margin:0 0 26px
}

.day::before,.day::after {
  content:"";
  height:1px;
  background:#d9e2ed;
  width:180px
}

.msg {
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  margin:22px 0
}

.msg.user {
  grid-template-columns:1fr;
  justify-items:end
}

.avatar {
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--navy);
  display:grid;
  place-items:center
}

.avatar img {
  width:30px
}

.msg-meta {
  font-size:14px;
  font-weight:800;
  color:var(--ink);
  margin-bottom:6px
}

.msg-meta small {
  color:#8a97a6;
  font-weight:500;
  margin-left:12px
}

.bubble {
  max-width:440px;
  background:#f1f4f7;
  border-radius:18px 18px 18px 4px;
  padding:16px 18px;
  color:#1b2940;
  box-shadow:0 8px 18px rgba(0,0,0,.04)
}

.msg.user .bubble {
  background:var(--navy);
  color:white;
  border-radius:18px 18px 4px 18px
}

.bubble ul {
  margin:10px 0 0;
  padding-left:18px
}

.bubble li::marker {
  color:var(--gold)
}

.chat-input {
  display:flex;
  gap:12px;
  margin-top:25px
}

.chat-input input {
  width:100%;
  border:1px solid #cbd7e2;
  border-radius:8px;
  padding:16px 18px;
  font-size:16px
}

.small-note {
  font-size:12px;
  color:#7a8797;
  margin-top:10px
}

.help-panel {
  background:white;
  border:1px solid #e1e8f0;
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:26px 18px
}

.help-panel h3 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:30px;
  margin:0;
  color:var(--ink)
}

.topic {
  display:grid;
  grid-template-columns:62px 1fr;
  gap:14px;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid #e7edf4
}

.topic:last-child {
  border-bottom:0
}

.topic .icon-circle {
  width:54px;
  height:54px
}

.topic .icon-circle svg {
  width:28px;
  height:28px
}

.topic strong {
  display:block;
  color:var(--ink);
  font-family:Georgia,'Times New Roman',serif;
  font-size:20px;
  line-height:1.05
}

.topic span {
  font-size:13px;
  color:#4e5d70
}

.team-card {
  margin-top:34px;
  background:white;
  border:1px solid #e1e8f0;
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:28px;
  display:grid;
  grid-template-columns:1fr 210px 210px 100px;
  gap:15px;
  align-items:center
}

.team-card h3 {
  font-family:Georgia,'Times New Roman',serif;
  margin:0 0 4px;
  font-size:28px;
  color:var(--ink)
}

/* Contact page */
.contact-info-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin:40px 0 28px
}

.info-card {
  background:white;
  border:1px solid #e1e8f0;
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:26px;
  display:grid;
  grid-template-columns:74px 1fr;
  gap:20px;
  align-items:start
}

.info-card h3 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:26px;
  margin:0;
  color:var(--ink)
}

.info-card p {
  margin:8px 0 0
}

.contact-layout {
  display:grid;
  grid-template-columns:1fr 360px;
  gap:24px
}

.form-card {
  background:white;
  border:1px solid #e1e8f0;
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:32px
}

.form-card-head {
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-bottom:26px
}

.form-card h2 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:32px;
  margin:0;
  color:var(--ink)
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

.field-wrap label {
  display:block;
  font-weight:700;
  color:#20314c;
  margin-bottom:8px
}

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

.full {
  grid-column:1/-1
}

.check-row {
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin:18px 0 0;
  font-size:14px
}

.info-strip {
  margin-top:22px;
  background:#f1f6fb;
  border-radius:8px;
  padding:15px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#42546b
}

.beebot-cta {
  margin-top:22px;
  background:linear-gradient(110deg,#002241,#001426);
  color:white;
  border-radius:12px;
  padding:24px;
  display:grid;
  grid-template-columns:110px 1fr;
  gap:18px;
  align-items:center
}

.beebot-cta img {
  width:100px
}

.beebot-cta h3 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:24px;
  margin:0 0 14px
}

.benefits {
  margin-top:32px;
  background:white;
  border:1px solid #e1e8f0;
  border-radius:12px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:24px
}

.benefit {
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:start;
  padding:0 18px;
  border-right:1px solid #dce5ee
}

.benefit:last-child {
  border-right:0
}

.benefit h4 {
  margin:0 0 4px;
  color:var(--ink)
}

.benefit p {
  margin:0;
  font-size:14px;
  color:#526174
}

.contact-bg-art {
  position:absolute;
  right:7%;
  top:70px;
  width:360px;
  opacity:.62
}

.relative {
  position:relative
}

@media (max-width:835px) {
  .brand-title {
    font-size:34px
  }

  .nav {
    height:92px
  }

  .logo {
    width:62px;
    height:62px
  }

  .nav-links {
    gap:24px
  }

  .intro-grid,.cards-2,.chat-page-grid,.contact-layout,.projects-strip,.beebot-banner,.contact-row,.footer-grid,.contact-info-grid,.team-card {
    grid-template-columns:1fr
  }

  .divider,.footer-line {
    display:none
  }

  .beebot-banner {
    gap:20px
  }

  .input-row {
    grid-column:1
  }

  .page-intro::after,.contact-bg-art {
    display:none
  }

  .chat-system {
    grid-template-columns:1fr
  }

  .chat-sidebar {
    padding:28px
  }

  .team-card {
    gap:12px
  }

  .benefits {
    grid-template-columns:1fr 1fr
  }

  .benefit {
    border-right:0;
    border-bottom:1px solid #dce5ee;
    padding:16px
  }

  .benefit:nth-last-child(-n+2) {
    border-bottom:0
  }

}

@media (max-width:640px) {
  .container {
    width:min(100% - 32px,1160px)
  }

  .nav {
    height:auto;
    padding:16px 0;
    align-items:flex-start
  }

  .brand-title {
    font-size:26px;
    white-space:normal
  }

  .logo {
    width:54px;
    height:54px
  }

  .nav-links {
    font-size:16px;
    gap:18px;
    margin-top:12px
  }

  .nav {
    flex-direction:column
  }

  .hero-cover {
    height:260px
  }

  .hero-title {
    font-size:42px
  }

  .hero-sub {
    font-size:19px
  }

  .title {
    font-size:38px
  }

  .title.mid {
    font-size:34px
  }

  .lead {
    font-size:17px
  }

  .section {
    padding:42px 0
  }

  .service-card,.card,.form-card {
    padding:22px
  }

  .projects-strip {
    padding:18px
  }

  .beebot-banner {
    padding:24px
  }

  .contact-info-grid,.form-grid,.benefits {
    grid-template-columns:1fr
  }

  .benefit {
    border-bottom:1px solid #dce5ee
  }

  .benefit:last-child {
    border-bottom:0
  }

  .chat-input,.input-row {
    flex-direction:column
  }

  .team-card {
    padding:20px
  }

  .hero-cover.center .cover-placeholder {
    font-size:16px
  }

  .footer-grid {
    gap:24px
  }

  .footer h3 {
    font-size:27px
  }

}

/* Ajustes de fidelidad al diseño aprobado V2 — sin rediseñar las tres hojas */
@media (min-width:836px) and (max-width:1120px) {
  .container {
    width:94vw
  }

  .nav {
    height:94px
  }

  .brand-title {
    font-size:35px
  }

  .logo {
    width:64px;
    height:64px
  }

  .nav-links {
    gap:28px;
    font-size:17px
  }

  .title {
    font-size:clamp(39px,4.9vw,54px)
  }

  .title.mid {
    font-size:clamp(31px,4vw,44px)
  }

  .lead {
    font-size:17px
  }

  .hero-cover {
    height:270px
  }

  .chat-page-grid {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:14px
  }

  .chat-system {
    grid-template-columns:170px minmax(0,1fr)
  }

  .chat-sidebar {
    padding:25px 14px
  }

  .chat-sidebar .bee {
    width:110px
  }

  .chat-sidebar h2 {
    font-size:30px
  }

  .side-feature {
    gap:8px;
    font-size:12px
  }

  .chat-window {
    padding:23px 15px 17px
  }

  .bubble {
    padding:12px;
    font-size:14px
  }

  .help-panel {
    padding:18px 13px
  }

  .help-panel h3 {
    font-size:25px
  }

  .topic {
    grid-template-columns:50px 1fr;
    gap:8px;
    padding:10px 0
  }

  .topic .icon-circle {
    width:45px;
    height:45px
  }

  .topic strong {
    font-size:17px
  }

  .chat-input .btn {
    padding:11px
  }

  .team-card {
    grid-template-columns:minmax(0,1fr) 190px;
    gap:12px
  }

  .team-card .btn {
    justify-self:end
  }

  .contact-layout {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:14px
  }

  .form-card {
    padding:20px
  }

  .contact-info-grid {
    gap:12px
  }

  .info-card {
    padding:16px
  }

  .beebot-banner {
    grid-template-columns:120px 190px 1px minmax(0,1fr);
    gap:15px
  }

  .beebot-banner img {
    width:105px
  }

  .beebot-banner h2 {
    font-size:32px
  }

  .quick-chat {
    grid-template-columns:56px 1fr;
    gap:9px
  }

  .input-row {
    gap:7px
  }

  .input-row .btn {
    padding:12px;
    font-size:13px
  }

  .service-card {
    padding:22px
  }

  .card-title {
    font-size:26px
  }

  .projects-strip {
    grid-template-columns:220px 1fr 1fr;
    gap:12px
  }

  .contact-row {
    grid-template-columns:230px repeat(3,minmax(0,1fr));
    gap:14px
  }

  .contact-chip {
    padding-left:14px;
    gap:10px
  }

  .contact-chip .icon-circle {
    width:48px;
    height:48px
  }

  .footer h3 {
    font-size:28px
  }

  .footer-grid {
    gap:28px
  }

}

@media (min-width:836px) and (max-width:940px) {
  .chat-system {
    grid-template-columns:155px minmax(0,1fr)
  }

  .chat-page-grid {
    grid-template-columns:minmax(0,1fr) 245px
  }

  .contact-layout {
    grid-template-columns:minmax(0,1fr) 250px
  }

  .form-grid {
    gap:10px
  }

  .field {
    min-width:0
  }

  .contact-row {
    grid-template-columns:200px repeat(3,minmax(0,1fr))
  }

}

/* Oculta el texto central que venía incrustado en la imagen original, solo en la portada de Contacto.
   Se cubre con una superposición azul del mismo estilo aprobado: portada de Principal y BeeBot sin cambios. */
.contact-hero {
  background-image:linear-gradient(90deg,rgba(0,25,48,.96) 0%,rgba(0,25,48,.92) 55%,rgba(0,25,48,.16) 100%),url('../images/hero-portada-limpia.png')
}

.contact-hero .container {
  max-width:1160px
}

.contact-hero .hero-title,.contact-hero .hero-sub {
  position:relative;
  z-index:1;
  max-width:420px
}

/* Accesos reales y protección del contacto */
.email-image {
  max-width:100%;
  width:280px;
  height:auto;
  object-fit:contain;
  display:inline-block;
  vertical-align:middle
}

.contact-chip .email-image {
  width:200px
}

.contact-chip a,.info-card a {
  color:#0d4e8b;
  text-decoration:none;
  font-weight:700
}

.contact-chip a:hover,.info-card a:hover {
  text-decoration:underline
}

.anti-robot-hidden,.antirobot-fields {
  position:absolute!important;
  left:-9999px!important;
  width:1px;
  height:1px;
  overflow:hidden
}

.captcha-area {
  margin:22px 0 8px;
  min-height:92px
}

.captcha-area .small-note {
  font-size:12px;
  color:#64748b;
  max-width:390px
}

.form-result {
  font-size:14px;
  font-weight:700;
  margin:12px 0 0
}

.form-result.ok {
  color:#087249
}

.form-result.warn {
  color:#9a4a00
}

.privacy-link {
  color:#154e85;
  text-decoration:underline
}

.privacy-details {
  margin-top:22px;
  border-top:1px solid #e0e7f0;
  padding-top:16px;
  font-size:14px;
  color:#506174
}

.privacy-details summary {
  cursor:pointer;
  font-weight:700;
  color:var(--ink)
}

.privacy-details p {
  margin-bottom:0
}

.map-section {
  margin-top:34px;
  border:1px solid #e0e8f0;
  border-radius:14px;
  padding:23px 28px;
  background:#fafcff
}

.map-section-head {
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:center
}

.map-section h2 {
  font:700 28px Georgia,'Times New Roman',serif;
  color:var(--ink);
  margin:0 0 4px
}

.map-section p {
  margin:0
}

.map-link {
  color:#0f518c;
  font-weight:700;
  white-space:nowrap
}

.map-disclosure {
  margin-top:10px
}

.map-disclosure summary {
  cursor:pointer;
  color:var(--ink);
  font-weight:700;
  padding:12px 0
}

.map-frame {
  height:350px;
  overflow:hidden;
  border:1px solid #dbe3ed;
  border-radius:10px;
  background:#e7eef5
}

.map-frame iframe {
  height:100%;
  width:100%;
  border:0
}

.map-small-note {
  font-size:12px;
  color:#6a7584;
  margin:8px 0 0!important
}

.security-branding {
  border-top:1px solid rgba(255,255,255,.13);
  margin-top:30px;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:18px
}

.security-intro {
  font-size:14px;
  color:#d5e2f0
}

.trust-seal {
  min-width:167px;
  min-height:42px
}

.trust-seal img {
  display:block;
  width:167px;
  height:42px;
  object-fit:contain;
  border-radius:4px
}

.trust-seal-link {
  display:inline-block;
  line-height:0
}

.whatsapp-footer {
  font-size:15px!important;
  color:#f0c766;
  font-weight:700!important
}

.whatsapp-footer::after {
  display:none!important
}

.team-card .btn {
  white-space:nowrap
}

@media(max-width:835px) {
  .map-section-head {
    flex-direction:column;
    align-items:flex-start
  }

  .map-link {
    white-space:normal
  }

  .team-card .btn {
    justify-self:start
  }

}

@media(max-width:640px) {
  .contact-hero {
    background-image:linear-gradient(90deg,rgba(0,25,48,.98) 0%,rgba(0,25,48,.92) 65%,rgba(0,25,48,.28) 100%),url('../images/hero-portada-limpia.png')
  }

  .map-section {
    padding:17px
  }

  .security-branding {
    flex-direction:column;
    align-items:flex-start
  }

  .captcha-area .g-recaptcha {
    transform:scale(.89);
    transform-origin:left top;
    margin-bottom:-7px
  }

  .email-image {
    width:min(100%,280px)
  }

}

/* Refinamiento de fidelidad: mismas tarjetas, mismo orden, sin textos superpuestos. */
.intro-grid {
  display:block;
  position:relative
}

.intro-grid > div {
  position:relative;
  z-index:2
}

.intro-grid .title {
  max-width:980px
}

.intro-grid .lead {
  max-width:810px
}

.intro-grid .line-art {
  position:absolute;
  right:0;
  top:8px;
  width:300px;
  max-height:290px;
  opacity:.24;
  pointer-events:none
}

@media(min-width:836px) and (max-width:1120px) {
  .intro-grid .title {
    max-width:825px
  }

  .intro-grid .lead {
    max-width:660px
  }

  .intro-grid .line-art {
    width:270px;
    opacity:.2
  }

  .benefit {
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
    padding:0 9px
  }

  .benefit .icon-circle {
    width:42px;
    height:42px
  }

  .benefit .icon-circle svg {
    width:22px;
    height:22px
  }

  .benefit h4 {
    font-size:14px
  }

  .benefit p {
    font-size:12px
  }

  .beebot-cta {
    grid-template-columns:65px minmax(0,1fr);
    padding:17px;
    gap:10px
  }

  .beebot-cta img {
    width:63px
  }

  .beebot-cta h3 {
    font-size:17px;
    line-height:1.4
  }

  .beebot-cta .btn {
    font-size:14px;
    padding:11px 12px
  }

  .info-card:has(.email-image) {
    grid-template-columns:50px minmax(0,1fr);
    gap:10px
  }

  .info-card:has(.email-image) .icon-circle {
    width:50px;
    height:50px
  }

  .info-card:has(.email-image) p:has(.email-image) {
    margin-left:-60px;
    width:calc(100% + 60px);
    margin-top:16px
  }

  .info-card:has(.email-image) .email-image {
    width:100%
  }

}

.trust-seal a::after {
  display:none!important
}

.contact-hero::before {
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:1;
  top:0;
  bottom:0;
  left:29%;
  width:39%;
  background:rgba(0,27,51,.71);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter: blur(7px);
  mask-image:linear-gradient(90deg,transparent 0%,black 25%,black 77%,transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,black 25%,black 77%,transparent 100%);
}

@media(max-width:835px) {
  .intro-grid .line-art {
    opacity:.2;
    position:absolute;
    right:0;
    top:0;
    width:240px
  }

  .intro-grid {
    display:block
  }

  .intro-grid .title,.intro-grid .lead {
    position:relative;
    z-index:2
  }

  .benefit {
    grid-template-columns:54px minmax(0,1fr)
  }

}

@media(max-width:640px) {
  .intro-grid .line-art {
    opacity:.12
  }

  .contact-hero::before {
    left:25%;
    width:51%
  }

}

@media (min-width:836px) and (max-width:1120px) {
  .intro-grid .title {
    max-width:775px
  }

  .input-row {
    min-width:0;
    gap:7px
  }

  .input-row input {
    min-width:0;
    flex:1
  }

  .input-row .btn {
    white-space:nowrap;
    flex:0 0 auto;
    font-size:12px;
    padding:12px 10px
  }

  .chat-input input {
    min-width:0;
    flex:1
  }

  .chat-input .btn {
    white-space:nowrap;
    font-size:14px
  }

}

/* V2 APROBADA: identidad gráfica extraída de la Hoja Chat original, sin rediseño. */
.chat-sidebar .bee {
  object-fit:contain;
  max-width:100%;
  border-radius:0
}

.beebot-banner img {
  object-fit:contain
}

.avatar {
  overflow:hidden
}

.avatar img {
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover
}

.page-intro::after {
  opacity:.74
}

/* Las opciones de consulta conservan su posición; se presentan como tarjetas suaves como en el diseño aprobado. */
.help-panel .topic {
  background:#fff;
  border:1px solid #ebeff3;
  border-radius:11px;
  box-shadow:0 3px 13px rgba(3,31,55,.06);
  padding:12px 9px;
  margin:8px 0;
  min-width:0
}

.help-panel .topic strong {
  line-height:1.18
}

.help-panel .topic div {
  min-width:0
}

@media(max-width:1120px) {
  .help-panel .topic {
    padding:10px 8px;
    gap:7px
  }

}

/* IDENTIDAD ORIGINAL BEEBOT 2026 — arte entregado por el creador. */
.beebot-hero {
  color:white;
  background:#090d13;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-bottom:4px solid var(--gold);
}

.beebot-hero::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 74% 30%,rgba(255,187,23,.16),transparent 45%),linear-gradient(105deg,#001f3b 0%,#021426 44%,#0a0d13 80%);
  z-index:-1
}

.beebot-hero-content {
  min-height:370px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  align-items:center;
  gap:18px
}

.beebot-hero-copy {
  padding:35px 0;
  position:relative;
  z-index:2
}

.beebot-hero-eyebrow,.brand-tag {
  font-size:12px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#f5c55a;
  font-weight:800
}

.beebot-hero h1 {
  font:700 clamp(40px,4.7vw,66px)/1.07 Georgia,'Times New Roman',serif;
  letter-spacing:-.035em;
  margin:14px 0 18px;
  color:white
}

.beebot-hero h1 em {
  font-style:normal;
  color:#f5c55a
}

.beebot-hero p {
  font-size:18px;
  line-height:1.6;
  color:#e1eaf4;
  margin:0 0 24px;
  max-width:505px
}

.beebot-hero-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center
}

.beebot-hero-robot {
  width:100%;
  max-width:680px;
  height:365px;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 10px 17px rgba(0,0,0,.18));
  justify-self:center
}

.chat-sidebar .bee {
  width:160px;
  height:150px;
  object-fit:contain;
  object-position:center;
  background:#070b10;
  border:1px solid rgba(246,189,72,.5);
  border-radius:15px;
  margin:0 auto 17px
}

.chat-window .avatar {
  background:#080e16;
  border:1px solid #e6bc42
}

.chat-window .avatar img {
  object-fit:cover
}

#beebotInput {
  scroll-margin-top:145px
}

.beebot-identity-section {
  background:linear-gradient(#f6f9fd,#fff)
}

.beebot-identity-grid {
  display:grid;
  grid-template-columns:minmax(0,480px) minmax(0,1fr);
  gap:60px;
  align-items:center;
  border-radius:20px;
  padding:30px;
  background:#fff;
  border:1px solid #dfe9f2;
  box-shadow:0 18px 50px rgba(0,31,59,.08)
}

.beebot-brand-art {
  border-radius:16px;
  overflow:hidden;
  border:1px solid #dde5ef;
  background:#fff
}

.beebot-brand-art img {
  width:100%;
  height:auto;
  object-fit:contain
}

.beebot-brand-copy h2 {
  font:700 clamp(28px,3vw,42px)/1.12 Georgia,'Times New Roman',serif;
  color:var(--ink);
  margin:15px 0
}

.beebot-brand-copy p {
  max-width:530px;
  font-size:16px;
  line-height:1.65
}

@media (max-width:835px) {
  .beebot-hero-content {
    grid-template-columns:1fr 1fr;
    min-height:315px
  }

  .beebot-hero-robot {
    height:315px
  }

  .beebot-hero p {
    font-size:16px
  }

  .beebot-identity-grid {
    grid-template-columns:1fr;
    gap:24px
  }

  .beebot-brand-art {
    max-width:480px;
    margin-inline:auto
  }

}

@media (max-width:640px) {
  .beebot-hero-content {
    grid-template-columns:1fr;
    gap:0
  }

  .beebot-hero-copy {
    padding:30px 0 0
  }

  .beebot-hero-robot {
    height:270px;
    max-width:460px
  }

  .beebot-hero h1 {
    font-size:43px
  }

  .beebot-hero p {
    font-size:16px
  }

  .beebot-identity-grid {
    padding:18px;
    gap:20px
  }

  .chat-sidebar .bee {
    height:120px;
    width:144px
  }

}

/* Ajuste mínimo: evita que el botón de Contacto invada los campos. */
@media (min-width:836px) {
  .team-card {
    grid-template-columns:minmax(220px,1fr) minmax(120px,175px) minmax(120px,175px) 152px;
    gap:12px
  }

  .team-card .btn {
    width:152px;
    padding:12px 10px;
    font-size:13px;
    justify-self:stretch;
    white-space:nowrap
  }

  .team-card .field {
    min-width:0;
    width:100%
  }

}

@media (max-width:835px) {
  .team-card {
    grid-template-columns:minmax(0,1fr)
  }

  .team-card .btn {
    justify-self:start;
    white-space:normal
  }

}

/* V4: contenido histórico + servicios explorables — V2 visual preservada */
.skip-link {
  position:absolute;
  top:-80px;
  left:12px;
  z-index:1000;
  background:white;
  color:var(--navy);
  padding:10px
}

.skip-link:focus {
  top:8px
}

.experience-note {
  margin:12px 0 17px;
  color:#24405c;
  font-size:17px
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 29px
}

.hero-actions .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center
}

.btn-outline {
  background:#fff!important;
  color:#002a4d!important;
  border:1px solid #b6c7db
}

.cards-2:has(.service-showcase) {
  align-items:stretch;
  gap:18px
}

.service-showcase {
  padding:22px 19px 19px!important;
  min-width:0;
  overflow:hidden
}

.service-card-heading {
  display:flex;
  align-items:center;
  gap:13px;
  margin:0 0 17px
}

.service-head-icon {
  background:var(--navy);
  color:var(--gold-2);
  border-radius:12px;
  width:55px;
  height:55px;
  display:grid;
  place-items:center;
  font-size:30px;
  flex:none
}

.service-card-heading .card-title {
  margin:0;
  font-size:29px;
  line-height:1.14
}

.service-heading-tag {
  color:#697c92;
  font-size:10px;
  font-weight:800;
  letter-spacing:.095em
}

.service-card-grid {
  display:grid;
  grid-template-columns:minmax(168px,.88fr) minmax(0,1.22fr);
  gap:11px;
  min-width:0
}

.service-options {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0
}

.service-selector {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:7px;
  min-height:43px;
  font-size:12.6px;
  font-weight:700;
  line-height:1.25;
  padding:11px 8px 11px 10px;
  border-radius:7px;
  color:#102b49;
  background:#f2f6fb;
  border:1px solid #dce6f0;
  transition:background .14s,color .14s
}

.service-selector span:first-child {
  min-width:0
}

.service-selector span:last-child {
  font-size:22px;
  font-weight:500
}

.service-selector:hover,.service-selector:focus-visible,.service-selector.is-active {
  background:linear-gradient(135deg,#ffe299,#e9b641);
  color:#092340;
  border-color:#e8b640
}

.service-selector:focus-visible,.service-stage-link:focus-visible {
  outline:3px solid #005fa3;
  outline-offset:2px
}

.service-stage {
  min-width:0;
  display:flex;
  flex-direction:column;
  background:linear-gradient(#f7faff,#fff);
  border:1px solid #e2eaf2;
  border-radius:9px;
  overflow:hidden
}

.service-stage-image {
  width:100%;
  height:173px;
  object-fit:cover;
  background:#e6edf5
}

.service-stage-copy {
  padding:10px 12px 12px;
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0
}

.service-stage-title {
  font-family:Georgia,'Times New Roman',serif;
  font-size:19px;
  line-height:1.2;
  color:var(--ink);
  margin:1px 0 6px
}

.service-stage-description {
  font-size:12.4px;
  line-height:1.46;
  margin:0 0 13px;
  color:#30445c
}

.service-stage-link {
  margin-top:auto;
  align-self:flex-start;
  background:var(--gold-2);
  color:#071d33;
  padding:7px 11px;
  border-radius:6px;
  font-size:12px;
  font-weight:800
}

.project-tile {
  display:flex;
  position:relative;
  min-height:205px;
  overflow:hidden;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(2,24,44,.12)
}

.project-tile img {
  width:100%;
  height:205px;
  object-fit:cover
}

.project-tile span {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:14px 13px 12px;
  color:white;
  background:linear-gradient(transparent,rgba(0,19,35,.94));
  font-weight:750;
  font-size:14px
}

.project-tile span b {
  display:block;
  color:#f2c057;
  font-size:12px
}

.deep-section,.history-section,.products-section,.testimonials-section {
  padding:64px 0;
  border-top:1px solid #e1e8f0;
  background:#fff;
  scroll-margin-top:118px
}

.deep-section {
  background:#f7fafe
}

.products-section {
  background:#f4f8fc
}

.testimonials-section {
  background:#fff
}

.section-eyebrow {
  font-size:12px;
  color:#a26c00;
  letter-spacing:.14em;
  font-weight:850;
  text-transform:uppercase;
  margin-bottom:12px
}

.deep-overview,.products-intro,.testimonials-caption {
  max-width:810px;
  color:#485a70;
  font-size:17px;
  margin:8px 0 25px;
  line-height:1.7
}

.deep-group-title {
  margin:26px 0 15px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:25px;
  color:var(--ink)
}

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

.deep-detail,.archive-details {
  scroll-margin-top:128px;
  background:white;
  border-radius:10px;
  border:1px solid #dce6f0;
  box-shadow:0 7px 18px rgba(9,42,73,.035);
  min-width:0
}

.deep-detail summary,.archive-details summary {
  cursor:pointer;
  padding:16px 17px;
  font-weight:750;
  color:#0b2d4c;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  list-style:none
}

.deep-detail summary::-webkit-details-marker,.archive-details summary::-webkit-details-marker {
  display:none
}

.deep-detail summary:hover,.archive-details summary:hover {
  background:#f0f6fc
}

.deep-expand {
  font-size:23px;
  color:#c19435
}

.deep-detail[open] .deep-expand {
  transform:rotate(45deg)
}

.deep-detail[open] {
  grid-column:span 2;
  border-color:#b8d0e1
}

.deep-body {
  border-top:1px solid #e3eaf2;
  padding:18px;
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:20px;
  color:#38516a
}

.deep-body img {
  width:100%;
  aspect-ratio:1.4;
  object-fit:cover;
  border-radius:8px
}

.deep-body p {
  margin:0 0 13px;
  line-height:1.65
}

.deep-body .deep-lead {
  font-weight:650;
  color:#122f49
}

.deep-body a {
  color:#045995;
  text-decoration:underline;
  text-underline-offset:3px
}

.history-spotlight {
  max-width:900px;
  font-size:18px;
  color:#2e485e;
  line-height:1.65
}

.history-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:27px 0
}

.history-grid article {
  border-top:4px solid var(--gold);
  border-radius:10px;
  background:#f5f8fb;
  padding:22px 20px;
  box-shadow:0 7px 20px rgba(4,29,51,.05)
}

.history-grid h3,.archive-body h3 {
  font-family:Georgia,serif;
  color:var(--ink);
  font-size:23px;
  line-height:1.25
}

.history-grid p,.archive-body p {
  color:#41546a;
  font-size:15px;
  line-height:1.74
}

.archive-details {
  margin:23px 0
}

.archive-details summary {
  font-size:17px;
  color:#092e52
}

.archive-body {
  padding:12px 23px 26px;
  border-top:1px solid #dce6f0;
  max-width:950px
}

.archive-body h3 {
  margin-top:28px
}

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

.product-card {
  background:#fff;
  border-radius:12px;
  border:1px solid #dce6f0;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(2,25,49,.06)
}

.product-card img {
  width:100%;
  height:210px;
  object-fit:cover
}

.product-card>div {
  padding:18px 22px 22px
}

.product-card h3 {
  font-size:24px;
  font-family:Georgia,serif;
  color:var(--ink);
  margin:4px 0 8px
}

.product-card p {
  line-height:1.7;
  color:#40546a
}

.product-card small {
  color:#64748b
}

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

.testimonials-grid blockquote {
  background:#f6f9fc;
  margin:0;
  padding:21px;
  border-left:4px solid var(--gold);
  border-radius:8px
}

.testimonials-grid p {
  font-size:16px;
  font-style:italic;
  color:#25394e
}

.testimonials-grid footer {
  color:#56677c;
  font-size:13px;
  margin-top:15px
}

@media(max-width:1120px) {
  .cards-2:has(.service-showcase) {
    grid-template-columns:1fr;
    max-width:880px
  }

  .service-card-grid {
    grid-template-columns:230px minmax(0,1fr)
  }

  .service-stage-image {
    height:220px
  }

  .service-stage-description {
    font-size:14px
  }

  .service-selector {
    font-size:14px
  }

}

@media(max-width:835px) {
  .history-grid {
    grid-template-columns:1fr
  }

  .deep-grid,.products-grid,.testimonials-grid {
    grid-template-columns:1fr
  }

  .deep-detail[open] {
    grid-column:span 1
  }

  .deep-body {
    grid-template-columns:200px minmax(0,1fr)
  }

  .deep-section,.history-section,.products-section,.testimonials-section {
    padding:44px 0
  }

}

@media(max-width:640px) {
  .service-card-grid {
    grid-template-columns:1fr
  }

  .service-stage-image {
    height:195px
  }

  .service-selector {
    font-size:14px;
    min-height:44px
  }

  .service-showcase {
    padding:20px 15px!important
  }

  .service-card-heading .card-title {
    font-size:26px
  }

  .deep-body {
    grid-template-columns:1fr
  }

  .deep-body img {
    max-height:250px
  }

  .hero-actions {
    gap:8px
  }

  .hero-actions .btn {
    flex:1 1 135px;
    text-align:center;
    font-size:13px;
    padding:12px 10px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  .service-selector {
    transition:none
  }

}

/* Correcciones puntuales V5; diseño original sin rediseñar. */
.service-stage-image.is-prototype {
  object-fit:contain;
  background:#11131d
}

.deep-body .prototype-full-image {
  aspect-ratio:auto;
  max-height:340px;
  object-fit:contain;
  background:#11131d
}

.product-card img[src$="producto-boomerang-real.jpg"],
.product-card img[src$="producto-cubetera-real.jpg"] {
  object-fit:contain;
  background:#e4edf8
}

.trust-seal {
  min-height:42px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  max-width:260px
}

.ssl-offline-note {
  display:none;
  color:#d8e5f4;
  font-size:12px;
  line-height:1.4
}

.trust-seal.seal-not-active .ssl-offline-note {
  display:inline
}

.trust-seal #comodoTL {
  font-size:11px;
  color:#c7daef;
  text-decoration:underline;
  text-underline-offset:2px
}

/* ================================================================
   V6 — LOGÍSTICA INTELIGENTE / AI TETRIX
   Estas reglas afectan al menú y a la nueva página.
   El diseño aprobado V5 de Principal, BeeBot y Contacto se conserva.
   ================================================================ */
@media(min-width:836px) {
  .nav-links {
    gap:23px;
    font-size:17px
  }

  .nav-links a {
    white-space:nowrap
  }

}

@media(min-width:836px) and (max-width:1190px) {
  .nav {
    gap:12px
  }

  .brand-title {
    font-size:clamp(26px,3.4vw,40px)
  }

  .nav-links {
    gap:17px;
    font-size:14px
  }

}

@media(max-width:835px) {
  .nav-links {
    flex-wrap:wrap;
    gap:9px 19px;
    white-space:normal
  }

  .nav-links a {
    padding:7px 0
  }

  .nav {
    height:auto;
    min-height:92px;
    flex-wrap:wrap;
    padding:11px 0
  }

}

@media(max-width:640px) {
  .nav {
    flex-direction:column
  }

  .nav-links {
    margin-top:3px;
    font-size:14px
  }

}

.footer-grid {
  grid-template-columns:minmax(250px,1.25fr) 1px repeat(3,minmax(125px,.65fr));
  gap:28px
}

.footer-grid>a {
  font-size:clamp(15px,1.3vw,20px)
}

@media(max-width:835px) {
  .footer-grid {
    grid-template-columns:1fr;
    gap:20px
  }

}

/* Recuadro de Logística Inteligente en la Home */
.log-home-promo {
  margin-top:30px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:26px;
  border-radius:16px;
  border:1px solid #cbdbe8;
  background:linear-gradient(115deg,#f7fbff,#e9f3fa);
  box-shadow:var(--shadow);
  padding:25px 28px;
  scroll-margin-top:140px
}

.log-home-copy h2 {
  font:700 clamp(27px,2.7vw,37px)/1.14 Georgia,'Times New Roman',serif;
  color:var(--ink);
  margin:4px 0 14px
}

.log-home-copy p {
  font-size:16px;
  line-height:1.6;
  margin:0 0 13px;
  color:#334b62
}

.log-home-promo>img {
  width:100%;
  border-radius:13px;
  border:1px solid #b9d0de
}

.log-home-copy .btn {
  font-size:15px;
  margin-top:6px
}

@media(max-width:835px) {
  .log-home-promo {
    grid-template-columns:1fr;
    padding:22px
  }

  .log-home-promo>img {
    max-width:680px
  }

}

/* Portada de Logística Inteligente */
.log-hero {
  background:linear-gradient(115deg,#f7fbff,#fff);
  padding:68px 0 62px
}

.log-hero-grid {
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:36px;
  align-items:center
}

.log-hero-copy h1 {
  font:700 clamp(36px,3.6vw,53px)/1.1 Georgia,'Times New Roman',serif;
  letter-spacing:-.025em;
  color:var(--navy);
  margin:11px 0 22px
}

.log-hero-copy h2 {
  font:700 21px/1.3 Segoe UI,Arial,sans-serif;
  color:#1b4663;
  margin:0 0 16px
}

.log-hero-copy p {
  font-size:16px;
  line-height:1.7;
  color:#33495f;
  margin:0 0 14px
}

.log-hero-media img {
  width:100%;
  border-radius:18px;
  box-shadow:0 22px 40px rgba(4,39,70,.23)
}

.log-media-caption {
  font-size:12px;
  color:#667b90;
  text-align:center;
  margin:9px 0 0
}

.log-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px
}

.log-actions .btn {
  font-size:15px
}

/* Alcance, aplicaciones y metodología */
.log-section {
  padding:66px 0;
  scroll-margin-top:130px
}

.log-section:nth-of-type(even) {
  background:#f6f9fc
}

.log-intro {
  max-width:920px;
  font-size:17px;
  line-height:1.7;
  color:#445c71;
  margin:0 0 25px
}

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

.log-capability {
  border:1px solid #d8e5f0;
  border-radius:14px;
  background:white;
  padding:22px 19px;
  box-shadow:0 7px 23px rgba(4,32,60,.06)
}

.log-capability>span {
  display:inline-flex;
  background:var(--navy);
  color:var(--gold-2);
  border-radius:6px;
  padding:4px 10px;
  font-size:17px;
  font-weight:800
}

.log-capability h3 {
  font:700 21px/1.2 Georgia,serif;
  color:var(--ink);
  margin:18px 0 11px
}

.log-capability p,.log-app-grid p {
  font-size:15px;
  line-height:1.65;
  color:#445a70;
  margin:0
}

.log-tetrix {
  background:linear-gradient(125deg,#f0f7fc,#e4eff7)!important
}

.log-tetrix-grid {
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  align-items:center;
  gap:35px
}

.log-tetrix-media img {
  width:100%;
  border-radius:17px;
  box-shadow:0 15px 34px rgba(1,26,50,.18)
}

.log-tetrix-grid p {
  font-size:16px;
  line-height:1.7;
  color:#364f65
}

.log-highlight {
  background:#fff8e5;
  border-left:5px solid var(--gold);
  padding:14px 17px;
  border-radius:0 8px 8px 0;
  font-weight:800;
  color:#0b2c48!important
}

.log-qualification {
  font-size:13px!important;
  color:#5b6e80!important
}

.log-app-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.log-app-grid article {
  background:white;
  border:1px solid #d8e6ef;
  border-radius:12px;
  padding:21px;
  border-top:4px solid var(--gold)
}

.log-app-grid h3 {
  color:var(--ink);
  font:700 21px/1.25 Georgia,serif;
  margin:0 0 12px
}

.log-method {
  background:#f5f9fd!important
}

.log-steps {
  list-style:none;
  counter-reset:step;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;
  padding:0;
  margin:28px 0 0
}

.log-steps li {
  counter-increment:step;
  padding:25px 20px;
  background:#fff;
  border:1px solid #d9e5f0;
  border-radius:13px;
  box-shadow:0 8px 25px rgba(5,30,54,.055)
}

.log-steps li::before {
  content:counter(step,decimal-leading-zero);
  display:inline-flex;
  background:#002746;
  color:var(--gold-2);
  font-weight:800;
  font-size:18px;
  padding:5px 10px;
  border-radius:6px;
  margin-bottom:12px
}

.log-steps strong {
  display:block;
  color:var(--ink);
  font-size:19px;
  margin:0 0 9px
}

.log-steps p {
  font-size:15px;
  line-height:1.55;
  color:#52687d;
  margin:0
}

.log-outcomes {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start
}

.log-outcomes p {
  font-size:17px;
  color:#435a71;
  line-height:1.65
}

.log-outcomes ul {
  display:grid;
  gap:11px;
  list-style:none;
  margin:0;
  padding:0
}

.log-outcomes li {
  position:relative;
  padding:9px 10px 9px 35px;
  background:#f7fbff;
  border-radius:8px;
  color:#193e59
}

.log-outcomes li::before {
  content:'✓';
  position:absolute;
  left:12px;
  top:8px;
  color:#b98314;
  font-weight:800
}

.log-contact {
  background:linear-gradient(110deg,#002848,#001a31);
  padding:58px 0;
  color:white
}

.log-contact-inner {
  display:grid;
  grid-template-columns:1.3fr .7fr;
  align-items:center;
  gap:36px
}

.log-contact h2 {
  font:700 clamp(31px,3.5vw,43px)/1.2 Georgia,serif;
  margin:10px 0 15px;
  color:white
}

.log-contact p {
  font-size:17px;
  max-width:670px;
  line-height:1.7;
  color:#e1edf6
}

.log-contact .section-eyebrow {
  color:#edc467
}

.log-contact-buttons {
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:stretch
}

.log-contact-buttons .btn {
  font-size:16px;
  text-align:center
}

.log-whatsapp {
  border:1px solid #b1cade;
  border-radius:9px;
  padding:13px 16px;
  font-weight:700;
  text-align:center;
  color:#fff
}

.log-whatsapp:hover {
  background:#184763
}

@media(max-width:1000px) {
  .log-capabilities {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .log-app-grid,.log-steps {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .log-hero-grid {
    grid-template-columns:1fr
  }

}

@media(max-width:750px) {
  .log-tetrix-grid,.log-outcomes,.log-contact-inner {
    grid-template-columns:1fr
  }

  .log-hero {
    padding:40px 0
  }

  .log-section {
    padding:43px 0
  }

}

@media(max-width:540px) {
  .log-capabilities,.log-app-grid,.log-steps {
    grid-template-columns:1fr
  }

  .log-hero-copy h1 {
    font-size:35px
  }

  .log-actions {
    flex-direction:column
  }

  .log-actions .btn {
    width:100%
  }

}

/* Ajuste de proporciones de las ilustraciones de Logística Inteligente. */
.log-hero-media img,
.log-tetrix-media img {
  height: auto;
}

/* Mantener proporción real de la imagen del nuevo servicio en la Home. */
.log-home-promo > img {
  height: auto;
}

/* CRÉDITO DE DESARROLLO - igual en las cuatro páginas */
.footer .developer-credit {
  margin: 12px 0 0;
  padding: 0 0 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .015em;
  color: rgba(235,244,254,.78);
}

/* V7 UPGRADE 2026-11-18: portada panorámica completa en teléfonos.
   La imagen original es 1920x600 (16:5). Solo afecta a Inicio;
   no modifica la portada de Contacto ni las páginas de BeeBot/Logística. */
@media (max-width: 640px) {
  .hero-cover.center {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 5;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
  }
}
