/* hchotelinc.store — production stylesheet */

:root {
  --ink: #11182a;
  --ink-soft: #5f687a;
  --ink-muted: #8b94a6;
  --navy: #0a1020;
  --navy-soft: #121b31;
  --blue: #5267f7;
  --blue-dark: #3d4fd0;
  --gold: #d8a74d;
  --gold-light: #f2d99b;
  --canvas: #f4f6fa;
  --surface: #ffffff;
  --line: #e1e6ef;
  --glass: rgba(255, 255, 255, 0.09);
  --shadow-sm: 0 10px 34px rgba(12, 24, 48, 0.08);
  --shadow-md: 0 18px 52px rgba(12, 24, 48, 0.13);
  --shadow-lg: 0 30px 90px rgba(3, 10, 26, 0.25);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --header-height: 82px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

svg {
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy);
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(82, 103, 247, 0.42);
  outline-offset: 4px;
}

.page-loader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--navy);
  pointer-events: none;
  animation: loaderExit 600ms var(--ease) 900ms forwards;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.loader-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(242, 217, 155, 0.72);
  animation: loaderPulse 900ms ease-in-out infinite;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: #ffffff;
  background: rgba(10, 16, 32, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: height 260ms var(--ease), background-color 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled,
.site-header-solid {
  height: 72px;
  background: rgba(10, 16, 32, 0.94);
  box-shadow: 0 12px 40px rgba(3, 8, 20, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  border: 1px solid rgba(242, 217, 155, 0.72);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(216, 167, 77, 0.2);
}

.primary-navigation {
  display: flex;
  gap: clamp(16px, 2vw, 29px);
  align-items: center;
  color: #cad2e2;
  font-size: 0.82rem;
  font-weight: 680;
}

.primary-navigation a:not(.nav-action) {
  position: relative;
  transition: color 180ms ease;
}

.primary-navigation a:not(.nav-action)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold-light);
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transition: transform 220ms var(--ease);
}

.primary-navigation a:not(.nav-action):hover,
.primary-navigation a:not(.nav-action):focus-visible,
.primary-navigation a.is-active {
  color: #ffffff;
}

.primary-navigation a:not(.nav-action):hover::after,
.primary-navigation a.is-active::after {
  transform: scaleX(1);
}

.nav-action {
  position: relative;
  overflow: hidden;
  padding: 10px 17px;
  color: #17130c;
  background: linear-gradient(145deg, #f2dcaa, #d2a04a);
  border-radius: 999px;
  box-shadow: 0 9px 25px rgba(216, 167, 77, 0.18);
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
}

.nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(216, 167, 77, 0.3);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 220ms var(--ease), opacity 160ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 22%, rgba(82, 103, 247, 0.24), transparent 28%),
    radial-gradient(circle at 20% 75%, rgba(216, 167, 77, 0.11), transparent 26%),
    linear-gradient(135deg, #070c18 0%, #111a31 58%, #141d37 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000000, transparent 94%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-glow-one {
  top: -190px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(92, 111, 247, 0.17), transparent 68%);
}

.hero-glow-two {
  bottom: -260px;
  left: 15%;
  width: 590px;
  height: 590px;
  background: radial-gradient(circle, rgba(226, 175, 84, 0.1), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 72px;
  align-items: center;
  width: min(calc(100% - 32px), var(--container));
  min-height: 100svh;
  padding-block: calc(var(--header-height) + 64px) 88px;
}

.hero-copy {
  max-width: 690px;
}

.hero-kicker,
.section-label {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.policy-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-weight: 720;
  letter-spacing: -0.068em;
  line-height: 0.93;
  overflow-wrap: anywhere;
}

.hero-email {
  display: inline-block;
  margin-top: 28px;
  color: #bfc9dd;
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  font-weight: 600;
  transition: color 180ms ease;
}

.hero-email:hover {
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  position: relative;
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  font-size: 0.88rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, background-color 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  color: #17130c;
  background: linear-gradient(145deg, #f2dcaa, #d2a04a);
  box-shadow: 0 15px 38px rgba(216, 167, 77, 0.2);
}

.button-primary:hover {
  box-shadow: 0 20px 44px rgba(216, 167, 77, 0.34);
  transform: translateY(-3px);
}

.button-secondary {
  color: #eef2ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 650ms ease-out forwards;
}

.hero-media {
  position: relative;
  width: min(100%, 490px);
  min-height: 520px;
  justify-self: end;
  perspective: 900px;
}

.media-frame,
.image-slot {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 255, 255, 0.025) 16px 17px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

figure.image-slot {
  margin: 0;
}

.visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 500ms ease;
}

.media-frame::before,
.image-slot::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  content: "";
}

