/* Glucosol IT site-1 | prefix: glc | font: Inter | layout: rounded-cards */

:root {
  --glc-primary: #D02030;
  --glc-primary-light: #E04050;
  --glc-primary-dark: #B01828;
  --glc-accent: #E8A830;
  --glc-accent-dark: #C48A20;
  --glc-bg: #FFFFFF;
  --glc-bg-alt: #FFF8F8;
  --glc-surface: #FFFFFF;
  --glc-text: #1A1A2E;
  --glc-text-sec: #4A5568;
  --glc-text-on-primary: #FFFFFF;
  --glc-border: #E8D0D0;
  --glc-price-old: #999999;
  --glc-price-new: #E8A830;
  --glc-badge-discount: #E74C3C;
  --glc-hero-bg: #FFF5F5;
  --glc-footer-bg: #2A1A1E;
  --glc-footer-text: #C8B8BC;
  --glc-radius: 12px;
  --glc-radius-sm: 8px;
  --glc-shadow: 0 4px 16px rgba(208, 32, 48, 0.08);
  --glc-shadow-hover: 0 8px 24px rgba(208, 32, 48, 0.15);
  --glc-container: 1140px;
  --glc-gap: 24px;
  --glc-font: 'Inter', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--glc-font); color: var(--glc-text); background: var(--glc-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === CONTAINER === */
.glc-container {
  max-width: var(--glc-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.glc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glc-primary);
  border-bottom: 2px solid rgba(255, 255, 255, .12);
  transition: box-shadow .3s;
}
.glc-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.glc-header-inner {
  max-width: var(--glc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.glc-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--glc-text-on-primary);
  text-decoration: none;
  letter-spacing: -.3px;
}
.glc-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.glc-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.glc-nav a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}
.glc-nav a:hover {
  color: #fff;
}
.glc-nav-cta {
  background: var(--glc-accent);
  color: var(--glc-text) !important;
  padding: 8px 20px;
  border-radius: var(--glc-radius-sm);
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s, transform .2s;
}
.glc-nav-cta:hover {
  background: var(--glc-accent-dark);
  transform: translateY(-1px);
}
.glc-nav-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--glc-text);
  cursor: pointer;
}
.glc-nav-backdrop {
  display: none;
}

/* === HERO === */
.glc-hero {
  background: var(--glc-hero-bg);
  padding: 56px 0 48px;
}
.glc-hero-inner {
  max-width: var(--glc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: center;
}
.glc-hero-content h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.4px;
  color: var(--glc-text);
  margin-bottom: 20px;
}
.glc-hero-content p {
  color: var(--glc-text-sec);
  font-size: .97rem;
  margin-bottom: 14px;
  line-height: 1.7;
}
.glc-hero-content p strong {
  color: var(--glc-text);
}
.glc-hero-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.glc-hero-price-old {
  font-size: 1.1rem;
  color: var(--glc-price-old);
}
.glc-hero-price-old s {
  text-decoration: line-through;
}
.glc-hero-price-new {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--glc-primary);
}
.glc-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.glc-hero-img {
  width: 100%;
  max-width: min(480px, 100%);
  height: auto;
  border-radius: var(--glc-radius);
  box-shadow: var(--glc-shadow);
}

/* === BADGES === */
.glc-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}
.glc-badge-discount {
  background: var(--glc-badge-discount);
  color: #fff;
}

/* === BUTTONS === */
.glc-btn {
  display: inline-block;
  background: var(--glc-accent);
  color: var(--glc-text);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--glc-radius-sm);
  border: none;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .25s, transform .25s, box-shadow .25s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.glc-btn:hover {
  background: var(--glc-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 48, .35);
}
.glc-btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* === CTA WRAP === */
.glc-cta-wrap {
  text-align: center;
  margin-top: 28px;
}

