/* =========================================================
   SMARTLINKS
   Archivo: css/styles.css
   Autor: SmartLinks
   Descripción: Estilos principales del sitio
   ========================================================= */

/* =========================
   1. Variables
   ========================= */

:root {
  --color-primary: #1ad8f8;
  --color-primary-dark: #0847c7;
  --color-secondary: #20d3c2;
  --color-dark: #07162f;
  --color-dark-soft: #102442;
  --color-text: #26364f;
  --color-muted: #6f7d91;
  --color-light: #f6f8fc;
  --color-white: #ffffff;
  --color-border: #dfe5ef;
  --color-success: #25d366;

  --gradient-primary: linear-gradient(135deg, #0d5fff 0%, #20d3c2 100%);
  --gradient-dark: linear-gradient(135deg, #07162f 0%, #102c55 100%);
  --gradient-soft: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);

  --shadow-sm: 0 10px 30px rgba(7, 22, 47, 0.08);
  --shadow-md: 0 20px 60px rgba(7, 22, 47, 0.14);
  --shadow-lg: 0 30px 90px rgba(7, 22, 47, 0.2);

  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;

  --container-width: 1200px;
  --header-height: 78px;

  --transition: 0.3s ease;
}

/* =========================
   2. Reset
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1,
h2,
h3 {
  color: var(--color-dark);
  line-height: 1.15;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--color-white);
  background: var(--color-primary);
}

/* =========================
   3. Utilidades
   ========================= */

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

/* =========================
   4. Botones
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(13, 95, 255, 0.25);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--color-white);
  background: var(--gradient-primary);
  box-shadow: 0 12px 30px rgba(13, 95, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px rgba(13, 95, 255, 0.34);
}

.btn--secondary {
  color: var(--color-dark);
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  color: var(--color-primary);
  border-color: rgba(13, 95, 255, 0.35);
}

.btn--light {
  color: var(--color-dark);
  background: var(--color-white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

/* =========================
   5. Header
   ========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 239, 0.8);
  backdrop-filter: blur(18px);
}


.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo {
  flex-shrink: 0;
  color: var(--color-dark);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--color-primary);
}

.nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  padding: 1rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform var(--transition),
    opacity var(--transition),
    visibility var(--transition);
}

.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__list {
  display: grid;
  gap: 0.4rem;
}

.nav__list a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  font-weight: 600;
  transition:
    color var(--transition),
    background var(--transition);
}

.nav__list a:hover {
  color: var(--color-primary);
  background: var(--color-light);
}

.header__cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-light);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 2px 0;
  border-radius: 2px;
  background: var(--color-dark);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   6. Hero
   ========================= */

.hero {
position:relative;
    overflow:hidden;
    isolation:isolate;

    padding:6rem 0;

    background:
        linear-gradient(
            rgba(7,22,47,.4),
            rgba(7,22,47,.4)
        ),
        url("../img/hero-bg.png");

    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        radial-gradient(
            circle at top right,
            rgba(13,95,255,.35),
            transparent 40%
        ),

        radial-gradient(
            circle at bottom left,
            rgba(32,211,194,.20),
            transparent 45%
        );

    z-index:-1;

}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
}

.hero::before {
  top: 6%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(13, 95, 255, 0.08);
}

.hero::after {
  bottom: 4%;
  left: -10%;
  width: 240px;
  height: 240px;
  background: rgba(32, 211, 194, 0.09);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.9rem;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  letter-spacing: -0.065em;
  color:#fff;
}

.hero h1 span {
  display: block;
  color: var(--color-primary);
}

.hero__content > p {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  color:rgba(255,255,255,.85);
}

