/* iLearnLingo marketing site - plain CSS, no framework. Brand: orange #f25b3a, dark #2a2b30, Open Sans. */
:root {
    --brand: #f25b3a;
    --brand-dark: #d94a2b;
    --ink: #333333;
    --text: #666666;
    --soft: #f9f9f9;
    --line: #e6e6e6;
    --footer: #2a2b30;
    --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Open Sans", Arial, sans-serif; font-size: 15px; line-height: 1.75; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 14px; font-weight: 700; }
h2 { font-size: 28px; text-transform: uppercase; letter-spacing: .5px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.center { text-align: center; }
.lead { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 16px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---- buttons ---- */
.btn { display: inline-block; padding: 12px 28px; border: 2px solid var(--brand); background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; border-radius: 3px; font-family: inherit; line-height: 1.4; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--brand); }
.btn.outline { background: transparent; color: var(--brand); }
.btn.outline:hover { background: var(--brand); color: #fff; }
.btn.big { padding: 15px 36px; font-size: 14px; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 10px rgba(0, 0, 0, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-size: 14px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav a.signin { border: 2px solid var(--brand); color: var(--brand); padding: 7px 18px; border-radius: 3px; }
.nav a.signin:hover { background: var(--brand); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---- hero ---- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; background: #222 center / cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 70%); }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; font-size: 56px; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 3px 8px rgba(0, 0, 0, .5); margin-bottom: 6px; }
.hero p { font-size: 20px; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); max-width: 520px; }
.hero .cta-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero.short { min-height: 300px; }
.hero.short h1 { font-size: 44px; }
.cta-strip { background: var(--footer); color: #fff; padding: 22px 0; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta-strip strong { display: block; font-size: 13px; letter-spacing: 2px; color: var(--brand); text-transform: uppercase; }
.cta-strip span { font-size: 22px; font-weight: 700; }
.cta-strip a.wa { color: #fff; font-weight: 700; }

/* ---- cards ---- */
.grid { display: grid; gap: 28px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.card img { width: 100%; aspect-ratio: 300 / 277; object-fit: cover; background: #eef2f7; }
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.card .body p { flex: 1; font-size: 14px; }
.card .btn { align-self: flex-start; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.point { background: #fff; border-left: 4px solid var(--brand); padding: 18px 20px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); font-weight: 600; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 44px; color: var(--brand); line-height: 1.1; }
.stat span { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 700; color: var(--ink); }

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.panel h3 { color: var(--brand); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }

.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #fff; background: var(--brand); width: 20px; height: 20px; line-height: 20px; font-size: 12px; text-align: center; border-radius: 50%; }

.course { padding: 44px 0; border-bottom: 1px solid var(--line); }
.course:last-of-type { border-bottom: 0; }
.course .tag { color: var(--brand); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; position: relative; }
.quote::before { content: "\201C"; font-size: 64px; line-height: 1; color: var(--brand); position: absolute; top: 6px; left: 18px; font-family: Georgia, serif; }
.quote p { padding-top: 26px; font-style: italic; }
.quote cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }

.band { background: var(--brand); color: #fff; padding: 56px 0; }
.band h2, .band p { color: #fff; margin-bottom: 8px; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.band .btn { background: #fff; color: var(--brand); border-color: #fff; }
.band .btn:hover { background: transparent; color: #fff; }

/* ---- demo form ---- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px; box-shadow: 0 6px 28px rgba(0, 0, 0, .07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: 13px; margin-bottom: 5px; }
.field label i { color: #d32f2f; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfcfcf; border-radius: 4px; padding: 11px 12px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(242, 91, 58, .35); border-color: var(--brand); }
.field textarea { min-height: 96px; resize: vertical; }
.field .err { color: #c62828; font-size: 12.5px; margin-top: 4px; display: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #c62828; }
.field.bad .err { display: block; }
.field .hint { font-size: 12.5px; color: #777; margin-top: 4px; }
.hp { position: absolute; left: -5000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 4px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; display: none; }
.alert.show { display: block; }
.alert.error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6cb; }
.alert.ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.thanks { text-align: center; padding: 30px 10px; display: none; }
.thanks.show { display: block; }
.thanks .mark { font-size: 54px; line-height: 1; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-list b { color: var(--ink); display: block; }
.contact-list li > span:first-child { flex: 0 0 24px; text-align: center; font-size: 18px; line-height: 1.5; }
.hours { background: var(--soft); border-radius: 6px; padding: 18px 20px; }

/* ---- legal text ---- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 20px; text-transform: none; letter-spacing: 0; margin-top: 30px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }

/* ---- footer ---- */
.site-footer { background: var(--footer); color: #b9bac0; padding: 64px 0 0; font-size: 14px; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: 15px; margin-bottom: 16px; }
.site-footer a { color: #b9bac0; }
.site-footer a:hover { color: var(--brand); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { height: 54px; width: auto; background: #fff; padding: 6px 10px; border-radius: 4px; margin-bottom: 14px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding: 18px 0; text-align: center; font-size: 13px; }

@media (max-width: 980px) {
    .grid.three, .points { grid-template-columns: repeat(2, 1fr); }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }
    .twocol { grid-template-columns: 1fr; }
    .hero h1 { font-size: 42px; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: 0 10px 18px rgba(0, 0, 0, .1); }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav a.signin { text-align: center; margin-top: 12px; }
    .grid.three, .grid.two, .points, .stats, .form-grid { grid-template-columns: 1fr; }
    .hero { min-height: 440px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 17px; }
    .section { padding: 52px 0; }
    h2 { font-size: 23px; }
    .form-card { padding: 22px; }
    .site-footer .cols { grid-template-columns: 1fr; }
    .cta-strip span { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Inner-page banners: photo on the right, dark fade on the left so the heading stays readable */
.hero.short { background-position: 75% 30%; }
.hero.short::before { background: linear-gradient(90deg, rgba(20, 20, 24, .85), rgba(20, 20, 24, .55) 45%, rgba(20, 20, 24, .05) 85%); }
.hero.short .wrap p { max-width: 560px; }

/* Banners use pre-cropped photos: wide for desktops, tall for phones, so the student's face is always in view */
.hero { min-height: clamp(520px, 38vw, 760px); background-image: url('../img/hero-wide.jpg') !important; background-position: center top; background-size: cover; }
.hero.short { min-height: 380px; background-color: #26272c; background-image: url('../img/home.jpg') !important; background-size: auto 100%; background-position: right center; }
.hero.short::before { background: linear-gradient(90deg, #26272c 0, #26272c 45%, rgba(38, 39, 44, .85) 62%, rgba(38, 39, 44, 0) 80%); }
@media (max-width: 760px) {
    .hero { min-height: 460px; background-image: url('../img/hero-mobile.jpg') !important; background-position: center top; }
    .hero.short { min-height: 320px; background-image: url('../img/banner-mobile.jpg') !important; background-size: cover; background-position: 60% center; }
    .hero::before, .hero.short::before { background: linear-gradient(0deg, rgba(20, 20, 24, .75), rgba(20, 20, 24, .25) 70%); }
}

/* Inner pages: the banner picture is shown whole (it carries its own headline); the page title sits just below it */
.page-banner { background: #f6f4fb; line-height: 0; }
.page-banner img { display: block; width: 100%; height: auto; }
.page-title { padding: 38px 0 6px; text-align: center; }
.page-title h1 { font-size: 34px; letter-spacing: 1px; text-transform: uppercase; color: #2a2b30; margin-bottom: 10px; }
.page-title p { max-width: 780px; margin: 0 auto; color: #555; font-size: 17px; }
@media (max-width: 760px) { .page-title { padding-top: 26px; } .page-title h1 { font-size: 26px; } }

/* Teach with Us: language tick-boxes */
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 12px; border: 1px solid #d8d9de; border-radius: 6px; background: #fff; }
.checks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; cursor: pointer; }
.checks input { width: auto; margin: 0; }
.field.bad .checks { border-color: #d93025; }

/* Cloudflare Turnstile box (only appears when the site owner has switched it on) */
.turnstile-box { margin-bottom: 14px; min-height: 0; }