/* === SUMMARY TABLE === */
.glc-summary-section {
  padding: 48px 0;
  background: var(--glc-bg);
}
.glc-summary {
  background: var(--glc-surface);
  border: 2px solid var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 32px;
  box-shadow: var(--glc-shadow);
}
.glc-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--glc-text);
}
.glc-table-scroll {
  overflow-x: auto;
}
.glc-summary-table {
  width: 100%;
  border-collapse: collapse;
}
.glc-summary-table th,
.glc-summary-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glc-border);
  font-size: .93rem;
}
.glc-summary-table th {
  font-weight: 600;
  color: var(--glc-text);
  width: 40%;
  background: var(--glc-bg-alt);
}
.glc-summary-table td {
  color: var(--glc-text-sec);
}
.glc-summary-table tr:last-child th,
.glc-summary-table tr:last-child td {
  border-bottom: none;
}

/* === RATING INLINE === */
.glc-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--glc-text);
}

/* === TOC === */
.glc-toc {
  padding: 32px 0;
  background: var(--glc-bg);
}
.glc-toc-inner {
  background: var(--glc-bg-alt);
  border: 1px solid var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 24px 28px;
}
.glc-toc-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--glc-text);
  margin-bottom: 14px;
}
.glc-toc-list {
  list-style: none;
  counter-reset: toc-counter;
  display: grid;
  gap: 8px;
}
.glc-toc-list li {
  counter-increment: toc-counter;
}
.glc-toc-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--glc-text-sec);
  font-size: .92rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.glc-toc-list li a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-size: .78rem;
  font-weight: 700;
  color: var(--glc-primary);
  min-width: 24px;
}
.glc-toc-list li a:hover {
  background: rgba(208, 32, 48, .06);
  color: var(--glc-primary);
}

/* === SECTIONS === */
.glc-section {
  padding: 64px 0;
  background: var(--glc-bg);
}
.glc-section-alt {
  background: var(--glc-bg-alt);
}
.glc-section h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--glc-text);
  margin-bottom: 24px;
  line-height: 1.3;
}
.glc-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--glc-text);
  margin-top: 28px;
  margin-bottom: 12px;
}
.glc-section p {
  color: var(--glc-text-sec);
  font-size: .95rem;
  margin-bottom: 14px;
  line-height: 1.75;
}
.glc-section p strong {
  color: var(--glc-text);
}
.glc-section p em {
  font-style: italic;
}
.glc-section ul,
.glc-section ol {
  margin: 12px 0 16px 20px;
}
.glc-section ul {
  list-style: disc;
}
.glc-section ul li,
.glc-section ol li {
  color: var(--glc-text-sec);
  font-size: .95rem;
  margin-bottom: 8px;
  line-height: 1.7;
}
.glc-section ul li strong,
.glc-section ol li strong {
  color: var(--glc-text);
}

/* === INGREDIENT GRID === */
.glc-ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--glc-gap);
  margin-top: 28px;
}
.glc-ingredient {
  background: var(--glc-bg-alt);
  border: 1px solid var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 24px;
  transition: box-shadow .3s, transform .3s;
}
.glc-ingredient:hover {
  box-shadow: var(--glc-shadow-hover);
  transform: translateY(-3px);
}
.glc-ingredient-icon {
  margin-bottom: 14px;
}
.glc-ingredient h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--glc-text);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.35;
}
.glc-ingredient p {
  color: var(--glc-text-sec);
  font-size: .9rem;
  margin-bottom: 8px;
  line-height: 1.65;
}

/* === STEPS (COD) === */
.glc-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 20px 0 24px;
}
.glc-steps li {
  counter-increment: step;
  background: var(--glc-bg-alt);
  padding: 14px 18px 14px 54px;
  border-radius: var(--glc-radius-sm);
  position: relative;
  border: 1px solid var(--glc-border);
  font-size: .93rem;
  color: var(--glc-text-sec);
  line-height: 1.6;
}
.glc-steps li strong {
  color: var(--glc-text);
}
.glc-steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glc-primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
}

/* === PRICE BOX === */
.glc-price-box {
  background: var(--glc-surface);
  border: 2px dashed var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 28px 32px;
  margin: 24px 0;
  text-align: center;
}
.glc-price-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--glc-text);
  margin-top: 0;
  margin-bottom: 20px;
}
.glc-price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.glc-price-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.glc-price-label {
  font-size: .82rem;
  color: var(--glc-text-sec);
  font-weight: 500;
}
.glc-price-old {
  font-size: 1.1rem;
  color: var(--glc-price-old);
}
.glc-price-old s {
  text-decoration: line-through;
}
.glc-price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--glc-primary);
}
.glc-price-detail-main {
  border-left: 2px solid var(--glc-border);
  border-right: 2px solid var(--glc-border);
  padding: 0 28px;
}
.glc-price-saving {
  font-size: .88rem;
  color: var(--glc-accent-dark);
  font-weight: 600;
}
.glc-price-note {
  font-size: .85rem;
  color: var(--glc-text-sec);
  margin-bottom: 16px;
}

