:root {
  --bg: #e4f1f8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #fbfdff;
  --panel-soft: #edf6fa;

  --text: #05080c;
  --muted: #0d1117;

  --accent: #6ec0e8;
  --accent-soft: #98d9f2;
  --accent-deep: #2f86b0;

  --highlight: #57abd3;
  --highlight-soft: #7fc7e7;

  --line: rgba(47, 134, 176, 0.16);
  --shadow: 0 18px 42px rgba(25, 60, 85, 0.1);

  --radius: 24px;
  --container: 1180px;

  --header-expanded: 82px;
  --header-collapsed: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-collapsed) + 20px);
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  background:
    radial-gradient(circle at top right, rgba(110, 192, 232, 0.22), transparent 30%),
    radial-gradient(circle at top left, rgba(167, 214, 235, 0.28), transparent 28%),
    linear-gradient(180deg, #eef7fb 0%, #e2f0f8 48%, #d6e9f4 100%);
  color: var(--text);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 24, 32, 0.045) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  opacity: 0.04;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(236, 246, 251, 0.76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(236, 246, 251, 0.93);
  border-color: var(--line);
}

.site-header.is-collapsed {
  background: rgba(236, 246, 251, 0.97);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(25, 60, 85, 0.07);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-expanded);
  overflow: visible;
  transition:
    min-height 220ms ease,
    padding 220ms ease;
}

.site-header.is-collapsed .header-inner {
  min-height: var(--header-collapsed);
}

.site-nav,
.trial-button,
.brand {
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.site-header.is-collapsed .site-nav,
.site-header.is-collapsed .trial-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.985);
  filter: none;
}

.site-header.is-collapsed .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  justify-content: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.3rem, 1.45vw, 1.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #0d1720;
  display: inline-block;
  padding-bottom: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #111418;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #5aaed8, #3f95c0 52%, #2b7ca4);
  color: #f9fdff;
  box-shadow: none;
}

.button-secondary {
  border-color: rgba(47, 134, 176, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(47, 134, 176, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.trial-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 132px;
  text-align: center;
  line-height: 1.05;
  padding: 0.82rem 1.1rem;
  flex-shrink: 0;
}

.trial-button span:first-child {
  font-size: 0.88rem;
  font-weight: 700;
}

.trial-button span:last-child {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}


/* ---------- Typography ---------- */

.eyebrow,
.promise-kicker,
.calendar-label {
  margin: 0 0 0.9rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3,
strong {
  margin-top: 0;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #05080c;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  margin-bottom: 1.2rem;
  max-width: 11ch;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.24rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: #15202b;
}

.hero-copy {
  max-width: 62ch;
  font-size: 1.05rem;
  font-weight: 500;
}

/* ---------- Trial hero ---------- */

.trial-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.62), rgba(214,233,244,0.7)),
    radial-gradient(circle at 76% 22%, rgba(110,192,232,0.2), transparent 26%),
    linear-gradient(180deg, #f1f8fc 0%, #e2f0f8 100%);
}

.trial-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(228,241,248,0.2));
}

.trial-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.5rem;
  align-items: start;
  padding: calc(var(--header-expanded) + 2.5rem) 0 4.6rem;
}

.trial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.flow-card,
.booking-note,
.trial-link-card,
.calendar-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,251,254,0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.flow-card,
.booking-note,
.trial-link-card {
  border-radius: 24px;
}

/* ---------- Trial flow ---------- */

.trial-flow {
  padding: 5rem 0 0;
}

