:root {
  --navy-950: #071426;
  --navy-900: #0b1d33;
  --navy-800: #12304f;
  --blue-700: #145da0;
  --blue-600: #1d70b7;
  --blue-100: #eaf3fb;
  --slate-900: #172231;
  --slate-700: #445365;
  --slate-500: #6c7887;
  --slate-300: #cbd3dc;
  --slate-200: #dde3e9;
  --slate-100: #f2f5f8;
  --white: #fff;
  --success: #14805e;
  --danger: #b43a42;
  --whatsapp: #1f9d63;
  --border: #dce3ea;
  --shadow-sm: 0 8px 24px rgba(11, 29, 51, 0.07);
  --shadow-md: 0 18px 46px rgba(11, 29, 51, 0.11);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --primary: var(--blue-600);
  --accent: var(--blue-700);
  --accent2: var(--success);
  --bg-dark: var(--navy-950);
  --bg-card: var(--white);
  --bg-card2: var(--slate-100);
  --text: var(--slate-900);
  --text-muted: var(--slate-700);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  background: var(--white);
  color: var(--slate-900);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
a,
span {
  overflow-wrap: anywhere;
}

body::before,
body::after,
.service-card::before,
.why-visual::before {
  content: none;
}

body.menu-open {
  overflow: hidden;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(29, 112, 183, 0.25);
  outline-offset: 3px;
}

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

section,
nav,
footer {
  max-width: 100%;
}

.home-sections {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.container {
  margin: 0 auto;
  max-width: var(--container);
  width: 100%;
}

nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(220, 227, 234, 0.95);
  display: flex;
  height: 78px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-logo,
.footer-brand .logo,
.login-brand .logo {
  align-items: center;
  color: var(--navy-900);
  display: inline-flex;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 11px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-decoration: none;
}

.nav-logo {
  min-width: 0;
}

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

.brand-mark {
  align-items: center;
  background: var(--navy-900);
  border-radius: 10px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 0.92rem;
  height: 40px;
  justify-content: center;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong span,
.footer-brand .logo span {
  color: var(--blue-600);
}

.brand-copy small {
  color: var(--slate-500);
  font-family: "Inter", sans-serif;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.8vw, 28px);
  list-style: none;
  min-width: 0;
}

.nav-links a {
  color: var(--slate-700);
  font-size: clamp(0.78rem, 0.78vw, 0.87rem);
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue-700);
}

.nav-links .nav-cta {
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  color: var(--white) !important;
  padding: 10px 18px;
}

.nav-links .nav-cta:hover {
  background: var(--blue-700);
  color: var(--white) !important;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--navy-900);
  cursor: pointer;
  display: none;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 23px;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.99) 0%, rgba(7, 20, 38, 0.95) 43%, rgba(7, 20, 38, 0.58) 70%, rgba(7, 20, 38, 0.35) 100%),
    url("../images/hero-corporativo.jpg") center/cover no-repeat;
  color: var(--white);
  display: flex;
  min-height: 760px;
  padding: 146px 24px 82px;
  position: relative;
  text-align: left;
}

.hero-video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero::after {
  background: linear-gradient(180deg, transparent 75%, rgba(7, 20, 38, 0.4));
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.hero-content {
  margin: 0 auto;
  max-width: var(--container);
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-copy {
  max-width: 710px;
  min-width: 0;
}

.hero-badge,
.section-tag {
  color: var(--blue-600);
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dbeafe;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 13px;
  max-width: 100%;
  white-space: normal;
}

.hero-badge::before {
  background: #6fd5a8;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.7rem, 5.1vw, 4.65rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.hero-badge,
.hero h1,
.hero-sub,
.hero-buttons,
.hero-stats,
.whatsapp-float {
  animation: none;
}

.hero h1 .brand {
  color: #b9ddf7;
  display: block;
}

.hero h1 .brand span {
  color: var(--white);
}

.hero-sub {
  color: #cbd7e5;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-sub strong {
  color: var(--white);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-outline,
.btn-submit {
  align-items: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 0.91rem;
  font-weight: 750;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary,
.btn-submit {
  background: var(--blue-600);
  border: 1px solid var(--blue-600);
  color: var(--white);
}

.btn-primary:hover,
.btn-submit:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--slate-300);
  color: var(--navy-900);
}

.btn-outline:hover {
  background: var(--slate-100);
  border-color: var(--slate-500);
  transform: translateY(-1px);
}

.hero .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-900);
}

.hero .btn-primary:hover {
  background: #eaf3fb;
  border-color: #eaf3fb;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  max-width: 720px;
  padding-top: 25px;
}

.stat {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 22px;
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat-num {
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 750;
}

.stat-label {
  color: #aebdce;
  font-size: 0.74rem;
  font-weight: 600;
  margin-top: 2px;
}

section {
  padding: 100px 24px;
}

#servicios,
#proceso,
#contacto {
  background: var(--slate-100);
}

#nosotros,
#precios {
  background: var(--white);
}

