:root {
  --bg: #050b14;
  --surface: #091321;
  --surface-2: #0d1a2c;
  --surface-3: #111f34;
  --text: #f7f9ff;
  --muted: #aab9d2;
  --line: rgba(129, 163, 224, .18);
  --blue: #1769ff;
  --blue-2: #13a2ff;
  --green: #25c879;
  --content: 1180px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 11, 20, .82);
  border-bottom: 1px solid rgba(129, 163, 224, .12);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: #c9d5e9; font-size: .94rem; font-weight: 680; transition: color .2s ease; }
.desktop-nav a:hover { color: #fff; }
.header-cta { margin-left: 4px; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 12px; }
.menu-button span { width: 20px; height: 2px; display: block; background: #fff; margin: 2px 0; }
.mobile-menu { display: none; padding: 0 20px 20px; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); }
.mobile-menu > a:not(.button) { padding-top: 14px; color: #d5dfef; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 13px; border: 1px solid transparent; font-size: .93rem; font-weight: 800; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 34px rgba(23, 105, 255, .28); }
.button-secondary { background: rgba(255, 255, 255, .045); border-color: rgba(136, 169, 231, .25); color: #eef5ff; }
.button-whatsapp { background: linear-gradient(135deg, #1fbf6d, #0da24f); box-shadow: 0 12px 34px rgba(20, 181, 92, .2); }
.button-large { min-height: 54px; padding-inline: 23px; border-radius: 15px; }
.text-link { color: #b8ceef; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { color: #fff; }

.eyebrow { display: inline-flex; color: #72aaff; font-size: .76rem; font-weight: 900; letter-spacing: .16em; }
.hero { min-height: 590px; padding: 82px 0 74px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid-pattern { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(77, 123, 200, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 123, 200, .12) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.hero-glow-one { width: 640px; height: 500px; right: -180px; top: -180px; background: radial-gradient(circle, rgba(24, 105, 255, .34), transparent 68%); }
.hero-glow-two { width: 420px; height: 350px; left: -220px; bottom: -220px; background: radial-gradient(circle, rgba(15, 163, 255, .18), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 66px; align-items: center; }
.hero-copy h1 { max-width: 690px; margin: 18px 0 20px; font-size: clamp(3.25rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.065em; }
.hero-copy > p { max-width: 650px; color: #b6c6de; font-size: 1.22rem; line-height: 1.68; margin: 0; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero-brand { display: grid; place-items: center; min-height: 390px; padding: 30px; position: relative; }
.hero-brand::before { content: ""; position: absolute; inset: 14% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(24, 108, 255, .22), transparent 68%); filter: blur(10px); }
.hero-brand img { position: relative; width: min(100%, 470px); filter: drop-shadow(0 28px 60px rgba(0,0,0,.5)); }

.product-section { padding: 86px 0 70px; }
.product-spotlight { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; min-height: 610px; padding: 54px; border: 1px solid rgba(93, 145, 239, .23); border-radius: 34px; background: radial-gradient(circle at 100% 0%, rgba(22, 105, 255, .19), transparent 37%), linear-gradient(145deg, #0d1a2d 0%, #08121f 76%); box-shadow: var(--shadow); overflow: hidden; }
.product-copy { align-self: center; }
.product-label { display: flex; align-items: center; gap: 9px; color: #77aeff; font-size: .84rem; font-weight: 900; letter-spacing: .12em; }
.product-label span { width: 8px; height: 8px; border-radius: 50%; background: #42dc91; box-shadow: 0 0 0 6px rgba(66, 220, 145, .1); }
.product-copy h2 { margin: 17px 0; font-size: clamp(2.55rem, 4.7vw, 4.5rem); line-height: 1; letter-spacing: -.06em; }
.product-lead { color: #becde2; font-size: 1.15rem; line-height: 1.68; margin: 0; }
.product-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 27px 0 30px; }
.product-points span { position: relative; padding: 12px 13px 12px 34px; border-radius: 13px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(133, 166, 223, .13); color: #dce8f8; font-size: .91rem; font-weight: 720; }
.product-points span::before { content: "✓"; position: absolute; left: 12px; color: #49dc91; font-weight: 950; }
.product-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.product-visual { position: relative; min-height: 510px; display: grid; align-items: center; }
.product-visual-illustrated { justify-items: center; }
.screen-glow { position: absolute; inset: 10% 6% 10% 8%; background: radial-gradient(circle, rgba(35, 118, 255, .24), transparent 68%); filter: blur(30px); }
.product-illustration { position: relative; z-index: 2; width: min(100%, 700px); filter: drop-shadow(0 26px 48px rgba(0, 0, 0, .34)); }

.custom-section { padding: 34px 0 74px; }
.custom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px 54px; padding: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.custom-grid h2 { margin: 15px 0 14px; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.055em; }
.custom-grid > div:first-child p { color: #aebfd7; line-height: 1.7; margin: 0; }
.custom-services { display: grid; gap: 10px; }
.custom-services article { display: grid; grid-template-columns: 42px 1fr; gap: 4px 13px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.033); border: 1px solid rgba(130, 163, 218, .12); }
.custom-services article > span { grid-row: 1 / 3; color: #4e8eff; font-size: .74rem; font-weight: 900; }
.custom-services strong { font-size: 1rem; }
.custom-services small { color: #96a9c5; line-height: 1.4; }
.custom-cta { grid-column: 1 / -1; justify-self: start; }

.closing-section { padding: 8px 0 80px; }
.closing-card { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 38px 42px; border-radius: 28px; border: 1px solid rgba(87, 143, 239, .22); background: linear-gradient(135deg, #112747, #0a1728); }
.closing-card h2 { margin: 12px 0 8px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.055em; }
.closing-card p { margin: 0; color: #b4c5dd; max-width: 660px; line-height: 1.65; }
.closing-actions { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }

footer { padding: 28px 0; border-top: 1px solid var(--line); color: #93a8c5; }
.footer-inner { display: flex; align-items: center; gap: 22px; justify-content: space-between; flex-wrap: wrap; }
.footer-brand { color: #fff; font-size: 1.15rem; }
.footer-brand img { width: 28px; height: 28px; }
.footer-inner p { margin: 0; }
.floating-whatsapp { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #2bd374, #0ea34e); box-shadow: 0 18px 42px rgba(23, 188, 88, .35); border: 3px solid rgba(255,255,255,.1); }
.floating-whatsapp svg { width: 29px; height: 29px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 980px) {
  .hero-inner, .product-spotlight, .custom-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero-inner { gap: 20px; }
  .hero-brand { min-height: 270px; }
  .hero-brand img { width: min(76%, 420px); }
  .product-spotlight { padding: 38px; }
  .product-visual { min-height: 470px; }
  .custom-cta { grid-column: auto; }
  .closing-card { align-items: flex-start; flex-direction: column; }
  .closing-actions { flex-direction: row; min-width: 0; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; }
  .mobile-menu.is-open { display: flex; }
  .hero { min-height: auto; padding: 50px 0 54px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-brand { min-height: 210px; padding: 6px; }
  .product-section { padding: 54px 0 44px; }
  .product-spotlight { padding: 27px; border-radius: 24px; }
  .product-points { grid-template-columns: 1fr; }
  .product-visual { min-height: 360px; }
  .custom-grid { padding: 32px 12px; }
  .closing-card { padding: 28px; }
  .closing-actions { width: 100%; }
  .closing-actions .button { width: 100%; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 24px), var(--content)); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 31px; height: 31px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }
  .hero-brand img { width: 92%; }
  .product-spotlight { padding: 22px; }
  .product-copy h2 { font-size: 2.55rem; }
  .product-actions .button { width: 100%; }
  .product-visual { min-height: 278px; margin-top: 10px; }
  .browser-bar { height: 27px; }
  .mobile-speaker { width: 34px; height: 3px; margin-bottom: 5px; }
  .custom-services article { grid-template-columns: 34px 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .floating-whatsapp { width: 55px; height: 55px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* FEDELIX_LEGAL_V1 */
.footer-legal-link { color: #bfd1eb; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(191,209,235,.35); text-underline-offset: 4px; }
.footer-legal-link:hover { color: #fff; text-decoration-color: currentColor; }
.legal-main { min-height: 70vh; }
.legal-hero { position: relative; overflow: hidden; padding: 82px 0 58px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 0%, rgba(23,105,255,.22), transparent 42%), linear-gradient(180deg, #07111f, #050b14); }
.legal-hero-inner { max-width: 900px; }
.legal-hero h1 { margin: 17px 0 18px; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.065em; }
.legal-hero p { max-width: 760px; margin: 0 0 18px; color: #b8c8df; font-size: 1.14rem; line-height: 1.7; }
.legal-hero small { color: #7f96b6; }
.legal-section { padding: 62px 0 88px; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 46px; align-items: start; }
.legal-summary { position: sticky; top: 108px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #0d1a2d, #08121f); }
.legal-summary strong { display: block; margin-bottom: 9px; font-size: 1.05rem; }
.legal-summary p { margin: 0; color: #aebfd7; line-height: 1.65; }
.legal-content { display: grid; gap: 14px; }
.legal-content section { padding: 25px 27px; border: 1px solid rgba(129,163,224,.13); border-radius: 20px; background: rgba(255,255,255,.025); }
.legal-content h2 { margin: 0 0 12px; font-size: 1.3rem; letter-spacing: -.02em; }
.legal-content p { margin: 0; color: #b8c8df; line-height: 1.75; }
.legal-content p + p { margin-top: 12px; }
.legal-content a { color: #78afff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-summary { position: static; }
}
@media (max-width: 520px) {
  .legal-hero { padding: 56px 0 42px; }
  .legal-content section { padding: 21px 19px; }
}


@media (max-width: 980px) {
  .product-illustration { width: min(100%, 620px); }
}

@media (max-width: 760px) {
  .product-visual { min-height: auto; margin-top: 10px; }
  .product-illustration { width: min(100%, 520px); }
}

/* FEDELIX_HOMEPAGE_MOBILE_V8 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    font-size: 1.24rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
  }

  .menu-button {
    flex: 0 0 44px;
  }

  .mobile-menu {
    padding: 4px 16px 18px;
    gap: 8px;
    background: rgba(5, 11, 20, .98);
  }

  .mobile-menu > a:not(.button) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(129, 163, 224, .12);
  }

  .mobile-menu .button {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding: 42px 0 48px;
  }

  .hero-grid-pattern {
    background-size: 34px 34px;
  }

  .hero-inner {
    gap: 26px;
  }

  .eyebrow {
    font-size: .69rem;
    letter-spacing: .13em;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin: 14px 0 18px;
    font-size: clamp(2.55rem, 12vw, 3.65rem);
    line-height: 1.01;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
  }

  .hero-copy > p {
    max-width: 100%;
    font-size: 1.03rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 25px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
    min-height: 44px;
  }

  .hero-brand {
    min-height: auto;
    padding: 2px 18px 0;
  }

  .hero-brand::before {
    inset: 4% 15%;
  }

  .hero-brand img {
    width: min(100%, 315px);
  }

  .product-section {
    padding: 46px 0 40px;
  }

  .product-spotlight {
    min-height: 0;
    gap: 28px;
    padding: 24px;
    border-radius: 24px;
  }

  .product-label {
    font-size: .75rem;
    letter-spacing: .09em;
  }

  .product-copy h2 {
    margin: 14px 0 16px;
    font-size: clamp(2.2rem, 10.5vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -.052em;
    overflow-wrap: anywhere;
  }

  .product-lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .product-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 22px 0 24px;
  }

  .product-points span {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 13px 12px 36px;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-actions .button {
    width: 100%;
  }

  .product-visual {
    min-height: auto;
    margin: 0;
  }

  .product-illustration {
    width: 100%;
    max-width: 540px;
  }

  .custom-section {
    padding: 22px 0 54px;
  }

  .custom-grid {
    gap: 25px;
    padding: 30px 0;
  }

  .custom-grid h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    overflow-wrap: anywhere;
  }

  .custom-grid > div:first-child p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .custom-services {
    gap: 9px;
  }

  .custom-services article {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 15px;
  }

  .custom-services strong,
  .custom-services small {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .custom-cta {
    width: 100%;
  }

  .closing-section {
    padding: 0 0 54px;
  }

  .closing-card {
    gap: 24px;
    padding: 25px;
    border-radius: 22px;
  }

  .closing-card h2 {
    font-size: clamp(2.05rem, 10vw, 2.85rem);
    line-height: 1.04;
  }

  .closing-card p {
    line-height: 1.58;
  }

  .closing-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .closing-actions .button {
    width: 100%;
  }

  footer {
    padding: 26px 0 92px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 11px;
    text-align: center;
  }

  .footer-inner p,
  .footer-inner span,
  .footer-legal-link {
    width: 100%;
  }

  .floating-whatsapp {
    right: 13px;
    bottom: 13px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 24px), var(--content));
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12.6vw, 3.1rem);
  }

  .product-spotlight {
    padding: 20px;
  }

  .product-copy h2 {
    font-size: clamp(2.05rem, 10.8vw, 2.65rem);
  }

  .button-large {
    min-height: 52px;
    padding-inline: 16px;
  }
}



/* FEDELIX_HOMEPAGE_V11 — enfoque basado en entender la operación */
.hero-copy h1 {
  font-size: clamp(2.75rem, 5.25vw, 5.15rem);
  max-width: 760px;
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(2.65rem, 12.8vw, 4.15rem);
    line-height: 1.01;
  }
}


/* FEDELIX_V14 fixes */
.hero-secondary-cta { white-space: nowrap; }
@media (max-width: 760px) { .hero-secondary-cta { white-space: normal; } }


/* FEDELIX_HOMEPAGE_V15 */
.hero-actions .hero-custom-cta { order: 1; }
.hero-actions .hero-laundry-cta { order: 2; }

@media (max-width: 760px) {
  .product-visual-illustrated {
    overflow: visible;
  }

  .product-illustration {
    width: 112%;
    max-width: none;
    margin-inline: -6%;
  }
}

@media (max-width: 390px) {
  .product-illustration {
    width: 114%;
    margin-inline: -7%;
  }
}


/* FEDELIX_HOMEPAGE_V17 */
.hero-copy > p { margin-bottom: 0; }


/* FEDELIX HOMEPAGE V20 */
.closing-card-no-actions {
  justify-content: flex-start;
}
.closing-card-no-actions > div {
  width: 100%;
}
.closing-card-no-actions p {
  max-width: 900px;
}


/* FEDELIX HOMEPAGE V21 — wordmark spacing */
.brand-wordmark {
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1;
}
.footer-brand .brand-wordmark {
  letter-spacing: 0.05em;
}
@media (max-width: 640px) {
  .brand-wordmark { letter-spacing: 0.03em; }
}
