/* =========================================================================
   Brother Entrepreneur W PR680W — Landing
   Paleta y tipografía según "Brother Americas Corporate Branding Guidelines"
   ========================================================================= */

:root {
  /* Color corporativo */
  --brother-blue: #0D2EA0;   /* Web #0D2EA0 / Pantone 661C */
  --dark-blue:    #071956;
  --blue-2:       #1965E1;

  /* Acentos electrónicos (solo fondos / detalles, nunca titulares ni cuerpo) */
  --teal:   #00B0AA;
  --amber:  #FFBF00;
  --pink:   #D81D7E;
  --sky:    #54BFD4;
  --green:  #2D9B00;

  /* Neutros */
  --ink:      #020920;
  --grey:     #4D4D4D;
  --grey-2:   #6b7280;
  --line:     #e4e7ee;
  --bg:       #F5F6F8;
  --white:    #ffffff;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(7, 25, 86, .10);
  --shadow-sm: 0 4px 18px rgba(7, 25, 86, .08);

  --font-head: "Catamaran", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brother-blue); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--dark-blue); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tint { background: var(--bg); }
.section--blue { background: var(--brother-blue); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--brother-blue);
  margin: 0 0 .8rem;
}
.section--blue .eyebrow { color: var(--amber); }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--grey); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--brother-blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  padding: 15px 30px; border: 2px solid var(--btn-bg); border-radius: 999px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--dark-blue); border-color: var(--dark-blue); transform: translateY(-1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--brother-blue); border-color: #fff; }
.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--ink); border-color: var(--amber); }
.btn--amber:hover { background: #e6ac00; border-color: #e6ac00; color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 38px; font-size: 1.06rem; }

/* =========================================================================
   Barra azul / cabecera  (Design Element "The Blue Bar")
   ========================================================================= */
.bluebar {
  position: sticky; top: 0; z-index: 60;
  background: var(--brother-blue);
  color: #fff;
}
.bluebar__inner {
  display: flex; align-items: center; gap: 30px;
  min-height: 64px; padding-block: 10px;
}
/* Logo alineado a la izquierda, con zona de exclusión y tamaño mínimo según guía */
.bluebar__brand { display: inline-flex; align-items: center; flex: none; padding: 4px 6px; }
.bluebar__logo { height: 40px; width: auto; }
.bluebar__nav { display: flex; gap: 26px; margin-right: auto; }
.bluebar__nav a { color: #dfe6fb; text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; }
.bluebar__nav a:hover { color: #fff; }
.bluebar__right { display: flex; align-items: center; gap: 22px; flex: none; }
.bluebar__cta { display: inline-flex; white-space: nowrap; padding-inline: 24px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { background: linear-gradient(180deg, var(--bg) 0%, #eef1f8 100%); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start;
  padding-block: clamp(40px, 6vw, 78px) clamp(30px, 5vw, 56px);
}
.hero h1 .accent { color: var(--brother-blue); }

/* Hero banner: foto a todo el ancho; el texto va en blanco sobre el degradé */
.hero__banner {
  background:
    linear-gradient(90deg, rgba(7,25,86,.94) 0%, rgba(7,25,86,.82) 45%, rgba(13,46,160,.45) 100%),
    url("../img/life-magnetic.jpg") 65% 35% / cover no-repeat;
  color: #fff;
}
.hero__banner .hero__grid { padding-block: clamp(48px, 7vw, 96px); }
.hero__banner .eyebrow,
.hero__banner h1,
.hero__banner h1 .accent { color: #fff; }
.hero__banner h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero__banner .hero__lead { color: rgba(255,255,255,.88); }
.hero__banner .hero__lead strong { color: #fff; }
.hero__banner .hero__benefits li { color: #fff; }
.hero__banner .hero__trust { color: rgba(255,255,255,.75); }
.hero__banner .form-card { border-color: transparent; box-shadow: 0 24px 60px rgba(2,9,32,.35); }
.hero__product { padding-top: clamp(40px, 6vw, 72px); }
.hero__lead { font-size: 1.16rem; color: var(--grey); max-width: 30em; }
.hero__benefits { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 12px; }
.hero__benefits li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.hero__benefits li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .92rem; color: var(--grey-2); }
.hero__stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }

/* Tarjeta de formulario */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; border: 1px solid var(--line);
}
.form-card h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.form-card p.small { font-size: .9rem; color: var(--grey-2); margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--grey); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfbfd;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(25,101,225,.15); background: #fff;
}
.field textarea { min-height: 84px; resize: vertical; }
.form-card .btn { margin-top: 6px; }
.form-legal { font-size: .76rem; color: var(--grey-2); margin: 12px 0 0; line-height: 1.5; }
.form-success {
  display: none; text-align: center; padding: 24px 8px;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--teal); margin: 0 auto 14px;
  display: grid; place-items: center;
}
.form-success .check svg { width: 30px; height: 30px; stroke: #fff; }

/* Producto bajo el hero */
.hero__product {
  display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr; gap: 56px; align-items: center;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero__product img { width: 100%; max-width: 620px; height: auto; margin-inline: auto;
                     filter: drop-shadow(0 24px 30px rgba(7,25,86,.14)); }
.hero__product figcaption p:not(.kicker) { font-size: 1.2rem; }
.hero__product figcaption { color: var(--grey); }
.hero__product .kicker { font-family: var(--font-head); font-weight: 700; color: var(--brother-blue); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }

/* =========================================================================
   Grillas de tarjetas genéricas
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13,46,160,.08); margin-bottom: 14px;
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--brother-blue); fill: none; stroke-width: 2; }
.card h3 { color: var(--dark-blue); margin-bottom: .35rem; }
.card p { margin: 0; color: var(--grey); font-size: .96rem; }

/* Acento de color por tarjeta (fondo del icono) */
.card:nth-child(4n+1) .card__icon { background: rgba(0,176,170,.12); }
.card:nth-child(4n+1) .card__icon svg { stroke: var(--teal); }
.card:nth-child(4n+2) .card__icon { background: rgba(25,101,225,.12); }
.card:nth-child(4n+2) .card__icon svg { stroke: var(--blue-2); }
.card:nth-child(4n+3) .card__icon { background: rgba(216,29,126,.10); }
.card:nth-child(4n+3) .card__icon svg { stroke: var(--pink); }
.card:nth-child(4n+4) .card__icon { background: rgba(235,114,0,.12); }
.card:nth-child(4n+4) .card__icon svg { stroke: #EB7200; }

/* =========================================================================
   Paquete / incluye
   ========================================================================= */
.package__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 34px; }
.pack-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pack-item img { aspect-ratio: 4 / 3; object-fit: cover; background: #f0f2f7; }
.pack-item .pack-body { padding: 18px 20px 22px; }
.pack-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.pack-item p { margin: 0; font-size: .92rem; color: var(--grey); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brother-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* =========================================================================
   Características + estadísticas
   ========================================================================= */
.feature { display: flex; gap: 16px; }
.feature__num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff;
  background: var(--brother-blue); min-width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
}
.feature h3 { margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--grey); font-size: .96rem; }

.stats {
  margin-top: 46px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  background: var(--dark-blue); border-radius: var(--radius); overflow: hidden;
}
.stat { padding: 24px 14px; text-align: center; color: #fff; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #fff; }
.stat span { font-size: .8rem; color: #b9c4ea; line-height: 1.3; display: block; margin-top: 4px; }

/* =========================================================================
   Aplicaciones
   ========================================================================= */
.apps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.apps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.apps__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.apps__list svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 2.4; flex: none; margin-top: 2px; }
.apps__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.apps__img img { aspect-ratio: 3 / 2; object-fit: cover; }

/* =========================================================================
   Opiniones
   ========================================================================= */
.reviews__note {
  text-align: center; font-size: .85rem; color: var(--grey-2); margin-bottom: 26px;
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; background: #fff;
}
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: .98rem; color: var(--ink); }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(13,46,160,.10); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--brother-blue); }
.review__by b { font-size: .92rem; }
.review__by span { display: block; font-size: .8rem; color: var(--grey-2); }

/* =========================================================================
   Soporte
   ========================================================================= */
.support__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.support__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 18px; }
.support__list li { display: flex; gap: 14px; }
.support__list .ic {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.14);
  display: grid; place-items: center; flex: none;
}
.support__list .ic svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.support__list b { display: block; font-family: var(--font-head); }
.support__list p { margin: 2px 0 0; color: #d6def8; font-size: .93rem; }
.support__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* =========================================================================
   Negocio / rentabilidad
   ========================================================================= */
.biz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.biz__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.biz__points li { padding-left: 34px; position: relative; }
.biz__points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23020920' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.biz__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.biz__card h3 { color: var(--brother-blue); }
.biz__card dl { margin: 0; display: grid; gap: 10px; }
.biz__card .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.biz__card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.biz__card dt { color: var(--grey); }
.biz__card dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); }

