:root {
  --ink: #092d2a;
  --pine: #0d4f45;
  --mint: #dceee6;
  --porcelain: #fffaf3;
  --paper: #f6efe4;
  --gold: #c89142;
  --copper: #b35f3c;
  --soft: #e9f5f1;
  --line: rgba(9, 45, 42, 0.14);
  --shadow: 0 28px 90px rgba(9, 45, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(200, 145, 66, 0.18), transparent 30rem),
    linear-gradient(180deg, #fbf7ef 0%, #edf7f4 42%, #fbf7ef 100%);
  font-family: Manrope, sans-serif;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 145, 66, 0.78);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 18px 70px rgba(9, 45, 42, 0.12);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--porcelain);
  background: var(--porcelain);
  font-weight: 900;
  overflow: hidden;
}

.brand-mark img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  font-weight: 900;
}

.brand small {
  margin-top: 2px;
  color: rgba(9, 45, 42, 0.62);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(9, 45, 42, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--copper);
}

.site-header.is-scrolled {
  border-color: rgba(13, 79, 69, 0.18);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 18px 58px rgba(9, 45, 42, 0.18);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.header-cta {
  padding: 0 20px;
  color: var(--porcelain);
  background: var(--pine);
}

.nav-toggle {
  display: none;
}

.mobile-action-bar {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 46px;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: clamp(30px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 42px;
  background:
    linear-gradient(115deg, rgba(255, 250, 243, 0.96), rgba(220, 238, 230, 0.9)),
    url("assets/banner-rsia.jpg") center/cover;
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: auto -7% -22% 42%;
  height: 380px;
  border-radius: 50%;
  background: rgba(13, 79, 69, 0.16);
  content: "";
  filter: blur(12px);
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(9, 45, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 45, 42, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(54px, 8vw, 112px);
}

h2 {
  max-width: 800px;
  font-size: clamp(38px, 5vw, 70px);
}

h3,
p {
  margin-top: 0;
}

.hero-lede,
.section-copy p,
.room-panel p,
.timeline p,
.contact-card p {
  color: rgba(9, 45, 42, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.hero-lede {
  max-width: 600px;
  margin: 24px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--porcelain);
  background: var(--pine);
  box-shadow: 0 18px 42px rgba(13, 79, 69, 0.22);
}

.button.whatsapp,
.whatsapp-cta {
  color: var(--porcelain);
  background: #128c4a;
  box-shadow: 0 18px 42px rgba(18, 140, 74, 0.2);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 250, 243, 0.62);
}

.button.dark {
  color: var(--porcelain);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 44px 0 0;
}

.hero-stats div {
  min-height: 130px;
  padding: 18px;
  border: 1px solid rgba(9, 45, 42, 0.12);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.6);
}

.hero-stats dt {
  color: var(--pine);
  font-family: Fraunces, serif;
  font-size: 32px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(9, 45, 42, 0.64);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: center;
}

.portrait-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 10px solid rgba(255, 250, 243, 0.9);
  border-radius: 38px;
  background: var(--mint);
  box-shadow: 0 34px 80px rgba(9, 45, 42, 0.2);
}

.portrait-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(9, 45, 42, 0.7));
  content: "";
}

.glass-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  color: var(--porcelain);
  background: rgba(9, 45, 42, 0.5);
  backdrop-filter: blur(14px);
}

.glass-note span,
.orbit-card small,
.trust-strip span,
.address-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glass-note strong {
  font-family: Fraunces, serif;
  font-size: 28px;
  line-height: 1.05;
}

.orbit-card {
  position: absolute;
  top: 32px;
  left: -34px;
  width: 220px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow);
}

.pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: #37b36d;
  box-shadow: 0 0 0 8px rgba(55, 179, 109, 0.14);
}

.orbit-card strong {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 900;
}

