/* JAGALIMA GROUP · web principal y páginas de sus marcas (Zunio, Immigration Business School, Droppia).
   Sin fuentes externas: Avenir/Futura en Mac e iPhone, Century Gothic / Segoe en Windows. */
:root {
  --ink: #0d1424; --muted: #5b6475; --line: #e3e6ec; --paper: #ffffff; --soft: #f5f7fa;
  --gold: #d4ad62; --gold-2: #f0d595; --gold-deep: #9c7633; --black: #000000;
  --accent: var(--gold); --accent-ink: #000; --radius: 18px;
  --display: "Avenir Next", "Avenir", "Futura", "Century Gothic", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 650 1rem/1 var(--display);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- cabecera ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .92); color: #fff; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(212, 173, 98, .25); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.top .brand img { height: 40px; width: auto; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: .95rem; color: #e8e2d4; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--gold-2); background: rgba(212, 173, 98, .12); }
.top .menu { display: none; margin-left: auto; background: none; border: 1px solid rgba(212, 173, 98, .5); color: var(--gold-2); border-radius: 12px; width: 46px; height: 42px; cursor: pointer; }
.top .menu svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .top .menu { display: grid; place-items: center; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #000; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid rgba(212, 173, 98, .3); }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px; font-size: 1.05rem; }
}