.section-heading-block {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flow-card {
  padding: 1.45rem;
}

.flow-step {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.trial-hero-inner-single {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: calc(var(--header-expanded) + 2.8rem) 0 4.6rem;
}

.trial-hero-copy-single {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trial-hero-copy-single h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.trial-hero-copy-single .hero-copy {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.trial-hero-copy-single .trial-hero-actions {
  justify-content: center;
}

/* ---------- Booking stage ---------- */

.booking-stage {
  padding: 5rem 0 0;
}

.booking-stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.25rem;
  align-items: start;
}

.booking-copy,
.calendar-shell-head,
.calendar-shell-body {
  min-width: 0;
}

.booking-notes {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.booking-note {
  padding: 1rem 1.1rem;
}

.booking-note p {
  margin: 0.35rem 0 0;
  color: #23303b;
}

.calendar-shell {
  border-radius: 28px;
  overflow: hidden;
}

.calendar-shell-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(47, 134, 176, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,251,254,0.96));
}

.calendar-shell-head h3 {
  margin-bottom: 0;
}

.calendar-status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(110, 192, 232, 0.14);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.calendar-shell-body {
  padding: 1.2rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(110, 192, 232, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(245,250,253,0.96), rgba(236,246,251,0.98));
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 2.4rem;
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
  background: rgba(220, 238, 248, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo {
  width: 164px;
  height: auto;
  border-radius: 16px;
}

.footer-tagline {
  margin: 0;
  max-width: 34ch;
  line-height: 1.9;
}

.footer-tagline,
.footer-col a,
.footer-bottom-inner p {
  color: #2d373f;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-heading {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 12px;
  color: var(--accent-deep);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 10px;
  background: currentColor;
  opacity: 0.42;
}

.footer-col a {
  line-height: 1.6;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(47, 134, 176, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.86rem;
  opacity: 0.9;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .trial-hero-inner,
  .booking-stage-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  :root {
    --header-expanded: 148px;
    --header-collapsed: 148px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.95rem;
    padding: 0.5rem;
  }

  .site-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .trial-button {
    order: 3;
  }
}

@media (max-width: 900px) {
  .flow-grid,
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .calendar-shell-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-expanded: 150px;
    --header-collapsed: 64px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .header-inner {
    min-height: var(--header-expanded);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.9rem;
    padding: 1rem 0.75rem;
  }

  .brand {
    order: 1;
    justify-content: center;
    text-align: center;
  }

  .brand-text {
    font-size: 1.45rem;
    white-space: normal;
    text-align: center;
  }

  .trial-button {
    order: 2;
    width: min(280px, 100%);
    min-width: 0;
    padding: 0.9rem 1.25rem;
  }

  .trial-button span:first-child {
    font-size: 0.88rem;
  }

  .trial-button span:last-child {
    font-size: 0.72rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 0.7rem;
    column-gap: 0;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 0 0 0.15rem;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav a:nth-child(1) { grid-column: 1 / span 2; }
  .site-nav a:nth-child(2) { grid-column: 3 / span 2; }
  .site-nav a:nth-child(3) { grid-column: 5 / span 2; }
  .site-nav a:nth-child(4) { grid-column: 2 / span 2; }
  .site-nav a:nth-child(5) { grid-column: 4 / span 2; }

  .site-header.is-collapsed .header-inner {
    min-height: var(--header-collapsed);
    height: var(--header-collapsed);
    padding: 0 0.75rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .site-header.is-collapsed .site-nav,
  .site-header.is-collapsed .trial-button {
    display: none;
  }

  .site-header.is-collapsed .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: initial;
    width: max-content;
    margin: 0;
  }

  .site-header.is-collapsed .brand-text {
    font-size: 1.08rem;
    white-space: nowrap;
    text-align: center;
  }

  .trial-hero-inner {
    padding: calc(var(--header-expanded) + 2rem) 0 3.6rem;
  }

  .trial-hero-actions {
    flex-direction: column;
  }

  .trial-hero-actions .button,
  .final-panel .button {
    width: 100%;
  }

  .trial-hero-inner-single {
    padding: calc(var(--header-expanded) + 2rem) 0 3.4rem;
  }

  .trial-hero-copy-single .hero-copy {
    max-width: none;
  }

  .flow-card,
  .booking-note,
  .trial-link-card {
    padding: 1.15rem;
  }

  .calendar-shell-body {
    padding: 1rem;
  }

  .footer-inner {
    text-align: center;
    gap: 36px;
  }

  .footer-brand-block {
    align-items: center;
    text-align: center;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

@media (max-width: 520px) {
  h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.62rem, 8vw, 2.15rem);
  }

  h3 {
    font-size: 1.15rem;
  }

  .hero-copy,
  .flow-card p,
  .booking-note p,
  .trial-link-card p {
    font-size: 0.96rem;
  }

  .footer-logo {
    width: 148px;
  }
}
/* ---------- Booking calendar ---------- */

.booking-calendar-section {
  padding: 2rem 0 0;
}

.booking-calendar-heading {
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.trial-booking-form {
  max-width: 920px;
  margin: 0 auto;
}

.trial-booking-panel {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,251,254,0.98));
  box-shadow: var(--shadow);
}

.trial-booking-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(47, 134, 176, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,251,254,0.96));
}

.trial-booking-panel-head h3 {
  margin-bottom: 0;
}

.trial-panel-status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(110, 192, 232, 0.14);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.trial-booking-panel-body {
  padding: 1.3rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(110, 192, 232, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(245,250,253,0.96), rgba(236,246,251,0.98));
}

.trial-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trial-field {
  display: grid;
  gap: 0.55rem;
}

.trial-field--full {
  grid-column: 1 / -1;
}

.trial-field__label {
  font-weight: 700;
  color: #05080c;
}

.trial-field input,
.trial-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(47, 134, 176, 0.16);
  background: rgba(255,255,255,0.84);
  color: var(--text);
  font: inherit;
}

.trial-field textarea {
  resize: vertical;
  min-height: 132px;
}

.trial-field input:focus,
.trial-field textarea:focus {
  outline: 2px solid rgba(87, 171, 211, 0.22);
  border-color: var(--accent-deep);
}

.trial-field--invalid input,
.trial-field--invalid textarea {
  border-color: #b94141 !important;
  background: #fff7f7;
}

.trial-field__error {
  margin: 0;
  color: #b94141;
  font-size: 0.9rem;
  font-weight: 700;
}

.trial-booking-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
}

.trial-booking-card--invalid {
  border-color: #e3a6a6;
  box-shadow: inset 0 0 0 1px rgba(185, 65, 65, 0.18);
}

.trial-booking-card__header h4 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  line-height: 1.15;
}

