:root {
  --ink: #17233a;
  --muted: #68758a;
  --blue: #1767d9;
  --blue-soft: #79c9f1;
  --forest: #111b18;
  --paper: #fffefa;
  --canvas: #f5f5f0;
  --line: rgba(30, 62, 72, 0.14);
  --page-pad: clamp(1.15rem, 5vw, 5.5rem);
  --radius: clamp(1.5rem, 3vw, 2.7rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select { font: inherit; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(23, 103, 217, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.reviews-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  width: min(100% - 2 * var(--page-pad), 86rem);
  min-height: 7rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.reviews-brand { display: block; width: clamp(10rem, 16vw, 13rem); }
.reviews-brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.reviews-header nav { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); align-items: center; font-size: 0.76rem; font-weight: 600; }
.reviews-header nav > a:first-child { color: rgba(255, 255, 255, 0.72); }
.reviews-header nav > a:hover { color: #fff; }
.reviews-header__cta { display: inline-flex; min-height: 2.85rem; padding: 0 1rem; gap: 0.75rem; align-items: center; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; }

.reviews-hero {
  position: relative;
  min-height: 0;
  padding: 8rem var(--page-pad) 1.25rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 82% 32%, rgba(36, 144, 211, 0.28), transparent 32%),
    linear-gradient(135deg, #0d1714 0%, #182a25 58%, #132a39 100%);
  isolation: isolate;
}

.reviews-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 10, 8, 0.3));
}

.reviews-hero__texture { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.reviews-hero__texture::before {
  position: absolute;
  top: 7.2rem;
  right: clamp(4rem, 17vw, 16rem);
  width: clamp(11rem, 16vw, 16rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(121, 201, 241, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.7rem rgba(121, 201, 241, 0.025),
    0 0 0 calc(2.7rem + 1px) rgba(121, 201, 241, 0.075);
}
.reviews-hero__texture::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  content: "";
  opacity: 0.24;
  background-image: radial-gradient(circle, rgba(139, 215, 250, 0.5) 0 1px, transparent 1.2px);
  background-size: 1.45rem 1.45rem;
  mask-image: linear-gradient(90deg, transparent, #000 48%, transparent 96%);
}
.reviews-hero__texture img { position: absolute; top: -10%; right: -4rem; width: min(39vw, 32rem); opacity: 0.12; filter: grayscale(0.2) contrast(0.9); transform: rotate(10deg); }
.reviews-hero__texture > span { position: absolute; right: 7vw; bottom: -15rem; color: rgba(255, 255, 255, 0.025); font-family: Georgia, serif; font-size: min(46vw, 34rem); line-height: 1; }
.reviews-hero__sparkles { position: absolute; top: 9rem; left: 51%; display: grid; width: 3.5rem; height: 5rem; }
.reviews-hero__sparkles i { position: absolute; width: 0.65rem; height: 0.65rem; opacity: 0.6; }
.reviews-hero__sparkles i::before,
.reviews-hero__sparkles i::after { position: absolute; top: 50%; left: 50%; content: ""; background: #8bd7fa; transform: translate(-50%, -50%); }
.reviews-hero__sparkles i::before { width: 100%; height: 1px; }
.reviews-hero__sparkles i::after { width: 1px; height: 100%; }
.reviews-hero__sparkles i:nth-child(2) { top: 1.8rem; left: 2.5rem; width: 0.35rem; height: 0.35rem; opacity: 0.35; }
.reviews-hero__sparkles i:nth-child(3) { top: 4.1rem; left: 0.8rem; width: 0.45rem; height: 0.45rem; opacity: 0.42; }
.reviews-hero__inner { width: min(100%, 86rem); margin: 0 auto; }
.reviews-back { display: inline-flex; margin: 0.4rem 0 2.1rem; gap: 0.65rem; align-items: center; color: rgba(255, 255, 255, 0.58); font-size: 0.72rem; font-weight: 600; }
.reviews-back:hover { color: #fff; }
.reviews-hero__layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.52fr); gap: clamp(2rem, 8vw, 9rem); align-items: end; }

.eyebrow { margin: 0 0 0.9rem; color: var(--blue); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.reviews-hero .eyebrow { color: #8bd7fa; }
.reviews-hero h1,
.section-heading h2,
.review-write__intro h2 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.reviews-hero h1 { max-width: 48rem; font-size: clamp(3rem, 5.2vw, 5.25rem); line-height: 0.91; }
.reviews-hero h1 em,
.section-heading h2 em,
.review-write__intro h2 em { color: #79c9f1; font-weight: 400; }
.reviews-hero__aside { padding-bottom: 0.6rem; }
.reviews-hero__aside > p { margin: 0 0 1.25rem; color: rgba(255, 255, 255, 0.68); font-size: 0.84rem; line-height: 1.65; }
.reviews-hero__aside > a { display: flex; padding: 0 0 0.9rem; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.26); font-size: 0.76rem; font-weight: 600; }

.reviews-summary { display: grid; margin-top: 2.2rem; grid-template-columns: 0.7fr 0.7fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.reviews-summary > div { display: grid; min-height: 5.5rem; padding: 0.8rem 2rem 0 0; align-content: center; border-right: 1px solid rgba(255, 255, 255, 0.15); }
.reviews-summary > div + div { padding-left: 2rem; }
.reviews-summary > div:last-child { border-right: 0; }
.reviews-summary strong { font-family: "Lora", Georgia, serif; font-size: clamp(1.7rem, 2.4vw, 2.45rem); font-weight: 400; }
.reviews-summary span { margin-top: 0.35rem; color: rgba(255, 255, 255, 0.52); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.reviews-summary__stars strong { color: #79c9f1; font-family: inherit; font-size: 0.86rem; letter-spacing: 0.26em; }

.reviews-list-section { padding: clamp(5rem, 9vw, 9rem) var(--page-pad); background: var(--paper); }
.section-heading { display: grid; width: min(100%, 86rem); margin: 0 auto clamp(3rem, 6vw, 5rem); grid-template-columns: 1fr minmax(17rem, 0.38fr); gap: 3rem; align-items: end; }
.section-heading h2 { font-size: clamp(3rem, 5.8vw, 6rem); line-height: 0.92; }
.section-heading h2 em { color: var(--blue); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.7; }

.reviews-grid { display: grid; width: min(100%, 86rem); margin: 0 auto; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.review-card { position: relative; display: flex; min-height: 20rem; padding: clamp(1.4rem, 2.3vw, 2.1rem); overflow: hidden; flex-direction: column; justify-content: space-between; grid-column: span 4; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; box-shadow: 0 1.2rem 3rem rgba(34, 81, 105, 0.065); }
.review-card:nth-child(5n + 1) { grid-column: span 7; background: linear-gradient(145deg, rgba(121, 201, 241, 0.14), transparent 55%), #fff; }
.review-card:nth-child(5n + 2) { grid-column: span 5; }
.review-card__quote { position: absolute; top: -1.2rem; right: 1.2rem; color: rgba(23, 103, 217, 0.07); font-family: Georgia, serif; font-size: 8rem; line-height: 1; }
.review-card__stars { position: relative; color: var(--blue); font-size: 0.76rem; letter-spacing: 0.17em; }
.review-card blockquote { position: relative; margin: 2.5rem 0; }
.review-card blockquote p { margin: 0; white-space: pre-line; font-family: "Lora", Georgia, serif; font-size: clamp(1.08rem, 1.5vw, 1.38rem); line-height: 1.45; }
.review-card:nth-child(5n + 1) blockquote p { max-width: 47rem; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.review-card footer { display: flex; padding-top: 1rem; gap: 1rem; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); }
.review-card cite { font-size: 0.82rem; font-style: normal; font-weight: 700; }
.review-card footer div { display: grid; gap: 0.25rem; }
.review-card footer small { color: var(--muted); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; }
.review-card time { color: #8792a3; font-size: 0.64rem; }

.reviews-loading { display: grid; width: min(100%, 86rem); min-height: 16rem; margin: 0 auto; grid-template-columns: repeat(3, 0.55rem); gap: 0.35rem; place-content: center; color: var(--muted); text-align: center; }
.reviews-loading span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--blue); animation: loading-dot 900ms ease-in-out infinite alternate; }
.reviews-loading span:nth-child(2) { animation-delay: 150ms; }
.reviews-loading span:nth-child(3) { animation-delay: 300ms; }
.reviews-loading p { grid-column: 1 / -1; margin: 0.65rem 0 0; font-size: 0.72rem; }
.reviews-empty { width: min(100%, 86rem); margin: 0 auto; padding: 4rem 1rem; border: 1px dashed var(--line); border-radius: 1.2rem; color: var(--muted); text-align: center; }

.review-write-section { display: grid; padding: clamp(5rem, 9vw, 9rem) var(--page-pad); grid-template-columns: minmax(18rem, 0.7fr) minmax(28rem, 1fr); gap: clamp(3rem, 9vw, 9rem); color: #fff; background: linear-gradient(135deg, #101b17, #173128); }
.review-write__intro { max-width: 38rem; justify-self: end; }
.review-write__intro .eyebrow { color: #8bd7fa; }
.review-write__intro h2 { font-size: clamp(3.2rem, 5.8vw, 6rem); line-height: 0.92; }
.review-write__intro > p:not(.eyebrow) { max-width: 30rem; margin: 2rem 0 0; color: rgba(255, 255, 255, 0.62); font-size: 0.86rem; line-height: 1.75; }
.review-write__note { max-width: 30rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.review-write__note p { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 0.72rem; line-height: 1.6; }
.review-write__note strong { display: block; margin-bottom: 0.2rem; color: #fff; font-size: 0.74rem; }

.review-form { display: grid; width: min(100%, 46rem); gap: 1.15rem; padding: clamp(1.5rem, 3.5vw, 3rem); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--radius); background: rgba(255, 255, 255, 0.075); box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18); backdrop-filter: blur(10px); }
.review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.review-form label { position: relative; display: grid; gap: 0.55rem; }
.review-form label > span:first-child,
.review-rating legend { color: rgba(255, 255, 255, 0.72); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.review-form label small { color: rgba(255, 255, 255, 0.4); font-weight: 400; text-transform: none; }
.review-form input[type="text"],
.review-form textarea,
.review-form select { width: 100%; min-height: 3.6rem; padding: 0.85rem 1rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0.75rem; outline: 0; color: #fff; background: rgba(255, 255, 255, 0.075); transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.review-form textarea { min-height: 10rem; resize: vertical; line-height: 1.6; }
.review-form select { color-scheme: light; }
.review-form select option { color: #17233a; background: #fff; }
.review-form select option:disabled { color: #7f8998; }
.review-form input::placeholder,
.review-form textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus { border-color: #79c9f1; background: rgba(255, 255, 255, 0.11); box-shadow: 0 0 0 3px rgba(121, 201, 241, 0.1); }
.review-form__counter { position: absolute; right: 0.75rem; bottom: 0.65rem; color: rgba(255, 255, 255, 0.35) !important; font-size: 0.62rem; }

.review-rating { margin: 0; padding: 0.25rem 0; border: 0; }
.review-rating legend { margin-bottom: 0.55rem; }
.review-rating__stars { display: flex; width: max-content; flex-direction: row-reverse; gap: 0.22rem; }
.review-rating__stars input { position: absolute; opacity: 0; pointer-events: none; }
.review-rating__stars label { color: rgba(255, 255, 255, 0.2); font-size: 1.65rem; line-height: 1; cursor: pointer; transition: color 140ms ease, transform 140ms ease; }
.review-rating__stars label:hover,
.review-rating__stars label:hover ~ label,
.review-rating__stars input:checked ~ label { color: #79c9f1; }
.review-rating__stars label:hover { transform: scale(1.12); }
.review-rating__stars input:focus-visible + label { outline: 3px solid rgba(121, 201, 241, 0.35); outline-offset: 2px; }
.review-form__website { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.review-consent { display: grid !important; grid-template-columns: 1.15rem 1fr; gap: 0.7rem !important; align-items: start; }
.review-consent input { width: 1rem; height: 1rem; margin: 0.13rem 0 0; accent-color: #79c9f1; }
.review-consent span { color: rgba(255, 255, 255, 0.58) !important; font-size: 0.69rem !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.review-form__footer { display: grid; margin-top: 0.3rem; grid-template-columns: minmax(12rem, 0.5fr) 1fr; gap: 1rem; align-items: center; }
.review-form__footer button { display: flex; min-height: 3.7rem; padding: 0 1.15rem; align-items: center; justify-content: space-between; border: 0; border-radius: 0.75rem; color: #10201a; background: #8bd7fa; font-size: 0.72rem; font-weight: 700; transition: background 160ms ease, transform 160ms ease; }
.review-form__footer button:hover { background: #fff; transform: translateY(-2px); }
.review-form__footer button:disabled { cursor: wait; opacity: 0.58; transform: none; }
.review-form__status { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 0.7rem; line-height: 1.5; }
.review-form__status.is-success { color: #94e0bd; }
.review-form__status.is-error { color: #ffaaaa; }

.site-footer {
  position: relative;
  z-index: 3;
  margin-top: -1rem;
  padding: clamp(4rem, 7vw, 6.5rem) var(--page-pad) 1.5rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  color: #f6f5ef;
  background:
    radial-gradient(circle at 87% 12%, rgba(121, 201, 241, 0.13) 0 0.1rem, transparent 0.13rem) 0 0 / 1.55rem 1.55rem,
    radial-gradient(ellipse at 8% 105%, rgba(38, 169, 237, 0.2), transparent 36%),
    linear-gradient(135deg, #101a18 0%, #14282a 58%, #11212a 100%);
  box-shadow: 0 -1rem 2.8rem rgba(24, 48, 52, 0.12);
}
.site-footer::after { position: absolute; right: -2rem; bottom: -4rem; content: "GV"; color: rgba(255, 255, 255, 0.025); font-family: "Lora", Georgia, serif; font-size: clamp(11rem, 24vw, 24rem); line-height: 0.75; pointer-events: none; }
.site-footer__inner { position: relative; z-index: 1; display: grid; width: min(100%, 76rem); margin: 0 auto; grid-template-columns: minmax(17rem, 1.2fr) minmax(10rem, 0.62fr) minmax(16rem, 0.9fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.site-footer__brand > a { display: block; width: min(100%, 17rem); }
.site-footer__brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.site-footer__brand p { max-width: 21rem; margin: 1.4rem 0 0; color: rgba(246, 245, 239, 0.58); font-family: "Lora", Georgia, serif; font-size: 1rem; line-height: 1.65; }
.site-footer__group h2 { margin: 0 0 1.25rem; color: #79c9f1; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.site-footer__group nav { display: grid; gap: 0.72rem; }
.site-footer__group a { width: fit-content; color: rgba(246, 245, 239, 0.72); font-size: 0.78rem; line-height: 1.45; transition: color 180ms ease, transform 180ms ease; }
.site-footer__group a:hover,
.site-footer__group a:focus-visible { color: #fff; transform: translateX(0.18rem); }
.site-footer__group--legal a { display: inline-flex; gap: 0.55rem; align-items: center; }
.site-footer__group--legal a span { color: #79c9f1; font-size: 0.82rem; }
.site-footer__bottom { position: relative; z-index: 1; display: grid; width: min(100%, 76rem); margin: clamp(3rem, 6vw, 5rem) auto 0; padding-top: 1.25rem; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.13); color: rgba(246, 245, 239, 0.42); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer__bottom a { color: rgba(246, 245, 239, 0.68); }
.site-footer__bottom span:last-child { text-align: right; }
.site-footer__credit { position: relative; z-index: 1; margin: 0.9rem auto 0; color: rgba(246, 245, 239, 0.3); font-size: 0.5rem; font-weight: 500; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.site-footer__credit strong { color: rgba(246, 245, 239, 0.54); font-weight: 600; }

@media (max-width: 900px) {
  .reviews-hero { min-height: auto; }
  .reviews-hero__layout,
  .section-heading,
  .review-write-section { grid-template-columns: 1fr; }
  .reviews-hero__aside { max-width: 32rem; }
  .review-card,
  .review-card:nth-child(5n + 1),
  .review-card:nth-child(5n + 2) { grid-column: span 6; }
  .review-write__intro { max-width: none; justify-self: auto; }
  .review-form { width: 100%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .reviews-header { min-height: 5.8rem; }
  .reviews-header nav > a:first-child { display: none; }
  .reviews-header__cta { min-height: 2.45rem; padding: 0 0.8rem; font-size: 0.68rem; }
  .reviews-brand { width: 9.7rem; }
  .reviews-hero { padding-top: 6.2rem; padding-bottom: 0.65rem; }
  .reviews-back { display: none; }
  .reviews-hero__layout { gap: 1rem; }
  .reviews-hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.15rem); }
  .reviews-hero__aside > p { display: none; }
  .reviews-hero__texture::before { top: 8.2rem; right: -4rem; width: 10rem; opacity: 0.62; }
  .reviews-hero__texture::after { width: 68%; opacity: 0.13; }
  .reviews-hero__sparkles { display: none; }
  .reviews-summary { margin-top: 1.2rem; }
  .reviews-summary { grid-template-columns: 1fr 1fr; }
  .reviews-summary > div { min-height: 4.35rem; padding: 0.55rem 1rem 0 0; }
  .reviews-summary > div + div { padding-left: 1rem; }
  .reviews-summary > div:nth-child(2) { border-right: 0; }
  .reviews-summary__stars { display: none !important; }
  .section-heading { gap: 1.2rem; }
  .section-heading h2,
  .review-write__intro h2 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card,
  .review-card:nth-child(5n + 1),
  .review-card:nth-child(5n + 2) { min-height: 18rem; grid-column: auto; }
  .review-form__row,
  .review-form__footer { grid-template-columns: 1fr; }
  .review-form { padding: 1.2rem; border-radius: 1.3rem; }
  .site-footer { padding: 3.6rem 1.15rem 1.25rem; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__brand > a { width: 13.5rem; }
  .site-footer__bottom { grid-template-columns: 1fr; gap: 0.65rem; line-height: 1.5; }
  .site-footer__bottom span:last-child { text-align: left; }
  .site-footer__credit { margin-top: 1.1rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@keyframes loading-dot { to { opacity: 0.25; transform: translateY(-0.25rem); } }