.hero__actions {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__features {
  display: grid;
  justify-content: center;
  gap: 0.5rem;
  color:#fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__features li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--color-secondary);
  font-weight: 800;
}

.hero__visual {
  display: grid;
  place-items: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:radial-gradient(circle, #4fd9ff 1px, transparent 1px);
    background-size: 45px 45px;
    opacity: .08;
    pointer-events: none;
}

.phone-mockup {
  display: none;
  width: min(100%, 340px);
  padding: 0.8rem;
  border-radius: 2.5rem;
  background: linear-gradient(145deg, #172742, #040a15);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.phone-mockup__screen {
  min-height: 580px;
  padding: 3rem 1.4rem 1.5rem;
  overflow: hidden;
  border-radius: 2rem;
  color: var(--color-white);
  background:
    radial-gradient(circle at top, rgba(32, 211, 194, 0.28), transparent 34%),
    var(--gradient-dark);
  text-align: center;
}

.phone-mockup__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-mockup h2 {
  margin-bottom: 0.8rem;
  color: var(--color-white);
  font-size: 2rem;
}

.phone-mockup p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.phone-mockup__links {
  display: grid;
  gap: 0.8rem;
}

.phone-mockup__links span {
  display: block;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================
   7. Estadísticas
   ========================= */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 1.5rem 0;
  background: var(--color-dark);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-white);
  font-size: 1.5rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

/* =========================
   8. Beneficios
   ========================= */

.benefits {
  background: var(--color-white);
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

 .card .card__title {
  margin: 0;
}

.card .card__icon {
  margin: 0;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 95, 255, 0.25);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: var(--color-light);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* =========================
   9. Portafolio
   ========================= */

.portfolio {
  background: var(--color-light);
}

.portfolio__grid {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-card__visual {
  display: flex;
  align-items: flex-end;
  min-height: 230px;
  padding: 1.25rem;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
}

.project-card__visual span {
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 22, 47, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-card__visual--hotel {
  background:
    linear-gradient(rgba(7, 22, 47, 0.14), rgba(7, 22, 47, 0.56)),
    url("../img/ara.jpg") center / cover no-repeat;
}

.project-card__visual--dance {
  background:
    linear-gradient(rgba(7, 22, 47, 0.1), rgba(7, 22, 47, 0.6)),
    url("../img/danzay.jpg") center / cover no-repeat;
}

.project-card__content {
  padding: 1.5rem;
}

.project-card__content h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.project-card__content p {
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.project-card__content a {
  color: var(--color-primary);
  font-weight: 800;
}

.project-card__label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card--cta {
  display: grid;
  align-items: center;
  min-height: 100%;
  color: var(--color-white);
  background: var(--gradient-dark);
  border-color: transparent;
}

.project-card--cta h3 {
  color: var(--color-white);
}

.project-card--cta p {
  color: rgba(255, 255, 255, 0.68);
}

.project-card--cta a {
  color: var(--color-secondary);
}

/* =========================
   10. Proceso
   ========================= */

.process {
  background: var(--color-white);
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.step__number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
}

.step p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* =========================
   11. Contacto
   ========================= */

.contact {
  background: var(--gradient-soft);
}

.contact__grid {
  display: grid;
  gap: 2rem;
}

.contact__content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  letter-spacing: -0.04em;
}

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

.contact__details {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.contact__details span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact__details a {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--color-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  color: var(--color-text);
  background: var(--color-light);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa6b7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--color-white);
  border-color: rgba(13, 95, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(13, 95, 255, 0.08);
}

.contact-form__note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.74rem;
  text-align: center;
}

/* =========================
   12. CTA Final
   ========================= */

.final-cta {
  padding: 4rem 0;
  color: var(--color-white);
  background: var(--gradient-primary);
}

.final-cta__inner {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.final-cta span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.final-cta h2 {
  margin-bottom: 0;
  color: var(--color-white);
  font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: -0.04em;
}

/* =========================
   13. Footer
   ========================= */

.footer {
  padding: 3rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.68);
  background: var(--color-dark);
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer p {
  max-width: 480px;
}

.footer__links,
.footer__contact {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer__links a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.76);
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-secondary);
}

.footer__contact span {
  color: var(--color-white);
  font-weight: 700;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  text-align: center;
}

/* =========================
   14. WhatsApp flotante
   ========================= */

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  background: var(--color-success);
  border-radius: var(--radius-pill);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(37, 211, 102, 0.45);
}

.whatsapp-float__text {
  display: none;
  margin-left: 0.45rem;
}

/* =========================
   15. Animaciones preparadas
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   16. Tablet
   ========================= */

@media (min-width: 640px) {
  .hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__features {
    grid-template-columns: repeat(3, auto);
    gap: 1rem;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--cta {
    grid-column: 1 / -1;
  }

  .contact-form {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.75rem;
  }

  .form-field--full {
    grid-column: 1 / -1;
  }

  .final-cta__inner {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }

  .footer__bottom {
    text-align: left;
  }

  .whatsapp-float__text {
    display: inline;
  }
}

/* =========================
   17. Escritorio
   ========================= */

@media (min-width: 900px) {
  :root {
    --header-height: 86px;
  }

  .section {
    padding: 7rem 0;
  }

  .header__inner {
    gap: 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    flex: 1;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
  }

  .nav__list a {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }

  .header__cta {
    display: inline-flex;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    align-items: center;
    padding: 5rem 0;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 5rem;
  }

  .hero__content {
    text-align: left;
  }

  .hero h1,
  .hero__content > p {
    margin-left: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__features {
    justify-content: flex-start;
  }

  .phone-mockup {
    width: min(100%, 380px);
    transform: rotate(4deg);
  }

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

  .stat {
    position: relative;
  }

  .stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%);
  }

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

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

  .project-card--cta {
    grid-column: auto;
  }

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

  .contact__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 4rem;
  }
}

/* =========================
   18. Pantallas grandes
   ========================= */

@media (min-width: 1200px) {
  .container {
    width: min(calc(100% - 4rem), var(--container-width));
  }

  .hero__content > p {
    font-size: 1.15rem;
  }

  .card,
  .step {
    padding: 2rem;
  }

  .project-card__content {
    padding: 1.8rem;
  }
}

/* =========================
   19. Preferencias de movimiento
   ========================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================
   SMARTLINKS PARALLAX — VERSIÓN CORREGIDA
   ===================================================== */

.smart-parallax {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;

  background-image:
    linear-gradient(
      90deg,
      rgba(4, 13, 31, 0.96) 0%,
      rgba(4, 13, 31, 0.86) 45%,
      rgba(4, 13, 31, 0.42) 100%
    ),
    url("../img/smartlinks-parallax.png");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Luz decorativa */

.smart-parallax::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 78% 40%,
      rgba(34, 211, 238, 0.22),
      transparent 34%
    ),
    linear-gradient(
      to bottom,
      rgba(4, 13, 31, 0.08),
      rgba(4, 13, 31, 0.42)
    );
}

/* Contenedor */

.smart-parallax__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Contenido */

.smart-parallax__content {
    width: min(100%, 1200px);
    padding: 2rem;
    margin: 0 auto;
}

/* Etiqueta */

.smart-parallax__label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  margin-bottom: 1.4rem;

  color: #43d9ff;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.smart-parallax__label::before {
  content: "";
  width: 2.5rem;
  height: 2px;

  background: linear-gradient(
    90deg,
    #0867d9,
    #43d9ff
  );
}

/* Título */

.smart-parallax__title {
  margin: 0;

  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.smart-parallax__title span {
  display: block;

  margin-top: 0.45rem;

  color: #43d9ff;
}

/* Descripción */

.smart-parallax__description {
  max-width: 620px;
  margin: 1.8rem 0 2.3rem;

  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

/* =====================================================
   TABLET Y MÓVIL
   ===================================================== */

@media (max-width: 1024px) {
  .smart-parallax {
    min-height: 620px;

    /*
     * Fixed suele fallar en móviles y tablets.
     * En estas pantallas usamos scroll.
     */
    background-attachment: scroll;
    background-position: 62% center;
  }
}

@media (max-width: 640px) {
  .smart-parallax {
    min-height: 600px;

    background-image:
      linear-gradient(
        90deg,
        rgba(4, 13, 31, 0.95) 0%,
        rgba(4, 13, 31, 0.83) 70%,
        rgba(4, 13, 31, 0.62) 100%
      ),
      url("../img/smartlinks-parallax.png");

    background-position: 65% center;
  }

  .smart-parallax__content {
    padding-block: 5rem;
  }

  .smart-parallax__title {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
  .smart-parallax {
    background-attachment: scroll;
  }
}


/* =====================================================
   SMART FEATURE
   ===================================================== */

.smart-feature {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;

  padding: clamp(5rem, 9vw, 9rem) 0;


  visibility: visible;
  opacity: 1;
}

.smart-feature .container {
  position: relative;
  z-index: 2;

  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.smart-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);

  width: 100%;
}

/* =====================================================
   IMAGEN
   ===================================================== */

.smart-feature__media {
  position: relative;
  display: block;
  width: 100%;

  opacity: 1;
  visibility: visible;
  transform: none;
}

.smart-feature__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 38rem;
  margin-inline: auto;
}

.smart-feature__image-wrapper::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 8%;
  z-index: 0;

  border-radius: 2rem;

  background:
    linear-gradient(
      145deg,
      rgba(0, 190, 255, 0.2),
      rgba(15, 62, 186, 0.08)
    );

  transform: rotate(-4deg);
}

.smart-feature__image {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  height: auto;
  min-height: 30rem;

  object-fit: cover;
  object-position: center;

  border-radius: 2rem;

  box-shadow:
    0 2rem 4rem rgba(5, 18, 47, 0.18),
    0 0 0 1px rgba(10, 36, 92, 0.08);
}

.smart-feature__glow {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  z-index: 0;

  width: 15rem;
  height: 15rem;

  border-radius: 50%;
  background: rgba(0, 194, 255, 0.22);

  filter: blur(4rem);
  pointer-events: none;
}

/* =====================================================
   TARJETAS FLOTANTES
   ===================================================== */

.smart-feature__floating-card {
  position: absolute;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 0.85rem;

  min-width: 14rem;
  padding: 1rem 1.15rem;

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.1rem;

  background: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 1.25rem 2.5rem rgba(5, 18, 47, 0.17);

  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
}

.smart-feature__floating-card--top {
  top: 8%;
  left: -1rem;
}

.smart-feature__floating-card--bottom {
  right: -1rem;
  bottom: 9%;
}

.smart-feature__floating-icon {
  display: grid;
  flex: 0 0 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;

  border-radius: 0.85rem;

  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;

  background:
    linear-gradient(
      135deg,
      #006dff,
      #22d3ee
    );
}

.smart-feature__floating-card strong,
.smart-feature__floating-card div > span {
  display: block;
}

.smart-feature__floating-card strong {
  color: #07162f;
  font-size: 0.9rem;
  line-height: 1.2;
}

.smart-feature__floating-card div > span {
  margin-top: 0.2rem;

  color: #64748b;
  font-size: 0.75rem;
}

/* =====================================================
   CONTENIDO
   ===================================================== */

.smart-feature__content {
  position: relative;
  display: block;
  width: 100%;
  max-width: 40rem;

  opacity: 1;
  visibility: visible;
  transform: none;
}

.smart-feature__label {
  display: inline-flex;
  margin-bottom: 1rem;

  color: #0867d9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.smart-feature__title {
  margin: 0;

  color: #07162f;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.smart-feature__title span {
  display: block;
  margin-top: 0.4rem;

  color: #0867d9;
}

.smart-feature__description {
  margin: 1.5rem 0 2rem;

  color: #556176;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* =====================================================
   LISTA
   ===================================================== */

.smart-feature__list {
  display: grid;
  gap: 0;

  margin: 0;
  padding: 0;

  list-style: none;
}

.smart-feature__list li {
  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 1rem 0;

  border-bottom: 1px solid rgba(7, 22, 47, 0.1);

  color: #07162f;
  font-size: 1rem;
  font-weight: 600;
}

.smart-feature__list li > span {
  display: grid;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;

  border-radius: 50%;

  color: #0867d9;
  font-size: 0.75rem;
  font-weight: 800;

  background: rgba(8, 103, 217, 0.09);
}

/* =====================================================
   ACCIONES
   ===================================================== */

.smart-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;

  margin-top: 2.2rem;
}

.smart-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  color: #07162f;
  font-weight: 700;
  text-decoration: none;
}

