/* Mayer Brown Tech — Dark Tech Theme */

:root {
  --bg-base: #020617;
  --bg-surface: #0f172a;
  --bg-card: #0c1222;
  --accent: #10b981;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(16, 185, 129, 0.45);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.4);
  --font-heading: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Background glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.bg-glow--1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: rgba(16, 185, 129, 0.08);
}
.bg-glow--2 {
  width: 500px; height: 500px;
  bottom: 20%; left: -200px;
  background: rgba(59, 130, 246, 0.06);
}
.bg-glow--3 {
  width: 400px; height: 400px;
  top: 45%; right: 10%;
  background: rgba(6, 182, 212, 0.05);
}

main, .header, .footer { position: relative; z-index: 1; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.header .logo {
  min-width: 0;
  flex: 0 1 auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  height: clamp(36px, 4.8vw, 46px);
  width: auto;
  max-width: min(270px, 62vw);
  object-fit: contain;
}
.logo__img--sm {
  height: clamp(30px, 4vw, 38px);
  max-width: min(220px, 55vw);
}

.logo__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 10px;
  color: var(--accent);
}
.logo__icon svg { width: 22px; height: 22px; }
.logo__icon--sm { width: 32px; height: 32px; border-radius: 8px; }
.logo__icon--sm svg { width: 18px; height: 18px; }

.logo__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo--sm .logo__text { font-size: 0.95rem; }
.logo__accent { color: var(--accent); font-weight: 600; font-size: 0.75em; }

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--text-primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: #020617;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn--primary:hover {
  background: #34d399;
  box-shadow: 0 0 36px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--text-primary);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--full { width: 100%; margin-top: 0.5rem; }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(16, 185, 129, 0.06), transparent 60%),
              radial-gradient(ellipse 50% 40% at 80% 60%, rgba(59, 130, 246, 0.05), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.badge--green { color: #34d399; }
.badge__icon { width: 14px; height: 14px; }

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(90deg, #10b981, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Terminal */
.terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 24px 48px rgba(0,0,0,0.4),
    0 0 60px rgba(16, 185, 129, 0.06);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal__dot--red { background: #ef4444; }
.terminal__dot--yellow { background: #eab308; }
.terminal__dot--green { background: #22c55e; }
.terminal__filename {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.terminal__body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
}
.terminal__comment { color: var(--text-muted); }
.terminal__label { color: var(--text-secondary); }
.terminal__ok { color: var(--accent); font-weight: 600; }
.terminal__footer { color: var(--accent); margin-top: 0.5rem; opacity: 0.85; }

/* Sections */
.section {
  padding: 6rem 0;
}

.section--stack {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5), transparent);
}

.section--booking {
  padding-bottom: 8rem;
}

.section__header { margin-bottom: 3.5rem; }
.section__header--center { text-align: center; }
.section__header--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
}

.overline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.overline--blue { color: var(--accent-blue); }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
}
.section__header--center .section__subtitle {
  margin: 1rem auto 0;
  max-width: 560px;
}
.section__subtitle--left { margin-top: 1rem; }

/* Bento Grid / Services */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(16, 185, 129, 0.08);
}
.service-card:hover::before {
  background: linear-gradient(135deg, rgba(16,185,129,0.5), rgba(59,130,246,0.3));
}

.service-card--featured {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.06);
}
.service-card--wide { grid-column: span 2; }

.service-card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__icon--emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent);
}

.service-card__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  transition: color var(--transition);
}
.service-card__link:hover { color: #34d399; }

/* Tech Stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stack-card {
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.stack-card:hover, .stack-card--active {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
}
.stack-card--active {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.stack-card__bar {
  width: 3px; height: 24px;
  background: var(--accent-blue);
  margin: 0 auto 1rem;
  border-radius: 2px;
}
.stack-card__bar--green { background: var(--accent); }

.stack-card h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.stack-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* AI Section */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.check-list__icon {
  color: var(--accent);
  font-weight: 700;
}

/* Chat Widget */
.chat-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.chat-widget__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.chat-widget__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.chat-widget__version {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.chat-widget__status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.chat-widget__messages {
  height: 280px;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.chat-bubble {
  max-width: 92%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  animation: fadeUp 0.3s ease;
}
.chat-bubble--ai {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-secondary);
}
.chat-bubble--user {
  align-self: flex-end;
  background: #1e293b;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.chat-bubble--typing::after {
  content: "▋";
  animation: blink 0.8s step-end infinite;
  color: var(--accent);
}

.chat-widget__input-row {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}

.chat-widget__input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.chat-widget__input::placeholder { color: var(--text-muted); }
.chat-widget__input:focus {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.chat-widget__send {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: var(--radius);
  color: #020617;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chat-widget__send:hover {
  background: #34d399;
  box-shadow: 0 0 20px var(--accent-glow);
}
.chat-widget__send svg { width: 18px; height: 18px; }

/* Why Us / Pillars */
.section--why {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.35), transparent);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
  padding: 0.5rem;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pillar-card:hover {
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.pillar-card:hover::after { opacity: 1; }

.pillar-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pillar-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.pillar-card__desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Contact Banner */
.section--contact { padding-top: 2rem; }

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.06)),
    var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.06);
}

.contact-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.75rem;
}
.contact-banner__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 480px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1.1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
  transition: all var(--transition);
}
.contact-email svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-email:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.contact-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Booking */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.booking-form, .calendar-panel {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.booking-form__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.field { display: block; margin-bottom: 1.1rem; }
.field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 100px; }

/* Calendar */
.calendar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.calendar__nav button {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.calendar__nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#calMonthLabel {
  font-family: var(--font-heading);
  font-weight: 600;
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 0.5rem;
}
.calendar__weekdays span {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.35rem;
}

.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.cal-day:hover:not(.cal-day--empty):not(.cal-day--past) {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent);
}
.cal-day--empty { cursor: default; }
.cal-day--past { opacity: 0.3; cursor: not-allowed; }
.cal-day--today { border: 1px solid rgba(16, 185, 129, 0.4); }
.cal-day--selected {
  background: var(--accent) !important;
  color: #020617 !important;
  font-weight: 700;
  box-shadow: 0 0 16px var(--accent-glow);
}

.calendar__selected {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.calendar__selected svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.calendar__selected strong { color: var(--text-primary); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.footer__email {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  transition: color var(--transition);
}
.footer__email:hover { color: #34d399; }
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Toast — fully hidden until a message is shown */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  padding: 0.85rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-primary);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
}
.toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.15s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .ai-grid,
  .booking-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .section__header--split { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .contact-banner { flex-direction: column; text-align: center; }
  .contact-banner__actions { width: 100%; }
  .contact-banner__actions .btn { width: 100%; }
  .contact-email { justify-content: center; }
  .footer__right { align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 99;
  }
  .nav--open {
    transform: translateY(0);
    opacity: 1;
  }
  .menu-toggle { display: flex; }
  .header__cta { display: none; }

  .bento-grid,
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat::after { display: none !important; }

  .logo__img {
    height: 32px;
    max-width: 185px;
  }

  .hero { min-height: auto; padding-bottom: 4rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .stack-grid { grid-template-columns: 1fr 1fr; }
}