.media-frame-main {
  position: absolute;
  top: 20px;
  right: 0;
  width: 82%;
  height: 440px;
  border-radius: 110px 26px 110px 26px;
  transform: rotateY(-5deg) rotateZ(1.5deg);
  transition: transform 700ms var(--ease), border-color 260ms ease;
}

.media-frame-main::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 42%, rgba(4, 10, 22, 0.5));
  content: "";
  pointer-events: none;
}

.hero-visual {
  filter: saturate(0.9) contrast(1.03);
}

.hero-logo {
  width: 100%;
  height: 100%;
  padding: 17px;
  object-fit: contain;
  background: #08183e;
  border-radius: inherit;
  transition: transform 700ms var(--ease);
}

.hero-media:hover .hero-logo {
  transform: scale(1.035);
}

.hero-media:hover .media-frame-main {
  border-color: rgba(242, 217, 155, 0.35);
  transform: rotateY(0) rotateZ(0) translateY(-8px);
}

.media-frame-accent {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 38%;
  height: 185px;
  background: #08183e;
  border-radius: 28px;
  transition: transform 500ms var(--ease);
}

.hero-media:hover .media-frame-accent {
  transform: translate(8px, -8px) rotate(-2deg);
}

.decorative-line {
  position: absolute;
  z-index: -1;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(242, 217, 155, 0.7), transparent);
  height: 1px;
}

.line-one {
  top: 52px;
  left: -50px;
  width: 220px;
  transform: rotate(-35deg);
}

.line-two {
  right: -55px;
  bottom: 92px;
  width: 230px;
  transform: rotate(45deg);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 32px;
  height: 50px;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  margin-top: 9px;
  background: var(--gold-light);
  border-radius: 999px;
  animation: scrollCue 1.8s ease-in-out infinite;
}

.section {
  position: relative;
  padding-block: 118px;
  scroll-margin-top: var(--header-height);
}

.section-inner {
  position: relative;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2,
.policy-sidebar h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading-light h2 {
  color: #ffffff;
}

.about-section,
.features-section {
  background: var(--surface);
}

.about-layout,
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.content-panel,
.modern-card,
.contact-card,
.policy-content-card,
.policy-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.content-panel {
  min-height: 390px;
  padding: clamp(24px, 4vw, 44px);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 18%, rgba(82, 103, 247, 0.34), transparent 34%),
    linear-gradient(145deg, #0a1020, #172542);
  border-color: rgba(255, 255, 255, 0.08);
}

.about-brand-mark {
  width: 92px;
  height: 92px;
  margin-bottom: auto;
  object-fit: contain;
  border: 1px solid rgba(242, 217, 155, 0.35);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(1, 7, 20, 0.32);
}

.about-brand-name {
  margin: 42px 0 8px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 730;
  letter-spacing: -0.055em;
  line-height: 1;
}

.about-brand-email {
  color: #c7d0e1;
  font-weight: 620;
  transition: color 180ms ease;
}

.about-brand-email:hover {
  color: var(--gold-light);
}

.image-slot {
  min-height: 390px;
  background:
    radial-gradient(circle at 72% 28%, rgba(82, 103, 247, 0.13), transparent 34%),
    linear-gradient(145deg, #111a31, #202b48);
  border: 1px solid rgba(11, 21, 44, 0.2);
  border-radius: var(--radius-lg);
  transition: transform 520ms var(--ease), box-shadow 520ms ease;
}

.image-slot:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.015);
}

