:root {
  --container: 1170px;
  --ink: #1a1a1a;
  --body: #5a5a5a;
  --brand: #101996;
  --light-border: #eeeeee;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: 'Work Sans', sans-serif; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), 92vw); margin: 0 auto; }

.header-bar { background: #111; color: #fff; }
.top-meta { height: 50px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.top-meta p { margin: 0; }
.top-contact { display: flex; gap: 26px; }
.main-nav-wrap { height: 104px; display: flex; align-items: center; justify-content: space-between; position: absolute; left: 0; right: 0; z-index: 5; top: 50px; }
.brand-logo { width: 110px; height: 28px; object-fit: contain; }
.figma-nav { display: flex; gap: 24px; color: #fff; }
.figma-nav a { font-weight: 500; font-size: 15px; }
.figma-nav i { font-size: 12px; margin-left: 6px; }
.book-btn { background: #fff; color: #111; border-radius: 999px; padding: 12px 22px; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

.hero { height: 827px; position: relative; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.hero-inner { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; }
.hero h1 { font-family: 'EB Garamond', serif; font-size: 64px; line-height: 1.28; margin: 0 0 20px; font-weight: 600; }
.hero p { margin: 0 auto 30px; width: 370px; font-size: 18px; line-height: 1.5; }
.primary-btn { width: 190px; margin: 0 auto; background: var(--brand); color: #fff; border-radius: 50px; padding: 13px 24px; text-transform: uppercase; font-weight: 500; font-size: 16px; }

.section { padding: 90px 0 0; }
.welcome h2,
.rooms h3,
.experiences h3,
.testimonials h3,
.blog h3,
.instagram h3 { font-family: 'EB Garamond', serif; font-size: 46px; line-height: 1.2; font-weight: 600; text-align: center; margin: 0; }
.quote { font-family: 'EB Garamond', serif; font-style: italic; font-size: 30px; text-align: center; margin: 20px auto 50px; max-width: 600px; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.section-label { text-align: center; letter-spacing: 3.2px; color: var(--ink); font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.section-copy { text-align: center; color: var(--body); margin: 18px 0 44px; }
.room-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--light-border); margin-bottom: 38px; }
.room-tabs button,
.room-tabs a { background: transparent; border: 0; height: 70px; font-family: 'EB Garamond', serif; font-size: 28px; color: #111; opacity: 0.55; cursor: pointer; display: grid; place-items: center; }
.room-tabs button.active,
.room-tabs a.active { color: var(--brand); opacity: 1; border-bottom: 2px solid var(--brand); }
.room-feature { display: grid; grid-template-columns: 1fr 570px; gap: 36px; align-items: center; }
.room-copy h4,
.experience-copy h4 { font-family: 'EB Garamond', serif; font-size: 46px; margin: 0 0 12px; }
.room-copy p,
.experience-copy p { color: var(--body); font-size: 18px; line-height: 1.5; }
.room-copy ul { list-style: none; display: flex; gap: 24px; padding: 0; margin: 20px 0 28px; color: var(--body); }
.outline-btn { display: inline-block; border: 1px solid var(--brand); color: var(--brand); border-radius: 50px; padding: 12px 24px; font-size: 16px; text-transform: uppercase; font-weight: 500; }
.room-feature figure img { border-radius: 16px; width: 100%; }

.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 42px; }
.experience-grid figure img { border-radius: 16px; }

.testimonials { background: rgba(16, 25, 150, 0.05); margin-top: 90px; padding: 80px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.testimonial-grid article { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 30px; }
.testimonial-grid p { color: #555; line-height: 1.5; }
.testimonial-grid div { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: #5a5a5a; }
.testimonial-grid img { width: 48px; height: 48px; border-radius: 50%; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.blog-grid article { border-radius: 16px; overflow: hidden; }
.blog-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 208px; }

.hero-subpage { height: 520px; }
.subpage-content { padding-bottom: 90px; }
.subpage-card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 28px; }
.subpage-card h3 { font-family: 'EB Garamond', serif; font-size: 30px; margin-top: 0; margin-bottom: 12px; }
.subpage-card p { color: var(--body); margin-bottom: 18px; line-height: 1.5; }
.subpage-card a { color: var(--brand); text-transform: uppercase; font-weight: 600; font-size: 14px; letter-spacing: 0.8px; }

.contact-home-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.contact-home-form,
.contact-home-info { border: 1px solid #eee; border-radius: 16px; padding: 28px; background: #fff; }
.contact-home-form h3,
.contact-home-info h3 { font-family: 'EB Garamond', serif; font-size: 38px; margin: 0 0 12px; }
.contact-home-form p,
.contact-home-info p { color: var(--body); margin: 0 0 10px; line-height: 1.5; }
.contact-home-form label { display: block; font-weight: 600; margin: 12px 0 8px; }
.contact-home-form input,
.contact-home-form textarea { width: 100%; border: 1px solid #ddd; border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); }
.contact-home-form textarea { resize: vertical; min-height: 130px; }
.contact-submit { border: 0; cursor: pointer; margin-top: 14px; }
.contact-home-info figure { margin-top: 18px; }
.contact-home-info figure img { border-radius: 16px; width: 100%; }
.contact-home-info figcaption { color: var(--body); margin-top: 10px; font-size: 14px; }
.success-message { background: rgba(16, 25, 150, 0.1); border: 1px solid rgba(16, 25, 150, 0.25); color: #1a1a1a; border-radius: 12px; padding: 10px 12px; margin: 10px 0; }

.instagram { padding-bottom: 0; }
.instagram p { text-align: center; color: var(--body); margin: 12px 0 40px; }
.insta-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.insta-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.figma-footer { background: #111; color: #ddd; padding-top: 80px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 42px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-grid h4 { font-family: 'EB Garamond', serif; color: #fff; font-size: 28px; margin-top: 0; line-height: 1.3; }
.footer-grid h5 { font-family: 'EB Garamond', serif; color: #fff; font-size: 28px; margin-top: 0; margin-bottom: 20px; }
.footer-grid a { display: block; margin-bottom: 12px; }
.email-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(238, 238, 238, 0.4); padding-bottom: 8px; margin: 22px 0 30px; }
.email-row button,
.email-row a { background: transparent; border: 0; color: #fff; text-transform: uppercase; cursor: pointer; }
.footer-bottom { height: 74px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.footer-bottom div { display: flex; gap: 22px; }

@media (max-width: 1200px) {
  .main-nav-wrap { position: static; height: auto; padding: 16px 0; background: #111; }
  .hero { height: 640px; }
}

@media (max-width: 900px) {
  .top-meta,
  .top-contact,
  .main-nav-wrap,
  .figma-nav,
  .room-feature,
  .experience-grid,
  .testimonial-grid,
  .blog-grid,
  .footer-grid,
  .footer-bottom { display: grid; gap: 12px; height: auto; }

  .welcome-grid,
  .room-tabs,
  .insta-strip,
  .contact-home-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .hero p { width: 90%; }
}