.smart-feature__link span {
  transition: transform 0.25s ease;
}

.smart-feature__link:hover span {
  transform: translateX(0.35rem);
}

/* =====================================================
   ESCRITORIO
   ===================================================== */

@media (min-width: 900px) {
  .smart-feature__grid {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);
  }
}

/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 899px) {
  .smart-feature__content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .smart-feature {
    padding: 5rem 0;
  }

  .smart-feature__image {
    min-height: 24rem;
    border-radius: 1.5rem;
  }

  .smart-feature__floating-card {
    position: relative;
    inset: auto;

    width: 100%;
    min-width: 0;
    margin-top: 1rem;
  }

  .smart-feature__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .smart-feature__actions .button,
  .smart-feature__link {
    justify-content: center;
    width: 100%;
  }
}


/* =====================================================
   PARALLAX DESKTOP
   ===================================================== */

@media (min-width: 900px) {
  .smart-parallax {
    min-height: 48rem;
    background-attachment: fixed;
  }

  .smart-feature__grid {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);
  }
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 899px) {
  .smart-parallax {
    min-height: 38rem;
    background-attachment: scroll;
    background-position: 62% center;
  }

  .smart-feature__grid {
    grid-template-columns: 1fr;
  }

  .smart-feature__media {
    order: 2;
  }

  .smart-feature__content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .smart-parallax__content {
    padding-block: 5rem;
  }

  .smart-parallax h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .smart-feature {
    padding-block: 5rem;
  }

  .smart-feature__grid {
    gap: 3rem;
  }

  .smart-feature__image {
    min-height: 25rem;
    border-radius: 1.5rem;
  }

  .smart-feature__floating-card {
    position: relative;
    inset: auto;

    width: 100%;
    min-width: 0;
    margin-top: 1rem;
  }

  .smart-feature__floating-card--top,
  .smart-feature__floating-card--bottom {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .smart-feature__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .smart-feature__actions .button,
  .smart-feature__link {
    justify-content: center;
    width: 100%;
  }
}


/* =====================================================
   ACCESIBILIDAD
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
  .smart-parallax {
    background-attachment: scroll;
  }

  .smart-feature__link span {
    transition: none;
  }
}


/* =====================================================
   BENEFICIOS - ÍCONO Y TÍTULO EN UNA SOLA LÍNEA
   ===================================================== */

.card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

.card__icon {
  display: grid;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;

  margin: 0;

  border-radius: 1rem;

  color: #ffffff;
  font-size: 1.25rem;

  background: linear-gradient(
    135deg,
    #0867d9,
    #22d3ee
  );
}

.card__title {
  flex: 1;
  margin: 0;

  color: #07162f;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.card__description {
  width: 100%;
  margin: 0;

  color: #64748b;
  line-height: 1.75;
}

/* =========================================
   NUESTROS CLIENTES
========================================= */

.smart-clients {
    --clients-bg: #071013;
    --clients-surface: rgba(255, 255, 255, 0.055);
    --clients-surface-hover: rgba(255, 255, 255, 0.085);
    --clients-border: rgba(255, 255, 255, 0.12);
    --clients-text: #f4f8f8;
    --clients-muted: rgba(244, 248, 248, 0.65);
    --clients-accent: #28d2ed;
    --clients-accent-soft: rgba(40, 210, 237, 0.14);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(7, 16, 19, 0.96),
            rgba(4, 10, 13, 1)
        );
    padding: clamp(5rem, 9vw, 9rem) 1rem;
}

