/*
Theme Name: StudyKiwi
Theme URI: https://studykiwi.com
Author: StudyKiwi
Description: One-page theme for StudyKiwi – find the right course in New Zealand.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: studykiwi
*/

:root{
  --green:#0B7A3B; --green-dark:#075C2C; --ink:#141815; --text:#3D4540;
  --mint:#F4F8F3; --cream:#FFF6E3; --gold:#F2B33D; --line:#E8ECE9;
  --serif:'Source Serif 4',Georgia,serif; --sans:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:#1F2421;background:#fff;line-height:1.55;font-size:17px}
img{max-width:100%;height:auto}
a{color:var(--green)} a:hover{color:var(--green-dark)}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
h1,h2{font-family:var(--serif);color:var(--ink);line-height:1.12;margin:0}
h3{margin:0 0 8px;font-size:19px;color:var(--ink)}
.eyebrow{margin:0 0 14px;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.btn{display:inline-block;background:var(--green);color:#fff!important;text-decoration:none;padding:15px 26px;border-radius:999px;font-weight:600;border:0;font:inherit;font-weight:600;cursor:pointer}
.btn:hover{background:var(--green-dark)}
.btn-ghost{background:#fff;color:var(--ink)!important;border:1px solid #CBD5CE}
.btn-ghost:hover{background:var(--mint)}
.btn-dark{background:var(--ink)} .btn-dark:hover{background:#000}
section{scroll-margin-top:90px}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.logo img{height:64px;width:auto;display:block}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:26px;font-size:15px;font-weight:500}
.nav a{color:var(--ink);text-decoration:none}
.nav a:hover{color:var(--green)}
.nav .btn{padding:11px 20px}
.menu-toggle{display:none;background:none;border:1px solid #CBD5CE;border-radius:10px;padding:10px 14px;font:inherit;font-weight:600;cursor:pointer}

/* hero */
.hero{background:var(--mint)}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding-top:80px;padding-bottom:80px}
.hero-text{flex:1 1 460px;min-width:0}
.hero h1{font-size:clamp(38px,5vw,60px);margin-bottom:20px}
.hero h1 em{color:var(--green)}
.hero p.lead{font-size:19px;color:var(--text);max-width:540px;margin:0 0 32px}
.btn-row{display:flex;flex-wrap:wrap;gap:14px}
.hero-media{flex:1 1 420px;min-width:0}
.photo{border-radius:24px;overflow:hidden;background:#DCE9DE;aspect-ratio:5/4;display:flex;align-items:center;justify-content:center}
.photo img{width:100%;height:100%;object-fit:cover}
.photo.mascot{background:#fff;border:1px solid var(--line)}
.photo.mascot img{object-fit:contain;width:auto;height:auto;max-width:72%;max-height:82%;padding:0}

/* strip */
.strip{border-bottom:1px solid var(--line)}
.strip .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 26px;padding-top:26px;padding-bottom:26px;font-size:15px;color:var(--text)}
.strip strong{color:var(--ink)}
.dot{color:var(--gold)}

/* sections */
.block{padding:96px 0}
.block h2{font-size:clamp(30px,3.6vw,42px);margin-bottom:12px}
.block .intro{margin:0 0 48px;color:var(--text);max-width:620px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.card{background:var(--mint);border-radius:20px;padding:28px}
.card p{margin:0;font-size:15px;color:var(--text)}
.card.cream{background:var(--cream)}
.num{width:44px;height:44px;border-radius:999px;background:var(--green);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.cream .num{background:var(--gold);color:var(--ink)}

.dark{background:var(--ink);color:#fff}
.dark h2{color:#fff}
.dark .intro{color:#C9D1CB}
.card-dark{border:1px solid #39423C;border-radius:20px;padding:28px}
.card-dark h3{color:#fff}
.card-dark p{margin:0;font-size:15px;color:#C9D1CB}

.split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.split > div{flex:1 1 420px;min-width:0}
.split p{color:var(--text)}

.mint{background:var(--mint)}
.why h3{margin:12px 0 6px;font-size:18px}
.why p{margin:0;font-size:15px;color:var(--text)}

.visa-box{background:var(--cream);border-radius:28px;padding:48px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px}
.visa-box > div{flex:1 1 520px;min-width:0}
.visa-box h2{font-size:clamp(26px,3vw,34px);margin-bottom:12px}
.visa-box p{margin:0;color:var(--text)}

/* form */
.enquire .wrap{display:flex;flex-wrap:wrap;gap:56px}
.enquire .side{flex:1 1 360px;min-width:0}
.enquire .side p{color:var(--text)}
.sk-form{flex:1 1 560px;min-width:0;background:#fff;border-radius:24px;padding:36px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.sk-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.sk-form input,.sk-form select,.sk-form textarea{font:inherit;font-weight:400;padding:12px 14px;border:1px solid #C3CCC5;border-radius:10px;background:#fff;width:100%}
.sk-form input:focus,.sk-form select:focus,.sk-form textarea:focus{outline:2px solid var(--green);outline-offset:1px}
.sk-form .full{grid-column:1/-1}
.sk-form .btn{justify-self:start}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.notice{grid-column:1/-1;padding:14px 18px;border-radius:12px;font-weight:500}
.notice.ok{background:#E3F2E7;color:#0B5A2C}
.notice.err{background:#FDECEC;color:#8A1F1F}

/* footer */
.site-footer{border-top:1px solid var(--line)}
.site-footer .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding-top:36px;padding-bottom:36px;font-size:14px;color:#555E58}
.site-footer img{height:48px;width:auto;display:block}
.site-footer p{margin:0}

/* generic pages */
.page-content{padding:64px 0}
.page-content h1{font-size:clamp(32px,4vw,46px);margin-bottom:24px}

@media (max-width:860px){
  .menu-toggle{display:inline-block}
  .nav{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:14px;padding:8px 0 12px}
  .nav.open{display:flex}
  .logo img{height:52px}
  .hero .wrap{padding-top:48px;padding-bottom:56px;gap:36px}
  .block{padding:64px 0}
  .visa-box{padding:32px}
  .sk-form{padding:24px}
}
