/*
  Kaleidoscope Arts Studio: portfolio demo mockup (Class / Enrichment archetype, arts flavor).
  Structural chassis follows GCV's standing mockup conventions (see
  Leads/LEAD_GEN_SOP.md and Leads/Portfolio Demos/PORTFOLIO_DEMO_PLAN.md):
  clean minimal aesthetic, generous whitespace, one accent color, sticky
  mobile bottom tab bar. Palette (deep plum + coral + marigold) is distinct
  from the other two GCV demos (forest/orange, navy/teal).
  Hero uses Pattern E (bento grid) from PORTFOLIO_DEMO_PLAN.md's hero layout
  variation menu, not the left-right split used by pest control and dental,
  so the portfolio page shows real layout variety across demos.
*/

:root {
  --ink: #2b1f3d;
  --ink-dark: #1a1226;
  --accent: #ef6461;
  --accent-dark: #d94f4c;
  --accent-soft: #f7c8c6;
  --marigold: #f4a300;
  --violet-soft: #c9b8e8;
  --ivory: #fdf8f3;
  --paper: #ffffff;
  --text: #2a2130;
  --muted: #746a7d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(43, 31, 61, 0.1);
  --shadow-lg: 0 22px 50px rgba(43, 31, 61, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 70px; }

.section-eyebrow {
  display: inline-block; color: var(--accent-dark); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px;
}
.section-eyebrow--light { color: var(--accent-soft); }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700;
  text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow); font-size: 0.95rem; border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--accent-dark); }
