@font-face {
  font-family: 'TW Cen MT';
  src: url('assets/fonts/Tw-Cen-MT.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'TW Cen MT';
  src: url('assets/fonts/Tw-Cen-MT-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

body,
button,
input,
textarea,
select {
  font-family: 'Jost', 'Century Gothic', Arial, sans-serif;
}
h1,h2,h3,h4,h5,h6,
.site-header nav a,
.syqual,
.btn,
.eyebrow,
.stats strong,
.steps span,
.cards a,
.text-link {
  font-family: 'Jost', 'Century Gothic', Arial, sans-serif;
}
.eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
}

/* Home V2: identidad original, encabezado blanco y fotografía iluminada */
.site-header {
  height: 124px;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  color: var(--ink);
}

.brand { width: 196px; height: 112px; overflow: visible; display: flex; align-items: center; }
.brand img { position: static; width: 190px; height: auto; display: block; }
.site-header nav a, .syqual { color: #2d2d2d; }
.site-header nav a {
  font-family: 'Jost', 'Century Gothic', Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.site-header nav { gap: 38px; }
.site-header .btn-small {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 3px;
}
.hero-actions .btn-primary {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 3px;
}
.hero-actions .btn-glass,
.cta-whatsapp {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(20, 120, 61, .18);
}
.hero-actions .btn-glass::before,
.cta-whatsapp::before {
  content: '';
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 4.2A11.6 11.6 0 0 0 6.1 21.9L4.5 27.7l5.9-1.5A11.6 11.6 0 1 0 16 4.2Z' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.1 10.1c-.3-.7-.6-.7-.9-.7h-.8c-.3 0-.7.1-1 .5-.4.5-1.4 1.4-1.4 3.4s1.5 4 1.7 4.3c.2.3 2.9 4.5 7.2 6.1 3.5 1.4 4.3 1.1 5.1 1 .8-.1 2.5-1 2.9-2 .4-1 .4-1.8.3-2-.1-.2-.4-.3-.8-.5l-2.8-1.3c-.4-.2-.7-.3-1 .3-.3.5-1.1 1.3-1.4 1.6-.3.3-.5.4-1 .1-.5-.2-2-.7-3.8-2.4-1.4-1.2-2.3-2.8-2.6-3.2-.3-.5 0-.7.2-.9l.7-.8c.2-.3.3-.5.5-.8.2-.3.1-.6 0-.8l-1.1-2.7Z' fill='%23fff'/%3E%3C/svg%3E");
}
.hero-actions .btn-glass:hover,
.cta-whatsapp:hover { background: #1fbd5b; }
.whatsapp-float {
  width: auto;
  min-width: 132px;
  padding: 0 17px;
  gap: 9px;
  border-radius: 28px;
}
.whatsapp-float::after {
  content: 'WhatsApp';
  font-size: 14px;
  font-weight: 700;
}
.whatsapp-float svg { width: 28px; }
.site-header nav a:hover { color: var(--orange); }
.syqual { border-color: #cecece; }
.syqual:hover { border-color: var(--orange); color: var(--orange); }
.syqual {
  width: 132px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #0f172a url('assets/syqual-logo.png') center / 116px auto no-repeat;
  box-shadow: 0 5px 15px rgba(15,23,42,.18);
  color: transparent !important;
  font-size: 0;
  overflow: hidden;
  transition: transform .2s,box-shadow .2s;
}
.syqual:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(15,23,42,.25);
}

.hero {
  height: calc(100vh - 124px);
  min-height: 750px;
  background: none;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/oficina-4-2000x1500.jpg') center center / cover no-repeat;
  filter: brightness(1.24) saturate(.96) contrast(.95);
  transform: scale(1.006);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(11,13,15,.79) 0%, rgba(11,13,15,.54) 37%, rgba(11,13,15,.08) 72%, rgba(11,13,15,0) 100%),
    linear-gradient(0deg, rgba(0,0,0,.10), transparent 45%);
}

.hero h1 { font-size: 82px; }
.hero p { font-size: 20px; }
.hero-descriptor {
  width: 820px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: .055em;
  font-weight: 500;
}
.hero-descriptor span { display: block; }
.section-heading h2,
.method h2,
.about h2,
.cta h2 { font-size: 58px; }
.section-heading > p,
.about-copy p { font-size: 18px; }
.cards h3 { font-size: 28px; }
.cards p { font-size: 16px; }
.cards a,
.text-link { font-size: 15px; }
.stats span {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 10px;
}
.solutions-hero h1 { max-width: 1030px; font-size: 78px; }
.solutions-hero > p { font-size: 20px; }
.detail-main h2 { font-size: 54px; }
.detail-main > p { font-size: 18px; }
.detail-list li,
.detail-list p { font-size: 16px; }

.cards article {
  min-height: 390px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.cards article:hover {
  background: #faf9f7;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.055);
}
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card-number { color: #999; }
.solution-icon {
  width: 68px;
  height: 68px;
  border: 1px solid #efb78d;
  background: #fff7f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cards h3 { margin-top: 42px; }

/* Soluciones V3: tarjetas más contemporáneas */
.solutions {
  background: #f6f6f4;
}
.cards {
  gap: 18px;
  border: 0;
}
.cards article,
.cards article:first-child,
.cards article:last-child {
  min-height: 410px;
  padding: 28px 27px 30px;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 18px;
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
.cards article:hover {
  background: #fff;
  border-color: #efc3a0;
  transform: translateY(-7px);
  box-shadow: 0 22px 46px rgba(36,31,27,.09);
}
.solution-icon {
  width: 84px;
  height: 84px;
  border: 1px solid #deded9;
  border-radius: 18px;
  background: linear-gradient(145deg,#fff 0%,#f7f6f2 100%);
  box-shadow: 0 8px 22px rgba(28,26,23,.055);
}
.solution-icon svg {
  width: 52px;
  height: 52px;
  stroke: #343431;
  stroke-width: 1.65;
}
.solution-icon svg .accent { stroke: var(--orange); stroke-width: 2.2; }
.cards article:hover .solution-icon {
  border-color: #efb78d;
  background: linear-gradient(145deg,#fff 0%,#fff2e8 100%);
  transform: scale(1.035);
}
.about {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  text-align: center;
}
.about-copy p { margin-left: auto; margin-right: auto; }
.about-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 42px;
  margin-top: 24px;
}
.about-links .text-link {
  margin-top: 0;
  font-size: 19px;
}
.clients-links-block {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 38px;
  padding-bottom: 55px;
}
#nosotros.about {
  grid-template-columns: minmax(0, 1100px);
  justify-content: center;
  text-align: center;
}
#nosotros .about-copy p {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}
#nosotros .about-links { justify-content: center; }
.card-number {
  padding: 7px 9px;
  border-radius: 20px;
  background: #f3f3f1;
  color: #7c7c78;
  font-size: 10px;
}
.cards h3 {
  margin: 38px 0 17px;
  font-size: 26px;
  line-height: 1.12;
}
.cards p {
  font-size: 14px;
  line-height: 1.75;
}
.cards a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #ecece8;
}
.cards a span {
  width: 31px;
  height: 31px;
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff1e6;
  transition: transform .2s,background .2s;
}
.cards article:hover a span {
  color: #fff;
  background: var(--orange);
  transform: translateX(3px);
}

/* Carrusel continuo de clientes reales */
.trust {
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}
.trust > p {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .13em;
  color: #565652;
}
.logo-row {
  width: 100%;
  max-width: none;
  overflow: hidden;
  display: block;
  position: relative;
  filter: none;
}
.logo-row::before,
.logo-row::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 8vw;
  pointer-events: none;
}
.logo-row::before { left: 0; background: linear-gradient(90deg,#fff,transparent); }
.logo-row::after { right: 0; background: linear-gradient(270deg,#fff,transparent); }
.logo-track {
  width: max-content;
  display: flex;
  animation: client-marquee 70s linear infinite;
}
.logo-set {
  display: flex;
  align-items: center;
  gap: 70px;
  padding-right: 70px;
}
.logo-set img {
  width: auto;
  height: 54px;
  max-width: 155px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .62;
  mix-blend-mode: multiply;
}
.logo-set img[src$="image32.png"] {
  height: 98px;
  max-width: 215px;
  opacity: .76;
  margin-top: -18px;
  margin-bottom: -18px;
}
.logo-set img[src$="image1.png"],
.logo-set img[src$="image2.png"] {
  display: none;
}
.logo-set img[src$="grupo-simpa.png"] {
  width: 190px;
  height: 38px;
  max-width: 190px;
}
.logo-set img[src$="mb-soft.png"] {
  width: 180px;
  height: 52px;
  max-width: 180px;
}
.logo-set img[src$="agro-leben.png"] {
  width: 165px;
  height: 125px;
  max-width: 165px;
  margin-top: -35px;
  margin-bottom: -35px;
}
.logo-set img[src$="sisem.png"] {
  width: 165px;
  height: 72px;
  max-width: 165px;
}
.logo-set img[src$="total-support.png"] {
  width: 220px;
  height: 52px;
  max-width: 220px;
}
.logo-row:hover .logo-track { animation-play-state: paused; }
@keyframes client-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation-play-state: paused; }
}

/* Metodología: secuencia visual con iconos */
.method {
  background: linear-gradient(145deg,#f0f0ed 0%,#f8f8f6 100%);
  color: var(--ink);
}
.method .eyebrow.light { color: var(--orange); opacity: 1; }
.steps {
  gap: 14px;
  border-top: 0;
}
.steps div {
  min-height: 285px;
  padding: 31px 22px 29px;
  border: 1px solid #dfdfda;
  border-radius: 16px;
  background: #fff;
  align-items: center;
  text-align: center;
  transition: transform .25s,background .25s,border-color .25s;
}
.steps div:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(239,108,0,.5);
  box-shadow: 0 18px 38px rgba(36,31,27,.08);
}
.steps div:not(:last-child)::after {
  content: '→';
  right: -12px;
  top: 50%;
  z-index: 2;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
}
.steps i {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px auto 30px;
  border-radius: 18px;
  background: #fff4eb;
  box-shadow: inset 0 0 0 1px rgba(239,108,0,.24);
}
.steps i svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #ff862d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps b {
  position: absolute;
  top: 26px;
  right: 22px;
  margin: 0;
  color: #aaa;
  font-size: 11px;
}
.steps span { width: 100%; color: #262623; font-size: 22px; margin-bottom: 12px; }
.steps small { max-width: 175px; color: #6d6d68; font-size: 15px; line-height: 1.55; }

.whatsapp-float {
  width: 60px;
  height: 60px;
  border: 3px solid #fff;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 34px rgba(0,0,0,.29);
}
.whatsapp-float svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whatsapp-float svg path:last-child {
  fill: #fff;
  stroke: none;
}

@media (max-width: 720px) {
  .site-header { height: 92px; }
  .brand { width: 130px; height: 82px; }
  .brand img { width: 126px; }
  .hero { height: auto; min-height: 720px; }
  .hero h1 { font-size: 55px; }
  .hero p { font-size: 18px; }
  .section-heading h2,
  .method h2,
  .about h2,
  .cta h2 { font-size: 44px; }
  .solutions-hero h1 { font-size: 52px; }
  .detail-main h2 { font-size: 42px; }
  .eyebrow { font-size: 14px; }
  .cards { gap: 14px; }
  .cards article,
  .cards article:first-child,
  .cards article:last-child { min-height: 365px; padding: 25px; }
  .steps { gap: 12px; }
  .steps div { min-height: 215px; }
}

/* Mayor legibilidad en la página Soluciones; el título principal se conserva */
.solutions-page .eyebrow { font-size: 14px; }
.solutions-page .solutions-hero > p { font-size: 23px; line-height: 1.65; }
.solutions-page .solution-nav a { font-size: 16px; padding: 14px 20px; }
.solutions-page .detail-index { font-size: 16px; }
.solutions-page .detail-main > p { font-size: 21px; line-height: 1.75; }
.solutions-page .detail-main .text-link { font-size: 18px; }
.solutions-page .detail-list h3 { font-size: 17px; }
.solutions-page .detail-list li { font-size: 19px; padding: 12px 0; }
.solutions-page .detail-list p { font-size: 19px; line-height: 1.7; }
.solutions-page .cta-whatsapp { font-size: 17px; }
.solutions-page footer { font-size: 14px; }

/* Pie de página: datos institucionales más visibles */
body > footer,
.site-footer {
  font-size: 15px;
  line-height: 1.45;
}

html { scroll-padding-top: 145px; }

/* Navegación siempre visible */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: #e5e5e5;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 720px) {
  .solutions-page .solutions-hero > p { font-size: 20px; }
  .solutions-page .detail-main > p,
  .solutions-page .detail-list li,
  .solutions-page .detail-list p { font-size: 18px; }
}

/* Experiencia móvil */
.mobile-menu-toggle,
.mobile-menu-actions { display: none; }

@media (max-width: 900px) {
  html { scroll-padding-top: 98px; }
  body.mobile-menu-open { overflow: hidden; }

  .site-header {
    height: 88px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1000 !important;
  }
  .site-header .brand {
    width: 132px !important;
    height: 78px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .site-header .brand img { width: 128px !important; max-height: 72px !important; object-fit: contain !important; }
  .site-header .header-actions { display: none !important; }
  .mobile-menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #deddd9;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 1002;
  }
  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #191919;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav {
    display: flex !important;
    position: fixed !important;
    inset: 88px 0 auto 0 !important;
    height: calc(100dvh - 88px) !important;
    padding: 24px 22px 40px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: rgba(255,255,255,.99) !important;
    border-top: 1px solid #eceae6 !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform .25s ease, opacity .2s ease, visibility .2s ease !important;
    overflow-y: auto !important;
    z-index: 1001 !important;
  }
  .site-header.menu-open nav { transform: translateX(0) !important; opacity: 1 !important; visibility: visible !important; }
  .site-header nav > a {
    display: block !important;
    padding: 16px 4px !important;
    border-bottom: 1px solid #eceae6 !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    color: #1b1b1a !important;
  }
  .mobile-menu-actions { display: grid; gap: 12px; margin-top: 24px; }
  .mobile-menu-actions a { display: flex !important; justify-content: center !important; width: 100% !important; min-height: 54px !important; padding: 15px 18px !important; font-size: 17px !important; }
  .mobile-menu-actions .syqual { background: #111a2c !important; color: #fff !important; border-radius: 4px !important; }

  .section-heading,
  .about,
  .contact-form,
  .location { padding-left: 22px !important; padding-right: 22px !important; }
  .section-heading h2,
  .method h2,
  .about h2,
  .cta h2 { font-size: clamp(38px, 11vw, 48px) !important; line-height: 1.03 !important; }
  .section-heading p,
  .about p { font-size: 18px !important; line-height: 1.55 !important; }
  .btn { min-height: 54px !important; font-size: 17px !important; }
  .cta { padding: 64px 22px !important; gap: 30px !important; }
  .cta-actions { width: 100% !important; display: grid !important; gap: 12px !important; }
  .cta-actions a { width: 100% !important; justify-content: center !important; text-align: center !important; }
  body > footer, .site-footer { padding: 34px 22px !important; gap: 10px !important; align-items: flex-start !important; flex-direction: column !important; font-size: 16px !important; }
  .whatsapp-float { width: 58px !important; height: 58px !important; right: 14px !important; bottom: 14px !important; }
  .whatsapp-float svg { width: 31px !important; height: 31px !important; }

  .solutions-hero,
  .about-hero,
  .clients-page-hero,
  .opinions-hero,
  .contact-hero { padding: 138px 22px 68px !important; min-height: 0 !important; }
  .solutions-hero h1,
  .about-hero h1,
  .clients-page-hero h1,
  .opinions-hero h1,
  .contact-hero h1 { font-size: clamp(42px, 12vw, 54px) !important; line-height: 1.02 !important; }
  .solutions-hero > p,
  .clients-page-hero p,
  .opinions-hero p,
  .contact-hero p { font-size: 19px !important; line-height: 1.55 !important; }
  .solution-nav { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  .solution-detail { grid-template-columns: 1fr !important; padding: 68px 22px !important; gap: 26px !important; }
  .detail-main h2 { font-size: 40px !important; }
  .contact-data { grid-template-columns: 1fr !important; padding: 20px 22px 64px !important; }
  .contact-data article { padding: 32px 0 !important; }
  .location { grid-template-columns: 1fr !important; gap: 32px !important; padding-top: 64px !important; padding-bottom: 64px !important; }
  .map-frame { min-height: 340px !important; }
  .contact-form { grid-template-columns: 1fr !important; gap: 34px !important; padding-top: 68px !important; padding-bottom: 68px !important; }
  .contact-form form { grid-template-columns: 1fr !important; }
  .contact-form label, .contact-form .wide { grid-column: auto !important; }
  .profile { grid-template-columns: 1fr !important; padding: 0 22px 68px !important; }
  .profile aside { position: static !important; padding: 36px 26px !important; }
  .profile-content { padding: 54px 0 0 !important; }
  .profile-content h2 { font-size: 40px !important; }
  .highlights article { grid-template-columns: 58px 1fr !important; gap: 16px !important; }
  .team-network { padding: 64px 22px !important; }
  .testimonials { grid-template-columns: 1fr !important; padding: 28px 22px 68px !important; }
  .testimonial { padding: 28px 24px !important; }
  .client-sectors { grid-template-columns: 1fr !important; padding: 24px 22px 68px !important; }
}

@media (max-width: 420px) {
  .site-header { padding-inline: 16px !important; }
  .site-header .brand { width: 122px !important; }
  .site-header .brand img { width: 118px !important; }
}
