/* ============================================
   Singapore Student Care - Stylesheet
   Color palette:
     primary  #1f6e6b  (deep teal — trust)
     accent   #e8a04e  (warm amber — home)
     cream    #fbf7ef
     ink      #1a2a2a
     muted    #5d6e6c
   ============================================ */

:root {
  --primary: #1f6e6b;
  --primary-dark: #14524f;
  --primary-light: #e9f3f1;
  --accent: #e8a04e;
  --accent-dark: #c98430;
  --cream: #fbf7ef;
  --ink: #1a2a2a;
  --muted: #5d6e6c;
  --line: #e6dccc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(31, 110, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 110, 107, 0.10);
  --shadow-lg: 0 20px 50px rgba(31, 110, 107, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-en: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", "Noto Serif SC", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-contact {
  display: flex;
  gap: 24px;
}
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-contact a:hover { color: var(--accent); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  background: none;
  border: 0;
  color: rgba(255,255,255,.7);
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 500;
}
.lang-btn.active {
  color: var(--white);
  font-weight: 700;
}
.lang-sep { opacity: .4; }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
}
.logo-mark img,
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.logo-text strong {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--ink);
  font-weight: 700;
}
.logo-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}
.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
}
.main-nav a:hover { background: var(--primary-light); color: var(--primary); }
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.main-nav .nav-cta {
  background: var(--primary);
  color: var(--white);
  margin-left: 6px;
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  background: var(--primary-dark);
  color: var(--white);
}
.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: .25s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(31,110,107,.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,110,107,.36);
}
.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(232,160,78,.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(31,110,107,.16), transparent 60%),
    var(--cream);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}
.badge {
  display: inline-block;
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stats strong {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}
.hero-stats span {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  position: relative;
}
.hero-img {
  aspect-ratio: 4/5;
  background-color: var(--primary-light);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.12));
}
.hero-card-floating {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hcf-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.hcf-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #43c178;
  box-shadow: 0 0 0 4px rgba(67,193,120,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(67,193,120,.2); }
  50% { box-shadow: 0 0 0 8px rgba(67,193,120,.05); }
}

.hero-marquee {
  background: var(--primary);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  gap: 36px;
  animation: marquee 40s linear infinite;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}
.section-head {
  margin-bottom: 60px;
}
.section-head.center {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 60px;
}
.section-head.center .section-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: var(--primary);
}
.section-head.center .eyebrow {
  padding-left: 30px;
  padding-right: 30px;
}
.section-head.center .eyebrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: var(--primary);
}
h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 18px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== About ===== */
.section-about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 520px;
}
.ai-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 78%;
  background-color: var(--primary-light);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.ai-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  background-color: var(--accent);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}
.ai-badge {
  position: absolute;
  top: 30px;
  right: 0;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}
.ai-badge strong {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.ai-badge span {
  font-size: 12px;
  color: var(--muted);
}
.about-text p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}
.about-points {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}
.check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  margin-top: 3px;
}

/* ===== Services ===== */
.section-services {
  background: var(--cream);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(31,110,107,.05), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(232,160,78,.06), transparent 40%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== Services extras block ===== */
.extras-block {
  margin-top: 50px;
  background: var(--white);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.extras-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.extras-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
}
.extras-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink);
}
.extras-list .ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 16px;
}
@media (max-width: 760px) {
  .extras-list { grid-template-columns: 1fr; }
  .extras-block { padding: 24px; }
}

