/* =============================
   CSS RESET & NORMALIZATION
============================= */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  vertical-align:baseline;
  box-sizing:border-box;
}
html {
  line-height:1.15;
  -webkit-text-size-adjust:100%;
}
body {
  background: #FAF9F6;
  color:#2B2B2B;
  font-family:'Spoqa Han Sans Neo', 'Noto Sans KR', Arial, sans-serif;
  font-weight:400;
  font-size:16px;
  min-height:100vh;
  letter-spacing: 0.01em;
}
a {
  text-decoration: none;
  color:inherit;
  cursor:pointer;
  transition:color 0.2s;
}
ul,ol {
  list-style: none;
}
h1,h2,h3,h4,h5,h6 {
  font-family:'Noto Sans KR', 'Spoqa Han Sans Neo', Arial, sans-serif;
  font-weight:700;
  margin-bottom: 0.65em;
  color: #003366;
  letter-spacing: -0.01em;
}
h1 {font-size: 2.5rem; line-height:1.18;}
h2 {font-size: 2rem;   line-height:1.22;}
h3 {font-size: 1.3rem;  line-height:1.28;}
p,li,dd,dt,span {
  font-family:'Spoqa Han Sans Neo','Noto Sans KR', Arial, sans-serif;
  line-height: 1.7;
}
p {margin-bottom: 1.1em; font-size: 1em;}
img {
  max-width: 100%;
  height: auto;
  vertical-align:middle;
  border:0;
}
small {
  font-size:0.9em; color:#444;}
button, input, select, textarea {
  font-family:inherit; font-size:inherit; color:inherit; background:none; border:none; outline:none;
  transition:all .15s;
}
button {cursor:pointer;}
hr {margin: 30px 0; border:0; border-top:1.5px dashed #C1D3DF;}

/* ========== VINTAGE RETRO STYLE VARS ========== */
:root {
  --primary: #003366;
  --secondary: #C1D3DF;
  --accent: #FFD700;
  --neutral-bg: #FAF9F6;
  --cream: #F5E7C4;
  --deep-orange: #E8883E;
  --retro-blue: #577590;
  --retro-red: #C04A3B;
  --retro-teal: #44827D;
  --shadow-small: 0 2px 8px rgba(40,42,43,.07);
  --shadow-card: 0 6px 32px rgba(30,36,58,0.13);
  --retro-pattern: repeating-linear-gradient(135deg, #F5E7C4, #F5E7C4 10px, #FFF8E1 14px, #F5E7C4 18px);
  --card-radius: 14px;
  --retro-font-display: 'Noto Sans KR','Spoqa Han Sans Neo',Arial,sans-serif;
  --retro-font-body: 'Spoqa Han Sans Neo','Noto Sans KR',Arial,sans-serif;
  --footer-bg: #FFF8E1;
}

/* ========== GLOBAL CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 1200px) {
  .container { max-width: 100%; }
}

/* =========== HEADER & NAV =========== */
header {
  width: 100%; background: var(--cream);
  box-shadow:var(--shadow-small);
  position: sticky; top:0; z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 36px;
}
header img {height:43px;}
.desktop-nav {display:flex; gap:38px;}
.desktop-nav a {
  font-family: var(--retro-font-display);
  font-size:1.07rem;
  font-weight:700;
  letter-spacing: 0.02em;
  color:var(--primary);
  position: relative;
}
.desktop-nav a:after {
  content:"";
  display:block; position:absolute; left:0; bottom:-6px;
  width:0; height:2px;
  background:var(--accent);
  transition:width 0.18s cubic-bezier(.7,.14,.3,1);
}
.desktop-nav a:hover:after {width:100%;}
.cta-button {
  padding: 12px 32px;
  border-radius: 8px;
  background: linear-gradient(92deg, var(--accent) 90%, #FFB700 100%);
  color: #223344;
  font-family: var(--retro-font-display);
  font-size:1.07rem;
  font-weight: 700;
  letter-spacing:0.02em;
  box-shadow: 0 3px 15px rgba(200,150,44,0.14);
  border:2px solid var(--accent);
  outline: none;
  position: relative;
  transition: all .17s cubic-bezier(.87,.1,.2,1);
}
.cta-button:hover, .cta-button:focus {
  background: #FFE082;
  border-color: #FFC500;
  color: #003366 !important;
  box-shadow: 0 1px 10px rgba(205,186,95,0.24);
  top: -2.5px;
}

/* === MOBILE MENU BUTTON === */
.mobile-menu-toggle {
  display:none;
  background:var(--primary);
  color: var(--accent);
  border-radius:7px; font-size:2.1rem;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  z-index:60;
  border:none;
  box-shadow:0 1px 8px rgba(25,30,40,0.13);
  transition: background .18s,color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: var(--accent); color: var(--primary); outline:2px solid var(--retro-blue); }

/* === MOBILE MENU POPUP === */
.mobile-menu {
  position:fixed; top:0; left:0; width:100vw; height:100vh;
  background: rgba(255,250,224,0.96);
  backdrop-filter: blur(1.5px);
  z-index:120;
  display:flex; flex-direction:column; align-items:flex-start;
  transform: translateX(-100vw);
  transition:transform .38s cubic-bezier(.77,.03,.21,.97);
  box-shadow: 0 2px 40px 0 rgba(35,30,0,0.13);
  padding:0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background:transparent;
  color:var(--primary);
  font-size:2.2rem;
  position:absolute; right:24px; top:20px;
  border:none;
  z-index:122;
  cursor:pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover {color:var(--retro-red);}
.mobile-nav {
  display:flex;
  flex-direction:column;
  gap:22px; margin:auto 0; width:100%; align-items:center; margin-top:80px;
}
.mobile-nav a {
  font-size:1.18rem;
  color:var(--primary);
  font-weight:600;
  padding:18px 0;
  width:90vw;
  border-radius:8px;
  background:transparent;
  text-align:center;
  transition:background 0.13s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background:var(--accent); color:var(--primary); }

@media (max-width: 1060px) {
  .desktop-nav {display:none;}
  .mobile-menu-toggle {display:flex;}
}
@media (min-width: 1061px) {
  .mobile-menu {display:none !important;}
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--retro-pattern);
  padding-top:38px; padding-bottom:38px;
  border-bottom:3.5px double var(--retro-blue);
}
.hero .container {
  justify-content:center; align-items:center; min-height: 270px;
}
.hero .content-wrapper {
  display:flex; flex-direction:column; align-items: center; gap:18px; max-width: 670px;
}
.hero h1 {
  font-size:2.3rem;
  font-family:var(--retro-font-display);
  text-shadow:1.5px 2px 0px #E7DBB8, 0 6px 32px rgba(100,85,0,0.04);
  color: var(--primary);
  margin-bottom:10px;
}
.hero .subheadline {
  color: #784501;
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.65;
}

/* ========== SECTION LAYOUT/SPACE ========== */
main section {
  margin-bottom:60px;
  padding:40px 20px;
  border-radius: 19px;
  background: var(--neutral-bg);
  box-shadow: var(--shadow-small);
}

@media (max-width: 768px) {
  main section {padding:28px 10px;}
}

/* CARDS & FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--card-radius);
  background: #FFF8E1;
  box-shadow: var(--shadow-card);
  padding:26px 22px;
  display:flex;
  flex-direction: column;
  gap: 17px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }
}

/* FEATURES MODULE */
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.contact .content-wrapper,
.faq .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top:28px;
  align-items: flex-start;
}
.features ul,
.services ul,
.about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul li,
.services ul li,
.about ul li {
  background: #FFF8E1;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  min-width: 210px;
  flex:1 1 210px;
  padding:20px 18px 18px 18px;
  font-size:1.05rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction:column;
  align-items: flex-start;
  gap:15px;
  border:2px solid #E1CDAA;
}
.features ul li img {
  width: 39px; height:39px;
  margin-bottom:9px;
  border-radius:7px;
  box-shadow:0 2px 7px rgba(30,36,58,0.14);
  background: #fff4c1;
}
.features ul li strong {
  color:var(--deep-orange); font-size:1.16em;
}
@media (max-width: 768px) {
  .features ul,
  .services ul,
  .about ul {
    flex-direction:column;
    gap:18px;
  }
}
/* Feature Container for Pattern Overlay */
.features {
  background: repeating-linear-gradient(135deg, #FFF8E1, #FFF8E1 21px, #F5E7C4 28px, #FFF8E1 35px);
}

/* TRUST SIGNALS, AWARDS, NEWS/UPDATES BLOCKS */
.trust-signals,
.news-updates,
.core-experts,
.success-stories {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
  font-size:1.02em;
}
.trust-signals img,
.core-experts img {
  width:32px; height:32px; vertical-align: middle; margin-right:7px;
}
.news-updates ul {
  display:flex;
  flex-direction:column;
  gap:7px;
}

/* CTA SECTION */
.cta {
  background: var(--accent);
  border-radius: 18px;
  box-shadow:0 1px 18px rgba(210,156,36,0.23);
  text-align:center;
}
.cta .content-wrapper { align-items: center; display:flex; flex-direction:column; gap: 19px; }
.cta h2 { color: var(--primary); }
.cta-button {
  margin-top:15px;
}

/* ============================= */
/* ======= TESTIMONIALS ======= */
.testimonials .content-wrapper {
  display:flex; flex-wrap:wrap; gap:24px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 20px;
  gap: 20px !important;
  background: #FFF8E1;
  border-radius: 13px;
  box-shadow: var(--shadow-small);
  margin-bottom: 20px;
  border: 2.5px solid var(--accent);
  min-width:220px;
  flex:1 1 250px;
  color: #2B2635;
  font-size: 1.04rem;
  position:relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: var(--retro-font-body);
  color: #3d2b11;
  margin-bottom: 0.4em;
  text-shadow: 0 .5px 0 #F5E7C4;
}
.testimonial-card span {
  display:block;
  color: #185B84;
  font-size:0.99em;
  margin-top: -7px;
}  
.star-rating-summary,
.user-ratings {
  display:flex; align-items:center;gap: 9px; margin-top:14px; font-size:0.93em; color: #313333;
}
.star-rating-summary img,
.user-ratings img {
  height: 20px;
  filter: drop-shadow(0 2px 2px #eee3cc90);
}
.star-rating-summary span,
.user-ratings span {
  font-weight:600;
  color:#584617;
  margin-left: 6px;
}

@media (max-width: 900px) {
  .testimonials .content-wrapper {flex-direction:column;gap:16px;}
}

/* ============================= */
/* == DOWNLOADABLE RESOURCES == */
.downloadable-resources {
  display: flex; flex-direction: column; gap:16px;
  margin-top:13px;
}
.downloadable-resources a {
  display: flex; align-items:center; gap:10px;
  color: var(--primary); font-weight:500; font-size:1.06em;
  background: #FFF5C2;
  border-radius:8px;
  padding:11px 14px;
  border:1.5px solid #e7c148;
  transition: background .13s, box-shadow .13s;
}
.downloadable-resources a:hover {
  background: #FFD700; box-shadow:0 1px 8px rgba(230,202,0,0.11);
  color: #884a01;
}

/* =============== FAQ Section =============== */
.faq dl {width:100%; max-width:790px; margin:0 auto;}
.faq dt {
  font-weight:700; color:var(--primary); margin-top:16px;
  background:var(--secondary);
  padding:13px 20px; border-radius:7px;
  font-size: 1.08em;
  box-shadow:0 1px 6px rgba(60,96,160,0.07);
}
.faq dd {
  margin-left:0; margin-bottom:14px; font-size:1.06em;
  padding:10px 24px 10px 18px; line-height:1.77;
  color:#24507A;
  background:#FBF8E0;
  border-radius:7px;
}


/* =========== FOOTER =========== */
footer {
  background: var(--footer-bg);
  border-top:3.5px double var(--retro-blue);
  padding:36px 0 12px 0;
  box-shadow:0 -2px 17px rgba(40,31,2,0.06);
}
.footer-nav {
  display: flex;
  gap: 32px;
  margin: 19px 0 14px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #54491c;
  font-weight:600; font-size: 1.01rem;
  letter-spacing:0.015em;
  transition:color 0.14s;
}
.footer-nav a:hover {color: var(--retro-red);}
.footer-contact {
  display:flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  justify-content: center;
  font-size: 0.97rem;
  color: #362E07;
}
.footer-contact p img {
  vertical-align: middle; width:20px; height:20px; margin-right: 6px;
}
footer small {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #877123;
}
/* ============================= */

/* ========== POLICY PAGE STYLES ======== */
.footer-policy {
  background:#FFF8E1 !important;
  border-radius: 18px;
  box-shadow: 0 1px 18px rgba(210,156,36,0.14);
}
.footer-policy .container {
  gap: 32px;
}
.footer-policy h1 {font-size:2.2rem;color:var(--primary);margin-bottom:22px;}
.footer-policy .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 30px;
}
.footer-policy ul {
  margin:0 0 4px 18px;
  list-style: disc inside;
  color: #554161;
}
.footer-policy ul li {
  font-size: 1.02em;
  margin-bottom: 6px;
}
@media (max-width: 700px) {
  .footer-policy {padding:16px 4px;}
  .footer-policy h1 {font-size: 1.2rem;}
  .footer-policy h2 {font-size:1.07rem;}
  .footer-policy ul li {font-size:0.97em;}
}

/* ================= COOKIE BANNER ================ */
.cookie-banner {
  position:fixed; left:0; right:0; bottom:0;
  background: #FFF8E1;
  border-top: 3.5px double #E1CDAA;
  box-shadow: 0 -3px 19px rgba(140,125,70,0.11);
  z-index: 2000;
  padding: 23px 24px 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content:space-between;
  gap:20px;
  font-size:1rem;
  animation: cookie-banner-slide-in 0.6s cubic-bezier(.7,.08,.1,1);
  will-change: transform, opacity;
}
@keyframes cookie-banner-slide-in {
  from {transform: translateY(110%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner__text {
  color: #2B2B2B; flex:2 1 300px; font-size:1.05em;
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap:wrap;
  gap: 11px;
  align-items:center;
}
.cookie-banner button {
  font-family:var(--retro-font-display);
  font-size:0.99em;
  padding:7px 18px;
  border-radius:8px;
  font-weight:600;
  background:var(--accent);
  border: 2px solid var(--accent);
  color: #2d3200;
  margin-left:0;
  box-shadow:0 1px 7px rgba(200,170,44,.08);
  transition:background .13s, color .14s, border .14s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #FFFAD1;
  color:#B07A07;
  border:2px solid #DFB700;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: var(--primary);
  border: 2px dashed var(--accent);
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--secondary); color: #1A3558;
}
@media (max-width:650px) {
  .cookie-banner {
    flex-direction:column;
    gap:9px;
    font-size: 0.96rem;
    padding:11px 8px 14px 8px;
  }
  .cookie-banner__buttons {gap:9px;}
}

/* =========== COOKIE PREFERENCES MODAL ============= */
.cookie-modal {
  position:fixed; top:0; left:0; width:100vw; height:100vh;
  background:rgba(28,28,18,0.25);
  backdrop-filter: blur(2px);
  display:flex; justify-content:center; align-items:center;
  z-index:2550;
  opacity:0; pointer-events:none;
  transition:opacity 0.28s cubic-bezier(.7,.08,.1,1);
}
.cookie-modal.open { opacity:1; pointer-events:auto; }
.cookie-modal__dialog {
  background:#FFF8E1;
  padding:36px 26px 25px 26px;
  border-radius:18px;
  box-shadow:0 9px 41px rgba(50,32,0,0.14);
  min-width:320px; max-width: 96vw;
  display:flex; flex-direction:column; gap:20px;
  animation: cookie-modal-in .44s cubic-bezier(.6,.3,.2,1);
}
@keyframes cookie-modal-in {
  from {transform:scale(.86) translateY(40px); opacity:.03;}
  to   {transform:none; opacity:1;}
}
.cookie-modal__header {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.cookie-modal__header h3 {font-size:1.23rem; font-weight:700; color:var(--primary);}
.cookie-modal__close {
  font-size:1.9rem; color: #B7850B;
  background:none; border:none; cursor:pointer;
  transition:color .14s;
}
.cookie-modal__close:hover {color:#D74223;}
.cookie-modal__body {display: flex; flex-direction: column; gap:16px;}
.cookie-modal__category {
  display:flex; align-items:center; gap:12px;
  margin-top:9px; font-size:1.07em;
}
.cookie-modal__category label {font-weight:600; color:#185B84;}
.cookie-modal__category input[type=checkbox] {
  accent-color: var(--accent);
  width:19px; height:19px;
}
.cookie-modal__category.disabled label {color:#aaa; opacity:0.7;}
.cookie-modal__footer {
  display:flex; gap:17px; justify-content:flex-end;
}
.cookie-modal__footer button {
  font-family: var(--retro-font-display);
  font-size:1em;
  padding:7px 17px;
  border-radius:8px;
  font-weight:600;
  background: var(--accent);
  color:#262112;
  border:2px solid var(--accent);
  margin-left:0;
  transition:background .12s, color .13s;
}
.cookie-modal__footer button:hover {
  background: #FAEFB3;
  color: #825120;
}
@media (max-width:520px) {
  .cookie-modal__dialog {padding:17px 7px 13px 13px;}
  .cookie-modal__footer {gap:9px;}
}

/* =================== RESPONSIVE ================== */
@media (max-width: 1060px) {
  header .container {gap:18px;}
  .cta-button {padding:9px 16px; font-size:0.99rem;}
}
@media (max-width: 900px) {
  main section {margin-bottom:40px;}
  .card,.testimonial-card {min-width: 62vw;}
}
@media (max-width: 768px) {
  body {font-size:15px;}
  h1 {font-size:1.35rem;}
  h2 {font-size:1.13rem;}
  main section {margin-bottom:26px;}
  .features ul li, .services ul li, .about ul li {min-width:140px;padding:11px 9px;}
  .testimonial-card, .card {padding:13px 8px; border-radius:8px;}
  .star-rating-summary, .user-ratings {font-size:0.95em;}
}
@media (max-width:530px) {
  header .container {gap:5px;height:58px;}
  .cta-button {padding:7px 11px;font-size:0.92rem;}
  .footer-nav {gap: 16px;font-size:0.9rem;}
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .testimonial-card, .features ul li {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .testimonial-card:hover, .features ul li:hover {
  box-shadow: 0 8px 28px rgba(110,90,40,0.19);
  transform:translateY(-3px) scale(1.012);
  z-index:5;
}
.features ul li:hover strong {
  color: var(--retro-red);
  text-decoration:underline wavy var(--retro-red) 1.5px;
}


/* ========== UTILITY CLASSES =========== */
.flex-center {display:flex;align-items:center;justify-content:center;}
.flex-column {display:flex;flex-direction:column;}
.hidden {display:none !important;}
.gap-20 {gap:20px;}
.gap-24 {gap:24px;}
.mb-20 {margin-bottom:20px;}
.mt-22 {margin-top:22px;}

/* ========== SCROLLBAR STYLES (RETRO) ========= */
::-webkit-scrollbar {width:8px; background:var(--secondary);}
::-webkit-scrollbar-thumb {background:var(--primary); border-radius: 7px;}

/* == END OF CSS == */
