/* ============================================================
   Madame Chill Global Limited — global stylesheet
   Dark ice-and-snowflake theme: deep ice, snow white, frost mint
   ============================================================ */

:root {
  --deep-ice: #0E1B2A;
  --ice-panel: #16283C;
  --deep-abyss: #08121E;
  --snow-white: #F2F7F7;
  --frost-mint: #5FD0C0;
  --text-secondary: #B9C6D6;
  --text-muted: #8FA3B8;
  --hairline: #22384F;
  --dark-ink: #08121E;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--snow-white);
  background-color: var(--deep-ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--snow-white);
}

a { color: var(--frost-mint); }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ----- buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary { background-color: var(--frost-mint); color: var(--dark-ink); border-color: var(--frost-mint); }
.btn-primary:hover { background-color: var(--dark-ink); color: var(--frost-mint); border-color: var(--frost-mint); }
.btn-outline { background-color: transparent; color: var(--snow-white); border-color: var(--snow-white); }
.btn-outline:hover { background-color: var(--snow-white); color: var(--dark-ink); border-color: var(--snow-white); }

/* ----- snowflake mark (three crossing bars) ----- */
.snowflake-mark { position: relative; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -2px; }
.snowflake-mark .fl, .flake-deco .fl { position: absolute; top: 50%; left: 50%; width: 2px; height: 17px; background-color: var(--frost-mint); transform: translate(-50%, -50%); border-radius: 2px; }
.snowflake-mark .fl.fl-b, .flake-deco .fl.fl-b { transform: translate(-50%, -50%) rotate(60deg); }
.snowflake-mark .fl.fl-c, .flake-deco .fl.fl-c { transform: translate(-50%, -50%) rotate(120deg); }

/* ----- chill wave lines ----- */
.chill-wave { display: block; height: 6px; margin: 0 auto 18px; width: 64px; }
.chill-wave i { display: block; height: 2px; background-color: var(--frost-mint); margin-bottom: 4px; }
.chill-wave i:nth-child(1) { width: 64px; }
.chill-wave i:nth-child(2) { width: 40px; }
.chill-wave i:nth-child(3) { width: 20px; }

/* ----- scroll reveal (safe without JS via noscript + force timer) ----- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Navigation: hamburger-first
   ============================================================ */
.burger-nav { position: sticky; top: 0; z-index: 50; background-color: var(--deep-ice); border-bottom: 1px solid var(--frost-mint); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-name { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--snow-white); }

.hamburger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; background: transparent; border: 1px solid var(--frost-mint); border-radius: 10px; cursor: pointer; padding: 0 10px; }
.hamburger .bar { display: block; height: 3px; background-color: var(--frost-mint); border-radius: 2px; }
.hamburger:hover { background-color: var(--ice-panel); }

