:root {
  --bg: #101512;
  --bg-2: #18211d;
  --panel: #f5f1e8;
  --panel-2: #e6edf0;
  --ink: #f8f5ee;
  --text: #17201b;
  --muted: #c6d0ca;
  --muted-dark: #4a5750;
  --emerald: #24d083;
  --emerald-dark: #17725a;
  --cyan: #54c7e8;
  --amber: #f0b35a;
  --line: rgba(255,255,255,.16);
  --line-dark: rgba(23,32,27,.14);
  --shadow: 0 28px 70px rgba(0,0,0,.35);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(16, 21, 18, .76);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
@media(max-width:767px){.site-header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logos {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 200px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e8e9e7;
}

.brand__logo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.brand__logo--xde{object-fit:contain;}

.brand__logo--green {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .98rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: .74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255,255,255,.08);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px 0 70px;
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(36,208,131,.16), transparent 62%),
    radial-gradient(700px 320px at 8% 110%, rgba(84,199,232,.1), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(16,21,18,.98) 0%, rgba(16,21,18,.82) 38%, rgba(16,21,18,.38) 72%, rgba(16,21,18,.5) 100%),
    linear-gradient(180deg, rgba(16,21,18,.22), rgba(16,21,18,.96));
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  text-align: left;
  padding-left: 30px;
  border-left: 3px solid var(--emerald);
}

.hero__content h1,
.hero__content .hero__lead,
.hero__content .hero__motto,
.hero__content .eyebrow {
  margin-left: 0;
  margin-right: 0;
}

.hero-brand {
  display: grid;
  grid-template-columns: 136px 28px minmax(0, 300px);
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(36,208,131,.12), rgba(84,199,232,.06));
}

.hero-brand__label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.hero-brand__mark img{display:block;object-position:center;}

.hero-brand__mark--xde {
  width: 136px;
  height: 136px;
}

.hero-brand__mark--xde img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-brand__mark--green {
  width: 100%;
  height: 124px;
}

.hero-brand__mark--green img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.hero-brand__connector {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 18px rgba(84,199,232,.5);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.22;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  max-width: 660px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero__motto {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
}

.hero__actions,
.footer__grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin: 30px 0 34px;
  width: min(560px, 100%);
  justify-content: flex-start;
}

.hero__actions .button {
  flex: 1 1 0;
  min-width: 200px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  background: var(--emerald);
  color: #07110c;
}

.button--primary:hover {
  background: #37e397;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255,255,255,.06);
}

