/* /essay-consulting/assets/essay-consulting.css */
:root{
  --ec-primary:#4654b8;
  --ec-primary-dark:#263274;
  --ec-deep:#131a33;
  --ec-ink:#172033;
  --ec-muted:#697386;
  --ec-line:#e0e5ee;
  --ec-soft:#f6f8fc;
  --ec-white:#fff;
  --ec-mint:#168c82;
  --ec-shadow:0 20px 60px rgba(20,33,58,.08);
}
.essay-consulting-page{background:#fff;color:var(--ec-ink)}
.ec,.ec *{box-sizing:border-box}
.ec{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:30px 0 90px}
.ec a{text-decoration:none}

/* Hero */
.ec-hero{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:54px;align-items:center;
  min-height:600px;padding:64px;border-radius:32px;
  background:linear-gradient(135deg,#18213d 0%,#27366d 56%,#4654b8 100%);color:#fff;
  box-shadow:0 28px 80px rgba(20,27,64,.18)
}
.ec-hero:before,.ec-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.ec-hero:before{width:520px;height:520px;right:-220px;top:-250px;border:95px solid rgba(255,255,255,.06)}
.ec-hero:after{width:320px;height:320px;left:45%;bottom:-250px;background:rgba(104,132,225,.18)}
.ec-hero>*{position:relative;z-index:1}
.ec-kicker,.ec-section-kicker{display:inline-block;color:#b9c7ff;font-size:11px;font-weight:900;letter-spacing:.14em}
.ec-season-badge{display:inline-flex;margin-top:20px;padding:9px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:12px;font-weight:900}
.ec-hero h1{margin:18px 0 20px;font-size:clamp(42px,5vw,66px);line-height:1.08;letter-spacing:-.058em}
.ec-hero h1 em{color:#c9d4ff;font-style:normal}
.ec-hero-copy>p{max-width:690px;margin:0;color:#dce3f5;font-size:17px;line-height:1.8;word-break:keep-all}
.ec-hero-copy>p strong{color:#fff}
.ec-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.ec-hero-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:0 20px;border-radius:14px;font-size:14px;font-weight:900}
.ec-hero-btn-primary{background:#fff;color:#1f2b5e;box-shadow:0 14px 32px rgba(0,0,0,.16)}
.ec-hero-btn-secondary{border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.08);color:#fff}
.ec-season-panel{padding:28px;border:1px solid rgba(255,255,255,.17);border-radius:25px;background:rgba(255,255,255,.09);backdrop-filter:blur(12px);box-shadow:0 20px 50px rgba(9,15,35,.16)}
.ec-season-panel-label{color:#bac8ff;font-size:10px;font-weight:900;letter-spacing:.14em}
.ec-season-panel h2{margin:10px 0 20px;color:#fff;font-size:27px;line-height:1.3;letter-spacing:-.04em}
.ec-season-panel ul{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:1px solid rgba(255,255,255,.13)}
.ec-season-panel li{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.13)}
.ec-season-panel li strong{font-size:13px}
.ec-season-panel li span{color:#cdd6e9;font-size:12px;line-height:1.55}
.ec-season-panel>p{margin:18px 0 0;color:#aebbd5;font-size:11px;line-height:1.75}

/* Section headings */
.ec-title{margin:72px 0 28px;text-align:center}
.ec-title-left{text-align:left}
.ec-title .ec-section-kicker{color:var(--ec-primary)}
.ec-title h2{margin:10px 0 10px;font-size:34px;line-height:1.25;letter-spacing:-.045em}
.ec-title p{max-width:760px;margin:0 auto;color:var(--ec-muted);font-size:14px;line-height:1.75}
.ec-title-left p{margin-left:0}

/* Products */
.ec-product-section{padding-bottom:6px}
.ec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ec-card{position:relative;display:flex;flex-direction:column;min-height:410px;padding:28px;border:1px solid var(--ec-line);border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(20,33,58,.055);transition:.2s ease}
.ec-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(20,33,58,.09)}
.ec-card.featured{border-color:#aab8ee;background:linear-gradient(180deg,#fff,#f7f8ff)}
.ec-card.package{border-color:#b9ded8;background:linear-gradient(180deg,#fff,#f5fcfa)}
.ec-card.free{border-color:#d5e8e1;background:linear-gradient(180deg,#fff,#f7fbf9)}
.ec-tag{align-self:flex-start;padding:7px 10px;border-radius:999px;background:#eef1fb;color:var(--ec-primary);font-size:11px;font-weight:900}
.ec-card.free .ec-tag,.ec-card.package .ec-tag{background:#e8f5f2;color:#16776d}
.ec-card h3{margin:18px 0 9px;font-size:24px;letter-spacing:-.04em}
.ec-price{margin:5px 0 20px;font-size:29px;font-weight:950}
.ec-price small{font-size:13px;color:var(--ec-muted)}
.ec-old-price{margin-bottom:3px;color:#8992a1;font-size:13px;text-decoration:line-through}
.ec-unit{margin:-12px 0 18px;color:#16776d;font-size:12px;font-weight:850}
.ec-list{display:grid;gap:11px;margin:0 0 25px;padding:0;list-style:none;color:#4e596d}
.ec-list li{font-size:13px;line-height:1.55}
.ec-list li:before{content:"✓";margin-right:9px;color:var(--ec-primary);font-weight:950}
.ec-btn{display:flex;justify-content:center;align-items:center;min-height:50px;margin-top:auto;padding:0 18px;border-radius:13px;background:var(--ec-primary);color:#fff;font-size:13px;font-weight:900}
.ec-btn.alt{background:var(--ec-deep)}
.ec-btn.free-btn{background:#167252}
.ec-btn.package-btn{background:linear-gradient(135deg,#167c72,#4067a2)}
.ec-card.package:before{content:attr(data-save);position:absolute;top:24px;right:24px;padding:6px 9px;border-radius:999px;background:#167c72;color:#fff;font-size:10px;font-weight:950}

/* AI report promo */
.ec-ai-promo{position:relative;overflow:hidden;margin-top:72px;padding:58px 46px;border:1px solid #e2e6f0;border-radius:30px;background:linear-gradient(180deg,#fbfcff,#f5f7fc)}
.ec-ai-promo:before{content:"";position:absolute;top:-100px;right:-70px;width:280px;height:280px;border:1px solid rgba(70,84,184,.13);border-radius:50%}
.ec-ai-head{position:relative;z-index:1;max-width:780px;margin:0 auto 34px;text-align:center}
.ec-ai-label{display:inline-flex;padding:8px 13px;border-radius:999px;background:#eef1fb;color:var(--ec-primary);font-size:10px;font-weight:950;letter-spacing:.11em}
.ec-ai-head h2{margin:16px 0 12px;font-size:clamp(34px,4.5vw,50px);line-height:1.15;letter-spacing:-.052em}
.ec-ai-head h2 strong{color:var(--ec-primary)}
.ec-ai-head p{margin:0;color:var(--ec-muted);font-size:15px;line-height:1.75}
.ec-ai-content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(290px,.82fr) minmax(0,1.58fr);gap:20px}
.ec-report-preview{padding:27px;border-radius:24px;background:linear-gradient(145deg,#151c34,#29366a 62%,#4654b8);color:#fff;box-shadow:0 20px 45px rgba(23,31,72,.22)}
.ec-report-top{display:flex;justify-content:space-between;gap:14px}
.ec-report-top span{display:block;margin-bottom:5px;color:#c8d2ef;font-size:10px}
.ec-report-top b{font-size:18px}
.ec-report-top em{padding:6px 8px;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#dce3f8;font-size:9px;font-style:normal;font-weight:900}
.ec-overall{display:flex;margin:24px 0;padding:23px 0;align-items:center;gap:18px;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}
.ec-score-ring{display:grid;width:104px;height:104px;flex:0 0 104px;place-content:center;text-align:center;border:8px solid rgba(255,255,255,.14);border-top-color:#91a5ec;border-right-color:#91a5ec;border-radius:50%}
.ec-score-ring b{font-size:32px;line-height:1}.ec-score-ring small{margin-top:5px;color:#cbd4eb;font-size:9px}
.ec-overall p{margin:0;color:#d1d9eb;font-size:12px;line-height:1.65}.ec-overall p strong{color:#fff;font-size:14px}
.ec-bars{display:grid;gap:13px}.ec-bars div{display:grid;grid-template-columns:92px 1fr 24px;gap:8px;align-items:center;font-size:10px}
.ec-bars i{height:6px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.12)}.ec-bars i b{display:block;width:var(--bar);height:100%;border-radius:inherit;background:linear-gradient(90deg,#8fa5ee,#c7d4ff)}
.ec-bars em{color:#d9e1f5;font-style:normal;font-weight:900;text-align:right}.ec-report-preview>small{display:block;margin-top:18px;color:rgba(255,255,255,.45);font-size:9px}
.ec-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ec-metric{position:relative;min-height:148px;padding:21px;border:1px solid #e3e7ef;border-radius:19px;background:#fff}
.ec-metric>span{position:absolute;top:18px;right:18px;color:#c5ccd8;font-size:12px;font-weight:900}
.ec-metric i{display:grid;width:33px;height:33px;margin-bottom:11px;place-content:center;border-radius:10px;background:#eef1fb;color:var(--ec-primary);font-size:17px;font-style:normal;font-weight:900}
.ec-metric h3{margin:0 0 7px;font-size:16px}.ec-metric p{margin:0;color:#70798a;font-size:12px;line-height:1.6}
.ec-promo-cta{position:relative;z-index:1;display:flex;margin-top:20px;padding:22px 24px;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dfe4ee;border-radius:18px;background:#fff}
.ec-promo-cta b,.ec-promo-cta span{display:block}.ec-promo-cta b{margin-bottom:5px;font-size:15px}.ec-promo-cta span{color:#747d8c;font-size:12px}
.ec-promo-cta .ec-btn{min-width:210px;margin:0}

/* School focus */
.ec-school-section{margin-top:76px}
.ec-focus-school{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:34px;padding:36px;border-radius:28px;background:var(--ec-deep);color:#fff;box-shadow:0 20px 55px rgba(19,26,51,.14)}
.ec-focus-label{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.09);color:#b9c7ff;font-size:10px;font-weight:900;letter-spacing:.08em}
.ec-focus-school h3{margin:17px 0 13px;font-size:29px;line-height:1.3;letter-spacing:-.045em}
.ec-focus-school-copy>p{margin:0;color:#c4cedf;font-size:14px;line-height:1.8}
.ec-focus-points{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.ec-focus-points span{padding:7px 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#dce4f1;font-size:11px;font-weight:800}
.ec-focus-school-list{padding:23px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:rgba(255,255,255,.055)}
.ec-focus-school-list>strong{display:block;margin-bottom:14px;font-size:13px}.ec-focus-school-list>div{display:flex;flex-wrap:wrap;gap:7px}
.ec-focus-school-list span{padding:7px 9px;border-radius:9px;background:rgba(255,255,255,.08);color:#d9e2f0;font-size:11px;font-weight:800}
.ec-school{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.ec-school article{padding:22px;border:1px solid var(--ec-line);border-radius:19px;background:#f8fafc}
.ec-school article>span{color:#9aa4b4;font-size:9px;font-weight:900;letter-spacing:.1em}
.ec-school h3{margin:8px 0 7px;font-size:19px}.ec-school p{margin:0;color:var(--ec-muted);font-size:13px;line-height:1.65}
.ec-note{margin-top:22px;padding:18px;border-radius:15px;background:#f7f8fb;color:#636d7d;font-size:13px;line-height:1.7}.ec-note strong{color:var(--ec-ink)}

@media(max-width:980px){
  .ec-hero,.ec-focus-school{grid-template-columns:1fr}
  .ec-season-panel{max-width:720px}
  .ec-ai-content{grid-template-columns:1fr}
}
@media(max-width:760px){
  .ec{width:min(100% - 24px,1180px);padding-top:16px}
  .ec-hero{min-height:0;gap:30px;padding:36px 24px;border-radius:24px}
  .ec-hero h1{font-size:38px}
  .ec-hero-copy>p{font-size:14px}
  .ec-hero-actions{display:grid}.ec-hero-btn{width:100%}
  .ec-season-panel{padding:22px}.ec-season-panel li{grid-template-columns:1fr;gap:4px}
  .ec-title{margin-top:52px}.ec-title h2{font-size:28px}
  .ec-grid,.ec-metrics,.ec-school{grid-template-columns:1fr}
  .ec-card{min-height:0;padding:24px}
  .ec-ai-promo{margin-top:54px;padding:38px 20px;border-radius:24px}
  .ec-ai-head h2{font-size:34px}.ec-ai-head p br{display:none}
  .ec-report-preview{padding:22px}
  .ec-promo-cta{align-items:stretch;flex-direction:column}.ec-promo-cta .ec-btn{width:100%;min-width:0}
  .ec-focus-school{padding:25px 22px;border-radius:23px}.ec-focus-school h3{font-size:24px}
}


/* 전국자사고 시즌 중점 카드 */
.ec-school-card--focus {
    border-color: #aebbea !important;
    background: linear-gradient(180deg, #f7f9ff 0%, #eef2ff 100%) !important;
    box-shadow: 0 12px 28px rgba(70, 84, 184, .08);
}

.ec-school-card--focus > span {
    color: var(--ec-primary) !important;
}

.ec-school-card--focus h3 {
    color: var(--ec-primary-dark);
}

@media (max-width: 1050px) {
    .ec-school {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ec-school {
        grid-template-columns: 1fr;
    }
}