/* ---------- JAGALIMA: portada ---------- */
.jg-hero { background: radial-gradient(ellipse 70% 60% at 78% 40%, rgba(212, 173, 98, .16), transparent 70%), #000; color: #f6f1e6; overflow: hidden; }
.jg-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 90px 0 110px; }
.jg-hero h1 { color: #fff; }
.jg-hero h1 span { display: block; background: linear-gradient(100deg, var(--gold-deep), var(--gold-2) 45%, var(--gold) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jg-hero .lead { color: #c9c2b2; }
.jg-hero .globe { justify-self: center; width: min(420px, 80vw); animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.jg-hero .btn-line { color: var(--gold-2); }
.family { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(212, 173, 98, .25); color: #b9b1a0; font-size: .95rem; }
.family a { text-decoration: none; color: #f6f1e6; font-weight: 600; }
.family a:hover { color: var(--gold-2); }
@media (max-width: 860px) { .jg-hero .wrap { grid-template-columns: 1fr; padding: 54px 0 70px; } .jg-hero .globe { order: -1; width: 220px; justify-self: start; } }

.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.intro { max-width: 760px; margin-bottom: 48px; }

/* Las tres marcas: una franja por marca, con sus propios colores */
.brand-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; border-radius: 28px; overflow: hidden; margin-bottom: 26px; border: 1px solid var(--line); }
.brand-band .plate { display: grid; place-items: center; padding: 48px; }
.brand-band .plate img { max-height: 190px; width: auto; }
.brand-band .copy { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.brand-band .copy p { color: inherit; opacity: .85; }
.brand-band ul { list-style: none; padding: 0; margin: 6px 0 4px; display: grid; gap: 8px; }
.brand-band li { display: flex; gap: 10px; align-items: flex-start; }
.brand-band li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.brand-band.reverse .plate { order: 2; }
.band-zunio { background: #000; color: #f3eee3; border-color: #2b2416; }
.band-zunio .plate { background: radial-gradient(circle at 50% 50%, rgba(212, 173, 98, .14), transparent 65%); }
.band-zunio li svg { color: var(--gold); }
.band-zunio .btn-solid { --accent: var(--gold); --accent-ink: #000; }
.band-ibs { background: linear-gradient(135deg, #0a2f7a, #0f56c9 70%, #1e7be6); color: #fff; border-color: #0a2f7a; }
.band-ibs .plate { background: #fff; }
.band-ibs li svg { color: #7ee36d; }
.band-ibs .btn-solid { --accent: #fff; --accent-ink: #0a2f7a; }
.band-droppia { background: #fff; color: #0b1f45; }
.band-droppia .plate { background: linear-gradient(140deg, #eef6ff, #ecfbf3); }
.band-droppia li svg { color: #19b97a; }
.band-droppia .btn-solid { --accent: #0b1f45; --accent-ink: #fff; }
.tag-soon { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #1e6cf0, #2fd18b); color: #fff; font: 650 .85rem/1.2 var(--display); margin-bottom: 14px; }
@media (max-width: 860px) {
  .brand-band { grid-template-columns: 1fr; min-height: 0; }
  .brand-band.reverse .plate { order: 0; }
  .brand-band .plate { padding: 34px 24px; }
  .brand-band .plate img { max-height: 130px; }
  .brand-band .copy { padding: 30px 24px 36px; }
}

/* Por qué el grupo: lista en dos columnas, sin tarjetas */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.pillar { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.pillar .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #000; color: var(--gold); }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; gap: 28px; } }

/* Contacto */
.contact { background: #000; color: #f3eee3; }
.contact .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 84px 0; }
.contact h2 { color: #fff; }
.contact .lead { color: #c9c2b2; }
.mail { display: block; font: 700 clamp(1.3rem, 3vw, 2rem)/1.2 var(--display); color: var(--gold-2); text-decoration: none; word-break: break-all; }
.mail:hover { text-decoration: underline; }
.contact .note { color: #9d9585; font-size: .95rem; margin-top: 10px; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; padding: 60px 0; } }

.foot { background: #000; color: #8f887a; border-top: 1px solid rgba(212, 173, 98, .2); font-size: .92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; padding: 28px 0; }
.foot img { height: 30px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.foot a { color: #d8d1c2; text-decoration: none; }
.foot a:hover { color: var(--gold-2); }

/* ---------- páginas de marca (común) ---------- */
.parent { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; text-decoration: none; opacity: .8; margin-bottom: 26px; }
.parent:hover { opacity: 1; }
.parent svg { width: 16px; height: 16px; }
.b-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 74px 0 96px; }
.b-hero .logo { justify-self: center; }
@media (max-width: 860px) { .b-hero .wrap { grid-template-columns: 1fr; padding: 44px 0 64px; gap: 30px; } .b-hero .logo { order: -1; justify-self: start; } }

.feat-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feat { padding: 30px 28px 32px 0; border-bottom: 1px solid var(--line); }
.feat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--chip-bg, #000); color: var(--chip-ink, var(--gold)); }
.feat .ico svg { width: 22px; height: 22px; }
.feat p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .feat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feat-list { grid-template-columns: 1fr; } .feat { padding-right: 0; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 56px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 1.05rem/1 var(--display); background: var(--step-bg, var(--accent)); color: var(--step-ink, #000); }
.steps li p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 650 1.08rem/1.35 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 20px 0; margin: 0; }

.cta { text-align: left; }
.cta .box { border-radius: 30px; padding: 64px 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.cta .box .actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta .box { grid-template-columns: 1fr; padding: 40px 26px; } .cta .box .actions { justify-content: flex-start; } }

/* ---------- ZUNIO (negro y dorado) ---------- */
.zunio { background: #000; color: #efe9dc; --line: rgba(212, 173, 98, .22); --muted: #b3ab9b; }
.zunio .b-hero { background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(212, 173, 98, .18), transparent 70%); }
.zunio h1, .zunio h2, .zunio h3 { color: #fff; }
.zunio .b-hero .logo { width: min(380px, 70vw); }
.zunio .b-hero .btn-line { color: var(--gold-2); }
.zunio .feat { --chip-bg: rgba(212, 173, 98, .12); --chip-ink: var(--gold-2); }
.zunio .alt { background: #0a0906; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .95rem; }
.zunio .cta .box { background: linear-gradient(120deg, #1b160c, #3a2d12 60%, #6b5321); border: 1px solid rgba(212, 173, 98, .4); }

/* Pantalla de ejemplo del panel (solo ilustración) */
.mock { border-radius: 22px; border: 1px solid rgba(212, 173, 98, .35); background: #0f0d09; padding: 16px; box-shadow: 0 30px 80px rgba(212, 173, 98, .12); }
.mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3426; }
.mock .chat { display: grid; grid-template-columns: 38% 1fr; gap: 12px; }
.mock .list, .mock .conv { background: #17140e; border-radius: 14px; padding: 12px; display: grid; gap: 10px; align-content: start; }
.mock .row { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; font-size: .8rem; color: #d6cfbf; }
.mock .av { width: 30px; height: 30px; border-radius: 50%; background: #3b2f17; color: var(--gold-2); display: grid; place-items: center; font-weight: 700; font-size: .75rem; }
.mock .row small { display: block; color: #8a8270; font-size: .72rem; }
.mock .msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: .8rem; background: #241f15; color: #e6dfcf; }
.mock .msg.me { justify-self: end; background: var(--gold); color: #000; }
.mock .agent { justify-self: end; font-size: .68rem; color: #8a8270; margin-top: -6px; }

/* ---------- IMMIGRATION BUSINESS SCHOOL (azul y verde) ---------- */
.ibs { --accent: #1565e0; --accent-ink: #fff; --navy: #0a2f7a; --green: #3fbf3a; }
.ibs .b-hero { background: linear-gradient(180deg, #f3f8ff, #fff); }
.ibs .b-hero h1 { color: var(--navy); }
.ibs .b-hero .logo { width: min(500px, 86vw); }
.ibs .btn-line { color: var(--navy); }
.visa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.visa { border-radius: 22px; padding: 30px; background: #fff; border: 1px solid #dbe5f5; display: flex; flex-direction: column; }
.visa .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: var(--accent); }
.visa .ico.green { background: var(--green); }
.visa .ico svg { width: 24px; height: 24px; }
.visa h3 { color: var(--navy); }
.visa p { color: var(--muted); font-size: .98rem; }
.visa .dest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.visa .dest span { background: #eef4ff; color: #1b4ea8; border-radius: 999px; padding: 5px 12px; font-size: .86rem; font-weight: 600; }
.visa.wide { grid-column: span 3; display: grid; grid-template-columns: 52px 1fr auto; gap: 22px; align-items: center; background: linear-gradient(120deg, #0a2f7a, #1565e0); color: #fff; border: 0; }
.visa.wide h3, .visa.wide p { color: #fff; margin: 0; }
.visa.wide p { opacity: .88; margin-top: 6px; }
.visa.wide .ico { margin: 0; background: #fff; color: var(--accent); }
@media (max-width: 960px) { .visa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .visa.wide { grid-column: span 2; } }
@media (max-width: 620px) { .visa-grid { grid-template-columns: 1fr; } .visa.wide { grid-column: span 1; grid-template-columns: 1fr; } }
.ibs .soft { background: #f3f8ff; }
.ibs .feat { --chip-bg: #e7f0ff; --chip-ink: var(--accent); }
.ibs .steps { --step-bg: var(--navy); --step-ink: #fff; }
.ibs .faq summary::after { color: var(--accent); }
.ibs .cta .box { background: linear-gradient(120deg, #0a2f7a, #1565e0 70%, #2a8be8); color: #fff; }
.ibs .cta h2 { color: #fff; }
.ibs .cta .btn-solid { --accent: #fff; --accent-ink: #0a2f7a; }
.ibs .cta .btn-line { color: #fff; }
.ibs .foot { background: #061b47; }

/* ---------- DROPPIA (azul, turquesa y verde) ---------- */
.droppia { --accent: #0b1f45; --accent-ink: #fff; --blue: #1e6cf0; --teal: #12b6c9; --green: #2fd18b; }
.droppia .b-hero { background: radial-gradient(ellipse 60% 70% at 85% 40%, rgba(47, 209, 139, .14), transparent 70%), radial-gradient(ellipse 50% 60% at 10% 0%, rgba(30, 108, 240, .10), transparent 70%); }
.droppia .b-hero h1 { color: #0b1f45; }
.droppia .b-hero .logo { width: min(460px, 82vw); }
.droppia .btn-line { color: #0b1f45; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.side { border-radius: 26px; padding: 40px; }
.side.sup { background: #0b1f45; color: #e8eefb; }
.side.sup h3 { color: #fff; }
.side.drop { background: linear-gradient(140deg, #eaf3ff, #e6fbf1); color: #0b1f45; }
.side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.side li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.side li svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.side .who { font: 650 .95rem/1.3 var(--display); color: var(--teal); margin-bottom: 8px; }
.side.drop .who { color: var(--blue); }
@media (max-width: 860px) { .sides { grid-template-columns: 1fr; } .side { padding: 30px 24px; } }
.droppia .soft { background: #f5f8fc; }
.droppia .feat { --chip-bg: #e9f8f1; --chip-ink: #13955f; }
.droppia .steps { --step-bg: linear-gradient(135deg, var(--blue), var(--green)); --step-ink: #fff; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .droppia .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .droppia .steps { grid-template-columns: 1fr; } }
.droppia .faq summary::after { color: var(--blue); }
.waitlist { background: #0b1f45; color: #e8eefb; }
.waitlist h2 { color: #fff; }
.waitlist .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 84px 0; }
.waitlist form { background: #fff; color: #0b1f45; border-radius: 24px; padding: 30px; display: grid; gap: 14px; }
.waitlist label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
.waitlist input, .waitlist select { font: inherit; border: 1px solid #cfd9ea; border-radius: 12px; padding: 12px 14px; background: #f7f9fd; color: #0b1f45; width: 100%; }
.waitlist .roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.waitlist .roles label { display: flex; gap: 10px; align-items: center; border: 1px solid #cfd9ea; border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 600; }
.waitlist .roles input { width: auto; accent-color: var(--blue); }
.waitlist .btn-solid { --accent: linear-gradient(90deg, #1e6cf0, #12b6c9 55%, #2fd18b); background: var(--accent); color: #fff; width: 100%; }
.waitlist small { color: #5b6475; }
@media (max-width: 860px) { .waitlist .wrap { grid-template-columns: 1fr; padding: 60px 0; } }

/* Los logos llevan su fondo (negro o blanco): se funde con el fondo de cada sección */
.top .brand img, .foot img, .jg-hero .globe, .band-zunio .plate img, .zunio .b-hero img { mix-blend-mode: lighten; }
.band-droppia .plate img, .droppia .b-hero .logo, .ibs .b-hero .logo { mix-blend-mode: multiply; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: #343b4a; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--gold-deep); }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal .table-wrap { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--soft); }
.foot .legal-links { margin-left: 0; width: 100%; justify-content: flex-start; font-size: .85rem; }
.foot .legal-links a { color: #a69f8f; }

/* Zunio: sus tres soluciones */
.z-sol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.z-sol article { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 32px 28px; border-radius: 24px; border: 1px solid rgba(212, 173, 98, .3); background: linear-gradient(160deg, #15110a, #0a0906); }
.z-sol article:first-child { border-color: var(--gold); }
.z-sol .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: #000; margin-bottom: 14px; }
.z-sol .ico svg { width: 24px; height: 24px; }
.z-sol p { color: var(--muted); flex: 1; }
.z-sol .btn { align-self: flex-start; }
.z-sol .btn-line { color: var(--gold-2); }
.z-sol .soon { position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-2); font-size: .82rem; font-weight: 650; }
@media (max-width: 900px) { .z-sol { grid-template-columns: 1fr; } }
