/* =========================================================
   SLV PG & CO-LIVING — SECTION-SCOPED STYLES
   Global styles are limited to reset, typography and utilities.
   Each section has its own styling scope.
========================================================= */

/* ---------- GLOBAL ---------- */
:root {
  --navy: #08254b;
  --navy-light: #123e70;
  --yellow: #ffcf00;
  --cream: #fffaf0;
  --white: #ffffff;
  --ink: #15233a;
  --muted: #68758a;
  --line: #e8edf3;
  --shadow: 0 20px 60px rgba(7, 31, 67, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.btn,
.nav-cta,
.price-link {
  cursor: pointer;
  transition: 0.3s ease;
}

/* ---------- NAVIGATION SECTION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--yellow);
}

.brand span {
  color: var(--navy);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}

.links {
  display: flex;
  gap: 8px;
  color: #43516a;
  font-size: 14px;
  font-weight: 800;
}

.links button {
  padding: 11px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.links button:hover,
.links button.active {
  background: #fff5c4;
  color: var(--navy);
}

.nav-cta {
  padding: 12px 21px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.nav-cta:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
}

/* ---------- PAGE NAVIGATION ---------- */
.page {
  display: none;
  animation: fade 0.3s ease;
}

.page.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  padding: 40px 4% 55px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 30%, #1b4b7e 0%, transparent 45%),
    linear-gradient(120deg, #071f43, #0c315d);
}

.hero-container {
  max-width: 1400px;
  min-height: calc(100vh - 95px);
  margin: auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  padding: 25px 0;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero .eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(45px, 4.3vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
}

.hero h1 strong {
  color: var(--yellow);
}

.hero-description {
  max-width: 530px;
  margin-bottom: 35px;
  color: #e0ebf9;
  font-size: 17px;
  line-height: 1.8;
}

.features {
  display: flex;
  justify-content: space-between;
  max-width: 560px;
  gap: 12px;
  margin-bottom: 35px;
}

.feature {
  flex: 1;
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  font-size: 23px;
}

.feature span {
  display: block;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 27px;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 800;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn-primary:hover {
  background: #ffe26b;
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid #8096b5;
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-tagline {
  margin-top: 32px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-style: italic;
}

.hero-tagline span {
  display: block;
  width: 120px;
  height: 4px;
  margin: 12px 0 0 65px;
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-3deg);
}

/* ---------- HERO IMAGE COLLAGE ---------- */
.hero-visual {
  position: relative;
  min-width: 0;
  padding-bottom: 100px;
}

.main-room {
  position: relative;
  height: 420px;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 32px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
}

.main-room img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-room::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, 0.3));
}

.image-message {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-style: italic;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.image-message span {
  color: var(--yellow);
  font-size: 38px;
}

.small-images {
  position: absolute;
  right: -15px;
  bottom: 0;
  left: -15px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.small-card {
  position: relative;
  aspect-ratio: 1;
  height: 145px;
  overflow: visible;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--white);
}

.small-card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.small-card span {
  position: absolute;
  bottom: -27px;
  left: 50%;
  width: max-content;
  max-width: 150px;
  padding: 9px 14px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.hero-note {
  position: absolute;
  right: -5px;
  bottom: -35px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
  transform: rotate(-5deg);
}

/* ---------- WHY CHOOSE SECTION ---------- */
.why-choose-section {
  padding: 90px 4%;
  background: var(--white);
}

.section-heading {
  max-width: 1400px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin: 0 auto 55px;
}

.heading-left {
  flex: 1;
}

.section-label {
  color: #d6a400;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
}

.heading-left h2 {
  margin-top: 28px;
  color: #0b2347;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.08;
}

.heading-description {
  max-width: 540px;
  margin-bottom: 5px;
  color: #607696;
  font-size: 18px;
  line-height: 1.7;
}

.benefits-grid {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 auto;
}

.benefit-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 25px;
  background: var(--white);
  transition: 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 15px 40px rgba(11, 35, 71, 0.12);
  transform: translateY(-8px);
}

.benefit-card img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
}

.benefit-content {
  padding: 28px 30px 32px;
}

.benefit-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 16px;
  background: #fff4c7;
  color: #b78b00;
  font-size: 30px;
}

.benefit-content h3 {
  margin-bottom: 18px;
  color: #09264c;
  font-family: "Inter", sans-serif;
  font-size: 23px;
}

