/*
Theme Name: Green Light Driving School
Template: twentytwentyfive
Description: Example site theme for a Cyprus driving school (TillMark website service).
Version: 1.0
Text Domain: green-light
*/

:root { --tm-accent: #11884a; --tm-cta: #1fbf5b; --tm-ink: #14202c; --tm-radius: 10px; --gl-navy: #0e2740; --gl-navy-2: #0a1d31; --gl-go: #1fbf5b; --gl-amber: #f6b600; --gl-red: #e5484d; --gl-sky: #eef4fa; --gl-ink: #14202c; --gl-muted: #5b6875; --gl-line: #dde6ef; }

body { background: #fff; }
.wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Header ---------- */
.gl-topbar { background: var(--gl-navy-2); color: #c9d6e4; font-size: .82rem; padding: 7px 5vw !important; }
.gl-topbar p { margin: 0; }
.gl-topbar a { color: #fff; text-decoration: none; }
.gl-header { background: rgba(255,255,255,.97); padding: 14px 5vw !important; border-bottom: 1px solid var(--gl-line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
.gl-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--gl-ink); }
.gl-light { width: 22px; height: 46px; border-radius: 8px; background: var(--gl-navy); display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 3px 0; }
.gl-light i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.gl-light i:nth-child(1) { background: #3a2226; } .gl-light i:nth-child(2) { background: #3d3419; } .gl-light i:nth-child(3) { background: var(--gl-go); box-shadow: 0 0 8px var(--gl-go); }
.gl-logo-text strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.05; }
.gl-logo-text span { font-size: .72rem; color: var(--gl-muted); letter-spacing: .06em; text-transform: uppercase; }
.gl-header .wp-block-navigation { font-weight: 600; font-size: .96rem; gap: 26px; }
.gl-header .wp-block-navigation a:hover { color: #11884a; }
.gl-cta .wp-block-button__link { background: var(--gl-go); color: #fff; border-radius: 10px; padding: 11px 20px; font-weight: 800; font-size: .95rem; }
.gl-cta .wp-block-button__link:hover { background: #18a24d; }

/* ---------- Buttons ---------- */
.gl-btn-go .wp-block-button__link, a.gl-btn-go { display: inline-block; text-align: center; background: var(--gl-go); color: #fff; border-radius: 12px; font-weight: 800; padding: 16px 28px; text-decoration: none; }
.gl-btn-ghost .wp-block-button__link, a.gl-btn-ghost { display: inline-block; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); border-radius: 12px; font-weight: 700; padding: 14px 26px; text-decoration: none; }
.gl-btn-navy .wp-block-button__link, a.gl-btn-navy { display: inline-block; background: var(--gl-navy); color: #fff; border-radius: 12px; font-weight: 800; padding: 14px 26px; text-decoration: none; }
.gl-btn-line .wp-block-button__link, a.gl-btn-line { display: inline-block; text-align: center; background: transparent; color: var(--gl-navy); border: 2px solid var(--gl-navy); border-radius: 12px; font-weight: 700; padding: 12px 24px; text-decoration: none; }

/* ---------- Hero ---------- */
.gl-hero { min-height: 640px; display: flex; align-items: center; padding: 96px 5vw !important; color: #fff;
  background: linear-gradient(100deg, rgba(10,29,49,.96) 0%, rgba(10,29,49,.85) 40%, rgba(10,29,49,.2) 100%), url(assets/img/hero.webp) center 30%/cover no-repeat; }
.gl-hero > * { max-width: 660px; }
.gl-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #b7f5cc; background: rgba(31,191,91,.14); border: 1px solid rgba(31,191,91,.35); padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin: 0 0 20px !important; }
.gl-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; color: #fff; margin: 0 0 18px; font-weight: 800; letter-spacing: -.025em; }
.gl-hero h1 em { font-style: normal; color: var(--gl-go); }
.gl-hero .gl-lead { font-size: 1.15rem; color: #d3dfeb; max-width: 560px; margin: 0 0 30px; }
.gl-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 40px !important; }
.gl-hero-stats div strong { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.gl-hero-stats div span { font-size: .85rem; color: #a9bccf; }

/* ---------- Sections ---------- */
.gl-section { padding: 88px 5vw !important; }
.gl-sky { background: var(--gl-sky); }
.gl-navy { background: var(--gl-navy); color: #fff; }
.gl-kicker { color: #11884a; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin: 0 0 8px !important; }
.gl-h2 { font-size: clamp(2rem, 3.5vw, 2.9rem); line-height: 1.08; margin: 0 0 12px !important; font-weight: 800; letter-spacing: -.02em; }
.gl-sub { color: var(--gl-muted); font-size: 1.06rem; margin: 0 0 40px !important; max-width: 640px; }
.gl-center { text-align: center; }
.gl-center .gl-sub { margin-left: auto !important; margin-right: auto !important; }

/* Licence categories */
.gl-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gl-cat { background: #fff; border: 1px solid var(--gl-line); border-radius: 18px; padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.gl-cat:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(14,39,64,.55); border-color: #b9d3ea; }
.gl-cat-code { position: absolute; top: 22px; right: 22px; background: var(--gl-navy); color: #fff; font-weight: 800; font-size: .85rem; padding: 4px 10px; border-radius: 8px; }
.gl-cat-icon { font-size: 2.1rem; margin: 0 0 12px; }
.gl-cat h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 6px; }
.gl-cat p { color: var(--gl-muted); margin: 0 0 14px; font-size: .95rem; }
.gl-cat .gl-from { color: var(--gl-ink); font-weight: 800; margin: 0; }
.gl-cat .gl-from span { color: var(--gl-muted); font-weight: 600; font-size: .85rem; }

/* Split */
.gl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.gl-split img { width: 100%; height: 470px; object-fit: cover; border-radius: 24px; box-shadow: 0 34px 70px -40px rgba(14,39,64,.7); display: block; }
.gl-ticks { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 16px; }
.gl-ticks li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.gl-ticks li b { display: block; }
.gl-ticks li span { color: var(--gl-muted); font-size: .95rem; }
.gl-ticks li i { font-style: normal; width: 38px; height: 38px; border-radius: 11px; background: #e3f7ea; color: #11884a; display: grid; place-items: center; font-weight: 900; }

/* Steps */
.gl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.gl-step { background: #fff; border-radius: 18px; padding: 28px 24px; border: 1px solid var(--gl-line); position: relative; }
.gl-step::before { counter-increment: s; content: counter(s); width: 42px; height: 42px; border-radius: 50%; background: var(--gl-navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.gl-step:nth-child(4)::before { background: var(--gl-go); }
.gl-step h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; }
.gl-step p { color: var(--gl-muted); margin: 0; font-size: .94rem; }

/* Prices */
.gl-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.gl-price { background: #fff; border: 1px solid var(--gl-line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; }
.gl-price h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; }
.gl-price .gl-amount { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; line-height: 1; }
.gl-price .gl-per { color: var(--gl-muted); font-size: .9rem; margin: 0 0 20px; }
.gl-price ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; flex: 1; }
.gl-price li::before { content: "✓  "; color: var(--gl-go); font-weight: 900; }
.gl-price-hot { background: var(--gl-navy); color: #fff; border: 0; transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(14,39,64,.8); position: relative; }
.gl-price-hot .gl-per { color: #a9bccf; }
.gl-price-hot h3, .gl-price-hot .gl-amount { color: #fff; }
.gl-tag { position: absolute; top: -13px; left: 30px; background: var(--gl-go); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

/* Instructors */
.gl-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gl-person { background: #fff; border: 1px solid var(--gl-line); border-radius: 20px; padding: 28px; text-align: center; }
.gl-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; }
.gl-person h3 { margin: 0 0 2px; font-weight: 800; font-size: 1.15rem; }
.gl-person .gl-role { color: #11884a; font-weight: 700; font-size: .88rem; margin: 0 0 10px; }
.gl-person p { color: var(--gl-muted); font-size: .94rem; margin: 0; }
.gl-langs { margin-top: 12px !important; font-size: .8rem !important; color: var(--gl-ink) !important; font-weight: 700; }

/* Reviews */
.gl-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gl-review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px; }
.gl-review .gl-stars { color: var(--gl-amber); letter-spacing: 3px; margin: 0 0 12px; }
.gl-review p { color: #dbe6f1; margin: 0 0 16px; }
.gl-review .gl-who { color: #fff; font-weight: 700; margin: 0; font-size: .92rem; }
.gl-review .gl-who span { color: #9fb3c7; font-weight: 500; }

/* FAQ */
.gl-faq details { background: #fff; border: 1px solid var(--gl-line); border-radius: 14px; padding: 18px 22px; margin: 0 0 12px; }
.gl-faq summary { font-weight: 800; cursor: pointer; font-size: 1.05rem; }
.gl-faq details p { color: var(--gl-muted); margin: 12px 0 0; }

/* CTA band */
.gl-band { border-radius: 26px; padding: 54px !important; background: linear-gradient(110deg, #0e2740, #13365a); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.gl-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; }
.gl-band p { color: #c7d5e4; margin: 0; }
.gl-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Visit */
.gl-visit { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--gl-line); background: #fff; }
.gl-visit-info { padding: 42px; }
.gl-map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; display: block; }
.gl-contact-row { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; }
.gl-contact-row i { font-style: normal; width: 40px; height: 40px; border-radius: 12px; background: var(--gl-sky); display: grid; place-items: center; }
.gl-hours { width: 100%; border-collapse: collapse; margin: 10px 0 0; font-size: .95rem; }
.gl-hours td { padding: 7px 0; border-bottom: 1px dashed var(--gl-line); }
.gl-hours td:last-child { text-align: right; font-weight: 700; }

/* Inner page band */
.gl-pagehead { padding: 76px 5vw 64px !important; color: #fff; background: linear-gradient(100deg, rgba(10,29,49,.96), rgba(10,29,49,.78)), url(assets/img/lesson.webp) center/cover; }
.gl-pagehead h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.gl-pagehead p { color: #c9d6e4; font-size: 1.1rem; margin: 0; max-width: 640px; }

/* Tables */
.gl-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--gl-line); border-radius: 16px; overflow: hidden; background: #fff; }
.gl-table th { background: var(--gl-navy); color: #fff; text-align: left; padding: 14px 18px; font-size: .9rem; }
.gl-table td { padding: 14px 18px; border-top: 1px solid var(--gl-line); }
.gl-table td:last-child, .gl-table th:last-child { text-align: right; font-weight: 800; }

/* ---------- Footer ---------- */
.gl-footer { background: var(--gl-navy-2); color: #b9c7d6; padding: 66px 5vw 26px !important; font-size: .95rem; }
.gl-footer a { color: #fff; text-decoration: none; }
.gl-footer a:hover { text-decoration: underline; }
.gl-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.gl-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.gl-footer p { margin: 0 0 8px; }
.gl-social { display: flex; gap: 10px; margin-top: 16px !important; }
.gl-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.gl-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px !important; padding-top: 20px !important; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8ea3b8; }


/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .gl-cats, .gl-team, .gl-reviews, .gl-prices { grid-template-columns: 1fr 1fr; }
  .gl-steps { grid-template-columns: 1fr 1fr; }
  .gl-split, .gl-visit, .gl-footer-grid { grid-template-columns: 1fr; }
  .gl-split img { height: 320px; }
  .gl-price-hot { transform: none; }
  .gl-hero { background: linear-gradient(180deg, rgba(10,29,49,.92), rgba(10,29,49,.8)), url(assets/img/hero.webp) center/cover; }
}
@media (max-width: 700px) {
  .gl-header .gl-cta { display: none !important; }
  .gl-topbar { justify-content: center !important; }
  .gl-topbar p:first-child { display: none; }
  .gl-logo-text strong { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .gl-cats, .gl-team, .gl-reviews, .gl-prices, .gl-steps { grid-template-columns: 1fr; }
  .gl-section { padding: 60px 5vw !important; }
  .gl-band { padding: 34px !important; }
  .gl-hero-stats { gap: 22px; }
}
