/* =========================================================
   Sairam Ladies Hostel — Premium Landing Styles
   ========================================================= */

:root {
  --primary: #B497D6;
  --soft-lilac: #D8C7F2;
  --accent: #8B5FBF;
  --bg: #FCFAF8;
  --surface: #ffffff;
  --text: #2E2E2E;
  --text-muted: #5c5c5c;
  --text-light: #7a7a7a;
  --border: rgba(180, 151, 214, 0.25);
  --shadow-sm: 0 4px 20px rgba(139, 95, 191, 0.08);
  --shadow-md: 0 12px 40px rgba(139, 95, 191, 0.12);
  --shadow-lg: 0 24px 60px rgba(139, 95, 191, 0.16);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 24px;
  --nav-h: 80px;
  --container: 1180px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-lead {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--soft-lilac);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 10px 28px rgba(139, 95, 191, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(139, 95, 191, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--soft-lilac);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10000;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.1s linear;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(252, 250, 248, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(139, 95, 191, 0.3);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--text);
}

.nav.transparent .logo-text {
  color: #fff;
}

.nav.scrolled .logo-text,
.nav:not(.transparent) .logo-text {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links .mobile-cta {
  display: none;
}

.nav-links a {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav.transparent:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(180, 151, 214, 0.15);
}

.nav.transparent:not(.scrolled) .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav.scrolled .nav-toggle {
  background: var(--soft-lilac);
  border-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background 0.2s;
}

.nav.scrolled .nav-toggle span {
  background: var(--accent);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: inherit;
  transition: transform 0.25s;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle.open span {
  background: transparent !important;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--accent);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: 2rem;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(139, 95, 191, 0.72) 0%, rgba(180, 151, 214, 0.45) 45%, rgba(46, 46, 46, 0.35) 100%),
    linear-gradient(to top, rgba(30, 20, 40, 0.75) 0%, transparent 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 10vh, 6rem) 0 2rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-top: auto;
  padding-bottom: 1rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 1rem 0.85rem;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}

.hero-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-card-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
}

.hero-card-icon svg {
  width: 18px;
  height: 18px;
}

.hero-card span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.about-badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card .label {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- Rooms ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.room-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.room-card-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.room-card:hover .room-card-img img {
  transform: scale(1.08);
}

.room-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.room-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.room-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.room-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.room-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Why Choose Us ---------- */
.why {
  background: linear-gradient(180deg, #fff 0%, var(--soft-lilac) 40%, #fff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--soft-lilac), #fff);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--border);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* ---------- Safety ---------- */
.safety {
  position: relative;
  color: #fff;
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.safety-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.safety-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.safety-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 30, 70, 0.88), rgba(139, 95, 191, 0.78));
  z-index: 1;
}

.safety .container {
  position: relative;
  z-index: 2;
}

.safety .section-label {
  color: var(--soft-lilac);
}

.safety .section-title {
  color: #fff;
}

.safety .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.safety-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.1rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}

.safety-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.safety-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
  color: var(--soft-lilac);
}

.safety-item span {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.safety-trust {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  font-family: var(--font-heading);
  opacity: 0.95;
  padding-top: 0.5rem;
}

/* ---------- Food ---------- */
.food-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.food-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.food-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.food-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.food-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.food-item:hover {
  transform: translateX(4px);
}

.food-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft-lilac);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.food-item-icon svg {
  width: 20px;
  height: 20px;
}

.food-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 3;
  column-gap: 1.15rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.15rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(46, 30, 70, 0.75));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(20, 10, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: linear-gradient(160deg, var(--soft-lilac) 0%, var(--bg) 60%);
}

.testimonial-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stars {
  color: #E8B84A;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), transform var(--transition);
}

.testimonial-btn:hover {
  background: var(--soft-lilac);
  transform: scale(1.05);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
}

.testimonial-dots button.active {
  opacity: 1;
  transform: scale(1.25);
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-lilac);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-muted);
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-height: 100%;
  background: var(--soft-lilac);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* Form */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.form-card .section-header {
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.form-group label .req {
  color: #c44;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(180, 151, 214, 0.25);
  background: #fff;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d45;
}

.field-error {
  font-size: 0.8rem;
  color: #c44;
  min-height: 1.1em;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(180, 151, 214, 0.15), rgba(216, 199, 242, 0.3));
  border-radius: var(--radius);
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

.form-success h4 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(160deg, #2a1f38 0%, #3d2a55 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .logo-text {
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--soft-lilac);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-contact a:hover {
  color: var(--soft-lilac);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Floating UI ---------- */
.float-btns {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  color: #fff;
}

.float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.float-btn:focus-visible {
  outline: 3px solid var(--soft-lilac);
  outline-offset: 3px;
}

.float-whatsapp {
  background: #25D366;
}

.float-call {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.float-top {
  background: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.float-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(252, 250, 248, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s, opacity 0.35s, visibility 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    color: var(--text) !important;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-links .mobile-cta {
    display: block;
    margin-top: 0.75rem;
  }

  .nav-links .mobile-cta .btn {
    width: 100%;
  }

  .about-grid,
  .food-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    aspect-ratio: 16 / 11;
    max-height: 420px;
  }

  .gallery-grid {
    columns: 2;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 68px;
  }

  .logo-text {
    font-size: 0.7rem;
    max-width: 120px;
  }

  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .food-list {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
