/*
Theme Name: Your Home Education
Theme URI: https://www.your-home.ru/
Author: OpenAI
Description: Адаптивная одностраничная тема WordPress для репетиторского центра «Школа на Дому».
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: your-home-education
*/
:root{--green:#426b58;--dark:#274638;--mint:#eaf2ec;--cream:#f8f7f1;--ink:#202923;--muted:#657169;--line:#dce5de;--radius:22px;--shadow:0 18px 48px rgba(36,67,49,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}.container{width:min(1160px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(248,247,241,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:-.03em}.brand-logo{display:block;width:60px;height:60px;object-fit:contain;flex:0 0 60px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--green);color:white;font-size:19px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.nav{display:flex;gap:24px;align-items:center;font-size:14px;color:#46564b}.nav a:hover{color:var(--green)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border:1px solid var(--green);border-radius:999px;background:var(--green);color:#fff;font-weight:700;transition:.2s;cursor:pointer}.button:hover{background:var(--dark);transform:translateY(-2px);color:#fff}.button-outline{background:transparent;color:var(--green)}.button-outline:hover{color:white}.menu-toggle{display:none;border:0;background:transparent;font-size:25px;color:var(--green)}.hero{padding:76px 0 68px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:54px}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:var(--mint);color:var(--dark);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.eyebrow:before{content:"";width:7px;height:7px;background:#86ad8d;border-radius:50%}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,5.3vw,70px);line-height:1.04;letter-spacing:-.055em;margin:22px 0}.hero h1 em{font-style:normal;color:var(--green)}.lead{max-width:570px;color:var(--muted);font-size:18px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.trust-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:30px;color:#526056;font-size:13px}.trust-row span:before{content:"✓";color:var(--green);font-weight:900;margin-right:7px}.hero-art{min-height:430px;position:relative;border-radius:32px;background:linear-gradient(145deg,#e0ebe1,#f1f3e9);padding:26px;display:flex;align-items:center;justify-content:center}.hero-art:before,.hero-art:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(66,107,88,.18)}.hero-art:before{width:310px;height:310px}.hero-art:after{width:390px;height:390px}.study-card{position:relative;z-index:1;width:min(100%,340px);padding:26px;background:#fff;border-radius:24px;box-shadow:var(--shadow);transform:rotate(-2deg)}.study-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.study-icon{width:48px;height:48px;display:grid;place-items:center;background:var(--mint);border-radius:15px;font-size:23px;margin-top:15px}.study-card h3{font-size:23px;line-height:1.2;margin:18px 0 8px}.progress{height:7px;background:#edf1ed;border-radius:20px;overflow:hidden;margin:18px 0 8px}.progress span{display:block;width:78%;height:100%;background:#76a184;border-radius:20px}.study-foot{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.floating-note{position:absolute;z-index:2;bottom:34px;left:4px;background:#fff;padding:14px 18px;border-radius:16px;box-shadow:var(--shadow);font-size:13px}.floating-note strong{display:block;color:var(--dark);font-size:17px}.section{padding:82px 0}.section-white{background:#fff}.section-head{max-width:700px;margin:0 auto 38px;text-align:center}.section-head h2,.about-copy h2,.cta h2{font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-.04em;margin:14px 0}.section-head p,.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-card{padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.service-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:var(--mint);font-size:24px;margin-bottom:20px}.service-card h3{font-size:20px;line-height:1.25;margin-bottom:10px}.service-card p{font-size:14px;color:var(--muted);margin-bottom:0}.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;align-items:center}.about-panel{background:var(--mint);padding:34px;border-radius:30px;min-height:330px;display:flex;flex-direction:column;justify-content:space-between}.about-panel .big{font-size:clamp(40px,5vw,64px);font-weight:850;letter-spacing:-.06em;color:var(--green)}.about-panel p{max-width:280px;color:#4c6253}.check-list{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:13px}.check-list li{display:flex;gap:12px}.check-list li:before{content:"✓";display:grid;place-items:center;flex:0 0 24px;height:24px;background:var(--mint);color:var(--green);border-radius:50%;font-weight:800}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{padding:25px;border-top:2px solid var(--green);background:var(--cream);border-radius:0 0 20px 20px}.step-number{font-size:12px;color:var(--green);font-weight:900;letter-spacing:.1em}.step h3{margin:12px 0 8px}.step p{font-size:14px;color:var(--muted);margin-bottom:0}.quote-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.quote{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.quote-mark{font-size:34px;line-height:1;color:#8aab91}.quote p{color:var(--muted);margin:10px 0 18px}.quote strong{font-size:14px}.faq{max-width:850px;margin:auto}.faq details{padding:20px 0;border-bottom:1px solid var(--line)}.faq summary{font-weight:750;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}.faq summary:after{content:"+";font-size:22px;color:var(--green)}.faq details[open] summary:after{content:"−"}.faq details p{color:var(--muted);margin:12px 0 0}.cta{padding:44px;border-radius:30px;background:var(--dark);color:#fff;display:grid;grid-template-columns:1fr .8fr;gap:32px;align-items:center}.cta p{color:#d6e3d9;max-width:560px}.cta .eyebrow{background:rgba(255,255,255,.12);color:#fff}.form-box{background:#fff;border-radius:22px;padding:24px;color:var(--ink)}.form-box label{display:block;font-size:13px;font-weight:700;margin:0 0 6px}.form-box input,.form-box textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:13px;background:#fbfcfa;font:inherit}.form-box .button{width:100%}.form-note{font-size:11px;color:var(--muted);margin:10px 0 0}.notice{display:none;padding:12px;border-radius:10px;background:var(--mint);color:var(--dark);font-size:13px;margin-bottom:12px}.notice.show{display:block}.contact-strip{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px;color:#e2eee5;font-size:14px}.site-footer{padding:28px 0;background:#1d3328;color:#dce7df;font-size:13px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-inner a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){.nav{display:none;position:absolute;top:78px;left:0;right:0;background:var(--cream);padding:18px 22px 24px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.nav.open{display:flex}.menu-toggle{display:block}.header-cta{display:none}.hero{padding:48px 0}.hero-grid,.about-grid,.cta{grid-template-columns:1fr}.hero-art{min-height:360px}.cards{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr}.about-grid{gap:28px}.cta{padding:28px}.section{padding:62px 0}}
@media(max-width:560px){.container{width:calc(100% - 28px)}.header-inner{min-height:70px}.nav{top:70px}.hero-grid{gap:28px}.hero-art{min-height:320px;padding:18px}.hero-art:before{width:230px;height:230px}.hero-art:after{width:290px;height:290px}.study-card{padding:21px}.floating-note{bottom:16px}.cards,.quote-grid{grid-template-columns:1fr}.section{padding:52px 0}.section-head{margin-bottom:26px}.trust-row{gap:12px}.hero-actions .button{width:100%}.about-panel{min-height:260px;padding:26px}.cta{padding:22px}.form-box{padding:18px}h1{font-size:42px}}

.contact-strip a{color:inherit;text-decoration:underline;text-underline-offset:3px}.contact-strip a:hover{opacity:.8}
