/* Oxford Spoken English Centre — "conversation" look: Oxford blue + warm yellow, speech bubbles */
:root {
  --blue: #002147;
  --blue-2: #0c3470;
  --sky: #e8eef8;
  --yellow: #ffc845;
  --yellow-soft: #fff1c7;
  --paper: #fffaf0;
  --ink: #14213a;
  --muted: #56607a;
  --line: #e3dccb;
  --r: 22px;
  --head: "Young Serif", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-2); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 12px; color: var(--blue); }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 14px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.note { font-size: 0.9rem; color: var(--muted); }

/* Bubble label */
.bubble {
  display: inline-block; position: relative; background: var(--yellow); color: var(--blue);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.02em; padding: 6px 14px; border-radius: 16px 16px 16px 4px; margin-bottom: 14px;
}
.bubble.blue { background: var(--blue); color: #fff; border-radius: 16px 16px 4px 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; font-size: 1rem; transition: transform 0.15s; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; }
.btn-yellow { background: var(--yellow); color: var(--blue); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost-w { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 240, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); min-width: 0; }
.brand .mark { flex: none; width: 40px; height: 40px; }
.brand b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 0.75rem; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; color: var(--blue); font-weight: 600; font-size: 0.92rem; padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.nav a.cta { background: var(--blue); color: #fff; }
@media (max-width: 640px) { .hide-sm { display: none; } .brand small { display: none; } }

/* Hero */
.hero { padding: 36px 0 56px; background: radial-gradient(circle at 90% 10%, var(--yellow-soft), transparent 45%); }
.hero .wrap { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } .hero { padding: 64px 0 80px; } }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 4px; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.rating .stars { color: #e9a400; letter-spacing: 1px; }
.rating .g { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--sky); color: var(--blue); padding: 6px 12px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; }
.hero-photo { position: relative; padding: 0 8px 30px; }
.hero-photo img { border-radius: 32px 32px 32px 8px; aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; height: auto; box-shadow: 0 20px 40px -20px rgba(0, 33, 71, 0.45); }
.chat { position: absolute; max-width: 62%; padding: 10px 14px; font-size: 0.9rem; font-weight: 600; border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.chat.q { top: -14px; left: -4px; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.chat.a { bottom: 6px; right: 0; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat.a b { color: var(--yellow); }

/* Strip */
.strip { background: var(--blue); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.12); }
.strip .wrap > div { background: var(--blue); padding: 18px 12px; font-size: 0.86rem; color: rgba(255,255,255,0.78); }
.strip b { display: block; font-family: var(--head); font-weight: 400; color: var(--yellow); font-size: 1.25rem; }
@media (min-width: 760px) { .strip .wrap { grid-template-columns: repeat(4, 1fr); } }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.grid { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 700px) { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.course { position: relative; background: #fff; border: 2px solid var(--blue); border-radius: var(--r) var(--r) var(--r) 6px; padding: 22px 20px 20px; display: flex; flex-direction: column; }
.section.alt .course { background: var(--paper); }
.course::after { content: ""; position: absolute; left: 18px; bottom: -14px; width: 22px; height: 14px; background: inherit; border: 2px solid var(--blue); border-top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); border-radius: 0 0 0 2px; }
.course .lvl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--muted); }
.course h3 { margin: 6px 0 8px; }
.course ul { padding-left: 18px; margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.course .btn { align-self: flex-start; }
.course.hl { background: var(--blue); }
.course.hl h3 { color: var(--yellow); }
.course.hl .lvl, .course.hl ul { color: rgba(255,255,255,0.8); }
.course.hl .btn-ghost { border-color: var(--yellow); color: var(--yellow); }

/* Steps / why */
.steps { display: grid; gap: 14px; margin-top: 26px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { display: flex; gap: 14px; background: var(--sky); border-radius: var(--r); padding: 18px; }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 40px; height: 40px; border-radius: 50% 50% 50% 6px; background: var(--yellow); color: var(--blue); font-family: var(--head); display: grid; place-items: center; font-size: 1.2rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.gallery .wide { grid-column: span 2; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery .wide { grid-row: span 2; } .gallery .wide img { aspect-ratio: auto; } }

/* Visit */
.visit { display: grid; gap: 28px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; align-items: start; } }
.addr { font-style: normal; margin: 8px 0 16px; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--r); background: var(--sky); }

/* CTA box */
.cta-box { background: var(--blue); color: #fff; border-radius: 30px 30px 30px 8px; padding: 34px 22px; position: relative; overflow: hidden; }
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,0.8); }
.cta-box pre { background: rgba(255,255,255,0.08); border: 1px dashed rgba(255,255,255,0.3); border-radius: 14px; padding: 14px; font-family: var(--body); font-size: 0.92rem; white-space: pre-wrap; color: #fff; margin: 0 0 18px; }
@media (min-width: 800px) { .cta-box { padding: 48px; } }

/* Fees page */
.page-hero { background: var(--blue); color: #fff; padding: 46px 0 50px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; }
.fee-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 2px solid var(--blue); border-radius: var(--r); overflow: hidden; margin-top: 22px; }
.fee-table th { background: var(--blue); color: #fff; text-align: left; padding: 12px 14px; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.fee-table td { padding: 13px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.fee-table td small { display: block; color: var(--muted); font-size: 0.82rem; }
.fee-table .amt { font-weight: 800; color: var(--blue); white-space: nowrap; text-align: right; }
.fee-table th:last-child { text-align: right; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-top: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 2px solid var(--blue); background: transparent; color: var(--blue); font: 700 0.9rem var(--body); padding: 8px 16px; border-radius: 999px 999px 999px 6px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); }
.tt { display: grid; gap: 12px; margin-top: 10px; }
@media (min-width: 800px) { .tt { grid-template-columns: repeat(2, 1fr); } }
.slot { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: 14px; padding: 14px 16px; }
.slot[hidden] { display: none; }
.slot .t { grid-column: 1; font-weight: 800; color: var(--blue); }
.slot .d { grid-column: 1; font-size: 0.92rem; color: var(--muted); }
.slot .btn { grid-column: 2; grid-row: 1 / span 2; }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--sky); color: var(--blue); vertical-align: middle; }
.pill.o { background: var(--yellow-soft); color: #7a5a00; }

/* Footer */
.site-foot { background: #00152e; color: rgba(255,255,255,0.75); padding: 46px 0 96px; font-size: 0.94rem; }
.site-foot .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 2fr 1fr 1fr; } .site-foot .note { grid-column: 1 / -1; } }
.site-foot h3 { color: var(--yellow); font-size: 1.1rem; }
.site-foot a { color: #fff; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,0.4); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
