/* ============================================================
   AGILE CAREER CONSULTING — Premium Light Theme
   ============================================================ */

:root {
  --bg:           #fafaf8;
  --surface:      #ffffff;
  --surface-soft: #f4f2ee;
  --surface-warm: #fef9f2;
  --text:         #1a1a2e;
  --text-2:       #3a3a52;
  --muted:        #6b6b82;
  --primary:      #1b3a6b;
  --primary-light:#2550a0;
  --accent:       #c8922a;
  --accent-light: #f5a623;
  --gold:         #d4a84b;
  --gold-pale:    #fdf4e3;
  --green:        #2a7a4b;
  --border:       #e8e4dc;
  --border-light: #f0ede7;
  --shadow-sm:    0 2px 8px rgba(26,26,46,0.06);
  --shadow:       0 8px 32px rgba(26,26,46,0.09);
  --shadow-lg:    0 20px 60px rgba(26,26,46,0.12);
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; color: var(--muted); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 18px; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow    { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.center    { text-align: center; }

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-light);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; font-size: 0.85rem; font-weight: 800;
  box-shadow: 0 4px 14px rgba(27,58,107,0.25);
}
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  font-weight: 500; font-size: 0.92rem; color: var(--text-2);
  padding: 6px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--primary); background: var(--surface-soft); }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff; border: 0; padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 8px 24px rgba(200,146,42,0.32);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  white-space: nowrap; letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(200,146,42,0.38); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(27,58,107,0.2); }
.btn-ghost { background: white; color: var(--primary); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-soft); box-shadow: var(--shadow); transform: translateY(-1px); }