.orbit-card small {
  margin-top: 8px;
  color: rgba(9, 45, 42, 0.62);
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  width: min(1040px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
  color: var(--porcelain);
  box-shadow: var(--shadow);
}

.trust-strip article {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-size: 15px;
  line-height: 1.5;
}

.accreditation-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: center;
  width: min(1040px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(9, 45, 42, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.92), rgba(220, 238, 230, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(200, 145, 66, 0.22), transparent 20rem);
  box-shadow: 0 18px 54px rgba(9, 45, 42, 0.1);
}

.accreditation-copy h2 {
  max-width: 720px;
  font-size: clamp(34px, 4.6vw, 56px);
}

.accreditation-copy p:last-child {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(9, 45, 42, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.certificate-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border: 8px solid var(--porcelain);
  border-radius: 24px;
  background: var(--porcelain);
  box-shadow: 0 22px 56px rgba(9, 45, 42, 0.18);
  transform: rotate(1.5deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.certificate-preview:hover {
  box-shadow: 0 28px 68px rgba(9, 45, 42, 0.24);
  transform: rotate(0deg) translateY(-3px);
}

.certificate-preview img {
  width: 100%;
  aspect-ratio: 360 / 509;
  object-fit: cover;
  object-position: top;
}

.certificate-preview span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--porcelain);
  background: rgba(9, 45, 42, 0.86);
  font-size: 12px;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 120px auto 0;
}

.split {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 54px;
  align-items: start;
}

.feature-grid,
.service-grid {
  display: grid;
  gap: 16px;
}

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

.feature-grid article,
.service-grid article,
.room-list article {
  border: 1px solid rgba(9, 45, 42, 0.1);
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 18px 50px rgba(9, 45, 42, 0.08);
}

.feature-grid article {
  min-height: 230px;
  padding: 26px;
  border-radius: 30px;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--porcelain);
  background: var(--pine);
  font-weight: 900;
}

.feature-grid h3,
.service-grid h3,
.room-list strong {
  margin: 20px 0 10px;
  font-size: 20px;
  font-weight: 900;
}

.feature-grid p,
.service-grid p,
.room-list p {
  margin: 0;
  color: rgba(9, 45, 42, 0.66);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.service-grid article {
  min-height: 280px;
  padding: 28px;
  border-radius: 34px;
}

.service-grid small {
  color: var(--gold);
  font-family: Fraunces, serif;
  font-size: 42px;
  font-weight: 800;
}

.rooms {
  width: min(1260px, calc(100% - 32px));
}

.room-panel {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 48px;
  padding: clamp(30px, 5vw, 70px);
  border-radius: 42px;
  color: var(--porcelain);
  background:
    radial-gradient(circle at 14% 18%, rgba(200, 145, 66, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(9, 45, 42, 0.98), rgba(13, 79, 69, 0.92));
  box-shadow: var(--shadow);
}

.room-panel p {
  color: rgba(255, 250, 243, 0.72);
}

.room-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.room-list article {
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.1);
  backdrop-filter: blur(12px);
}

.room-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-list strong {
  display: block;
  color: var(--porcelain);
}

.story {
  width: min(960px, calc(100% - 32px));
}

.timeline {
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(9, 45, 42, 0.12);
  border-radius: 40px;
  background: rgba(255, 250, 243, 0.8);
  box-shadow: var(--shadow);
}

.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.timeline-row span {
  color: var(--copper);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  gap: 18px;
  align-items: stretch;
}

.contact-card,
.address-card {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.contact-card {
  color: var(--porcelain);
  background: var(--ink);
}

.contact-card p {
  color: rgba(255, 250, 243, 0.72);
}

.address-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  background: var(--gold);
}

.address-card span {
  color: rgba(9, 45, 42, 0.68);
}

.address-card strong {
  display: block;
  font-family: Fraunces, serif;
  font-size: 34px;
  line-height: 1.08;
}

.address-card a {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(9, 45, 42, 0.42);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 80px auto 30px;
  color: rgba(9, 45, 42, 0.62);
  font-size: 13px;
  font-weight: 800;
}

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

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

@media (max-width: 980px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 250, 243, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 14px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--pine);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--porcelain);
  }

  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.94);
    box-shadow: 0 18px 52px rgba(9, 45, 42, 0.22);
    backdrop-filter: blur(18px);
  }

  .mobile-action-bar a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--porcelain);
    background: var(--pine);
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-action-bar a:nth-child(2) {
    background: #128c4a;
  }

  .mobile-action-bar a:nth-child(3) {
    color: var(--ink);
    background: var(--gold);
  }

  .hero,
  .split,
  .room-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 22px;
  }

  .portrait-card,
  .portrait-card img {
    min-height: 320px;
    height: 320px;
  }

  .orbit-card {
    left: 18px;
  }

  .trust-strip,
  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .accreditation-band {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .certificate-preview {
    width: min(260px, 100%);
    justify-self: center;
    transform: none;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .feature-grid,
  .room-list,
  .timeline-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .section {
    margin-top: 76px;
  }

  .hero {
    border-radius: 30px;
  }

  .hero-lede,
  .section-copy p,
  .room-panel p,
  .timeline p,
  .contact-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .orbit-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-top: 14px;
  }

  .accreditation-band {
    border-radius: 28px;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
