@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f3f1eb;
  --surface: #ffffff;
  --surface-alt: #ece8de;
  --surface-strong: #e4e0d5;
  --panel: #171717;
  --text: #181817;
  --text-soft: #5d5a52;
  --muted: #7a766d;
  --line: rgba(24, 24, 23, 0.12);
  --line-strong: rgba(24, 24, 23, 0.2);
  --brand: #111111;
  --brand-2: #57534e;
  --brand-rgb: 17 17 17;
  --brand2-rgb: 87 83 78;
  --text-rgb: 24 24 23;
  --panel-rgb: 23 23 23;
  --success: #1f7a4e;
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 28px 80px rgba(17, 17, 17, 0.12);
  --radius: 24px;
  --body-font: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-font: "Cormorant Garamond", Georgia, serif;
  --discovery-logo-height: 38px;
  --vylo-logo-height: 58px;
  --header-height: 100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(180deg, #f7f5f0 0%, var(--bg) 42%, #efede6 100%);
  color: var(--text);
  line-height: 1.65;
}

main {
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-to-content {
  position: absolute;
  left: -9999px;
}

.skip-to-content:focus-within {
  left: 16px;
  top: 16px;
  z-index: 300;
  background: var(--panel);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(24, 24, 23, 0.08);
}

.brand-pair {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  height: var(--discovery-logo-height);
  width: auto;
  object-fit: contain;
}

.logo-vilo {
  height: var(--vylo-logo-height);
  filter: brightness(0);
}

.primary-nav {
  width: 100%;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-nav a,
.primary-nav button {
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav button:hover {
  text-decoration: none;
  background: rgba(17, 17, 17, 0.06);
}

.primary-nav .cta {
  background: var(--panel);
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
}

.primary-nav .cta:hover {
  background: #2a2a2a;
  color: #fff;
}

.primary-nav__mobile-cta {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta:hover {
  text-decoration: none;
  background: #2a2a2a;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:focus-visible,
.primary-nav a:focus-visible,
.header-cta:focus-visible,
.btn:focus-visible,
.input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.checkbox input:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.2);
  outline-offset: 3px;
}

.nav-toggle-icon {
  position: relative;
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 17, 17, 0.3);
  display: none;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 56px 0 60px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.62) 0%, rgba(17, 17, 17, 0.52) 100%),
    url("../img/home/hero-city-team.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  max-width: 760px;
  color: #fff;
  text-align: center;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-top: 18px;
  color: #fff;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero .lead {
  max-width: 700px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.hero .actions {
  justify-content: center;
  margin-top: 34px;
}

.hero .btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero .btn.primary {
  background: #fff;
  border-color: #fff;
  color: var(--text);
}

.hero .btn.primary:hover {
  background: #f1ece4;
  border-color: #f1ece4;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-sidebar {
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
}

.hero-sidebar__card,
.hero-disclosure {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(248, 246, 241, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
}

.hero-sidebar__card h3 {
  margin-top: 12px;
  text-align: center;
}

.hero-sidebar__card p {
  margin-top: 14px;
  text-align: center;
}

.hero-disclosure strong {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-disclosure p {
  margin-top: 12px;
  font-size: 0.96rem;
  text-align: center;
}

.hero-panel,
.page-hero__panel,
.consultation-panel {
  position: relative;
  z-index: 1;
  background: rgba(248, 246, 241, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: calc(var(--radius) + 8px);
}

.hero-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
}

.page-hero {
  padding: 44px 0 20px;
}

.page-hero__panel {
  padding: clamp(32px, 4vw, 48px);
  text-align: center;
}

.eyebrow,
.section-kicker,
.mini-label {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display-font);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.25rem);
  margin-top: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

h4 {
  font-size: 1.02rem;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: var(--text-soft);
}

.hero-panel h1,
.page-hero__panel h1,
.section-heading h2,
.consultation-panel h2 {
  letter-spacing: -0.035em;
}

.actions,
.form-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel .actions,
.consultation-panel .actions {
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(17, 17, 17, 0.08);
}

.btn.primary {
  background: var(--panel);
  border-color: var(--panel);
  color: #fff;
}

.btn.primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.btn.whatsapp {
  background: #1f8f5f;
  border-color: #1f8f5f;
  color: #fff;
}

.btn.whatsapp:hover {
  background: #19734d;
  border-color: #19734d;
}

.mini {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.section-shell {
  padding: 68px 0;
  position: relative;
}

.section-shell--muted {
  background: rgba(255, 255, 255, 0.44);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.section-heading h1 {
  margin-top: 14px;
}

.section-copy {
  margin-top: 16px;
}

.about-layout,
.contact-grid,
.split-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.about-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.intro-copy {
  display: grid;
  gap: 18px;
  text-align: center;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 32px;
  align-items: start;
  min-height: 360vh;
}

.about-story__copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 20px;
  align-content: start;
  padding-top: 12px;
  text-align: center;
}

.about-story__points {
  display: grid;
  gap: 14px;
}

.about-story__point {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 24, 23, 0.08);
  border-radius: 22px;
  text-align: center;
}

.about-story__point strong,
.about-story__point span {
  display: block;
}

.about-story__point strong {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 6px;
}

.about-story__visual {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: calc(100vh - var(--header-height) - 48px);
}

.story-carousel {
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-lg);
  padding: 12px;
}

.story-track {
  display: grid;
  gap: 12px;
  will-change: transform;
}

.story-card {
  position: relative;
  height: calc(100vh - var(--header-height) - 72px);
  min-height: 420px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.06) 0%, rgba(17, 17, 17, 0.58) 100%);
}