.benefit-content p {
  color: #607696;
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- GENERAL CONTENT SECTIONS ---------- */
.section {
  padding: 90px 0;
}

.section.soft {
  background: var(--cream);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
}

.section-head p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 430px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stat {
  position: absolute;
  right: -22px;
  bottom: 24px;
  padding: 20px 25px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.checklist {
  display: grid;
  gap: 13px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.checklist li::before {
  margin-right: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  background: #fff2b1;
  color: #a17b00;
  content: "✓";
  font-weight: 800;
}

/* ---------- ROOMS SECTION ---------- */
.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.room {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.room img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
}

.room-body {
  padding: 23px;
}

.room-body h3 {
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-size: 20px;
}

.room-body p {
  color: var(--muted);
  font-size: 14px;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.price {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

/* ---------- PRICING SECTION ---------- */
.pricing-section {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.pricing-list {
  display: grid;
  gap: 22px;
}

.pricing-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(110deg, #fffaff, #f5fcff);
  box-shadow: 0 10px 28px rgba(7, 31, 67, 0.07);
}

.pricing-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 3px solid #505050;
  border-radius: 14px;
  background: linear-gradient(#fff, #fff1a3);
  box-shadow: inset 0 -10px 0 #ffe04a;
  color: #b78b00;
  font-size: 38px;
}

.pricing-info h3 {
  margin-bottom: 6px;
  color: #101828;
  font-family: "Inter", sans-serif;
  font-size: 24px;
}

.pricing-info p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.pricing-cost {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.pricing-cost strong {
  color: #101828;
  font-size: 21px;
  white-space: nowrap;
}

.pricing-cost strong span {
  font-size: 18px;
  font-weight: 500;
}

.pricing-cost small {
  color: var(--muted);
  font-size: 13px;
}

.price-link {
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  color: #0878ff;
  font-weight: 800;
}

.price-link:hover {
  text-decoration: underline;
}

/* ---------- CONTACT SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.contact-card.dark {
  border: 0;
  background: var(--navy);
  color: var(--white);
}

.contact-card.dark p {
  color: #d8e2f0;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.contact-list strong {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  background: var(--white);
  font: inherit;
}

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

/* ---------- FOOTER SECTION ---------- */
.footer {
  padding: 30px 0;
  background: #061a37;
  color: #c5d1e2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer b {
  color: var(--white);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content {
    text-align: center;
  }

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

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .features {
    margin-right: auto;
    margin-left: auto;
  }

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

  .hero-tagline span {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    width: 90%;
    max-width: 750px;
    margin: auto;
  }

  .main-room {
    height: 400px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 850px) {
  .links {
    position: absolute;
    top: 76px;
    right: 4%;
    left: 4%;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .links.open {
    display: grid;
  }

  .links button {
    text-align: left;
  }

  .nav-cta {
    display: none;
  }

  .menu {
    display: block;
  }

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

  .grid3,
  .rooms {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .about-image img {
    height: 350px;
  }

  .stat {
    right: 15px;
  }
}

@media (max-width: 700px) {
  .pricing-card {
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 20px;
  }

  .pricing-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .pricing-info h3 {
    font-size: 20px;
  }

  .pricing-info p {
    font-size: 14px;
  }

  .pricing-cost {
    grid-column: 1 / -1;
    justify-items: start;
    padding-left: 82px;
    text-align: left;
  }
}

@media (max-width: 650px) {
  .hero {
    padding: 45px 20px 70px;
  }

  .hero-container {
    gap: 40px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 15px;
  }

  .features {
    gap: 4px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .feature span {
    font-size: 9px;
  }

  .hero .btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  .hero-visual {
    width: 100%;
    padding-bottom: 70px;
  }

  .main-room {
    height: 260px;
    border-radius: 22px;
  }

  .image-message {
    top: 18px;
    right: 15px;
    font-size: 20px;
  }

  .small-images {
    right: -5px;
    left: -5px;
    gap: 5px;
  }

  .small-card {
    height: 75px;
    border-width: 2px;
  }

  .small-card span {
    bottom: -20px;
    max-width: 90px;
    padding: 5px 7px;
    font-size: 8px;
    white-space: normal;
  }

  .hero-note {
    bottom: -45px;
    font-size: 13px;
  }

  .why-choose-section {
    padding: 60px 20px;
  }

  .heading-left h2 {
    font-size: 40px;
  }

  .heading-description {
    font-size: 16px;
  }

  .benefit-card img {
    height: 220px;
  }

  .benefit-content {
    padding: 25px;
  }
}

@media (max-width: 560px) {
  .grid3,
  .rooms,
  .form {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner div + div {
    margin-top: 10px;
  }

  .brand small {
    font-size: 8px;
  }
}
