/* ==========================================================================
   ise-site.css — shared styles for the public marketing pages (2026-10-06)
   Mobile-first. Bilingual copy: put both languages inline as
   <span class="en">…</span><span class="es">…</span> (or on block elements);
   /js/ise-site.js sets <html data-lang="en|es"> and hides the other one.
   ========================================================================== */
:root {
  --primary: #2B2A6B; --primary-dark: #1B1A4F; --secondary: #B08D2E; --accent: #D6A93C;
  --dark: #0f172a; --light-bg: #f8fafc; --text: #1e293b; --muted: #64748b; --border: #e2e8f0;
  --ok: #10b981; --radius: 14px; --shadow: 0 6px 24px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: 'Outfit', 'Inter', sans-serif; color: var(--dark); line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 8vw, 3.8rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 6vw, 2.6rem); font-weight: 800; margin-bottom: .75rem; }
h3 { font-size: clamp(1.1rem, 4vw, 1.35rem); font-weight: 700; margin-bottom: .35rem; }
p { margin-bottom: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* Language visibility */
html[data-lang="es"] .en, html:not([data-lang="es"]) .es { display: none !important; }

/* Layout */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.1rem; }
.narrow { max-width: 760px; }
.section { padding: 3.25rem 0; }
.section-alt { background: var(--light-bg); }
.section-dark { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.center .lede { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .section { padding: 4.5rem 0; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); min-width: 0; }
.card.featured { border: 2px solid var(--secondary); position: relative; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 99px; background: #eef2ff; color: var(--primary); }
.badge.gold { background: #fdf6e3; color: #8a6a12; }
.badge.green { background: #dcfce7; color: #166534; }
.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { display: inline-block; font-size: .8rem; padding: .25rem .65rem; border-radius: 99px; background: #f1f5f9; color: #334155; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .9rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; text-decoration: none; font-family: inherit; line-height: 1.2; text-align: center; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 14px rgba(43, 42, 107, .3); }
.btn-gold { background: linear-gradient(135deg, var(--accent), var(--secondary)); color: #1b1a10; box-shadow: 0 4px 14px rgba(176, 141, 46, .35); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.cta-note { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.section-dark .cta-note { color: rgba(255,255,255,.8); }

/* Header */
.ise-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.ise-header .bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; height: 62px; }
.ise-brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--dark); font-size: 1.05rem; min-width: 0; white-space: nowrap; }
.ise-brand img { width: 34px; height: 34px; flex: none; }
.ise-nav { display: none; gap: 1.1rem; align-items: center; }
.ise-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; }
.ise-actions { display: flex; align-items: center; gap: .4rem; flex: none; }
.ise-lang { background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: .4rem .55rem; font-weight: 700; font-size: .8rem; cursor: pointer; color: var(--text); font-family: inherit; }
.ise-actions .btn { padding: .55rem .8rem; font-size: .85rem; }
.ise-burger { background: none; border: 0; font-size: 1.35rem; padding: .3rem .4rem; cursor: pointer; color: var(--dark); }
.ise-drawer { display: none; border-top: 1px solid var(--border); background: #fff; }
.ise-drawer.open { display: block; }
.ise-drawer a { display: block; padding: .8rem 1.1rem; text-decoration: none; color: var(--text); font-weight: 600; border-bottom: 1px solid #f1f5f9; }
@media (max-width: 380px) { .ise-brand span { display: none; } }
@media (min-width: 1000px) { .ise-nav { display: flex; } .ise-burger { display: none; } }

/* Footer */
.ise-footer { background: var(--dark); color: #cbd5e1; padding: 2.75rem 0 1.5rem; margin-top: 0; }
.ise-footer a { color: #cbd5e1; text-decoration: none; display: block; padding: .2rem 0; font-size: .92rem; }
.ise-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.ise-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.ise-footer .cols > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .ise-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } .ise-footer .cols > div:first-child { grid-column: auto; } }
.ise-footer .brandline { color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; margin: .6rem 0; }
.ise-footer .meta { border-top: 1px solid #1f2937; margin-top: 1.75rem; padding-top: 1rem; font-size: .8rem; color: #64748b; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; }
.ise-footer .meta a { display: inline; color: #94a3b8; margin-right: .8rem; }

/* Text-us strip */
.textus { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; }

/* Forms */
.field { margin-bottom: .85rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: #334155; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: .75rem .85rem; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.form-msg { font-size: .92rem; margin-top: .5rem; }
.form-msg.ok { color: #047857; } .form-msg.err { color: #b91c1c; }

/* Hero */
.hero { padding: 3rem 0 2.75rem; background: radial-gradient(1200px 500px at 80% -10%, rgba(214,169,60,.18), transparent), linear-gradient(180deg, #fff, #f8fafc); }
.hero .sub { font-size: clamp(1.02rem, 3.8vw, 1.25rem); color: #334155; max-width: 720px; margin: 1rem 0 1.4rem; }
.hero .brandline { font-weight: 700; color: var(--secondary); letter-spacing: .01em; margin-top: 1.1rem; }
@media (min-width: 960px) { .hero { padding: 5rem 0 4rem; } }

/* Lists */
.check { list-style: none; }
.check li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* Video slot (hidden until a URL exists) */
.video-slot[hidden] { display: none !important; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Dialogue (real-life) */
.dialogue { border-left: 3px solid var(--accent); padding-left: .9rem; }
.dialogue p { margin-bottom: .35rem; }
.dialogue b { color: var(--primary); }

/* Sticky mobile CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--border); display: flex; gap: .5rem; }
.mobile-cta .btn { flex: 1; padding: .8rem .6rem; font-size: .92rem; }
body.has-mobile-cta { padding-bottom: 76px; }
@media (min-width: 900px) { .mobile-cta { display: none; } body.has-mobile-cta { padding-bottom: 0; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Founder & CEO — distinct from professor cards (no booking, no badges) */
.founder-sec { padding-bottom: 0; }
.founder-card { display: grid; gap: 1.4rem; align-items: center; grid-template-columns: minmax(0,1fr); background: linear-gradient(135deg, #1f1e4f 0%, #2B2A6B 60%, #3b2a6b 100%); color: #fff; border-radius: 1.4rem; padding: 1.4rem; box-shadow: 0 14px 40px rgba(43,42,107,.22); max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) { .founder-card { grid-template-columns: 260px minmax(0,1fr); padding: 1.8rem 2rem; } }
.founder-photo { width: 100%; max-width: 260px; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 1.1rem; display: block; margin: 0 auto; border: 3px solid rgba(255,255,255,.18); }
.founder-label { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #B08D2E; color: #1f1e4f; border-radius: 99px; padding: .25rem .7rem; }
.founder-name { font-family: Outfit, sans-serif; color: #fff; margin: .5rem 0 .1rem; font-size: 1.7rem; }
.founder-role { margin: 0 0 .6rem; color: #c7d2fe; font-weight: 600; }
.founder-bio { margin: 0 0 1rem; color: #e0e7ff; line-height: 1.6; }
.founder-wa { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 700; color: #fff; text-decoration: none; background: rgba(37,211,102,.18); border: 1px solid rgba(37,211,102,.55); border-radius: 99px; padding: .4rem .85rem; }
.founder-wa:hover { background: rgba(37,211,102,.3); }