/* ===== Meals (NEW) ===== */
.section-meals {
  background: linear-gradient(180deg, var(--white), #faf3e6);
}
.meals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.meal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all .25s;
}
.meal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.meal-card-mid {
  background: linear-gradient(160deg, var(--primary-light), var(--white));
  border-color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.meal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.meal-emoji {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 12px;
}
.meal-card h3 {
  font-size: 18px;
  margin: 0;
}
.meal-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.meal-card li {
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.meal-card li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
.meal-card .dinner-list li::before { content: ""; padding: 0; }
.meal-card .dinner-list li { padding-left: 0; }
.meal-note {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}
.meals-foot {
  text-align: center;
  margin-top: 30px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.menu-reveal {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 18px;
}
.menu-trigger {
  font-size: 16px;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(31, 110, 107, 0.25);
}
.menu-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 110, 107, 0.32);
}
.menu-reveal-note {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.lightbox.lb-single .lightbox-prev,
.lightbox.lb-single .lightbox-next {
  display: none;
}
@media (max-width: 880px) {
  .meals-grid { grid-template-columns: 1fr; }
}

/* ===== Schools (NEW) ===== */
.section-schools {
  background: var(--cream);
}
.schools-block {
  margin-bottom: 40px;
}
.schools-h {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.schools-table {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.st-row {
  display: grid;
  grid-template-columns: 2.2fr 1.5fr 1fr;
  border-bottom: 1px solid var(--line);
}
.st-row:last-child { border-bottom: 0; }
.st-row > div {
  padding: 14px 20px;
  font-size: 14.5px;
  color: var(--ink);
}
.st-row > div:first-child {
  font-weight: 600;
}
.st-row > div:nth-child(2) {
  color: var(--muted);
}
.st-row > div:nth-child(3) {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
}
.st-head { background: var(--primary); }
.st-head > div {
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.primary-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.primary-list li {
  font-size: 14.5px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.primary-list li.famous {
  color: var(--accent-dark);
  font-weight: 600;
}
.schools-foot-mini {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}
.schools-foot {
  text-align: center;
  margin-top: 30px;
  padding: 18px 24px;
  background: var(--white);
  border: 1px dashed var(--primary);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 880px) {
  .st-row { grid-template-columns: 1fr; }
  .st-row > div { padding: 8px 18px; }
  .st-row > div:first-child {
    background: var(--cream);
    padding-top: 14px;
  }
  .st-row > div:last-child { padding-bottom: 14px; }
  .st-head { display: none; }
  .primary-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .primary-list { grid-template-columns: 1fr; padding: 18px 22px; }
}

/* Room card additions (high specificity to override .rooms-grid media queries) */
.rooms-grid.rooms-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}
.rooms-grid.rooms-grid-3 .room-card {
  width: 100%;
}
.room-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.room-body .price .amount {
  font-size: 22px;
}

/* Tablet: 3 cards still side by side but tighter */
@media (max-width: 1024px) {
  .rooms-grid.rooms-grid-3 {
    gap: 18px;
  }
  .rooms-grid.rooms-grid-3 .room-card.featured {
    transform: none;
  }
  .rooms-grid.rooms-grid-3 .room-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* Mobile: stack into single column */
@media (max-width: 760px) {
  .rooms-grid.rooms-grid-3 {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

/* ===== Why / Compare ===== */
.section-why { background: var(--white); }
.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  border-bottom: 1px solid var(--line);
}
.ct-row:last-child { border-bottom: 0; }
.ct-row > div {
  padding: 18px 22px;
  font-size: 15px;
}
.ct-row > div:first-child {
  font-weight: 600;
  color: var(--ink);
  background: #faf6ee;
}
.ct-us {
  color: var(--primary-dark);
  font-weight: 600;
  background: rgba(31,110,107,.04);
  border-left: 3px solid var(--primary);
}
.ct-other {
  color: var(--muted);
}
.ct-head > div {
  font-weight: 700 !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ct-head .ct-us { background: var(--primary-dark) !important; border-left: 0; }

/* ===== Rooms ===== */
.section-rooms { background: var(--cream); }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.room-card.featured {
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(232,160,78,.18);
  transform: scale(1.02);
}
.room-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(232,160,78,.4);
}
.room-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #a7c7c2, #5e9b94);
}
.room-img h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.room-img-1 { background: linear-gradient(135deg, #a7c7c2, #5e9b94); }
.room-img-2 { background: linear-gradient(135deg, #f5d3a8, #e8a458); }
.room-img-3 { background: linear-gradient(135deg, #2d4a3e, #1a3329); }
.room-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}
.price .amount {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}
.price .per {
  font-size: 13px;
  color: var(--muted);
}
.room-feats {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14.5px;
  color: var(--muted);
  flex-grow: 1;
}
.rooms-note {
  text-align: center;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
}

/* ===== Gallery ===== */
.section-gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gal-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--primary-light);
  aspect-ratio: 1;
  position: relative;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gal-item:hover img {
  transform: scale(1.06);
}
.gal-item:nth-child(1),
.gal-item:nth-child(6) {
  grid-row: span 2;
  aspect-ratio: 1/2;
}

/* ===== Testimonials ===== */
.section-testimonials { background: var(--cream); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: .4;
}
.testi p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.testi footer {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.testi footer strong {
  color: var(--primary);
}

/* ===== FAQ ===== */
.section-faq { background: var(--white); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: 110px;
}
.faq-side p {
  color: var(--muted);
  margin: 18px 0 28px;
  font-size: 16px;
  line-height: 1.75;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .25s;
}
.faq-item[open] {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  flex: none;
  transition: transform .25s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

/* ===== Contact ===== */
.section-contact {
  background: linear-gradient(180deg, var(--cream), #f0e9d8);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info p {
  color: var(--muted);
  margin: 18px 0 28px;
  font-size: 16.5px;
  line-height: 1.75;
}
.contact-methods {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.contact-methods li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 130px;
}
.contact-methods li.cm-location {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 0;
}
.contact-methods li.cm-location > div {
  flex: 1;
}
.contact-methods li > div {
  width: 100%;
  word-break: break-word;
}
@media (max-width: 900px) {
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
  .contact-methods li.cm-location { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .contact-methods { grid-template-columns: 1fr; }
  .contact-methods li.cm-location { flex-direction: column; align-items: flex-start; }
}
.cm-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: none;
}
.contact-methods small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-methods a, .contact-methods span {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.qr-block {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.qr-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background-color: var(--primary-light);
  background-size: cover;
  background-position: center;
  flex: none;
}
.qr-block strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.qr-block small {
  font-size: 12.5px;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.site-footer .logo-text strong { color: var(--white); }
.site-footer .logo-text small { color: rgba(255,255,255,.55); }
.footer-brand p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
}
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.5);
  z-index: 90;
  transition: transform .25s;
  animation: floatPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.08); }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 40px;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 0;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,.25);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .topbar-contact { display: none; }
  .main-nav {
    position: fixed;
    inset: 60px 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 24px;
    gap: 4px;
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .3s;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 16px; padding: 14px 16px; }
  .hamburger { display: flex; }

  .hero { padding-top: 50px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
  }
  .hero-card { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 26px; }

  .section { padding: 70px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-images { height: 380px; max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-row { grid-template-columns: 1fr; }
  .ct-row > div { border-bottom: 1px solid var(--line); }
  .ct-row > div:last-child { border-bottom: 0; }
  .ct-row > div:first-child {
    font-size: 13px;
    padding: 12px 22px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
  }
  .ct-us { border-left: 0; border-top: 3px solid var(--primary); }
  .rooms-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .room-card.featured { transform: none; }
  .room-card.featured:hover { transform: translateY(-6px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item:nth-child(1), .gal-item:nth-child(6) { grid-row: span 1; aspect-ratio: 1; }
  .testi-grid { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .gallery-grid { gap: 8px; }
}