.smart-clients__container {
    position: relative;
    z-index: 2;
    width: min(100%, 1240px);
    margin-inline: auto;
}

/* Luces decorativas */

.smart-clients__glow {
    position: absolute;
    z-index: 0;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    background: var(--clients-accent);
    filter: blur(130px);
    opacity: 0.09;
    pointer-events: none;
}

.smart-clients__glow--one {
    top: -10rem;
    left: -12rem;
}

.smart-clients__glow--two {
    right: -12rem;
    bottom: -12rem;
    opacity: 0.06;
}

/* Encabezado */

.smart-clients__header {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.smart-clients__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--clients-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.smart-clients__eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.smart-clients__title {
    margin: 0.85rem 0 1rem;
    color: var(--clients-text);
    font-size: clamp(2.3rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.smart-clients__title span {
    color: var(--clients-accent);
}

.smart-clients__intro {
    max-width: 620px;
    margin: 0;
    color: var(--clients-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
}

/* Grid */

.smart-clients__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Card */

.client-card {
    position: relative;
    min-width: 0;
    opacity: 1;
    transform: none;
}

.client-card__link {
    display: block;
    overflow: hidden;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--clients-border);
    border-radius: 1.5rem;
    background: var(--clients-surface);
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.client-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: #10191c;
}

.client-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.4s ease;
}

.client-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 8, 10, 0.04) 25%,
            rgba(2, 8, 10, 0.82) 100%
        );
}