/* =========================================================================
   CTA final
   ========================================================================= */
.finalcta { text-align: center; }
.finalcta h2 { color: #fff; }
.finalcta p { color: #dfe6fb; max-width: 46em; margin-inline: auto; }
.finalcta .btn { margin-top: 8px; }

/* =========================================================================
   Garantía / aviso legal
   ========================================================================= */
.disclosure { background: #fff; border-top: 1px solid var(--line); }
.disclosure h2 { font-size: 1.3rem; }
.disclosure__body { font-size: .86rem; color: var(--grey-2); columns: 2; column-gap: 40px; }
.disclosure__body p { margin: 0 0 1rem; break-inside: avoid; }

/* =========================================================================
   Footer  (barra azul, logo blanco, "at your side")
   ========================================================================= */
.footer { background: var(--brother-blue); color: #dfe6fb; padding: 46px 0 30px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__logo { height: 40px; width: auto; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: #dfe6fb; text-decoration: none; font-size: .9rem; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .78rem; color: #aebbe8; }

/* =========================================================================
   Barra CTA fija (móvil / scroll)
   ========================================================================= */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--dark-blue); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 22px;
  transform: translateY(110%); transition: transform .3s ease;
  box-shadow: 0 -8px 30px rgba(0,0,0,.18);
}
.stickycta.is-visible { transform: translateY(0); }
.stickycta p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .98rem; }
.stickycta p span { display: block; font-weight: 400; font-size: .82rem; color: #b9c4ea; }
.stickycta .btn { padding: 12px 26px; white-space: nowrap; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__product { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .bluebar__nav { display: none; }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .package__grid { grid-template-columns: 1fr; }
  .apps__grid, .support__grid, .biz__grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .disclosure__body { columns: 1; }
  .stickycta p span { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .bluebar__cta { display: none; }
  .stickycta p { font-size: .9rem; }
}

/* ---------- Firma de campaña "Tu marca, en cada prenda": seis hilos ---------- */
.threads { display: grid; gap: 5px; margin-top: clamp(32px, 5vw, 56px); }
.threads i { display: block; height: 4px; border-radius: 2px;
             background: repeating-linear-gradient(90deg, currentColor 0 18px, transparent 18px 30px); }
.threads i:nth-child(1) { color: var(--teal); }
.threads i:nth-child(2) { color: var(--amber); }
.threads i:nth-child(3) { color: var(--pink); }
.threads i:nth-child(4) { color: var(--sky); }
.threads i:nth-child(5) { color: var(--green); }
.threads i:nth-child(6) { color: var(--blue-2); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