.story-card__overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff;
}

.story-card__overlay strong,
.story-card__overlay span {
  display: block;
}

.story-card__overlay strong {
  font-family: var(--display-font);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.story-card__overlay span {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.stats-grid,
.info-grid,
.team-grid,
.value-grid,
.grid-3,
.footer-grid {
  display: grid;
  gap: 20px;
}

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

.stat-card,
.info-card,
.team-card,
.value-card,
.direct-card,
.contact-panel,
.service-summary,
.product-layout,
.form,
.disclosure,
.notice,
.about-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 24px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card strong {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--text);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disclosure {
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(236, 232, 222, 0.86);
  border-color: rgba(24, 24, 23, 0.08);
}

.disclosure--wide {
  margin-top: 28px;
  width: 100%;
  padding: 28px 32px;
  border-radius: calc(var(--radius) + 2px);
  text-align: center;
}

.services-list {
  display: grid;
  gap: 16px;
}

.service-item {
  display: grid;
  grid-template-columns: 72px 180px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: stretch;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(24, 24, 23, 0.14);
}

.service-item__count {
  align-self: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-item__media {
  display: block;
  min-height: 138px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid rgba(24, 24, 23, 0.06);
}

.service-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-item:hover .service-item__media img {
  transform: scale(1.05);
}

.service-item__body {
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.service-item__title {
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.service-item__meta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-item__copy {
  color: var(--text-soft);
}

.service-item__arrow {
  align-self: center;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.05);
  color: var(--text);
  font-size: 1.4rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-item:hover .service-item__arrow {
  transform: translateX(4px);
  background: rgba(17, 17, 17, 0.1);
}

.service-note {
  margin-top: 22px;
  text-align: center;
}

.team-grid,
.value-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card,
.value-card,
.info-card,
.service-summary,
.about-card {
  padding: 28px;
  text-align: center;
}

.team-card {
  display: grid;
  gap: 16px;
}

.team-card__media {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.12));
  display: grid;
  place-items: center;
}

.team-card__media img {
  width: 52px;
  height: 52px;
}

.team-card p,
.value-card p,
.info-card p,
.about-card p {
  margin-top: 10px;
}

.quote-mark {
  font-size: 2rem;
  color: var(--muted);
  line-height: 1;
}

.consultation-panel {
  padding: 34px;
  text-align: center;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.contact-panel,
.direct-card {
  padding: 32px;
}

.contact-panel {
  text-align: center;
}

.direct-card {
  display: grid;
  gap: 22px;
  text-align: center;
}

.direct-list,
.footer-links,
.unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.direct-list {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.direct-list li span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-summary {
  display: grid;
  gap: 12px;
}

.service-summary--contact {
  text-align: center;
}

.actions--centered {
  justify-content: center;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.form-fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.form-fieldset legend {
  padding: 0 8px;
  color: var(--text);
  font-weight: 700;
}

.input,
textarea,
select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 24, 23, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 24, 23, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 600;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--panel);
}

.notice {
  padding: 16px 18px;
  background: rgba(236, 232, 222, 0.8);
  border-color: rgba(24, 24, 23, 0.08);
  color: var(--text-soft);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.small {
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

ul.check {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

ul.check li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}

ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--panel);
}

.product-layout {
  padding: 28px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.product-image {
  width: 100%;
  height: clamp(320px, 44vw, 520px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}

.product-copy {
  display: grid;
  gap: 18px;
  text-align: center;
}

.policy-shell {
  display: grid;
  gap: 22px;
}

.policy-lead {
  max-width: 860px;
}

.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.policy-main,
.policy-side {
  display: grid;
  gap: 18px;
}

.policy-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.policy-card h2,
.policy-card h3 {
  margin-bottom: 12px;
}

.policy-list,
.policy-anchor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.policy-list li,
.policy-anchor-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.policy-list li::before,
.policy-anchor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--panel);
}

.policy-anchor-list a {
  color: var(--text);
  font-weight: 700;
}

.policy-side {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.policy-note {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(236, 232, 222, 0.8);
  border: 1px solid rgba(24, 24, 23, 0.08);
}

.policy-note strong {
  color: var(--text);
}

.policy-meta {
  display: grid;
  gap: 10px;
}

.policy-meta strong,
.policy-meta span {
  display: block;
}

.policy-meta strong {
  color: var(--text);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-meta span,
.policy-meta a {
  color: var(--text-soft);
}

.calculator-section {
  margin: 0 auto 0;
  padding-bottom: 40px;
}

.calculator-shell {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.calculator-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.calculator-heading h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.calculator-heading p {
  margin-top: 12px;
}

.calculator-lock {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: grid;
  gap: 22px;
  align-content: center;
  justify-items: start;
  padding: 32px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(24, 24, 23, 0.1);
  background:
    linear-gradient(140deg, rgba(17, 17, 17, 0.9), rgba(58, 56, 53, 0.84)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 36%);
  color: #fff;
  cursor: pointer;
}

.calculator-lock::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.45;
  pointer-events: none;
}

.calculator-lock > * {
  position: relative;
  z-index: 1;
}

.calculator-lock__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-lock h3 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  max-width: 620px;
}

.calculator-lock p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.calculator-lock__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calculator-lock__features span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.calculator-lock__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calculator-content {
  display: grid;
  gap: 28px;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.calculator-shell.is-locked .calculator-content {
  filter: blur(2px);
  opacity: 0.52;
  pointer-events: none;
  user-select: none;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.calculator-panel {
  padding: 24px;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(248, 246, 241, 0.86);
  border: 1px solid rgba(24, 24, 23, 0.08);
}

.calculator-panel h3 {
  font-size: 1.2rem;
}

.calculator-panel p {
  margin-top: 8px;
}

.calculator-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.calculator-field,
.calculator-field--full {
  display: grid;
  gap: 8px;
}

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

.calculator-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.calculator-field__value {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.calculator-field input[type="range"] {
  width: 100%;
  accent-color: var(--panel);
}

.calculator-field input:disabled,
.calculator-field select:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.calculator-field input[type="number"],
.calculator-field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(24, 24, 23, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
}

.calculator-results {
  display: grid;
  gap: 16px;
}

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

.calculator-results--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calculator-result {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 24, 23, 0.08);
}

.calculator-result__label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calculator-result__value {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.05;
}

.calculator-result__meta {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.calculator-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.calculator-breakdown__item {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 24, 23, 0.08);
}

.calculator-breakdown__item strong,
.calculator-breakdown__item span {
  display: block;
}

.calculator-breakdown__item span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calculator-breakdown__item strong {
  margin-top: 10px;
  font-size: 1.3rem;
  color: var(--text);
}

.calculator-note {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(236, 232, 222, 0.86);
  border: 1px solid rgba(24, 24, 23, 0.08);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.product-detail-section {
  padding: 0 0 42px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.product-detail-card,
.product-highlight-panel,
.product-cta-band {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow);
  text-align: center;
}

.product-detail-card {
  padding: 26px;
}

.product-detail-card p {
  margin-top: 12px;
}

.product-highlight-panel {
  margin-top: 18px;
  padding: 28px;
}

.product-highlight-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.product-highlight-panel p + p {
  margin-top: 14px;
}

.product-cta-band {
  margin-top: 18px;
  padding: 28px;
  display: grid;
  gap: 14px;
  align-items: center;
}

.product-cta-band h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.product-cta-band .actions {
  margin-top: 6px;
  justify-content: center;
}

.unlock-modal__heading {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.unlock-modal__heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.unlock-modal__service {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.unlock-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.unlock-form__full {
  grid-column: 1 / -1;
}

.unlock-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.unlock-form__consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--panel);
}

.unlock-form__error {
  color: #b42318;
  font-size: 0.82rem;
  min-height: 1.1rem;
}

.unlock-form__status {
  min-height: 1.2rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

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

.table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  border-radius: 18px;
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.quote {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid rgba(17, 17, 17, 0.2);
}

.site-footer {
  margin-top: 32px;
  padding: 44px 0 24px;
  background: rgba(248, 246, 241, 0.82);
  border-top: 1px solid rgba(24, 24, 23, 0.08);
  text-align: center;
}

.site-footer .disclosure {
  margin-top: 0;
  margin-bottom: 26px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr));
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.footer-brand h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 24, 23, 0.08);
  display: grid;
  gap: 20px;
}

.footer-meta h4,
.site-footer h4 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-meta p,
.site-footer li,
.site-footer .small {
  color: var(--text-soft);
}

.team-roller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.team-roller::-webkit-scrollbar {
  display: none;
}

.team-roller .track {
  display: flex;
  gap: 18px;
}

.team-roller .member {
  min-width: 280px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.team-roller .avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.08);
  color: var(--text);
  font-weight: 800;
}

.team-roller .role {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.team-roller .contact {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.team-roller .contact-actions {
  margin-top: 14px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.38);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .contact-modal {
    place-items: start center;
    padding: 12px;
  }

  .contact-modal__dialog {
    max-height: calc(100dvh - 24px);
    margin-top: 0;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  width: min(540px, calc(100% - 32px));
  transform: translate(-50%, 28px);
  opacity: 0;
  pointer-events: none;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(24, 24, 23, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-banner__title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.cookie-banner__copy {
  font-size: 0.92rem;
}

.cookie-banner__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  flex: 1 1 160px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__btn--primary {
  background: var(--panel);
  color: #fff;
  border-color: var(--panel);
}

.cookie-banner__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.86rem;
}

@media (max-width: 1024px) {
  .about-story,
  .hero-layout,
  .about-layout,
  .contact-grid,
  .product-layout,
  .policy-grid,
  .footer-grid,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .value-grid,
  .info-grid,
  .product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story {
    min-height: auto;
  }

  .about-story__copy,
  .about-story__visual,
  .policy-side {
    position: static;
    top: auto;
    height: auto;
  }

  .story-carousel {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .story-track {
    transform: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card {
    height: 380px;
    min-height: 0;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 900px) {
  :root {
    --discovery-logo-height: 32px;
    --vylo-logo-height: 48px;
    --header-height: 84px;
  }

  .site-header {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    z-index: 80;
    display: none;
    padding: 16px;
    border-radius: 26px;
    background: rgba(248, 246, 241, 0.98);
    border: 1px solid rgba(24, 24, 23, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav a,
  .primary-nav button {
    width: 100%;
    text-align: center;
  }

  .primary-nav__mobile-cta {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 42px;
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.48)),
      url("../img/home/hero-city-team.jpg") center 24% / 92% auto no-repeat;
  }

  .hero-layout {
    align-items: start;
    justify-items: center;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .service-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-track {
    grid-template-columns: 1fr;
  }

  .service-item__count {
    align-self: center;
  }

  .service-item__media {
    min-height: 220px;
  }

  .service-item__arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    padding: 16px 14px;
  }

  .brand-pair {
    gap: 12px;
  }

  .hero-panel,
  .page-hero__panel,
  .consultation-panel,
  .hero-sidebar__card,
  .hero-disclosure,
  .contact-panel,
  .direct-card,
  .form,
  .service-item,
  .team-card,
  .value-card,
  .info-card,
  .service-summary,
  .stat-card,
  .product-layout,
  .disclosure {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero .actions {
    justify-content: stretch;
  }

  .hero .btn {
    width: 100%;
  }

  .section-shell {
    padding: 52px 0;
  }

  .stats-grid,
  .story-track,
  .team-grid,
  .value-grid,
  .info-grid,
  .product-detail-grid,
  .grid-3,
  .checkbox-grid,
  .calculator-results--three,
  .calculator-results--two,
  .calculator-breakdown,
  .unlock-form__grid {
    grid-template-columns: 1fr;
  }

  .calculator-form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    width: auto;
    transform: translateY(28px);
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }

  .site-footer .grid-3,
  .site-footer .footer-grid {
    justify-items: center;
  }
}