/* === EXPERT SPLIT === */
.glc-expert-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 36px;
  align-items: start;
}
.glc-expert-content p {
  color: var(--glc-text-sec);
  font-size: .95rem;
  margin-bottom: 14px;
  line-height: 1.75;
}
.glc-expert-content p strong {
  color: var(--glc-text);
}

/* === EXPERT ASIDE === */
.glc-expert-aside {
  display: flex;
  align-items: flex-start;
}

/* === AUTHOR BOX === */
.glc-author-box {
  background: var(--glc-surface);
  border: 1px solid var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--glc-shadow);
}
.glc-author-avatar {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--glc-primary);
}
.glc-author-avatar-lg {
  width: 96px;
  height: 96px;
}
.glc-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.glc-author-info strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--glc-text);
}
.glc-author-title {
  font-size: .85rem;
  color: var(--glc-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.glc-author-exp {
  font-size: .82rem;
  color: var(--glc-text-sec);
  margin-top: 4px;
}

/* Author full block (before footer) */
.glc-author-full {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--glc-surface);
  border: 1px solid var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 28px;
  box-shadow: var(--glc-shadow);
}
.glc-author-bio {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.glc-author-bio strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--glc-text);
}
.glc-author-bio .glc-author-title {
  font-size: .85rem;
  color: var(--glc-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.glc-author-bio p {
  font-size: .9rem;
  color: var(--glc-text-sec);
  line-height: 1.65;
  margin-top: 8px;
}

/* === REVIEWS === */
.glc-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--glc-gap);
  margin: 24px 0;
}
.glc-review {
  background: var(--glc-surface);
  border: 1px solid var(--glc-border);
  border-radius: var(--glc-radius);
  padding: 24px;
  transition: box-shadow .3s, transform .3s;
}
.glc-review:hover {
  box-shadow: var(--glc-shadow-hover);
  transform: translateY(-2px);
}
.glc-review-head {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.glc-review-name {
  font-size: .98rem;
  font-weight: 700;
  color: var(--glc-text);
}
.glc-review-situation {
  font-size: .82rem;
  color: var(--glc-text-sec);
  font-style: italic;
}
.glc-review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.glc-review-period {
  font-size: .8rem;
  color: var(--glc-text-sec);
  background: var(--glc-bg-alt);
  padding: 2px 8px;
  border-radius: 4px;
}
.glc-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--glc-text);
}
.glc-review p {
  color: var(--glc-text-sec);
  font-size: .9rem;
  line-height: 1.65;
}

/* === FAQ === */
.glc-faq-list {
  display: grid;
  gap: 0;
}
.glc-faq-item {
  border-bottom: 1px solid var(--glc-border);
}
.glc-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.glc-faq-item summary::-webkit-details-marker {
  display: none;
}
.glc-faq-item summary::marker {
  display: none;
  content: '';
}
.glc-faq-item summary h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--glc-text);
  line-height: 1.4;
  flex: 1;
  padding-right: 12px;
}
.glc-faq-chevron {
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--glc-primary);
}
.glc-faq-item[open] .glc-faq-chevron {
  transform: rotate(180deg);
}
.glc-faq-answer {
  padding: 0 0 18px;
}
.glc-faq-answer p {
  color: var(--glc-text-sec);
  font-size: .93rem;
  line-height: 1.7;
}

/* === DISCLAIMER === */
.glc-disclaimer-section {
  padding: 48px 0;
  background: var(--glc-bg);
}
.glc-disclaimer {
  background: var(--glc-bg-alt);
  border-left: 4px solid var(--glc-primary);
  border-radius: 0 var(--glc-radius-sm) var(--glc-radius-sm) 0;
  padding: 24px 28px;
}
.glc-disclaimer h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--glc-text);
  margin-bottom: 12px;
}
.glc-disclaimer p {
  color: var(--glc-text-sec);
  font-size: .88rem;
  line-height: 1.7;
}