.btn--large { padding: 18px 38px; font-size: 1.05rem; }
.btn--ghost {
  background: transparent; color: #fff; box-shadow: none;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
.btn--outline {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--full { width: 100%; text-align: center; }

/* Header */
.site-header {
  background: var(--ink); position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__logo { width: 38px; height: 38px; }
.brand__name { font-weight: 700; letter-spacing: 0.02em; color: #fff; font-size: 1rem; }
.site-header__nav { display: flex; gap: 26px; font-size: 0.9rem; }
.site-header__nav a { color: #d9cfe0; text-decoration: none; transition: color 0.15s ease; }
.site-header__nav a:hover { color: var(--accent-soft); }
.site-header__contact { display: flex; align-items: center; gap: 18px; font-size: 0.88rem; }
.site-header__contact a { color: #efe9f2; text-decoration: none; }
.site-header__contact a:hover { color: var(--accent-soft); }
.site-header__phone { font-weight: 700; }

/* Hero: bento grid pattern */
.hero--bento {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(244,163,0,0.16), transparent),
    radial-gradient(900px 420px at 5% 10%, rgba(239,100,97,0.14), transparent),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-dark) 100%);
  color: #fff; padding: 72px 24px 84px;
}
.hero__inner--bento { max-width: 1160px; margin: 0 auto; }
.hero__text { max-width: 640px; margin-bottom: 44px; }
.hero__eyebrow { color: var(--accent-soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; margin-bottom: 18px; font-weight: 700; }
.hero__text h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.16; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero__sub { color: #e2d9e8; margin-bottom: 28px; font-size: 1.08rem; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.bento-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px);
  gap: 18px;
}
.bento-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.bento-tile img { width: 100%; height: 100%; object-fit: cover; }
.bento-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,18,38,0) 45%, rgba(26,18,38,0.72) 100%);
}
.bento-tile__label { position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2; color: #fff; }
.bento-tile__label strong { display: block; font-size: 1rem; }
.bento-tile__label span { font-size: 0.78rem; color: #e2d9e8; }
.bento-tile--art { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-tile--music { grid-column: 3 / 5; grid-row: 1 / 2; }
.bento-tile--drama { grid-column: 3 / 4; grid-row: 2 / 3; }
.bento-tile--stat {
  grid-column: 4 / 5; grid-row: 2 / 3; background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px;
}
.bento-tile--stat strong { font-size: 1.15rem; line-height: 1.25; display: block; }
.bento-tile--stat span { font-size: 0.72rem; color: #fde9e8; text-transform: uppercase; letter-spacing: 0.04em; }

/* Trust strip */
.trust-strip { background: var(--paper); border-bottom: 1px solid #ece3ef; padding: 22px 24px; }
.trust-strip__inner {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-item svg { color: var(--accent-dark); }
.trust-item span { font-size: 0.82rem; font-weight: 600; color: var(--ink); }

/* Programmes (services chassis, reused) */
.services { padding: 90px 24px; background: var(--ivory); }
.services__inner { max-width: 1160px; margin: 0 auto; }
.services__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.services__head h2 { color: var(--ink); margin: 0 0 10px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.services__head p { color: var(--muted); margin: 0; }
.services__tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.services__tab {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid #e2d5e8; background: transparent;
  font-weight: 600; font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: all 0.15s ease;
}
.services__tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(239,100,97,0.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent-dark);
}
.service-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; }
.service-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.services__panel { display: none; }
.services__panel.is-active { display: grid; }

/* Studio story */
.studio-story { padding: 92px 24px; background: var(--paper); }
.studio-story__inner {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 56px; align-items: center;
}
.studio-story__copy h2 {
  color: var(--ink); margin: 0 0 16px; font-size: clamp(1.7rem, 2.7vw, 2.35rem); line-height: 1.18;
}
.studio-story__copy p { color: var(--muted); margin: 0 0 26px; }
.studio-story__points { display: grid; gap: 12px; }
.studio-story__points div {
  display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start;
  background: var(--ivory); border-radius: var(--radius-sm); padding: 16px 18px;
}
.studio-story__points strong { color: var(--accent-dark); }
.studio-story__points span { color: var(--text); font-size: 0.92rem; }
.studio-story__media {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.studio-story__media img {
  width: 100%; height: 430px; object-fit: cover; object-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* Process */
.process { padding: 90px 24px; background: var(--ink); color: #fff; }
.process__inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.process__inner h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.process__sub { color: #d5c9dc; margin: 0 0 52px; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.process-step { position: relative; padding-left: 4px; }
.process-step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 18px;
}
.process-step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.process-step p { margin: 0; color: #d5c9dc; font-size: 0.9rem; }

/* Why us */
.why { padding: 90px 24px; background: var(--paper); }
.why__inner { max-width: 1160px; margin: 0 auto; }
.why__head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.why__head h2 { color: var(--ink); margin: 0 0 10px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.why__head p { color: var(--muted); margin: 0; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { text-align: center; padding: 8px; }
.why-card__icon {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(244,163,0,0.14);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--marigold);
}
.why-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 1rem; }
.why-card p { margin: 0; font-size: 0.86rem; color: var(--muted); }

/* Trial class form (quote-form chassis, reused) */
.quote { padding: 90px 24px; background: var(--ivory); }
.quote__inner {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 50px; align-items: start;
}
.quote__copy h2 { color: var(--ink); margin: 0 0 14px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.quote__copy p { color: var(--muted); margin: 0 0 24px; }
.quote__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.quote__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.quote__list svg { color: var(--accent-dark); flex-shrink: 0; margin-top: 2px; }
.quote-form {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 34px; display: grid; gap: 16px;
}
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid #e2d5e8;
  font-size: 0.92rem; font-family: inherit; background: var(--ivory); color: var(--text);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--accent-dark);
}
.quote-form__urgency { display: flex; gap: 10px; flex-wrap: wrap; }
.urgency-pill {
  flex: 1; min-width: 100px; text-align: center; padding: 10px 8px; border-radius: 999px;
  border: 1.5px solid #e2d5e8; font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--muted);
  transition: all 0.15s ease;
}
.urgency-pill input { display: none; }
.urgency-pill.is-selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.quote-form__note { font-size: 0.76rem; color: var(--muted); margin: 0; }

/* Reviews */
.reviews { padding: 90px 24px; background: var(--ink-dark); color: #fff; }
.reviews__inner { max-width: 980px; margin: 0 auto; text-align: center; }
.reviews__inner h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.reviews__rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.reviews__stars { color: var(--accent-soft); font-size: 1.3rem; letter-spacing: 2px; }
.reviews__score { font-size: 1.3rem; font-weight: 700; }
.reviews__count { color: #b8a9c0; }
.reviews__disclaimer { font-size: 0.76rem; color: #8a7a92; margin: 0 0 40px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.review-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 24px; margin: 0; font-size: 0.92rem;
}
.review-card__stars { color: var(--accent-soft); font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { margin: 0 0 14px; color: #e9e2ec; }
.review-card cite { color: var(--accent-soft); font-style: normal; font-size: 0.83rem; display: block; }
.review-card .review-card__tag {
  display: inline-block; margin-top: 8px; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: #9686a0; border: 1px solid #453754; border-radius: 999px; padding: 3px 10px;
}

/* Location */
.area { padding: 90px 24px; background: var(--paper); }
.area__inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.area__details h2 { color: var(--ink); margin: 0 0 14px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.area__details p { color: var(--muted); margin: 0 0 22px; }
.area__regions { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area__regions li { font-size: 0.9rem; color: var(--text); display: flex; justify-content: space-between; border-bottom: 1px dashed #ece0f0; padding-bottom: 8px; }
.area__regions li span { color: var(--accent-dark); font-weight: 600; }
.area__hours { font-size: 0.8rem; color: var(--muted); }
.area__map iframe { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; min-height: 340px; }

/* Footer */
.site-footer { background: var(--ink-dark); color: #b8a9c0; padding: 52px 24px 30px; }
.site-footer__inner {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer__brand span { color: #fff; font-weight: 700; }
.site-footer p { margin: 6px 0; font-size: 0.88rem; }
.site-footer a { color: #e2d9e8; text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.site-footer__copyright { max-width: 1160px; margin: 22px auto 0; font-size: 0.78rem; color: #6f5f78; text-align: center; }

.sticky-whatsapp {
  position: fixed; bottom: 22px; right: 22px; background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 28px rgba(239,100,97,0.4); font-size: 0.9rem; z-index: 60;
  display: flex; align-items: center; gap: 8px;
}

/* Sticky bottom tab bar: mobile only, standing GCV mockup component */
.mobile-tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid #ece3ef;
  box-shadow: 0 -8px 24px rgba(43,31,61,0.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 4px 8px; text-decoration: none; color: var(--ink);
  font-size: 0.68rem; font-weight: 600;
}
.mobile-tabbar a:active { color: var(--accent); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 140px 140px; }
  .bento-tile--art { grid-column: 1 / 3; grid-row: 1 / 2; }
  .bento-tile--music { grid-column: 1 / 2; grid-row: 2 / 3; }
  .bento-tile--drama { grid-column: 2 / 3; grid-row: 2 / 3; }
  .bento-tile--stat { grid-column: 1 / 3; grid-row: 3 / 4; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .studio-story__inner { grid-template-columns: 1fr; gap: 34px; }
  .studio-story__media img { height: 320px; }
  .process__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .quote__inner { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .area__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .site-header__nav { display: none; }
}

@media (max-width: 768px) {
  .mobile-tabbar { display: flex; }
  .sticky-whatsapp { display: none; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .quote-form__row { grid-template-columns: 1fr; }
  .area__regions { grid-template-columns: 1fr; }
  .hero--bento { padding: 18px 20px 32px; }
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__text { margin-bottom: 22px; }
  .hero__text h1 { font-size: 1.7rem; line-height: 1.16; margin: 0 0 10px; }
  .hero__sub { margin-bottom: 18px; font-size: 0.94rem; max-width: none; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 12px 22px; font-size: 0.88rem; }
  .bento-grid { grid-template-rows: 170px 120px 120px; gap: 12px; }
  .services, .studio-story, .process, .why, .quote, .reviews, .area { padding: 60px 20px; }
  .studio-story__media { grid-template-columns: 1fr; }
  .studio-story__media img { height: 240px; }
  .studio-story__points div { grid-template-columns: 1fr; gap: 4px; }
}
