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

:root {
  --gold: #C9A84C;
  --gold-dark: #A68B3D;
  --gold-light: #E8C872;
  --white: #FFFFFF;
  --dark: #2C2C2C;
  --gray: #6B6B6B;
  --light-gray: #F5F3EF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  background: var(--gold-light);
  color: var(--dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 10px 22px;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled .nav-link {
  color: var(--dark);
}

.header.scrolled .nav-link.active::after {
  background: var(--gold);
}

.header.scrolled .btn-outline-white {
  color: var(--dark);
  border-color: var(--dark);
}

.header.scrolled .btn-outline-white:hover {
  background: var(--dark);
  color: var(--white);
}

.header.scrolled .menu-toggle span {
  background: var(--dark);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.header:not(.scrolled) .logo-img {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 48px;
  cursor: pointer;
  padding: 16px;
  transition: color 0.3s;
}

.hero-arrow:hover {
  color: var(--white);
}

.hero-arrow-left { left: 12px; }
.hero-arrow-right { right: 12px; }

/* Features */
.features {
  padding: 80px 0 60px;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-text h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
}

/* Section headers */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.section-header-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
  transition: color 0.3s;
}

.section-link:hover {
  color: var(--gold);
}

.section-link span {
  margin-left: 4px;
}

/* Rooms */
.rooms {
  padding: 80px 0;
  background: var(--light-gray);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.room-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.room-slider {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.room-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.room-slide.active {
  opacity: 1;
}

.room-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
}

.room-slider:hover .room-slider-arrow {
  opacity: 1;
}

.room-slider-arrow:hover {
  background: var(--white);
}

.room-slider-prev { left: 10px; }
.room-slider-next { right: 10px; }

.room-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 6px;
}

.room-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.room-slider-dot.active {
  background: var(--white);
  transform: scale(1.15);
}

.room-info {
  padding: 24px;
}

.room-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.room-info p,
.room-size {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.7;
}

.room-size {
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.room-amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-amenities li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--dark);
  background: var(--light-gray);
  padding: 6px 12px;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
}

.room-price {
  font-weight: 600;
  color: var(--gold-dark);
}

/* About */
.about {
  padding: 100px 0;
}

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

.about-image {
  height: 480px;
  background-size: cover;
  background-position: center;
}

.about-content p {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  margin-top: 24px;
}

.about-list li {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #E8E4DE;
  position: relative;
  padding-left: 20px;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Gallery */
.gallery {
  padding: 80px 0 100px;
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-grid-5 {
  grid-template-rows: 320px 240px 240px;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* Contact */
.contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.6;
}

.contact-item a {
  color: var(--gray);
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-whatsapp {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  background: var(--light-gray);
}

.contact-whatsapp-text {
  font-size: 15px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.8;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 16px 32px;
  align-self: flex-start;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.btn-whatsapp:hover {
  background: #1DA851;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 12px;
}

.footer-hotel {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-address {
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer-company h4,
.footer-legal-links h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-company-list,
.footer-legal-links ul {
  list-style: none;
}

.footer-company-list li {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 300;
}

.footer-legal-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-link,
.legal-link-inline {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}

.legal-link:hover,
.legal-link-inline:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 11px;
  opacity: 0.5;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ANPC */
.anpc-section {
  background: var(--light-gray);
  padding: 40px 0 48px;
}

.anpc-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 20px;
}

.anpc-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.anpc-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid #4a90c8;
  border-radius: 10px;
  text-decoration: none;
  color: #1a5a8a;
  transition: box-shadow 0.3s;
}

.anpc-banner:hover {
  box-shadow: 0 4px 16px rgba(26, 90, 138, 0.15);
}

.anpc-banner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 16px;
  border-right: 2px solid #4a90c8;
  white-space: nowrap;
  min-width: 72px;
}

.anpc-logo-main {
  font-size: 20px;
  font-weight: 700;
  color: #1a5a8a;
  line-height: 1.1;
}

.anpc-logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: #4a90c8;
  text-transform: uppercase;
}

.anpc-banner-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anpc-banner-text-center {
  align-items: center;
  text-align: center;
  width: 100%;
}

.anpc-banner-text strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.4;
}

.anpc-banner-btn {
  display: inline-block;
  align-self: flex-start;
  background: #1a5a8a;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.anpc-banner-text-center .anpc-banner-btn {
  align-self: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
  min-width: 260px;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

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

/* Legal modal */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal[hidden],
.cookie-banner[hidden] {
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.legal-modal-box {
  position: relative;
  background: var(--white);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.legal-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
}

.legal-modal-close:hover {
  color: var(--dark);
}

.legal-modal-box h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--dark);
}

.legal-modal-content {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 300;
}

.legal-modal-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin: 20px 0 8px;
}

.legal-modal-content p {
  margin-bottom: 12px;
}

/* Mobile nav */
.nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  padding: 80px 32px 32px;
  gap: 20px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.nav.open .nav-link {
  color: var(--dark);
  font-size: 13px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid,
  .gallery-grid-5 {
    grid-template-columns: 1fr;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-outline-white {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .about-image {
    height: 300px;
  }

  .hero-arrow {
    display: none;
  }

  .room-slider-arrow {
    opacity: 0.9;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    text-align: center;
  }

  .legal-modal-box {
    padding: 32px 24px 24px;
  }
}