section:nth-of-type(odd):not(.hero) {
  background: var(--slate-100);
}

.section-header {
  margin: 0 auto 52px;
  max-width: 680px;
  text-align: center;
}

.section-tag {
  margin-bottom: 13px;
}

.section-title,
.why-text h2,
.contact-info h3 {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-title span,
.why-text h2 span {
  color: var(--blue-700);
}

.section-desc {
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.75;
}

.services-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card,
.process-card,
.price-card,
.contact-form,
.why-visual,
.site-banner,
.offer-card,
.gallery-card,
.testimonial-card,
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-card {
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: #a9bfd2;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
  font-weight: 750;
  gap: 16px;
  justify-content: space-between;
  padding: 25px 27px;
  text-align: left;
  width: 100%;
}

.service-toggle-icon {
  align-items: center;
  background: var(--blue-100);
  border-radius: 50%;
  color: var(--blue-700);
  display: flex;
  flex: 0 0 30px;
  font-size: 1.25rem;
  height: 30px;
  justify-content: center;
  transition: transform 0.2s ease;
}

.service-toggle[aria-expanded="true"] .service-toggle-icon {
  transform: rotate(45deg);
}

.service-title-wrap {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.service-title-image {
  border-radius: 10px;
  flex: 0 0 64px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.service-title-fallback {
  align-items: center;
  background: var(--blue-100);
  display: flex;
  font-size: 1.45rem;
  justify-content: center;
}

.service-details {
  border-top: 1px solid var(--border);
  padding: 25px 27px 28px;
}

.service-icon,
.contact-icon {
  align-items: center;
  background: var(--blue-100);
  border-radius: 10px;
  color: var(--blue-700);
  display: flex;
  justify-content: center;
}

.service-icon {
  font-size: 1.45rem;
  height: 50px;
  margin-bottom: 22px;
  width: 50px;
}

.service-card h3,
.process-card h3,
.price-name {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-weight: 750;
}

.service-card h3 {
  font-size: 1.06rem;
  margin-bottom: 10px;
}

.service-card p,
.process-card p {
  color: var(--slate-700);
  font-size: 0.91rem;
  line-height: 1.72;
}

.service-card,
.offer-card,
.testimonial-card,
.post-card {
  min-width: 0;
}

.service-tag {
  color: var(--blue-700);
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 750;
  margin-top: 17px;
}

.why-grid {
  align-items: center;
  display: grid;
  gap: 78px;
  grid-template-columns: 1.05fr 0.95fr;
}

.why-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 12px 0 20px;
}

.why-text > p {
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 24px;
}

.features-list,
.tech-list,
.contact-items,
footer ul {
  list-style: none;
}

.features-list li {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  color: var(--slate-700);
  display: flex;
  font-size: 0.92rem;
  gap: 13px;
  padding: 14px 0;
}

.feature-check {
  align-items: center;
  background: #e7f5ef;
  border-radius: 50%;
  color: var(--success);
  display: flex;
  flex: 0 0 22px;
  font-size: 0.7rem;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  margin-top: 2px;
}

.why-visual {
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.tech-title {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.tech-item {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 12px;
  grid-template-columns: 8px minmax(115px, 0.8fr) 1.2fr;
  padding: 15px 0;
}

.tech-item:last-child {
  border-bottom: 0;
}

.tech-dot {
  background: var(--blue-600);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.tech-name {
  color: var(--slate-700);
  font-size: 0.86rem;
  font-weight: 650;
}

.tech-bar-wrap {
  background: var(--slate-200);
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
}

.tech-bar {
  background: var(--blue-600);
  border-radius: inherit;
  height: 100%;
}

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

.process-card {
  min-height: 230px;
  padding: 30px 25px;
  position: relative;
}

.process-num {
  color: var(--slate-200);
  font-family: "Manrope", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  position: absolute;
  right: 22px;
  top: 18px;
}

.process-icon {
  font-size: 1.55rem;
  margin-bottom: 29px;
}

.process-card h3 {
  font-size: 1rem;
  margin-bottom: 9px;
}

.pricing-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1040px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  position: relative;
}

.price-card.featured {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
  transform: none;
}

.price-card:hover,
.price-card.featured:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.price-badge {
  align-self: flex-start;
  background: var(--navy-900);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 5px 11px;
  text-transform: uppercase;
}

.price-name {
  font-size: 0.83rem;
  letter-spacing: 0.1em;
}

.price-amount {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 14px 0 0;
}

.price-period {
  color: var(--slate-500);
  font-size: 0.78rem;
}

.price-features {
  flex: 1;
  list-style: none;
  margin: 25px 0 28px;
}

.price-features li {
  border-bottom: 1px solid var(--border);
  color: var(--slate-700);
  display: flex;
  font-size: 0.86rem;
  gap: 9px;
  padding: 10px 0;
}

.price-features li::before {
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.price-card .btn-primary,
.price-card .btn-outline {
  width: 100%;
}

.site-banner {
  margin-bottom: 18px;
  padding: 22px;
}

.site-banner p {
  color: var(--slate-700);
  margin: 7px 0 14px;
}

.offer-grid,
.gallery-grid,
.testimonial-grid,
.post-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.offer-card,
.testimonial-card,
.post-card {
  padding: 22px;
}

.offer-card h3,
.post-card h3 {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-size: 1.04rem;
  line-height: 1.25;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--blue-700);
}

.post-link {
  color: var(--blue-700);
  display: inline-block;
  font-weight: 700;
  margin-top: 14px;
  text-decoration: none;
}

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

.blog-empty {
  background: var(--slate-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--slate-700);
  padding: 24px;
  text-align: center;
}

.news-page {
  background: var(--slate-100);
  min-height: 100vh;
  padding: 120px 20px 70px;
}

.news-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  max-width: 850px;
  overflow: hidden;
}

.news-article-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.news-article-body {
  padding: clamp(24px, 5vw, 54px);
}

.news-article-body h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 12px 0 14px;
}

.news-date {
  color: var(--slate-500);
  font-size: .9rem;
}

.news-summary {
  color: var(--slate-700);
  font-size: 1.12rem;
  margin: 0 0 24px;
}

.news-content {
  color: var(--slate-700);
  line-height: 1.85;
  white-space: pre-line;
}

.news-back {
  color: var(--blue-700);
  display: inline-block;
  font-weight: 700;
  margin-bottom: 8px;
  text-decoration: none;
}

.offer-card p,
.post-card p,
.testimonial-card p {
  color: var(--slate-700);
  font-size: 0.91rem;
  line-height: 1.7;
}

.offer-img,
.post-img {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
  width: 100%;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  display: block;
  image-orientation: from-image;
  object-fit: cover;
  width: 100%;
}

.gallery-card figcaption {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.3;
  padding: 16px 18px 18px;
}

.old-price {
  color: var(--slate-500);
  text-decoration: line-through;
}

.stars {
  color: #d79a23;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ===== CARRUSEL DE CLIENTES ===== */
.clients-section {
  background: linear-gradient(180deg, #f7fbff 0%, var(--white) 100%);
  overflow: hidden;
}

.clientes-carrusel {
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clientes-pista {
  align-items: center;
  display: flex;
  gap: 32px;
  padding: 12px 0;
  will-change: transform;
}

.cliente-logo {
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(11, 29, 51, 0.08);
  cursor: pointer;
  display: flex;
  flex: 0 0 180px;
  height: 100px;
  justify-content: center;
  margin: 0;
  padding: 16px 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cliente-logo:hover {
  border-color: var(--blue-200, #b3d4f0);
  box-shadow: 0 8px 28px rgba(11, 29, 51, 0.13);
  transform: translateY(-3px);
}

.cliente-logo.activo {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(29, 112, 183, 0.15), 0 8px 28px rgba(11, 29, 51, 0.13);
  transform: translateY(-3px);
}

.cliente-logo img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.cliente-fallback {
  color: var(--blue-700);
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.clientes-controles {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.cliente-prev,
.cliente-next {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(11, 29, 51, 0.1);
  color: var(--blue-700);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.6rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 44px;
}

.cliente-prev:hover,
.cliente-next:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
}

.clientes-puntos {
  display: flex;
  gap: 8px;
}

.clientes-puntos button {
  background: #c8d8e8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 6px;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
  width: 18px;
}

.clientes-puntos button.activo {
  background: var(--blue-700);
  width: 34px;
}

/* ===== TARJETA DE DETALLE ===== */
.clientes-detalle {
  margin: 36px auto 0;
  max-width: 780px;
  min-height: 200px;
}

.cliente-tarjeta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(11, 29, 51, 0.09);
  padding: 32px;
  transform-origin: top center;
}

.cliente-tarjeta.activo {
  animation: clientReveal 0.35s ease both;
}

.cliente-tarjeta-header {
  align-items: center;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.cliente-tarjeta-logo,
.cliente-tarjeta-fallback {
  align-items: center;
  background: var(--slate-100);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex: 0 0 80px;
  height: 80px;
  justify-content: center;
  padding: 12px;
}

.cliente-tarjeta-logo {
  object-fit: contain;
  width: auto;
}

.cliente-tarjeta-fallback {
  color: var(--blue-700);
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.cliente-tarjeta-meta {
  min-width: 0;
}

.cliente-badge {
  color: var(--blue-700);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cliente-tarjeta-meta h3 {
  color: var(--navy-900);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 6px;
}

.cliente-servicio {
  align-items: center;
  background: #eaf3fb;
  border-radius: 999px;
  color: var(--blue-700);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  min-height: 28px;
  padding: 4px 10px;
}

.cliente-descripcion {
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

.cliente-acciones {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cliente-ano {
  align-items: center;
  background: #eaf3fb;
  border-radius: 999px;
  color: var(--blue-700);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  min-height: 32px;
  padding: 6px 11px;
}

.cliente-enlace {
  align-items: center;
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  border-radius: 10px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cliente-enlace:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-2px);
}

@keyframes clientReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cliente-logo {
    flex-basis: 150px;
    height: 82px;
    padding: 12px 18px;
  }

  .clientes-pista {
    gap: 24px;
  }

  .cliente-tarjeta {
    padding: 24px;
  }

  .cliente-tarjeta-logo,
  .cliente-tarjeta-fallback {
    flex-basis: 68px;
    height: 68px;
  }

  .cliente-tarjeta-meta h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 680px) {
  .cliente-logo {
    flex-basis: 120px;
    height: 68px;
    padding: 10px 14px;
  }

  .clientes-pista {
    gap: 16px;
  }

  .cliente-prev,
  .cliente-next {
    font-size: 1.3rem;
    height: 38px;
    width: 38px;
  }

  .cliente-tarjeta {
    border-radius: 16px;
    padding: 20px;
  }

  .cliente-tarjeta-header {
    gap: 14px;
  }

  .cliente-tarjeta-logo,
  .cliente-tarjeta-fallback {
    flex-basis: 56px;
    height: 56px;
    padding: 8px;
  }

  .cliente-tarjeta-meta h3 {
    font-size: 1.05rem;
  }

  .cliente-enlace {
    width: 100%;
    justify-content: center;
  }
}

.contact-grid {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-info h3 {
  font-size: 1.65rem;
  margin-bottom: 13px;
}

.contact-info > p {
  color: var(--slate-700);
  line-height: 1.75;
  margin-bottom: 28px;
}

.contact-item {
  align-items: center;
  border-bottom: 1px solid var(--border);
  color: var(--slate-700);
  display: flex;
  font-size: 0.9rem;
  gap: 13px;
  padding: 13px 0;
}

.contact-icon {
  flex: 0 0 40px;
  height: 40px;
}

.contact-item strong {
  color: var(--navy-900);
  display: block;
  font-size: 0.82rem;
}

.contact-item a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.contact-form-title {
  color: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 23px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  color: var(--slate-700);
  display: block;
  font-size: 0.76rem;
  font-weight: 750;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  color: var(--slate-900);
  font: inherit;
  font-size: 0.91rem;
  outline: none;
  padding: 12px 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(29, 112, 183, 0.11);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  border: 0;
  width: 100%;
}

.form-alert {
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.form-alert.success {
  background: #edf8f3;
  border: 1px solid #b9e2cf;
  color: var(--success);
}

.form-alert.error {
  background: #fff1f2;
  border: 1px solid #f1c4c7;
  color: var(--danger);
  margin-bottom: 16px;
  text-align: left;
}

footer {
  background: var(--navy-950);
  color: var(--white);
  padding: 68px 24px 28px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.8fr 1fr 1fr 1.25fr;
  margin: 0 auto 48px;
  max-width: var(--container);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p,
footer ul li a,
.footer-bottom {
  color: #9eacbd;
  font-size: 0.84rem;
}

.footer-brand p {
  line-height: 1.75;
  max-width: 330px;
}

footer h4 {
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 17px;
  text-transform: uppercase;
}

footer ul li {
  margin-bottom: 9px;
}

footer ul li a {
  text-decoration: none;
  transition: color 0.2s ease;
}

footer ul li a:hover,
.footer-bottom a {
  color: #cbe7fb;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--container);
  padding-top: 24px;
}

.footer-bottom a {
  text-decoration: none;
}

.whatsapp-float,
.admin-float {
  align-items: center;
  bottom: 22px;
  display: flex;
  position: fixed;
  z-index: 900;
}

.whatsapp-float {
  background: var(--whatsapp);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--white);
  height: 54px;
  justify-content: center;
  left: 22px;
  text-decoration: none;
  transition: transform 0.2s ease;
  width: 54px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.admin-float {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--slate-500);
  font-size: 0.7rem;
  font-weight: 750;
  gap: 6px;
  padding: 9px 13px;
  right: 22px;
  text-decoration: none;
}

.divider {
  display: none;
}

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

  .why-grid,
  .contact-grid {
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 1180px) {
  nav {
    height: 70px;
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 0;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    opacity: 0;
    overflow-y: auto;
    padding: 12px 20px 20px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 70px;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    display: block;
    padding: 13px 4px;
    white-space: normal;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    background-position: 60% center;
    min-height: 720px;
    padding-top: 120px;
  }

  .hero::before {
    background: rgba(7, 20, 38, 0.36);
    content: "";
    inset: 0;
    position: absolute;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 590px;
  }

}

@media (max-width: 900px) {
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  section {
    padding: 74px 18px;
  }

  .hero {
    min-height: auto;
    padding: 125px 18px 66px;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.5rem);
    letter-spacing: -0.035em;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title,
  .why-text h2 {
    font-size: clamp(1.78rem, 9vw, 2.35rem);
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .stat {
    padding: 0 12px 0 0;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .gallery-grid,
  .testimonial-grid,
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-visual,
  .contact-form,
  .price-card,
  .offer-card,
  .testimonial-card,
  .post-card {
    padding: 25px 20px;
  }

  .service-card {
    padding: 0;
  }

  .service-toggle {
    gap: 12px;
    padding: 18px;
  }

  .service-details {
    padding: 20px 18px 22px;
  }

  .service-title-wrap {
    gap: 12px;
  }

  .service-title-image {
    flex-basis: 54px;
    height: 54px;
    width: 54px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

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

  .admin-float span {
    display: none;
  }

  .whatsapp-float {
    bottom: 16px;
    height: 50px;
    left: 16px;
    width: 50px;
  }

  .admin-float {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 420px) {
  nav {
    padding: 0 14px;
  }

  .nav-logo {
    gap: 8px;
  }

  .brand-mark {
    border-radius: 8px;
    flex-basis: 36px;
    height: 36px;
  }

  .brand-copy strong {
    max-width: min(190px, 48vw);
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-badge,
  .section-tag {
    letter-spacing: 0.08em;
  }

  .tech-item {
    grid-template-columns: 8px 1fr;
  }

  .tech-bar-wrap {
    display: none;
  }

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

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0 0 14px;
  }

  .stat:last-child {
    border-bottom: 0;
  }
}

@supports (padding: max(0px)) {
  nav {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  @media (max-width: 680px) {
    section,
    .hero {
      padding-left: max(18px, env(safe-area-inset-left));
      padding-right: max(18px, env(safe-area-inset-right));
    }

    footer {
      padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
