/*
Theme Name: 리버티영어회화
Theme URI: https://koq2003.cafe24.com
Author: Liberty English
Description: 리버티영어회화 원어민 1:1 영어회화 홈페이지 테마 (원본 디자인 목업 기반)
Version: 1.0
Requires PHP: 7.4
Text Domain: liberty-english
*/

  :root{
    --bg:#FFF7FA;
    --bg-alt:#FCE7F1;
    --bg-alt2:#FFFFFF;
    --line:rgba(224,90,150,0.18);
    --teal:#EC6FA0;
    --teal-dark:#D14E82;
    --gold:#F6B94E;
    --text:#3A2432;
    --text-dim:#9C7F8C;
    --radius:18px;
    --maxw:1600px;
    font-family:'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth; scroll-padding-top:88px;}
  body{background:var(--bg); color:var(--text); line-height:1.6; -webkit-font-smoothing:antialiased;}
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none !important;}
  a:hover, a:focus, a:visited{text-decoration:none !important;}
  ul{list-style:none;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  .eyebrow{display:inline-block; font-size:13px; font-weight:700; letter-spacing:0.08em; color:var(--teal); text-transform:uppercase; margin-bottom:14px;}
  h1,h2,h3{font-weight:800; letter-spacing:-0.02em; line-height:1.3;}
  .hl{background:linear-gradient(transparent 62%, rgba(246,201,78,0.55) 62%); padding:0 2px;}
  #rotatingWord{display:inline-block; transition:opacity .35s ease, transform .35s ease;}
  #rotatingWord.rw-fade{opacity:0; transform:translateY(6px);}
  .btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:700; font-size:16px; padding:15px 28px; border-radius:100px; border:none; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;}
  .btn-primary{background:var(--teal); color:#FFFFFF;}
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(236,111,160,0.3);}
  .btn-outline{background:transparent; color:var(--text); border:1.5px solid rgba(58,36,50,0.22);}
  .btn-call{background:#2FAE60; color:#FFFFFF; border:1.5px solid #2FAE60;}
  .btn-call:hover{background:#278F4F; border-color:#278F4F; transform:translateY(-2px); box-shadow:0 10px 24px rgba(47,174,96,0.28);}
  .btn-outline:hover{border-color:var(--teal); color:var(--teal);}
  section{padding:96px 0;}
  @media (max-width:720px){ section{padding:64px 0;} }

  /* header */
  header{position:sticky; top:0; z-index:50; background:rgba(255,247,250,0.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);}
  .nav{display:flex; align-items:center; justify-content:space-between; height:76px; gap:16px;}
  .logo{font-size:20px; font-weight:800; letter-spacing:-0.01em;}
  .logo span{color:var(--teal);}
  .logo-lockup{display:flex; align-items:center; gap:10px; flex-shrink:0;}
  .logo-img{width:40px; height:40px; border-radius:11px; object-fit:cover;}
  .logo-text{font-size:18px; font-weight:800; letter-spacing:-0.01em; color:var(--text);}
  .nav-links{display:flex; gap:28px; font-size:15px; font-weight:600; color:var(--text-dim); overflow-x:auto; scrollbar-width:none; white-space:nowrap;}
  .nav-links::-webkit-scrollbar{display:none;}
  .nav-links a{flex-shrink:0; position:relative; padding-bottom:3px;}
  .nav-links a::after{content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--teal); border-radius:2px; transform:scaleX(0); transform-origin:left; transition:transform .22s ease;}
  .nav-links a:hover{color:var(--text);}
  .nav-links a:hover::after, .nav-links a:focus-visible::after{transform:scaleX(1);}
  .nav-cta{display:flex; align-items:center; gap:16px; flex-shrink:0;}
  .nav-toggle{display:none; flex-direction:column; justify-content:center; gap:5px; width:34px; height:34px; background:none; border:none; padding:6px; cursor:pointer; flex-shrink:0;}
  .nav-toggle span{display:block; width:100%; height:2px; background:var(--text); border-radius:2px; transition:transform .2s ease, opacity .2s ease;}
  .nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-toggle.open span:nth-child(2){opacity:0;}
  .nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  @media (max-width:860px){
    .nav{height:64px;}
    .logo-text{font-size:15px;}
    .logo-img{width:32px; height:32px;}
    .nav-cta .btn-outline{padding:8px 14px; font-size:13px;}
  }
  @media (max-width:720px){
    .nav-toggle{display:flex;}
    .nav-links{
      display:none; position:absolute; top:100%; left:0; right:0;
      flex-direction:column; gap:0; background:var(--bg-alt2); border-bottom:1px solid var(--line);
      padding:6px 32px 14px; box-shadow:0 16px 28px rgba(58,36,50,0.12); overflow-x:visible; white-space:normal; z-index:60;
    }
    .nav-links.open{display:flex;}
    .nav-links a{padding:13px 0; border-bottom:1px solid var(--line); font-size:15.5px; width:100%; text-align:right;}
    .nav-links a::after{display:none;}
    .nav-links a:last-child{border-bottom:none;}
  }
  @media (max-width:520px){
    .nav-links a{font-size:15px;}
  }

  /* 모바일 전용 줄바꿈 유틸리티 */
  .hide-mobile{}
  .show-mobile{display:none;}
  @media (max-width:640px){
    .hide-mobile{display:none;}
    .show-mobile{display:initial;}
  }


  /* hero */
  .hero{padding:88px 0 70px; position:relative; overflow:hidden;}
  .hero::before{content:""; position:absolute; top:-120px; right:-160px; width:480px; height:480px; border-radius:50%; background:radial-gradient(circle, rgba(236,111,160,0.28), transparent 70%); pointer-events:none; animation:blobMove 9s ease-in-out infinite;}
  .hero::after{content:""; position:absolute; bottom:-140px; left:-120px; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(246,185,78,0.22), transparent 70%); pointer-events:none; animation:blobMove 11s ease-in-out infinite reverse;}
  @keyframes blobMove{0%,100%{transform:translate(0,0);} 50%{transform:translate(-24px,26px);}}
  @keyframes fadeUp{from{opacity:0; transform:translateY(22px);} to{opacity:1; transform:translateY(0);}}
  @keyframes fadeUpCenter{from{opacity:0; transform:translateX(-50%) translateY(22px);} to{opacity:1; transform:translateX(-50%) translateY(0);}}
  @keyframes floatY{0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);}}
  .hero-eyebrow{animation:fadeUp .7s ease both;}
  .hero h1{animation:fadeUp .7s ease .1s both;}
  .hero p.lead{animation:fadeUp .7s ease .22s both;}
  .hero-btns{animation:fadeUp .7s ease .34s both;}
  .stat-row{animation:fadeUp .7s ease .46s both;}
  .hero-visual{animation:fadeUp .8s ease .3s both, floatY 5s ease-in-out 1.2s infinite;}
  .scroll-cue{position:absolute; left:50%; bottom:18px; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:6px; color:var(--text-dim); font-size:12px; animation:fadeUpCenter .7s ease .8s both;}
  .scroll-cue .arrow{width:18px; height:18px; border-right:2px solid var(--teal); border-bottom:2px solid var(--teal); transform:rotate(45deg); animation:bounceDown 1.6s ease-in-out infinite;}
  @keyframes bounceDown{0%,100%{transform:rotate(45deg) translate(0,0);} 50%{transform:rotate(45deg) translate(5px,5px);}}
  @media (prefers-reduced-motion: reduce){
    .hero::before,.hero::after,.hero-visual,.scroll-cue .arrow,.hero-eyebrow,.hero h1,.hero p.lead,.hero-btns,.stat-row{animation:none !important;}
  }
  .hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center;}
  @media (max-width:900px){ .hero-grid{grid-template-columns:1fr;} }
  .hero h1{font-size:44px; margin-bottom:20px;}
  @media (max-width:520px){ .hero h1{font-size:32px;} }
  .hero p.lead{font-size:18px; color:var(--text-dim); margin-bottom:32px; max-width:480px;}
  .hero-btns{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
  .stat-row{display:flex; gap:36px; flex-wrap:wrap;}
  .stat b{display:block; font-size:28px; font-weight:800; color:var(--teal);}
  .stat span{font-size:13px; color:var(--text-dim);}
  @media (max-width:520px){
    .stat-row{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; text-align:center;}
    .stat b{font-size:18px;}
    .stat span{font-size:10px; line-height:1.3; display:block;}
  }
  .hero-visual{border-radius:24px; aspect-ratio:4/3; overflow:hidden; box-shadow:0 20px 44px rgba(58,36,50,0.16);}
  .hero-visual-img{width:100%; height:100%; object-fit:cover; display:block;}
  .hero{position:relative;}

  /* pain points */
  .pain{background:var(--bg-alt);}
  .section-head{max-width:560px; margin-bottom:48px;}
  .section-head h2{font-size:32px;}
  @media (max-width:520px){ .section-head h2{font-size:26px;} }
  .section-head p{color:var(--text-dim); font-size:16px; margin-top:12px;}
  .pain-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
  @media (max-width:900px){ .pain-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:520px){ .pain-grid{grid-template-columns:1fr;} }
  .pain-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:16px; padding:26px 22px;}
  .pain-card .ico{font-size:26px; margin-bottom:14px;}
  .pain-card p{font-size:15px; color:var(--text); line-height:1.55;}
  .pain-foot{text-align:center; margin-top:36px; color:var(--teal); font-weight:700;}

  /* strengths */
  .about-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
  @media (max-width:900px){ .about-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:560px){
    .about-grid{gap:10px;}
    .about-card{padding:18px 14px;}
    .about-card .ico{width:36px; height:36px; font-size:16px; margin-bottom:10px;}
    .about-card h3{font-size:14px; margin-bottom:6px; line-height:1.35;}
    .about-card p{font-size:12px; line-height:1.5;}
  }
  .about-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:var(--radius); padding:28px 24px; box-shadow:0 8px 20px rgba(58,36,50,0.06); transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;}
  .about-card:hover{border-color:rgba(236,111,160,0.45); transform:translateY(-3px); box-shadow:0 14px 28px rgba(58,36,50,0.10);}
  .about-card .ico{width:46px; height:46px; border-radius:12px; background:rgba(236,111,160,0.14); color:var(--teal-dark); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:16px;}
  .about-card h3{font-size:17px; margin-bottom:8px;}
  .about-card p{font-size:14px; color:var(--text-dim); line-height:1.6;}

  /* growth path */
  .path{background:var(--bg-alt); border-top:1px solid var(--line);}
  .path-track{position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:56px;}
  .path-track::before{content:""; position:absolute; top:27px; left:12.5%; right:12.5%; height:2px; background:linear-gradient(90deg, var(--teal), var(--gold)); opacity:0.5;}
  .path-item{text-align:center; position:relative; padding:0 12px;}
  .path-dot{width:56px; height:56px; border-radius:50%; background:var(--bg); border:2px solid var(--teal); color:var(--teal); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:800; margin:0 auto 16px; position:relative; z-index:1;}
  .path-item h3{font-size:16px; margin-bottom:6px;}
  .path-item p{font-size:13px; color:var(--text-dim); line-height:1.6; max-width:220px; margin:0 auto;}
  @media (max-width:720px){
    .path-track{grid-template-columns:1fr; gap:18px; margin-top:32px;}
    .path-track::before{display:none;}
    .path-item{text-align:left; padding:0; display:flex; gap:14px; align-items:flex-start;}
    .path-dot{width:44px; height:44px; font-size:17px; margin:2px 0 0;}
    .path-item h3{font-size:16px; margin-bottom:5px; line-height:1.35;}
    .path-item p{font-size:13.5px; line-height:1.6; max-width:none;}
  }

  /* programs */
  .path-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:16px; padding:18px 14px; box-shadow:0 8px 18px rgba(58,36,50,0.06);}
  .path-prog{font-size:12px; font-weight:800; color:var(--teal-dark); text-transform:uppercase; letter-spacing:0.03em; margin-bottom:4px;}
  @media (max-width:720px){ .path-card{flex:1; min-width:0;} }

  /* curriculum */
  .curriculum{background:var(--bg); border-top:1px solid var(--line);}
  .curr-matrix-wrap{margin-top:40px; background:var(--bg-alt); border:1.5px solid var(--line); border-radius:20px; padding:20px; box-shadow:0 12px 28px rgba(58,36,50,0.07);}
  .curr-matrix{width:100%; table-layout:fixed; border-collapse:separate; border-spacing:6px;}
  .curr-matrix thead th{padding:0; text-align:center;}
  .level-badge{display:inline-block; width:100%; background:#2A2130; color:#fff; font-weight:800; font-size:14px; padding:12px 6px; border-radius:12px; letter-spacing:-0.01em; box-sizing:border-box;}
  .curr-matrix th.row-label{width:18%;}
  .curr-matrix tbody th.row-label{text-align:right; padding-right:8px; font-size:14px; font-weight:800; color:var(--text); word-break:keep-all;}
  .curr-matrix td{border-radius:12px; padding:10px 6px; text-align:center; vertical-align:middle; word-break:keep-all;}
  .curr-matrix td.empty{color:var(--text-dim); font-size:13px; background:transparent;}
  .pill-btn{all:unset; cursor:pointer;}
  @media (max-width:640px){
    .curr-matrix-wrap{padding:16px 14px;}
    .curr-matrix, .curr-matrix tbody, .curr-matrix tr{display:block; width:100%;}
    .curr-matrix thead{display:none;}
    .curr-matrix tr{background:var(--bg-alt2); border:1px solid var(--line); border-radius:14px; padding:12px 12px 10px; margin-bottom:10px; box-shadow:0 4px 10px rgba(58,36,50,0.05);}
    .curr-matrix tbody th.row-label{display:block; text-align:left; padding:0 0 8px; font-size:14px;}
    .curr-matrix td{display:inline-flex; align-items:center; width:auto; padding:0; margin:0 6px 6px 0; background:none !important; border:none !important; box-shadow:none !important; border-radius:0;}
    .curr-matrix td.empty{display:none;}
    .curr-matrix td:not(.empty)::before{content:attr(data-label); display:inline-block; text-align:center; font-size:10px; font-weight:800; line-height:1; color:var(--text-dim); background:var(--bg); border-radius:100px; padding:5px 9px;}
    .curr-matrix .pill{font-size:12.5px; background:var(--bg-alt2); border:1.5px solid var(--line); border-radius:100px; padding:6px 12px;}
  }
  .curr-scroll-hint{display:none;}
  .curr-matrix .pill{display:inline-block; font-size:13px; font-weight:700; line-height:1.3; cursor:pointer; transition:transform .15s ease;}
  .curr-matrix .pill:hover{transform:translateY(-2px);}
  .curr-matrix td:not(.empty){background:var(--bg-alt2); border:1.5px solid var(--line); box-shadow:0 4px 10px rgba(58,36,50,0.05);}
  .row-tint-a td:not(.empty){border-color:rgba(236,111,160,0.55);}
  .row-tint-a .pill{color:#C24E80;}
  .row-tint-a th.row-label{color:#C24E80;}
  .row-tint-b td:not(.empty){border-color:rgba(140,124,240,0.55);}
  .row-tint-b .pill{color:#6B5BD1;}
  .row-tint-b th.row-label{color:#6B5BD1;}
  .row-tint-c td:not(.empty){border-color:rgba(214,163,30,0.55);}
  .row-tint-c .pill{color:#A87F1E;}
  .row-tint-c th.row-label{color:#A87F1E;}
  .row-tint-d td:not(.empty){border-color:rgba(46,156,134,0.5);}
  .row-tint-d .pill{color:#2E9C86;}
  .row-tint-d th.row-label{color:#2E9C86;}
  .row-tint-e td:not(.empty){border-color:rgba(214,95,83,0.5);}
  .row-tint-e .pill{color:#C15347;}
  .row-tint-e th.row-label{color:#C15347;}
  .row-tint-f td:not(.empty){border-color:rgba(79,138,58,0.5);}
  .row-tint-f .pill{color:#4F8A3A;}
  .row-tint-f th.row-label{color:#4F8A3A;}
  .book-modal-backdrop{position:fixed; inset:0; background:rgba(30,20,40,0.55); z-index:100; display:none; align-items:center; justify-content:center; padding:20px;}
  .book-modal-backdrop.open{display:flex;}
  .book-modal{background:var(--bg-alt2); border-radius:20px; padding:28px; max-width:360px; width:100%; position:relative; box-shadow:0 24px 48px rgba(30,20,40,0.3);}
  .book-modal-close{position:absolute; top:14px; right:16px; background:none; border:none; font-size:20px; color:var(--text-dim); cursor:pointer; line-height:1;}
  .book-modal h4{font-size:12px; font-weight:800; letter-spacing:0.05em; color:var(--teal-dark); text-transform:uppercase; margin-bottom:8px;}
  .book-modal h3{font-size:20px; margin-bottom:12px;}
  .book-modal p{font-size:14px; color:var(--text-dim); line-height:1.7;}
  .book-modal-link{display:inline-block; margin-top:16px; font-size:12.5px; font-weight:700; color:var(--teal-dark); border-bottom:1.5px solid rgba(236,111,160,0.4);}
  .photo-note{font-size:12px; color:var(--text-dim); text-align:center; margin-top:24px;}

  /* level report showcase */
  .lr-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
  @media (max-width:900px){ .lr-grid{grid-template-columns:1fr; gap:32px;} }
  .lr-lead{color:var(--text-dim); margin:14px 0 26px; font-size:16px;}
  .lr-list{list-style:none; display:flex; flex-direction:column; gap:16px; margin-bottom:28px;}
  .lr-list li{display:flex; align-items:flex-start; gap:12px; font-size:14px;}
  .lr-ico{font-size:20px; flex-shrink:0;}
  .lr-list b{display:block; font-size:15px; margin-bottom:2px;}
  .lr-list span{color:var(--text-dim); font-size:13px;}
  .lr-preview{position:relative;}
  .lr-preview-tag{position:absolute; top:-14px; left:20px; background:var(--gold); color:#3A2432; font-weight:800; font-size:12px; padding:6px 16px; border-radius:100px; z-index:2; box-shadow:0 4px 10px rgba(58,36,50,0.15);}
  .lr-preview-tag:hover{transform:translateY(-2px);}
  .lr-preview-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:20px; padding:26px 22px; box-shadow:0 16px 32px rgba(58,36,50,0.10);}
  .lr-preview-head{display:flex; align-items:center; justify-content:space-between; font-weight:800; font-size:15px; margin-bottom:18px;}
  .badge-mini{background:var(--teal); color:#fff; font-size:12px; font-weight:800; padding:3px 10px; border-radius:100px;}
  .lr-mini-chart{display:flex; align-items:flex-end; gap:8px; height:110px; border-bottom:1.5px solid var(--line); margin-bottom:16px; padding:0 2px 2px;}
  .lr-mini-col{flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%;}
  .lr-mini-bar{width:60%; max-width:34px; background:linear-gradient(180deg,var(--teal),var(--teal-dark)); border-radius:4px 4px 0 0;}
  .lr-mini-label{font-size:9.5px; color:var(--text-dim); font-weight:700; text-align:center; margin-top:8px; line-height:1.3; white-space:nowrap;}
  .lr-chip-row{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px;}
  .lr-chip{background:rgba(236,111,160,0.12); color:var(--teal-dark); font-size:12px; font-weight:700; padding:5px 12px; border-radius:100px;}

  /* report preview modal */
  .report-modal-backdrop{position:fixed; inset:0; background:rgba(30,20,40,0.6); z-index:110; display:none; align-items:center; justify-content:center; padding:24px;}
  .report-modal-backdrop.open{display:flex;}
  .report-modal{background:#fff; border-radius:20px; width:100%; max-width:900px; height:88vh; position:relative; box-shadow:0 24px 60px rgba(20,10,20,0.35); overflow:hidden;}
  .report-modal-frame{width:100%; height:100%; border:none;}
  .report-modal-close{position:absolute; top:12px; right:14px; z-index:2; background:rgba(0,0,0,0.55); color:#fff; border:none; width:34px; height:34px; border-radius:50%; font-size:20px; cursor:pointer; line-height:1;}
  @media (max-width:640px){ .report-modal{height:92vh; border-radius:14px;} }
  .lr-preview-note{font-size:11px; color:var(--text-dim);}

  /* signup form modal */
  .signup-modal-backdrop{position:fixed; inset:0; background:rgba(30,20,40,0.6); z-index:110; display:none; align-items:center; justify-content:center; padding:20px;}
  .signup-modal-backdrop.open{display:flex;}
  .signup-modal{background:var(--bg-alt2); border-radius:20px; width:100%; max-width:520px; max-height:90vh; position:relative; box-shadow:0 24px 60px rgba(20,10,20,0.35);}
  .signup-modal-scroll{max-height:90vh; overflow-y:auto; padding:32px 28px;}
  .signup-modal-close{position:absolute; top:14px; right:16px; z-index:2; background:rgba(58,36,50,0.08); color:var(--text); border:none; width:32px; height:32px; border-radius:50%; font-size:18px; cursor:pointer; line-height:1;}
  .signup-modal-title{font-size:21px; font-weight:800; letter-spacing:-0.01em; line-height:1.4; margin-bottom:14px; padding-right:26px; color:var(--teal-dark);}
  .signup-modal-sub{font-size:13.5px; color:var(--text-dim); line-height:1.85; letter-spacing:-0.003em; margin-bottom:26px; background:var(--bg-alt); border-radius:12px; padding:14px 16px;}
  .field-help{display:block; font-size:12px; color:var(--text-dim); margin:-2px 0 8px; line-height:1.5;}
  .radio-row{display:flex; gap:10px;}
  .radio-opt{flex:1; display:flex; align-items:center; gap:10px; background:var(--bg); border:1.5px solid var(--line); border-radius:10px; padding:12px 16px; font-size:14px; font-weight:600; cursor:pointer; transition:border-color .15s ease, background .15s ease;}
  .radio-opt input[type="radio"]{width:18px; height:18px; margin:0; accent-color:var(--teal); flex-shrink:0;}
  .radio-opt:has(input:checked){border-color:var(--teal); background:rgba(236,111,160,0.08);}
  .datetime-row{display:flex; gap:8px;}
  .datetime-row input{flex:1;}
  @media (max-width:480px){ .signup-modal-scroll{padding:26px 18px;} }

  /* testimonials */
  .rev-marquee{overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);}
  .rev-track{display:flex; gap:18px; width:max-content; animation:marquee 42s linear infinite;}
  .rev-marquee:hover .rev-track{animation-play-state:paused;}
  @keyframes marquee{from{transform:translateX(0);} to{transform:translateX(-50%);}}
  @media (prefers-reduced-motion: reduce){ .rev-track{animation:none;} }
  .rev-card{background:var(--bg-alt); border-top:4px solid var(--teal); border-radius:14px; padding:26px 22px; flex:0 0 280px;}
  .rev-card:nth-child(3n+2){border-top-color:var(--gold);}
  .rev-card:nth-child(3n){border-top-color:#8C7CF0;}
  .stars{color:var(--gold); font-size:14px; margin-bottom:12px; letter-spacing:2px;}
  .rev-card p.quote{font-size:15px; margin-bottom:18px; line-height:1.6;}
  .rev-meta{display:flex; justify-content:space-between; align-items:center; font-size:13px; color:var(--text-dim);}
  .rev-tag{background:rgba(236,111,160,0.14); color:var(--teal-dark); padding:3px 10px; border-radius:100px; font-weight:700; font-size:12px;}

  /* cta */
  .cta{background:linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top:1px solid var(--line);}
  .cta-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;}
  @media (max-width:900px){ .cta-grid{grid-template-columns:1fr;} }
  .cta-info h2{font-size:30px; margin-bottom:16px;}
  .cta-info p{color:var(--text-dim); margin-bottom:28px;}
  .info-row{display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; font-size:15px;}
  .info-row .ico{color:var(--teal); font-size:18px; width:22px;}
  .form-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:var(--radius); padding:32px;}
  .form-card h3{font-size:19px; margin-bottom:20px;}
  .field{margin-bottom:16px;}
  .field label{display:block; font-size:13px; color:var(--text-dim); margin-bottom:6px; font-weight:600;}
  .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea{width:100%; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:12px 14px; color:var(--text); font-size:14px; font-family:inherit;}
  .field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--teal);}
  .form-card .btn-primary{width:100%; margin-top:8px;}
  .form-note{font-size:12px; color:var(--text-dim); margin-top:12px; text-align:center;}

  footer{border-top:1px solid var(--line); padding:48px 0 96px; font-size:13px; color:var(--text-dim);}
  .foot-top{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:24px;}
  .foot-links{display:flex; gap:18px;}
  @media (max-width:720px){ footer{padding-bottom:0;} }

  /* sticky follow banner */
  .sticky-banner{position:fixed; left:0; right:0; bottom:0; z-index:70; background:linear-gradient(90deg,#3A2432,#5C2E48 55%,#7A3457); box-shadow:0 -8px 24px rgba(58,36,50,0.25); transform:translateY(110%); transition:transform .35s ease; display:flex; align-items:center; justify-content:space-between; padding:14px 24px;}
  .sticky-banner.show{transform:translateY(0);}
  .sticky-banner-inner{display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin:0 auto; max-width:var(--maxw); width:100%; justify-content:center;}
  .sticky-banner-text{color:#F1EEFB; font-size:19px; font-weight:700;}
  .sticky-highlight{background:linear-gradient(90deg,var(--gold),var(--teal)); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:800; font-size:1.08em;}
  .sticky-banner-btn{display:inline-flex; align-items:center; gap:6px; background:linear-gradient(90deg,var(--teal),var(--teal-dark)); color:#fff; font-weight:800; font-size:14px; padding:11px 22px; border-radius:100px; white-space:nowrap; animation:stickyPulse 2.2s ease-in-out infinite; border:none; cursor:pointer; font-family:inherit;}
  @keyframes stickyPulse{
    0%,100%{box-shadow:0 0 0 0 rgba(236,111,160,0.45);}
    50%{box-shadow:0 0 0 10px rgba(236,111,160,0);}
  }
  .sb-mobile{display:none;}
  @media (max-width:640px){
    .sticky-banner{padding:10px 14px;}
    .sticky-banner-inner{gap:10px; flex-wrap:nowrap; justify-content:space-between;}
    .sticky-banner-text{font-size:12px; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; min-width:0;}
    .sb-full{display:none;}
    .sb-mobile{display:inline;}
    .sticky-banner-btn{padding:8px 12px; font-size:11.5px; flex-shrink:0;}
  }
  @media (prefers-reduced-motion: reduce){ .sticky-banner-btn{animation:none;} }

  .reveal-ready [data-reveal]{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
  [data-reveal].in{opacity:1; transform:none;}

/* blog */
.post-content h2{font-size:24px; margin:32px 0 14px; font-weight:800; color:var(--text);}
.post-content h3{font-size:19px; margin:26px 0 10px; font-weight:800; color:var(--text);}
.post-content p{margin-bottom:18px;}
.post-content ul, .post-content ol{margin:0 0 18px 22px;}
.post-content li{margin-bottom:8px;}
.post-content img{border-radius:14px; margin:20px 0;}
.post-content a{color:var(--teal-dark); text-decoration:underline !important;}
.post-content blockquote{border-left:3px solid var(--teal); padding:6px 20px; color:var(--text-dim); font-style:italic; margin:20px 0;}
@media (max-width:900px){ #blog-list .about-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ #blog-list .about-grid{grid-template-columns:1fr;} }

/* report modal (결과표 미리보기) */
.report-modal-body{padding:36px 32px; overflow-y:auto; max-height:88vh;}
@media (max-width:640px){ .report-modal-body{padding:26px 20px;} }

/* 신청 완료 안내 팝업 */
.signup-success-backdrop{position:fixed; inset:0; background:rgba(30,20,40,0.6); z-index:120; display:none; align-items:center; justify-content:center; padding:20px;}
.signup-success-backdrop.open{display:flex;}
.signup-success-modal{background:var(--bg-alt2); border-radius:20px; width:100%; max-width:420px; padding:36px 30px; text-align:center; box-shadow:0 24px 60px rgba(20,10,20,0.35);}
.signup-success-icon{width:52px; height:52px; border-radius:50%; background:var(--teal); color:#fff; font-size:24px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 18px;}
.signup-success-title{font-size:19px; margin-bottom:14px; color:var(--teal-dark);}
.signup-success-desc{font-size:14px; color:var(--text-dim); line-height:1.75; margin-bottom:26px;}
@media (max-width:480px){
  .signup-success-modal{padding:30px 22px;}
  .signup-success-title{font-size:17px;}
  .signup-success-desc{font-size:13.5px;}
}

/* 전체 과정맵 (커리큘럼 카테고리 카드) */
.curr-cat-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-top:40px;}
@media (max-width:1000px){ .curr-cat-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:720px){ .curr-cat-grid{grid-template-columns:repeat(2,1fr); gap:12px;} }
.curr-cat-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:18px; padding:22px 18px; box-shadow:0 8px 20px rgba(58,36,50,0.06); transition:transform .2s ease, box-shadow .2s ease;}
.curr-cat-card:hover{transform:translateY(-3px); box-shadow:0 14px 28px rgba(58,36,50,0.10);}
.curr-cat-ico{font-size:26px; margin-bottom:10px;}
.curr-cat-en{display:block; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--teal);}
.curr-cat-kr{font-size:17px; margin:4px 0 14px; font-family:var(--serif, inherit);}
.curr-cat-pills{display:flex; flex-wrap:wrap; gap:8px;}
.curr-pill{position:relative; display:inline-flex; align-items:center; font-size:12.5px; font-weight:700; color:var(--teal-dark); background:var(--bg); border:1.5px solid var(--line); border-radius:100px; padding:7px 12px; transition:border-color .15s ease, transform .15s ease; cursor:pointer;}
.curr-pill:hover, .curr-pill:focus-visible{border-color:var(--teal); transform:translateY(-2px);}
.curr-pill::after{content:"자세히 보기 →"; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(4px); background:#2A2130; color:#fff; font-size:11px; font-weight:600; padding:6px 10px; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .15s ease, transform .15s ease; z-index:5;}
.curr-pill:hover::after, .curr-pill:focus-visible::after{opacity:1; transform:translateX(-50%) translateY(0);}
@media (max-width:520px){
  .curr-cat-card{padding:16px 14px;}
  .curr-cat-ico{font-size:20px; margin-bottom:6px;}
  .curr-cat-en{font-size:9.5px;}
  .curr-cat-kr{font-size:15px; margin-bottom:10px;}
  .curr-pill{font-size:11.5px; padding:6px 10px;}
  .curr-pill::after{display:none;}
}

/* 커리큘럼 상세 자료 팝업 (iframe) */
.curr-modal-backdrop{position:fixed; inset:0; background:rgba(30,20,40,0.6); z-index:130; display:none; align-items:center; justify-content:center; padding:20px;}
.curr-modal-backdrop.open{display:flex;}
.curr-modal{background:#fff; border-radius:18px; width:100%; max-width:1000px; height:88vh; box-shadow:0 24px 60px rgba(20,10,20,0.35); overflow:hidden; display:flex; flex-direction:column;}
.curr-modal-bar{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); flex-shrink:0;}
.curr-modal-title{font-weight:800; font-size:15px; color:var(--text);}
.curr-modal-bar-actions{display:flex; align-items:center; gap:14px; flex-shrink:0;}
.curr-modal-open{font-size:12.5px; font-weight:700; color:var(--teal-dark);}
.curr-modal-close{background:rgba(58,36,50,0.08); color:var(--text); border:none; width:30px; height:30px; border-radius:50%; font-size:17px; cursor:pointer; line-height:1;}
.curr-modal-body{position:relative; flex:1; min-height:0;}
.curr-modal-iframe{width:100%; height:100%; border:none; display:block;}
.curr-modal-fallback{position:absolute; left:0; right:0; bottom:12px; text-align:center; font-size:12px; color:var(--text-dim); pointer-events:none;}
.curr-modal-fallback a{color:var(--teal-dark); font-weight:700; pointer-events:auto;}
@media (max-width:640px){
  .curr-modal{height:92vh; border-radius:12px;}
  .curr-modal-title{font-size:13px;}
  .curr-modal-open{font-size:11.5px;}
}

/* 수강 금액 안내 페이지 */
.tuition-hero{padding:64px 0 100px;}
.tuition-hero h1{font-size:clamp(30px,4vw,42px); margin:14px 0 16px;}
.tuition-lead{font-size:15.5px; color:var(--text-dim); line-height:1.7; margin-bottom:36px;}
.tuition-callout{display:flex; gap:16px; align-items:flex-start; background:var(--bg-alt); border:1px solid var(--line); border-radius:18px; padding:22px 26px; margin-bottom:44px;}
.tuition-callout-ico{font-size:22px; flex-shrink:0;}
.tuition-callout p{font-size:14.5px; line-height:1.8; color:var(--text);}
.tuition-callout b{color:var(--teal-dark);}

.tuition-tiers{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:24px;}
.tier-card{background:var(--bg-alt2); border:1.5px solid var(--line); border-radius:20px; padding:28px 22px; text-align:center; box-shadow:0 8px 20px rgba(58,36,50,0.06); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;}
.tier-card:hover{transform:translateY(-5px); box-shadow:0 18px 32px rgba(58,36,50,0.12); border-color:var(--teal);}
.tier-name{display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.06em; padding:5px 12px; border-radius:100px; margin-bottom:14px;}
.tier-basic .tier-name{background:rgba(47,111,99,0.12); color:var(--teal-dark, #2F6F63);}
.tier-standard .tier-name{background:rgba(236,111,160,0.14); color:var(--teal-dark);}
.tier-intensive .tier-name{background:rgba(246,185,78,0.18); color:#B8801E;}
.tier-premium .tier-name{background:rgba(58,36,50,0.10); color:var(--text);}
.tier-price{font-family:var(--serif, inherit); font-size:34px; font-weight:800; color:var(--text); margin-bottom:6px;}
.tier-price span{font-size:14px; font-weight:700; color:var(--text-dim); margin-left:2px;}
.tier-sub{font-size:12.5px; color:var(--text-dim); margin-bottom:16px;}
.tier-card p{font-size:13px; color:var(--text-dim); line-height:1.7; text-align:left;}
.tier-card p b{color:var(--text);}

.tuition-info-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:44px 0 56px;}
.info-card{background:var(--bg-alt2); border:1px solid var(--line); border-radius:18px; padding:26px 24px;}
.info-ico{font-size:22px; margin-bottom:10px;}
.info-card h4{font-size:14.5px; margin-bottom:14px;}
.info-pills{display:flex; gap:8px; flex-wrap:wrap;}
.info-pills span{font-size:12.5px; font-weight:700; color:var(--teal-dark); background:var(--bg-alt); border:1px solid var(--line); border-radius:100px; padding:6px 12px;}

.tuition-process{background:#231A28; color:#fff; border-radius:24px; padding:52px 40px; text-align:center;}
.tuition-process h3{font-size:20px; margin-bottom:10px;}
.process-sub{font-size:13.5px; color:rgba(255,255,255,0.6); margin-bottom:36px;}
.process-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:36px;}
.process-num{width:38px; height:38px; border-radius:50%; background:var(--teal); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 14px;}
.process-step h5{font-size:14.5px; margin-bottom:8px;}
.process-step p{font-size:12.5px; color:rgba(255,255,255,0.6); line-height:1.6;}
.tuition-cta-btn{display:inline-flex; padding:15px 28px; font-size:14.5px;}

@media (max-width:900px){
  .tuition-tiers{grid-template-columns:repeat(2,1fr);}
  .tuition-info-grid{grid-template-columns:1fr 1fr;}
  .process-steps{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .tuition-hero{padding:44px 0 64px;}
  .tuition-tiers{grid-template-columns:1fr 1fr; gap:12px;}
  .tier-card{padding:20px 14px;}
  .tier-price{font-size:26px;}
  .tuition-info-grid{grid-template-columns:1fr; gap:12px;}
  .tuition-process{padding:36px 22px;}
  .tuition-callout{flex-direction:column; padding:18px 18px;}
}