/* full-screen solid frost-mint overlay menu */
.fullscreen-menu { position: fixed; inset: 0; z-index: 100; background-color: var(--frost-mint); transform: translateY(-100%); transition: transform .45s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fullscreen-menu.open { transform: translateY(0); }
.menu-close { position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; border-radius: 10px; border: 2px solid var(--dark-ink); background: transparent; color: var(--dark-ink); font-size: 30px; line-height: 1; cursor: pointer; }
.menu-close:hover { background-color: var(--dark-ink); color: var(--frost-mint); }
.menu-links { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-links li { margin: 6px 0; }
.menu-links a { display: inline-block; font-family: "Space Grotesk", "Inter", sans-serif; font-size: 34px; font-weight: 700; color: var(--dark-ink); text-decoration: none; padding: 10px 20px; letter-spacing: .02em; }
.menu-links a:hover { background-color: var(--dark-ink); color: var(--frost-mint); border-radius: 12px; }
.menu-foot { margin-top: 34px; color: var(--dark-ink); font-size: 15px; letter-spacing: .04em; }

/* ============================================================
   Hero: text-only with stat strip
   ============================================================ */
.stat-hero { background-color: var(--deep-ice); padding: 96px 0 0; }
.eyebrow-chip { display: inline-block; background-color: var(--frost-mint); color: var(--dark-ink); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; margin-bottom: 26px; }
.stat-hero h1 { font-size: 56px; max-width: 900px; letter-spacing: -.01em; }
.hero-sub { color: var(--text-secondary); font-size: 19px; max-width: 760px; margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid var(--hairline); }
.stat-block { padding: 28px 26px 34px 0; text-align: left; }
.stat-block + .stat-block { border-left: 1px solid var(--frost-mint); padding-left: 26px; }
.stat-num { display: block; font-family: "Space Grotesk", "Inter", sans-serif; font-size: 44px; font-weight: 700; color: var(--frost-mint); }
.stat-label { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--snow-white); }

/* ============================================================
   Milestone timeline (vertical, alternating)
   ============================================================ */
.milestone-timeline { background-color: var(--deep-ice); padding: 110px 0 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto; }
.section-head h2 { font-size: 40px; }
.section-lead { color: var(--text-secondary); max-width: 860px; margin: 18px auto 0; text-align: center; }
.section-lead + .section-lead { margin-top: 14px; }

.timeline { position: relative; max-width: 980px; margin: 64px auto 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background-color: var(--frost-mint); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 0 0 56px; }
.timeline-item:nth-child(odd) { padding-right: 60px; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding-left: 60px; }
.timeline-item:last-child { padding-bottom: 0; }

.year-badge { position: absolute; top: 0; z-index: 2; display: inline-block; background-color: var(--frost-mint); color: var(--dark-ink); font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; letter-spacing: .04em; }
.timeline-item:nth-child(odd) .year-badge { right: -30px; transform: translateX(50%); }
.timeline-item:nth-child(even) .year-badge { left: -30px; transform: translateX(-50%); }

.milestone-card { background-color: var(--ice-panel); border: 1px solid var(--hairline); border-radius: 16px; padding: 28px 30px; }
.milestone-card h3 { font-size: 23px; margin-bottom: 12px; }
.milestone-card p { color: var(--text-secondary); margin: 0; }

.timeline-closing { color: var(--text-secondary); max-width: 860px; margin: 56px auto 0; text-align: center; }

/* ============================================================
   Metric band (solid frost-mint)
   ============================================================ */
.metric-band { background-color: var(--frost-mint); padding: 64px 0; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { text-align: center; padding: 12px 8px; }
.metric + .metric { border-left: 2px solid var(--dark-ink); }
.metric-num { display: block; font-family: "Space Grotesk", "Inter", sans-serif; font-size: 56px; font-weight: 700; color: var(--dark-ink); }
.metric-label { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dark-ink); }

/* ============================================================
   Statement band (deep abyss manifesto)
   ============================================================ */
.statement-band { background-color: var(--deep-abyss); padding: 96px 0; text-align: center; position: relative; }
.flake-deco { position: absolute; top: 28px; left: 6%; width: 64px; height: 64px; }
.flake-deco .fl { height: 60px; background-color: #1B3047; }
.manifesto { font-family: "Space Grotesk", "Inter", sans-serif; font-size: 28px; line-height: 1.6; color: var(--snow-white); max-width: 920px; margin: 0 auto; }

/* ============================================================
   CTA band (ice panel)
   ============================================================ */
.cta-band { background-color: var(--ice-panel); padding: 88px 0; text-align: center; }
.cta-band h2 { font-size: 38px; }
.cta-sub { color: var(--text-secondary); max-width: 680px; margin: 18px auto 32px; }
.cta-band .btn { margin-top: 6px; }

/* ============================================================
   Footer: link-row
   ============================================================ */
.link-row-footer { background-color: var(--deep-abyss); padding: 40px 24px 48px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.footer-links a { font-family: "Space Grotesk", "Inter", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--snow-white); text-decoration: none; }
.footer-links a:hover { color: var(--frost-mint); }
.footer-links .dot { color: var(--frost-mint); }
.legal-line { color: var(--text-muted); font-size: 14px; margin: 20px 0 0; }

/* ============================================================
   Secondary pages: page hero
   ============================================================ */
.page-hero { background-color: var(--deep-ice); padding: 92px 0 64px; }
.page-hero h1 { font-size: 52px; max-width: 900px; }
.page-hero .lead { color: var(--text-secondary); font-size: 18px; max-width: 780px; margin-top: 20px; }
.page-hero .eyebrow-chip { margin-bottom: 24px; }

/* ============================================================
   Services page
   ============================================================ */
.services-section { padding: 90px 0 20px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.service-card { position: relative; background-color: var(--ice-panel); border: 1px solid var(--hairline); border-radius: 16px; padding: 40px 34px 34px; }
.num-chip { position: absolute; top: 30px; right: 30px; background-color: var(--frost-mint); color: var(--dark-ink); font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.service-card h3 { font-size: 23px; margin-bottom: 12px; padding-right: 70px; }
.service-card p { color: var(--text-secondary); margin: 0; }

/* ============================================================
   Process overview
   ============================================================ */
.process-section { padding: 80px 0 96px; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 48px; }
.process-step { background-color: var(--deep-ice); border: 1px solid var(--hairline); border-radius: 14px; padding: 26px 22px; }
.step-num { display: inline-block; background-color: var(--frost-mint); color: var(--dark-ink); font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.step-title { display: block; font-family: "Space Grotesk", "Inter", sans-serif; font-size: 18px; font-weight: 600; color: var(--snow-white); margin-bottom: 8px; }
.step-desc { color: var(--text-secondary); font-size: 15px; margin: 0; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-section { padding: 70px 0 96px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.detail-block { margin-bottom: 30px; }
.detail-block h3 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--frost-mint); margin-bottom: 8px; }
.detail-block p { color: var(--text-secondary); margin: 0; line-height: 1.8; }
.detail-block a { color: var(--snow-white); text-decoration: none; border-bottom: 1px solid var(--frost-mint); }
.detail-block a:hover { color: var(--frost-mint); }

.contact-panel { background-color: var(--ice-panel); border: 1px solid var(--hairline); border-radius: 16px; padding: 38px 36px; }
.contact-panel h2 { font-size: 28px; margin-bottom: 8px; }
.panel-note { color: var(--text-secondary); font-size: 15px; margin: 0 0 26px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--snow-white); margin-bottom: 8px; }
.form-field input, .form-field textarea { width: 100%; background-color: var(--deep-ice); border: 1px solid #2A4058; border-radius: 10px; color: var(--snow-white); padding: 13px 16px; font-family: "Inter", sans-serif; font-size: 16px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--frost-mint); }
.form-fallback { margin-top: 16px; color: var(--text-secondary); font-size: 15px; background-color: var(--deep-abyss); border: 1px solid var(--hairline); border-radius: 10px; padding: 14px 16px; }
.form-fallback a { color: var(--frost-mint); font-weight: 600; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-section { padding: 0 0 100px; }
.faq-list { max-width: 860px; margin: 40px auto 0; }
.faq-item { background-color: var(--ice-panel); border: 1px solid var(--hairline); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; cursor: pointer; padding: 20px 24px; font-family: "Space Grotesk", "Inter", sans-serif; font-size: 18px; font-weight: 600; color: var(--snow-white); text-align: left; }
.faq-question::after { content: "+"; color: var(--frost-mint); font-size: 26px; line-height: 1; flex: none; }
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { color: var(--text-secondary); margin: 0; padding: 0 24px 22px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .stat-hero { padding-top: 70px; }
  .stat-hero h1 { font-size: 40px; }
  .page-hero { padding-top: 70px; }
  .page-hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 32px; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-block { padding: 20px 16px; }
  .stat-block + .stat-block { border-left: none; }
  .stat-block:nth-child(odd) { border-right: 1px solid var(--frost-mint); }
  .stat-block:nth-child(n+3) { border-top: 1px solid var(--hairline); }

  .metric-row { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .metric + .metric { border-left: none; }
  .metric:nth-child(odd) { border-right: 2px solid var(--dark-ink); }
  .metric:nth-child(n+3) { border-top: 2px solid var(--dark-ink); }

  .timeline::before { left: 12px; transform: none; }
  .timeline-item, .timeline-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 44px 44px; text-align: left; }
  .timeline-item:nth-child(odd) .year-badge, .timeline-item:nth-child(even) .year-badge { left: 12px; right: auto; transform: translateX(-50%); }
  .timeline-closing { margin-top: 40px; }

  .service-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .manifesto { font-size: 22px; }
  .cta-band h2 { font-size: 30px; }
  .menu-links a { font-size: 26px; }
}

@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-block, .stat-block:nth-child(odd) { border-right: none; }
  .stat-block + .stat-block { border-top: 1px solid var(--hairline); }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .brand-name { font-size: 15px; }
}