.services-section {
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(82, 103, 247, 0.2), transparent 25%),
    linear-gradient(145deg, #0a1020, #151f37);
}

.services-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 78px 100%;
  content: "";
  pointer-events: none;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.75fr));
}

.glass-card {
  min-height: 230px;
  padding: 30px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 260ms ease, background-color 260ms ease, transform 320ms var(--ease), box-shadow 320ms ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(242, 217, 155, 0.3);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.visual-card {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.visual-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 9, 20, 0.48), transparent 58%);
  content: "";
  pointer-events: none;
}

.visual-card:hover .visual-image,
.image-slot:hover .visual-image,
.hero-media:hover .hero-visual {
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.055);
}

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

.feature-image {
  min-height: 540px;
}

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

.feature-grid .visual-card-wide {
  grid-column: 1 / -1;
}

.modern-card {
  min-height: 250px;
  padding: 28px;
  transition: border-color 260ms ease, box-shadow 320ms ease, transform 320ms var(--ease);
}

.modern-card:hover {
  border-color: rgba(82, 103, 247, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.why-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(82, 103, 247, 0.08), transparent 24%),
    var(--canvas);
}

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

.reason-card {
  min-height: 360px;
}

.contact-section {
  padding-top: 64px;
  background: linear-gradient(to bottom, var(--canvas), #e9edf5);
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 18%, rgba(82, 103, 247, 0.28), transparent 28%),
    linear-gradient(145deg, #0a1020, #18233d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-label {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-card > a:not(.button) {
  color: #ffffff;
  font-size: clamp(0.98rem, 2.4vw, 1.16rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-card .button {
  width: max-content;
  margin-top: 8px;
}

.site-footer {
  color: #aeb9cc;
  background: #070c18;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-main {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  padding-block: 56px;
}

.footer-brand {
  display: grid;
  gap: 15px;
}

.footer-email {
  color: #aeb9cc;
  font-size: 0.85rem;
  transition: color 180ms ease;
}

.footer-email:hover {
  color: var(--gold-light);
}

.footer-nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.8rem;
  font-weight: 650;
}

.footer-nav a {
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #798399;
  font-size: 0.75rem;
}

.scroll-top {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 49px;
  height: 49px;
  padding: 0;
  place-items: center;
  color: #17130c;
  background: linear-gradient(145deg, #f2dcaa, #d2a04a);
  border: 0;
  border-radius: 15px;
  box-shadow: 0 14px 36px rgba(164, 111, 21, 0.28);
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}

.scroll-top[hidden] {
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.scroll-top:hover {
  box-shadow: 0 18px 42px rgba(164, 111, 21, 0.4);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Privacy Policy page */
.policy-page {
  background: #f2f4f8;
}

.policy-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(82, 103, 247, 0.24), transparent 28%),
    linear-gradient(145deg, #080e1c, #18223c);
}

.policy-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 22, 0.98) 0%, rgba(5, 10, 22, 0.86) 45%, rgba(5, 10, 22, 0.46) 100%),
    url("../images/hotel-lobby.webp") center / cover no-repeat;
  content: "";
}

.policy-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 48px;
  align-items: center;
  min-height: 500px;
  padding-top: var(--header-height);
}

.policy-hero-copy {
  min-width: 0;
}

.policy-hero h1 {
  max-width: 780px;
  font-size: clamp(2.9rem, 7vw, 6.2rem);
}

.policy-effective-date {
  display: inline-flex;
  gap: 6px;
  margin: 28px 0 0;
  padding: 10px 15px;
  color: #cbd4e5;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
}