/* === FOOTER === */
.glc-footer {
  background: var(--glc-footer-bg);
  padding: 48px 0 24px;
  color: var(--glc-footer-text);
}
.glc-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.glc-footer-col strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  margin-bottom: 12px;
}
.glc-footer-brand {
  font-size: 1.15rem !important;
}
.glc-footer-col p {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--glc-footer-text);
}
.glc-footer-col ul {
  list-style: none;
}
.glc-footer-col ul li {
  margin-bottom: 8px;
}
.glc-footer-col ul li a {
  color: var(--glc-footer-text);
  font-size: .88rem;
  transition: color .2s;
  text-decoration: none;
}
.glc-footer-col ul li a:hover {
  color: #fff;
}
.glc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  text-align: center;
}
.glc-footer-bottom p {
  font-size: .8rem;
  color: var(--glc-footer-text);
}

/* =============================
   RESPONSIVE — MOBILE FIRST
   ============================= */

/* Mobile base (< 768px) */
@media (max-width: 767px) {
  .glc-burger {
    display: block;
  }
  .glc-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--glc-bg);
    flex-direction: column;
    padding: 72px 24px 24px;
    gap: 0;
    z-index: 200;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, .15);
  }
  .glc-nav.active {
    right: 0;
  }
  .glc-nav a {
    color: var(--glc-text);
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--glc-border);
    display: block;
    width: 100%;
  }
  .glc-nav-cta {
    margin-top: 16px;
    text-align: center;
    display: block;
    color: var(--glc-text) !important;
  }
  .glc-nav-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.8rem;
    color: var(--glc-text);
  }
  .glc-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 199;
  }
  .glc-nav-backdrop.active {
    display: block;
  }
  .glc-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .glc-hero-price {
    justify-content: center;
  }
  .glc-hero-media {
    order: -1;
  }
  .glc-hero-img {
    max-width: min(320px, 100%);
  }
  .glc-ingredient-grid {
    grid-template-columns: 1fr;
  }
  .glc-expert-split {
    grid-template-columns: 1fr;
  }
  .glc-review-grid {
    grid-template-columns: 1fr;
  }
  .glc-price-detail-main {
    border-left: none;
    border-right: none;
    border-top: 2px solid var(--glc-border);
    border-bottom: 2px solid var(--glc-border);
    padding: 12px 0;
  }
  .glc-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .glc-author-full {
    flex-direction: column;
    text-align: center;
  }
  .glc-author-box {
    flex-direction: column;
    text-align: center;
  }
  .glc-summary-table th {
    width: 45%;
  }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .glc-hero-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .glc-toc-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .glc-section {
    padding: 72px 0;
  }
  .glc-review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Wide (1440px+) */
@media (min-width: 1440px) {
  .glc-container {
    max-width: 1200px;
  }
}

/* === BREADCRUMBS (inner pages) === */
.glc-breadcrumb {
  padding: 12px 0;
  background: var(--glc-bg-alt);
  border-bottom: 1px solid var(--glc-border);
}
.glc-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: .84rem;
  color: var(--glc-text-sec);
}
.glc-breadcrumb ol li a {
  color: var(--glc-primary);
  text-decoration: none;
}
.glc-breadcrumb ol li a:hover {
  text-decoration: underline;
}
.glc-breadcrumb ol li + li::before {
  content: '>';
  margin-right: 8px;
  color: var(--glc-border);
}

/* === LEGAL PAGE CONTENT === */
.glc-legal {
  padding: 48px 0;
}
.glc-legal h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 24px;
}
.glc-legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--glc-text);
  margin-top: 28px;
  margin-bottom: 12px;
}
.glc-legal p {
  color: var(--glc-text-sec);
  font-size: .93rem;
  margin-bottom: 12px;
  line-height: 1.7;
}
.glc-legal ul {
  list-style: disc;
  margin: 8px 0 16px 20px;
}
.glc-legal ul li {
  color: var(--glc-text-sec);
  font-size: .93rem;
  margin-bottom: 6px;
  line-height: 1.6;
}