.trial-booking-card__header p {
  margin: 0 0 1rem;
  color: #516170;
}

.trial-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.trial-calendar-toolbar__center {
  text-align: center;
}

.trial-calendar-toolbar__label {
  margin: 0 0 0.2rem;
  font-size: 0.86rem;
  color: #667888;
}

.trial-calendar-toolbar__month {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.1;
}

.trial-calendar-nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(47, 134, 176, 0.16);
  background: rgba(255,255,255,0.84);
  color: #445464;
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
}

.trial-calendar-nav:hover {
  border-color: rgba(47, 134, 176, 0.3);
}

.trial-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.trial-calendar-grid--weekdays {
  margin-bottom: 0.65rem;
}

.trial-calendar-grid--weekdays span {
  text-align: center;
  font-size: 0.86rem;
  color: #6a7a88;
  padding: 0.25rem 0;
}

.trial-calendar-day {
  min-height: 88px;
  padding: 0.8rem 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(47, 134, 176, 0.16);
  background: rgba(255,255,255,0.84);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.trial-calendar-day:hover {
  transform: translateY(-1px);
  border-color: var(--accent-deep);
}

.trial-calendar-day__number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.trial-calendar-day__meta {
  min-height: 1em;
  font-size: 0.78rem;
  color: #6e7f8d;
}

.trial-calendar-day--selected {
  background: rgba(110, 192, 232, 0.18);
  border-color: var(--accent-deep);
}

.trial-calendar-day--other-month {
  opacity: 0.42;
}

.trial-calendar-day--disabled {
  background: rgba(233, 239, 243, 0.78);
  color: #98a6b2;
  cursor: not-allowed;
}

.trial-calendar-day--disabled:hover {
  transform: none;
  border-color: rgba(47, 134, 176, 0.16);
}

.trial-availability-rows {
  display: grid;
  gap: 0.9rem;
}

.trial-availability-row,
.trial-empty-state {
  padding: 1rem 1rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(47, 134, 176, 0.12);
  background: rgba(255,255,255,0.78);
}

.trial-row-title,
.trial-empty-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.35;
}

.trial-row-text,
.trial-empty-text {
  margin: 0 0 0.8rem;
  color: #596b79;
}

.trial-slot-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trial-slot-button {
  appearance: none;
  border: 1px solid rgba(47, 134, 176, 0.18);
  background: rgba(255,255,255,0.88);
  color: #21303d;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.trial-slot-button:hover {
  transform: translateY(-1px);
  border-color: var(--accent-deep);
}

.trial-slot-button.is-active {
  background: linear-gradient(135deg, rgba(90,174,216,0.2), rgba(43,124,164,0.18));
  border-color: var(--accent-deep);
  color: #0f2433;
}

.trial-row-summary {
  margin: 0.8rem 0 0;
  color: #556674;
  font-size: 0.95rem;
}

.trial-submit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.trial-form-message {
  min-height: 1.25rem;
  font-weight: 700;
  color: #61717f;
  text-align: center;
}

.button,
.trial-submit-button {
  cursor: pointer;
}

.trial-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.16rem;
  font-weight: 700;
  padding: 1.2rem 2.6rem;
  min-width: 280px;
  min-height: 68px;
  border-radius: 999px;
}

.trial-form-message--success {
  color: #26723d;
}

.trial-form-message--error {
  color: #b94141;
}

.trial-form-message--pending {
  color: #61717f;
}

@media (max-width: 900px) {
  .trial-form-grid {
    grid-template-columns: 1fr;
  }

  .trial-booking-panel-head,
  .trial-submit-row {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 760px) {

  .trial-booking-panel-body,
  .trial-booking-card {
    padding: 1rem;
  }

  .trial-calendar-toolbar__month {
    font-size: 1.4rem;
  }

  .trial-calendar-grid {
    gap: 0.45rem;
  }

  .trial-calendar-day {
    min-height: 72px;
    padding: 0.6rem 0.5rem;
    border-radius: 14px;
  }

  .trial-calendar-day__number {
    font-size: 1.15rem;
  }

  .trial-slot-button {
    width: 100%;
    justify-content: center;
  }
  
  .trial-submit-row {
    justify-content: center;
  }
  
    .trial-submit-button {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    font-size: 1.08rem;
  }
}