.policy-effective-date strong {
  color: var(--gold-light);
}

.policy-hero-logo {
  width: 190px;
  height: 190px;
  padding: 6px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 217, 155, 0.42);
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
  animation: logoFloat 5.5s ease-in-out infinite;
}

.policy-layout {
  min-height: 760px;
  background: #f2f4f8;
}

.policy-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

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

.policy-sidebar-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-height) - 48px);
  min-height: 260px;
  padding: 22px 14px 14px;
  overflow: hidden;
}

.policy-sidebar h2 {
  padding-inline: 12px;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.policy-sidebar nav {
  min-height: 0;
  margin-top: 18px;
  overflow-y: auto;
  scrollbar-color: #c6cce0 transparent;
  scrollbar-width: thin;
}

.policy-sidebar nav::-webkit-scrollbar {
  width: 6px;
}

.policy-sidebar nav::-webkit-scrollbar-thumb {
  background: #c6cce0;
  border-radius: 999px;
}

.policy-toc-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-toc-list a {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 9px 10px;
  color: var(--ink-soft);
  border-radius: 11px;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
  transition: color 170ms ease, background-color 170ms ease, transform 170ms var(--ease);
}

.policy-toc-list a span {
  color: var(--ink-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.policy-toc-list a:hover {
  color: var(--blue-dark);
  background: #f0f2ff;
  transform: translateX(3px);
}

.policy-toc-list a[aria-current="true"] {
  color: var(--blue-dark);
  background: #e9ecff;
}

.policy-toc-list a[aria-current="true"] span {
  color: var(--blue-dark);
}

.policy-content-card {
  min-height: 680px;
  padding: clamp(28px, 5vw, 56px);
}

.policy-introduction {
  margin: 0 0 42px;
  padding: 25px 27px;
  color: #2f3a51;
  background: linear-gradient(145deg, #f4f1e7, #f5f7ff);
  border: 1px solid #e6dfcc;
  border-radius: 20px;
}

.policy-introduction p {
  margin: 0;
}

.policy-introduction p + p {
  margin-top: 13px;
}

.policy-content-card section {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 26px);
}

.policy-content-card section + section {
  margin-top: 46px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.policy-content-card section::after {
  position: absolute;
  top: -3px;
  right: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue-dark);
  background: #eceeff;
  border: 1px solid #dce0ff;
  border-radius: 13px;
  content: attr(data-section);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.06em;
}

.policy-content-card section + section::after {
  top: 41px;
}

.policy-content-card h2 {
  max-width: calc(100% - 58px);
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.policy-content-card h3 {
  margin: 28px 0 9px;
  color: #27334a;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
}

.policy-content-card p,
.policy-content-card li {
  color: var(--ink-soft);
}

.policy-content-card p {
  margin: 0 0 17px;
}

.policy-content-card ul,
.policy-content-card ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 22px;
  padding-left: 1.3rem;
}

.policy-content-card li::marker {
  color: var(--blue);
}

.policy-content-card a {
  color: var(--blue-dark);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.application-details {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.application-details div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 12px;
}

.application-details dt {
  color: var(--ink);
  font-weight: 760;
}

.application-details dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.policy-contact {
  margin: 4px 0 20px;
  padding: 18px 20px;
  background: #f0f2ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  font-style: normal;
}

.policy-disclaimer {
  margin-inline: -18px;
  padding: 44px 18px 2px;
  background: linear-gradient(145deg, transparent, rgba(216, 167, 77, 0.06));
  border-radius: 20px;
}

/* Scroll reveal */
body.reveal-ready [data-reveal] {
  opacity: 0;
  transition: opacity 780ms var(--ease), transform 780ms var(--ease);
}

body.reveal-ready [data-reveal="slide-up"] {
  transform: translateY(34px);
}

body.reveal-ready [data-reveal="zoom"] {
  transform: scale(0.94);
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@keyframes scrollCue {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(19px);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-11px) rotate(1deg);
  }
}

@media (max-width: 1000px) {
  .primary-navigation {
    gap: 15px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
    gap: 36px;
  }

  .hero-media {
    min-height: 450px;
  }

  .media-frame-main {
    height: 380px;
  }

  .about-layout,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 360px;
  }

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

@media (max-width: 840px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 3px;
    padding: 13px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-9px) scale(0.98);
    transform-origin: top;
    transition: opacity 180ms ease, visibility 180ms ease, transform 220ms var(--ease);
  }

  .primary-navigation[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .primary-navigation a,
  .nav-action {
    display: block;
    padding: 12px 14px;
    color: var(--ink);
    background: transparent;
    border-radius: 11px;
    box-shadow: none;
  }

  .primary-navigation a:hover,
  .nav-action:hover {
    color: var(--ink);
    background: #eef1fb;
    transform: none;
  }

  .primary-navigation a:not(.nav-action)::after {
    display: none;
  }

  .hero-inner {
    display: block;
    padding-top: calc(var(--header-height) + 86px);
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

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

  .hero-media {
    width: min(100%, 520px);
    min-height: 340px;
    margin: 44px auto 0;
  }

  .media-frame-main {
    right: 4%;
    width: 76%;
    height: 310px;
  }

  .media-frame-accent {
    bottom: -4px;
    left: 4%;
    height: 145px;
  }

  .scroll-cue {
    display: none;
  }

  .contact-shell,
  .policy-shell {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }

  .policy-sidebar-card {
    max-height: none;
    min-height: 190px;
  }

  .policy-sidebar nav {
    min-height: 80px;
    overflow: visible;
  }

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

  .footer-main {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-name {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1,
  .policy-hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 62px;
  }

  .hero-media {
    min-height: 280px;
  }

  .media-frame-main {
    height: 250px;
    border-radius: 70px 22px 70px 22px;
  }

  .media-frame-accent {
    width: 44%;
    height: 112px;
  }

  .section {
    padding-block: 80px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .about-layout {
    gap: 20px;
  }

  .content-panel,
  .image-slot {
    min-height: 300px;
    border-radius: var(--radius-md);
  }

  .service-grid,
  .feature-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .glass-card,
  .modern-card {
    min-height: 210px;
  }

  .contact-section {
    padding-top: 36px;
  }

  .contact-shell {
    gap: 34px;
    border-radius: 28px;
  }

  .contact-card {
    padding: 22px;
  }

  .footer-main {
    display: grid;
    gap: 36px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
    width: 100%;
  }

  .footer-bottom {
    min-height: 62px;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .policy-hero,
  .policy-hero-inner {
    min-height: 410px;
  }

  .policy-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: calc(var(--header-height) + 52px) 54px;
    text-align: center;
  }

  .policy-effective-date {
    justify-content: center;
  }

  .policy-hero-logo {
    width: 132px;
    height: 132px;
    justify-self: center;
    border-radius: 30px;
  }

  .policy-toc-list {
    grid-template-columns: 1fr;
  }

  .policy-content-card {
    min-height: 560px;
    border-radius: var(--radius-md);
  }

  .application-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .policy-content-card section::after,
  .policy-content-card section + section::after {
    top: -2px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .policy-content-card section + section::after {
    top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .page-loader,
  .scroll-top,
  .site-footer {
    display: none !important;
  }

  .policy-hero {
    min-height: auto;
    color: #000000;
    background: #ffffff;
  }

  .policy-hero-inner {
    min-height: auto;
    padding: 28px 0;
  }

  .policy-hero h1 {
    color: #000000;
  }

  .policy-shell {
    display: block;
  }

  .policy-sidebar {
    display: none;
  }

  .policy-layout {
    min-height: 0;
    padding: 0;
  }

  .policy-content-card {
    min-height: 0;
    border: 0;
    box-shadow: none;
  }
}