.client-card__category {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 4.5rem);
    padding: 0.55rem 0.8rem;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(5, 14, 17, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.client-card__external {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(5, 14, 17, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.client-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
}

.client-card__label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--clients-accent);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.client-card__title {
    margin: 0;
    color: var(--clients-text);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.client-card__arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    color: var(--clients-text);
    border: 1px solid var(--clients-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

/* Hover */

@media (hover: hover) {

    .client-card__link:hover {
        border-color: rgba(40, 210, 237, 0.42);
        background: var(--clients-surface-hover);
        box-shadow:
            0 1.8rem 4.5rem rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(40, 210, 237, 0.06);
        transform: translateY(-0.5rem);
    }

    .client-card__link:hover .client-card__media img {
        filter: saturate(1.08) contrast(1.04);
        transform: scale(1.065);
    }

    .client-card__link:hover .client-card__external {
        color: #061114;
        background: var(--clients-accent);
        transform: rotate(6deg);
    }

    .client-card__link:hover .client-card__arrow {
        color: #061114;
        border-color: var(--clients-accent);
        background: var(--clients-accent);
        transform: translateX(0.25rem);
    }
}

/* Focus accesible */

.client-card__link:focus-visible {
    outline: 3px solid var(--clients-accent);
    outline-offset: 5px;
}

/* Animación controlada por JavaScript */

.js .smart-reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .smart-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */

@media (min-width: 640px) {

    .smart-clients {
        padding-inline: 1.5rem;
    }

    .smart-clients__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* Desktop */

@media (min-width: 1024px) {

    .smart-clients {
        padding-inline: 2rem;
    }

    .smart-clients__grid {
        gap: 1.75rem;
    }

    .client-card__content {
        padding: 1.5rem;
    }
}

/* Pantallas grandes */

@media (min-width: 1280px) {

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

    .client-card__media {
        aspect-ratio: 4 / 5;
    }
}

/* Accesibilidad: reducir movimiento */

@media (prefers-reduced-motion: reduce) {

    .client-card__link,
    .client-card__media img,
    .client-card__external,
    .client-card__arrow,
    .smart-reveal {
        transition: none !important;
    }

    .js .smart-reveal {
        opacity: 1;
        transform: none;
    }
}