/* ── Labels ── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

/* ── Sections ── */
.section { padding: 90px 0; }
.section-soft { background: var(--surface-soft); }
.section-warm { background: var(--surface-warm); }
.section-white { background: var(--surface); }
.section-heading { margin-bottom: 52px; }
.section-heading.center { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-heading p { font-size: 1.05rem; max-width: 640px; margin: 0; }
.section-heading.center p { margin: 0 auto; }

/* ── Hero ── */
.hero-section {
  padding: 100px 0 80px;
  background: linear-gradient(155deg, #fdfcfa 0%, #f4f0e8 50%, #e8e4f0 100%);
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,146,42,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 10% 80%, rgba(27,58,107,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-section h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 20px; }
.hero-section h1 em { font-style: italic; color: var(--accent); }
.hero-text { font-size: 1.1rem; line-height: 1.75; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.hero-stats span { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.hero-visual-card {
  background: white; border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); position: relative;
}
.hero-visual-card img { border-radius: var(--radius); width: 100%; }
.hero-badge {
  position: absolute; bottom: -16px; left: 32px;
  background: white; border-radius: var(--radius); padding: 12px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 10px;
}
.hero-badge .badge-icon { font-size: 1.5rem; }
.hero-badge .badge-text strong { display: block; font-size: 0.88rem; color: var(--text); line-height: 1.3; }
.hero-badge .badge-text span { font-size: 0.76rem; color: var(--muted); }

/* ── Page Hero ── */
.page-hero {
  padding: 80px 0 70px;
  background: linear-gradient(150deg, #f8f6f2 0%, #ede9e0 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { font-size: 1.05rem; max-width: 640px; margin-top: 12px; }

/* ── Cards ── */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-grid { display: grid; gap: 28px; }
.card-grid.three-up { grid-template-columns: repeat(3, 1fr); }
.card-grid.two-up   { grid-template-columns: repeat(2, 1fr); }
.service-icon { font-size: 2.2rem; margin-bottom: 18px; }
.service-card { border-top: 3px solid var(--accent); }
.service-page-card { border-top: 3px solid var(--primary); }

/* ── Check list ── */
.check-list { list-style: none; padding: 0; margin: 0 0 20px; }
.check-list li {
  padding: 7px 0 7px 28px; position: relative;
  font-size: 0.93rem; color: var(--text-2);
  border-bottom: 1px solid var(--border-light);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; font-size: 0.85rem; }
.check-list.big li { padding: 10px 0 10px 32px; font-size: 1rem; }

/* ── Trust bar ── */
.trust-bar { background: var(--surface-warm); padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.trust-item .ti-icon { font-size: 1.2rem; }

/* ── Process steps ── */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.process-step {
  text-align: center; padding: 40px 28px;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(27,58,107,0.22);
}
.process-step h3 { color: var(--primary); }

/* ── Testimonials ── */
.testimonial-card { background: var(--surface); border-left: 4px solid var(--gold); padding: 32px 36px; }
.testimonial-card p { font-style: italic; font-size: 1rem; line-height: 1.8; color: var(--text-2); margin-bottom: 20px; }
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-meta strong { font-size: 0.9rem; color: var(--text); }
.testimonial-meta span  { font-size: 0.8rem; color: var(--muted); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ── Split layout ── */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-layout.align-center { align-items: center; }
.split-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* ── Image grid ── */
.image-grid { display: grid; gap: 20px; }
.image-grid.four-up { grid-template-columns: repeat(4, 1fr); }
.image-grid.three-up { grid-template-columns: repeat(3, 1fr); }
.image-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); transition: transform 0.2s, box-shadow 0.2s; }
.image-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-card span { display: block; padding: 10px 14px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }

/* ── Blog ── */
.post-card { display: flex; flex-direction: column; }
.post-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { flex: 1; }
.text-link { font-size: 0.88rem; font-weight: 700; color: var(--primary); }
.text-link:hover { text-decoration: underline; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.blog-post-content .post-body p { font-size: 1.05rem; line-height: 1.85; color: var(--text-2); margin-bottom: 22px; }

/* ── CTA section ── */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.cta-section .eyebrow { color: var(--accent-light); }
.cta-section h2, .cta-section .cta-body { color: white; }
.cta-body { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 0; }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 72px 0; }
.cta-box .hero-actions .btn-outline { border-color: rgba(255,255,255,0.6); color: white; }
.cta-box .hero-actions .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ── Services page ── */
.price-display { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 24px; }
.price-num { font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.price-desc { font-size: 0.88rem; color: var(--muted); }

/* ── Training ── */
.training-hero { background: linear-gradient(150deg, #f0eee8 0%, #e4e0f4 100%); }
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.outcome-item {
  background: var(--surface); border-radius: var(--radius); padding: 22px 24px;
  border: 1px solid var(--border-light); display: flex; gap: 14px; align-items: flex-start;
}
.outcome-item .oi-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.outcome-item strong { display: block; font-size: 0.92rem; color: var(--text); margin-bottom: 4px; }
.outcome-item p { font-size: 0.83rem; margin: 0; }

/* ── Booking ── */
.booking-hero { background: linear-gradient(150deg, #f8f6f2 0%, #ede9e0 100%); }
.booking-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.booking-points { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.booking-point {
  display: flex; flex-direction: column; align-items: center;
  background: white; border-radius: var(--radius); padding: 16px 20px;
  min-width: 130px; text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.booking-point strong { color: var(--primary); font-size: 0.85rem; font-weight: 800; }
.booking-point span { font-size: 0.76rem; color: var(--muted); margin-top: 4px; }
.contact-form, .booking-form {
  background: var(--surface); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 20px;
}
.contact-form label, .booking-form label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.contact-form input, .booking-form input,
.contact-form textarea, .booking-form textarea,
.contact-form select, .booking-form select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.93rem; font-family: inherit;
  color: var(--text); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .booking-form input:focus,
.contact-form textarea:focus, .booking-form textarea:focus,
.contact-form select:focus, .booking-form select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.booking-section-title { font-size: 1rem; font-weight: 800; color: var(--primary); padding-bottom: 10px; border-bottom: 2px solid var(--border); margin-bottom: 4px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.form-grid.compact-grid { grid-template-columns: 1fr 1fr; }
.booking-price-card {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; border-radius: var(--radius-xl); padding: 40px; border: 0;
}
.booking-price-card .eyebrow { color: var(--accent-light); }
.booking-price-card h2 { color: white; font-size: 1.6rem; }
.booking-price-card p { color: rgba(255,255,255,0.75); }
.price-tag { font-size: 3rem; font-weight: 800; color: var(--accent-light); margin: 8px 0 4px; line-height: 1; }
.small-note { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.booking-summary-card { padding: 32px; }
.summary-alert {
  background: var(--gold-pale); border: 1px solid rgba(212,168,75,0.3);
  border-radius: 10px; padding: 14px 18px; font-size: 0.83rem; color: var(--text-2); margin-top: 16px; line-height: 1.6;
}
.summary-alert.success-alert { background: #e8f5ee; border-color: rgba(42,122,75,0.25); color: var(--green); }
.service-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-choice {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: 10px; border: 2px solid var(--border); cursor: pointer;
  transition: border-color 0.2s, background 0.2s; font-weight: 600; font-size: 0.9rem;
}
.service-choice input { display: none; }
.service-choice.active, .service-choice:hover { border-color: var(--primary); background: #f0f4fb; }
.booking-calendar-block { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.booking-calendar-block > div { display: flex; flex-direction: column; gap: 8px; }
.booking-calendar-block label { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0; }
.booking-calendar-block select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.93rem; font-family: inherit;
  color: var(--text); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: auto;
}
.booking-calendar-block select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.booking-calendar-block select:disabled { opacity: 0.5; cursor: not-allowed; }

.booking-calendar {
  background: var(--surface-soft);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  min-height: 200px;
  padding: 12px;
  align-content: start;
}

.booking-calendar.is-disabled { opacity: 0.45; pointer-events: none; }
.availability-status { font-size: 0.82rem; color: var(--muted); margin-top: -4px; }
.slot-meta-card { background: var(--surface-warm); border-radius: 10px; padding: 16px 18px; border: 1px solid var(--border); }
.slot-meta-card label { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.slot-meta-value { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-top: 6px; }

/* ── Two col list ── */
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.info-card h2 { font-size: 1.3rem; margin-bottom: 20px; }

/* ── About page ── */
.credential-bar {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px 40px;
  display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.credential-item { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.credential-item .ci-icon { font-size: 1.6rem; }

/* ── Outcome pages ── */
.outcome-page { padding: 100px 0; text-align: center; }
.outcome-icon { font-size: 4rem; margin-bottom: 20px; }

/* ── Footer ── */
.site-footer { background: var(--text); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand { font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 12px; }
.footer-title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.2s; }
.site-footer a:hover { color: white; }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 56px; text-align: center; }

/* ── Flash messages ── */
.flash-stack { margin: 16px auto; display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 14px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; }
.flash-error   { background: #fde8e8; color: #b91c1c; border: 1px solid #fca5a5; }
.flash-success { background: #e8f5ee; color: var(--green); border: 1px solid #86efac; }

/* ── Error page ── */
.error-page { padding: 120px 0; text-align: center; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid, .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .card-grid.three-up, .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-box { grid-template-columns: 1fr; gap: 28px; }
  .booking-layout { grid-template-columns: 1fr; }
  .two-col-list { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .image-grid.four-up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: white; padding: 20px; box-shadow: var(--shadow); border-bottom: 1px solid var(--border); gap: 4px; z-index: 99; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .card-grid.three-up, .card-grid.two-up, .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-grid.two-up, .service-choice-grid { grid-template-columns: 1fr; }
  .booking-calendar-block { grid-template-columns: 1fr; }
  .image-grid.three-up, .image-grid.four-up { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* availability buttons */
.booking-calendar {
  display: block;
  background: var(--surface-soft);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  min-height: 200px;
  padding: 16px;
}

.calendar-empty-state {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 10px 4px;
}

.calendar-month-panel {
  margin-bottom: 20px;
}

.calendar-month-panel:last-child {
  margin-bottom: 0;
}

.calendar-month-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.calendar-day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

/* ==============================
   Booking Day Button (Fixed)
   ============================== */

.booking-day-btn {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 70px;
  padding: 10px 8px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;

  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;

  /* 🔑 critical fixes */
  overflow: hidden;
  font-size: clamp(12px, 1vw, 14px);
}

/* 🔑 allow inner elements to shrink */
.booking-day-btn * {
  min-width: 0;
  max-width: 100%;
}

/* 🔑 proper text wrapping */
.booking-day-btn span,
.booking-day-btn div {
  display: block;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Optional: tighter text styling */
.booking-day-btn .day {
  font-weight: 600;
}

.booking-day-btn .date {
  font-size: 0.9em;
  opacity: 0.8;
}

/* Hover / active states (optional polish) */
.booking-day-btn:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.booking-day-btn.active {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

.booking-day-btn:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.booking-day-btn:focus-visible {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.booking-day-btn.is-selected {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.booking-day-name {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1;
}

.booking-day-number {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
}

@media (max-width: 1100px) {
  .calendar-day-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .calendar-day-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
  }

  .booking-day-btn {
    padding: 8px;
    min-height: 65px;
  }

  .booking-day-number {
    font-size: 1.5rem;
  }

  .booking-day-name {
    font-size: 0.68rem;
  }
}

@media (max-width: 380px) {
  .calendar-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-nav.open,
.site-nav.show {
  display: flex;
}

/* Logo sizing fix */
.brand {
  display: flex;
  align-items: center;
  gap: 1px;
}

.brand-logo {
  height: 52px;   /* adjust this */
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-weight: 400;
  font-size: 1rem;
}