.button--ghost:hover {
  border-color: var(--cyan);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hero__metrics div {
  padding: 16px;
  background: rgba(16,21,18,.72);
}

.hero__metrics dt {
  color: var(--emerald);
  font-size: 1.45rem;
  font-weight: 900;
}

.hero__metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.section {
  padding: 92px 0;
}

.section--light {
  background: var(--panel);
  color: var(--text);
}

.section--light p,
.section--light li {
  color: var(--muted-dark);
}

.section--dark {
  background: #0b1110;
}

.intro {
  background: var(--bg-2);
}

.intro__grid,
.split,
.software__grid,
.estimator,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro__grid p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.section-title {
  margin-bottom: 34px;
}

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

.service-card,
.maintenance-grid article,
.plan,
.feature-list article,
.estimator__panel,
.contact-form,
.diagnostic-form {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 292px;
  padding: clamp(24px, 3vw, 32px);
  background: #fffaf0;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-card--link {
  display: flex;
  color: var(--text);
  text-decoration: none;
}

.service-card--link:hover {
  border-color: var(--emerald-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(23,32,27,.08);
}

.service-card__index {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border: 1px solid rgba(23,114,90,.2);
  border-radius: var(--radius);
  background: rgba(23,114,90,.06);
  color: var(--emerald-dark);
  font-size: .8rem;
  font-weight: 800;
}

.service-card h3,
.plan h3,
.feature-list h3 {
  color: var(--text);
}

.feature-list p {
  font-weight: 700;
  color: var(--text);
}

.split {
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  padding: 22px;
  background: #f7f2e8;
}

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

.maintenance-grid article {
  padding: 24px;
  border-color: var(--line);
  background: rgba(255,255,255,.05);
}

.maintenance-grid h3 {
  color: var(--ink);
}

.software {
  background: #172018;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 18px 18px 18px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

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

.plan {
  padding: 28px;
  background: #fffaf0;
  color: var(--text);
}

.plan p,
.plan li {
  color: var(--muted-dark);
  font-weight: 700;
}

.plan--featured {
  background: #14201a;
  color: var(--ink);
  border-color: rgba(36,208,131,.5);
  box-shadow: var(--shadow);
}

.plan--featured h3,
.plan--featured p,
.plan--featured li {
  color: var(--ink);
}

.plan__label {
  color: var(--emerald-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan--featured .plan__label {
  color: var(--emerald);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.plan .button {
  margin-top: 22px;
}

.plan__ideal {
  margin: 18px 0 0;
  font-size: .92rem;
  color: var(--muted-dark);
}

.plan--featured .plan__ideal {
  color: var(--muted);
}

.plan .price small {
  color: var(--muted-dark);
  font-weight: 700;
}

.plan .price {
  color: var(--emerald-dark);
}

.plan--featured .price {
  color: var(--emerald);
}

.plan--featured .price small {
  color: var(--muted);
}

.estimator-section {
  background: #eef4f3;
  color: var(--text);
}

.estimator-section p {
  color: var(--muted-dark);
}

.estimator-section .eyebrow {
  color: var(--emerald-dark);
}

.estimator__panel,
.contact-form,
.diagnostic-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fffaf0;
  color: var(--text);
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: .88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

input,
select {
  height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus,
.button:focus,
.site-nav a:focus {
  outline: 3px solid rgba(84,199,232,.35);
  outline-offset: 2px;
}

.toggle-row {
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

.estimate-result {
  display: block;
  padding: 16px;
  border-radius: 8px;
  background: #14201a;
  color: var(--ink);
  font-weight: 900;
}

.process {
  background: #121a16;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--amber);
  font-weight: 900;
}

.section--light .timeline span,
.page-section--light .timeline span {
  color: var(--emerald-dark);
}

.contact {
  background: var(--panel);
  color: var(--text);
}

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

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}

.contact-mail,
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-mail {
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #edf5f1);
  box-shadow: 0 16px 32px rgba(23,32,27,.08);
}

.contact-mail__mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.contact-mail__mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.contact-phone {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fffaf0;
}

.form-note {
  margin: -6px 0 0;
  color: var(--muted-dark);
  font-size: .82rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.consent-row a {
  color: var(--emerald-dark);
}

.form-status--pending {
  color: var(--muted-dark);
}

.form-status--success {
  color: var(--emerald-dark);
  font-weight: 700;
}

.form-status--error {
  color: #a64718;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  gap: 16px;
  align-items: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 33, 29, .97);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.cookie-banner--visible {
  display: flex;
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--cyan);
}

.cookie-banner .button {
  flex-shrink: 0;
}

.site-footer {
  padding: 30px 0;
  background: #0b1110;
  border-top: 1px solid var(--line);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img{height:44px;width:44px;border-radius:8px;background:#fff;object-fit:contain;object-position:center;}

.site-footer p {
  margin: 0;
  font-size: .92rem;
}

.site-footer a {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .service-grid,
  .maintenance-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro__grid,
  .split,
  .software__grid,
  .estimator,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand__logo{display:block;width:40px;height:40px;padding:2px;box-sizing:border-box;object-fit:contain;object-position:center;}

.brand__logo--green{width:40px;object-fit:contain;object-position:center;}

  .brand__copy {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 4px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    top: 69px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16,21,18,.97);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(16,21,18,.94) 0%, rgba(16,21,18,.78) 46%, rgba(16,21,18,.98) 100%);
  }

  .hero__metrics,
  .service-grid,
  .maintenance-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-brand__connector {
    width: 1px;
    height: 18px;
    margin-left: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .container,
  .hero__content {
    width: min(100% - 28px, 1120px);
  }

  .hero__content {
    padding-left: 18px;
  }

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

  .footer-brand {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* ===== Páginas internas ===== */

.page {
  padding-top: 118px;
}

.page-hero {
  padding: 70px 0 66px;
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(36,208,131,.16), transparent 62%),
    radial-gradient(700px 320px at 8% 110%, rgba(84,199,232,.1), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 640px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .84rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--muted);
  opacity: .55;
}

.page-section {
  padding: 88px 0;
}

.page-section--light {
  background: var(--panel);
  color: var(--text);
}

.page-section--light p,
.page-section--light li {
  color: var(--muted-dark);
}

.page-section__head {
  max-width: 720px;
  margin-bottom: 34px;
}

.page-section__head .eyebrow {
  color: var(--emerald);
}

.page-section--light .eyebrow {
  color: var(--emerald-dark);
}

.page-section__head h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.page-section__head p {
  margin-bottom: 0;
}

#equipo p {
  font-weight: 700;
}

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fffaf0;
}

.card h3 {
  color: var(--text);
}

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

.card--dark {
  border-color: var(--line);
  background: rgba(255,255,255,.05);
}

.card--dark h3 {
  color: var(--ink);
}

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

.card.bio p {
  font-weight: 700;
}

.card.bio {
  background:
    linear-gradient(160deg, rgba(36,208,131,.14) 0%, rgba(16,24,20,0) 45%),
    #0c1d15;
  border-color: rgba(36,208,131,.5);
  border-left: 3px solid var(--emerald);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.card.bio h3 {
  color: #ffffff;
  font-size: 1.35rem;
}

.card.bio p {
  color: #dce6df;
}

.page-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-list li {
  position: relative;
  padding: 14px 16px 14px 38px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--muted-dark);
}

.page-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
}

.page-list--strong li {
  color: var(--text);
  font-weight: 700;
}

.page-list--dark li {
  border-color: var(--line);
  background: rgba(255,255,255,.05);
}

.page-list--dark li {
  color: var(--muted);
}

.price {
  margin: 14px 0 20px;
  color: var(--emerald);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
}

.page-section--light .price {
  color: var(--emerald-dark);
}

.section--light .price small,
.page-section--light .price small,
.estimator-section .price small {
  color: var(--muted-dark);
}

.price small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
}

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

.related-link {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  text-decoration: none;
}

.related-link:hover {
  border-color: var(--cyan);
  background: rgba(84,199,232,.09);
}

.related-link strong {
  display: block;
  margin-bottom: 5px;
}

.related-link small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.related-link--card {
  background: #fffaf0;
  border-color: var(--line-dark);
  color: var(--text);
}

.related-link--card:hover {
  border-color: var(--emerald);
  background: #fffaf0;
  transform: translateY(-2px);
}

.related-link--card strong {
  color: var(--text);
}

.related-link--card small {
  color: var(--muted-dark);
}

.related-link--card::after {
  content: "→";
  display: block;
  margin-top: 12px;
  color: var(--emerald-dark);
  font-weight: 800;
}

.project-grid {
  display: grid;
  gap: 14px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  max-width: 840px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36,208,131,.1), rgba(84,199,232,.05)), rgba(255,255,255,.04);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, transform .2s, background .2s;
}

.project-card:hover {
  border-color: var(--emerald);
  background: linear-gradient(135deg, rgba(36,208,131,.16), rgba(84,199,232,.08)), rgba(255,255,255,.05);
  transform: translateY(-2px);
}

.project-card__logo {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.project-card__tag {
  color: var(--emerald);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 6px 0 8px;
  color: #ffffff;
}

.project-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.project-card__cta {
  color: var(--emerald);
  font-weight: 900;
}

@media (max-width: 560px) {
  .project-card {
    grid-template-columns: 1fr;
  }
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.local-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}

.local-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.local-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.cta-band {
  padding: 78px 0;
  background:
    radial-gradient(800px 380px at 50% -30%, rgba(36,208,131,.22), transparent 60%),
    #0b1110;
  text-align: center;
}

.cta-band h2 {
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  line-height: 1.6;
}

.cta-band .button {
  margin: 0 6px;
}

.project-card {
  overflow: hidden;
}

.project-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.project-card__meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(36,208,131,.14);
  color: var(--emerald);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.post-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--emerald);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

a.post-card .post-card__tag {
  color: var(--emerald-dark);
}

.footer__grid {
  flex-wrap: wrap;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .related-grid,
  .local-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page {
    padding-top: 106px;
  }

  .page-hero {
    padding: 48px 0 52px;
  }

  .page-section {
    padding: 66px 0;
  }

  .cta-band {
    padding: 60px 0;
  }
}

/* Tarjetas locales sobre secciones claras */
.page-section--light .local-card {
  border-color: var(--line-dark);
  background: #fffaf0;
}

.page-section--light .local-card h3 {
  color: var(--text);
}

.page-section--light .local-card p {
  color: var(--muted-dark);
}

.form-note.form-status--pending {
  color: var(--muted-dark);
}

/* Entradas de blog */
.post {
  max-width: 820px;
  margin: 0 auto;
}

.post p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.post h2 {
  margin: 44px 0 16px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.post h2:first-of-type {
  margin-top: 8px;
}

.post .page-list {
  margin: 0 0 24px;
}

.post ul.page-list li {
  line-height: 1.55;
}

.post strong {
  color: var(--text);
}

a.post-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s ease, transform .2s ease;
}

a.post-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

a.post-card h3 {
  color: var(--text);
}

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

/* Tarjetas "Te puede interesar" sobre secciones claras: paleta clara legible */
.page-section--light .related-link {
  background: #fffaf0;
  border-color: var(--line-dark);
  color: var(--text);
}

.page-section--light .related-link:hover {
  border-color: var(--emerald);
  background: #fffaf0;
  transform: translateY(-2px);
}

.page-section--light .related-link strong {
  color: var(--text);
}

.page-section--light .related-link small {
  color: var(--muted-dark);
}

.page-section--light .related-link::after {
  content: "→";
  display: block;
  margin-top: 12px;
  color: var(--emerald-dark);
  font-weight: 800;
}

/* ===== Home: tecnología con inteligencia humana ===== */
.pillar-map {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.pillar-card {
  flex: 1 1 240px;
  max-width: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  text-align: center;
}

  .pillar-hub {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    color: var(--emerald);
    font-weight: 900;
    font-size: .85rem;
    letter-spacing: .2em;
    text-align: center;
    justify-content: center;
  }

  .page-section--light .pillar-hub {
    color: var(--emerald-dark);
  }

.pillar-hub::before,
.pillar-hub::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--emerald));
}

.pillar-hub::after {
  background: linear-gradient(90deg, var(--emerald), transparent);
}

.pillar-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

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

.page-section--light .pillar-card {
  background: #fffaf0;
  border-color: var(--line-dark);
}

.page-section--light .pillar-card h3 {
  color: var(--text);
}

.page-section--light .pillar-card p {
  color: var(--muted-dark);
  font-weight: 700;
}

.philosophy {
  background: radial-gradient(120% 90% at 50% 0%, #12211b 0%, #0a0f0d 55%, #060907 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.philosophy .section-title {
  max-width: 900px;
  margin: 0;
  text-align: left;
  padding-left: 26px;
  border-left: 3px solid var(--emerald);
}

.philosophy .eyebrow {
  color: var(--emerald);
  font-weight: 800;
  text-shadow: 0 0 16px rgba(36, 208, 131, .5);
}

.philosophy h2 {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.philosophy p {
  color: #dde7e1;
  font-weight: 500;
  margin: 18px 0 0;
  font-size: 1.05rem;
  max-width: 720px;
}

.philosophy__values {
  justify-content: flex-start;
  margin-top: 24px;
}

.philosophy .philosophy__values li {
  border: 1px solid rgba(36, 208, 131, .55);
  background: linear-gradient(135deg, rgba(36, 208, 131, .18), rgba(84, 199, 232, .18));
  color: #ffffff;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(36, 208, 131, .14), 0 0 18px rgba(36, 208, 131, .12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.philosophy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  width: min(560px, 100%);
  margin: 26px 0 0;
}

.philosophy__actions .button {
  flex: 1 1 0;
  min-width: 220px;
}

.neuro .split {
  gap: 44px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}

/* Tag-list sobre secciones claras: texto oscuro legible */
.section--light .tag-list li,
.page-section--light .tag-list li {
  border-color: var(--line-dark);
  background: #fffaf0;
  color: var(--text);
}

/* Light panels: force dark text when a future content edit adds new copy. */
.service-card,
.feature-list article,
.plan:not(.plan--featured),
.card:not(.card--dark):not(.bio),
.page-section--light .local-card,
.page-section--light .related-link,
.page-section--light .pillar-card,
.section--light .tag-list li,
.page-section--light .tag-list li,
.contact-mail,
.contact-phone {
  color: var(--text);
}

.service-card :where(p, li, small),
.feature-list article :where(p, li, small),
.plan:not(.plan--featured) :where(p:not(.plan__label), li, small),
.card:not(.card--dark):not(.bio) :where(p, li, small),
.page-section--light .local-card :where(p, li, small),
.page-section--light .related-link :where(p, small),
.page-section--light .pillar-card :where(p, li, small) {
  color: var(--muted-dark);
}

/* ===== Diagnóstico gratuito ===== */
.diagnostic {
  background: #0b1110;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diagnostic .section-title {
  max-width: 760px;
}

.diagnostic .section-title p {
  color: var(--muted);
}

.diagnostic-form {
  max-width: 860px;
  margin: 0 auto;
}

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

.diagnostic-form__full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .diagnostic-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--emerald);
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

/* Mobile conversion CTA */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 720px) {
  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(11, 17, 16, .96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-sticky-cta .button {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding-inline: 10px;
    font-size: .86rem;
  }

  body {
    padding-bottom: 72px;
  }
}

/* Maqueta de navegador para casos de estudio */
.browser-shot {
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0d1412;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.browser-shot__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}

.browser-shot__dots {
  display: flex;
  gap: 7px;
}

.browser-shot__dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-shot__dots span:nth-child(1) { background: #ff5f57; }
.browser-shot__dots span:nth-child(2) { background: #febc2e; }
.browser-shot__dots span:nth-child(3) { background: #28c840; }

.browser-shot__url {
  flex: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-shot__url a {
  color: inherit;
  text-decoration: none;
}

.browser-shot__url a:hover {
  color: var(--emerald);
}

.browser-shot__img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.shot-caption {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

.shot-caption a {
  color: var(--emerald);
}

@media (max-width: 560px) {
  .browser-shot__url {
    font-size: .68rem;
  }
}

/* Shared presentation: home, services and internal pages. */
:root { --header-height: 112px; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
button, input, select, textarea { font: inherit; }
.button { padding-block: 12px; text-align: center; line-height: 1.4; }
.brand, .brand__copy { min-width: 0; }
.brand { flex: 0 1 380px; }
.brand strong { line-height: 1.3; }
.brand small { margin-top: 4px; line-height: 1.4; }
.brand__logos picture, .hero-brand__mark picture { display: block; width: 100%; height: 100%; }
.site-header { height: var(--header-height); padding-block: 16px; gap: 20px; }
.site-nav { gap: 2px; }
.site-nav a { padding: 10px 9px; line-height: 1.4; }
.site-nav a[aria-current="page"] { background: rgba(36,208,131,.1); color: var(--emerald); }
.hero { padding-top: calc(var(--header-height) + 56px); }
.hero__content h1 { max-width: 1000px; font-size: clamp(2.5rem, 5.2vw, 4.8rem); line-height: 1.06; text-wrap: balance; }
.hero__content .hero__lead { max-width: 760px; }
.hero-brand__connector { width: 100%; }
.page { padding-top: var(--header-height); }
.page-hero h1 { line-height: 1.08; text-wrap: balance; }
.section, .page-section { padding-block: clamp(60px, 6.4vw, 92px); }
.section-title, .page-section__head { max-width: 800px; margin-bottom: 36px; }
.section-title h2, .page-section__head h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.1; text-wrap: balance; }
.section-title > p:not(.eyebrow), .page-section__head > p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; font-weight: 400; }
.section-title .eyebrow, .page-section__head .eyebrow { margin-bottom: 14px; color: var(--emerald); }
.section--light .eyebrow, .page-section--light .eyebrow { color: var(--emerald-dark); }
.section--light .button--ghost, .page-section--light .button--ghost { color: var(--text); border-color: var(--line-dark); background: #fffaf0; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.service-card { grid-column: span 2; }
.service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-card h3 { font-size: 1.4rem; line-height: 1.2; }
.service-card p { margin-bottom: 24px; }
.service-card__cta { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--emerald-dark); font-weight: 800; font-size: .9rem; }
.service-card__cta > span { font-size: 1.1rem; }
.service-followup { margin-top: 28px; }
.action-group { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions > .action-group { width: 100%; }
.cta-band .action-group { justify-content: center; }
.cta-band .button { margin: 0; }
.project-card { max-width: none; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); border-radius: var(--radius); }
.project-card__logo { display: block; width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 32px; }
.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 88px 200px minmax(0, 1fr); align-items: center; gap: 20px; }
.footer-brand picture { display: block; overflow: hidden; border-radius: var(--radius); }
.footer-brand img { display: block; width: 88px; height: 88px; object-fit: contain; }
.footer-brand picture:nth-child(2) { width: 200px; height: 76px; }
.footer-brand picture:nth-child(2) img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.contact-mail__mark, .contact-mail__mark img { width: 68px; height: 68px; }
.site-footer { padding-block: 48px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.section--light a:focus-visible, .page-section--light a:focus-visible { outline-color: var(--emerald-dark); }
@media (max-width: 1200px) {
  .brand { flex-basis: auto; }
  .brand__copy { max-width: 320px; }
  .nav-toggle { display: inline-grid; flex: 0 0 44px; gap: 4px; width: 44px; height: 44px; place-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.06); }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ink); }
  .site-nav { position: fixed; top: calc(var(--header-height) + 8px); left: 16px; right: 16px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #101512; box-shadow: var(--shadow); max-height: calc(100dvh - var(--header-height) - 32px); overflow-y: auto; }
  body.nav-open .site-nav { display: grid; }
  .site-nav a { padding: 14px; }
}
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card, .service-card:nth-last-child(-n+2) { grid-column: auto; }
  .service-card:last-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-height: 92px; }
  .site-header { padding: 10px 16px; }
  .brand__logos { width: 184px; height: 68px; }
  .brand__logo, .brand__logo--green { width: 100%; height: 100%; padding: 0; object-fit: cover; }
  .hero { padding-top: calc(var(--header-height) + 32px); }
  .page { padding-top: var(--header-height); }
  .hero-brand { grid-template-columns: 112px 20px minmax(0, 260px); align-items: center; padding: 14px; gap: 12px; }
  .hero-brand__mark--xde { width: 112px; height: 112px; }
  .hero-brand__mark--green { height: 108px; }
  .hero-brand__connector { width: 100%; height: 1px; margin: 0; }
  .project-card { grid-template-columns: 180px minmax(0, 1fr); }
  .footer-brand { grid-template-columns: 80px 184px; }
  .footer-brand p { grid-column: 1 / -1; }
  .footer-brand picture:nth-child(2) { width: 184px; height: 76px; }
  .footer-brand img { width: 80px; height: 80px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 0; }
  .hero-brand { width: 100%; grid-template-columns: 88px minmax(0, 1fr); padding: 10px; gap: 10px; }
  .hero-brand__label { font-size: .62rem; letter-spacing: .06em; }
  .hero-brand__mark--xde { width: 88px; height: 88px; }
  .hero-brand__mark--green { height: 88px; }
  .hero-brand__connector { display: none; }
  .hero__content { padding-left: 14px; }
  .action-group, .hero__actions, .philosophy__actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .action-group .button { width: 100%; min-width: 0; }
  .hero__actions .button, .philosophy__actions .button { min-width: 0; flex: 0 1 auto; }
  .project-card { grid-template-columns: 1fr; padding: 24px; }
  .project-card > picture, .project-card > .project-card__logo { width: min(260px, 100%); justify-self: center; }
  .contact-mail { max-width: 100%; gap: 8px; font-size: .9rem; }
  .contact-mail__mark, .contact-mail__mark img { width: 52px; height: 52px; }
  .cookie-banner--visible { flex-direction: column; align-items: stretch; }
  .footer-brand { gap: 14px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 0; }
  body:has(.mobile-sticky-cta) { padding-bottom: 76px; }
  body:has(.mobile-sticky-cta) .cookie-banner { bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
