
:root {
  --cream: #f5ede2;
  --cream-deep: #eadbc9;
  --paper: #fffaf3;

  --brown: #9a7b64;
  --brown-soft: #c8af98;
  --brown-dark: #594333;

  --ink: #33271f;
  --muted: #75675d;

  --line: rgba(89, 67, 51, .15);

  --shadow: 0 20px 50px rgba(75, 56, 44, .12);

  --radius: 26px;
}

/* =========================
   BASIC RESET
   ========================= */

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;

  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 44px));
  max-width: 100%;
  margin: 0 auto;
}

.section-pad {
  padding: 100px 0;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;

  background: rgba(255, 250, 243, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;

  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  border-radius: 50%;
  display: grid;
  place-items: center;

  background: var(--brown);
  color: var(--paper);

  font: 600 14px "Playfair Display", serif;
  letter-spacing: .08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-text strong {
  font: 600 18px "Playfair Display", serif;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:not(.nav-cta) {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--brown-dark);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--brown-dark);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: var(--brown-dark);
  cursor: pointer;
}

/* =========================
   HERO
   ========================= */

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;

  display: grid;
  align-items: center;
}

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

.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;

  background: linear-gradient(
    135deg,
    #eee2d3,
    #dfccb6 55%,
    #cfb49a
  );

  color: var(--brown-dark);
  text-align: center;
  overflow: hidden;
}

.image-placeholder::before,
.image-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(89, 67, 51, .14);
  border-radius: 50%;
}

.image-placeholder::before {
  width: 70vw;
  height: 70vw;
}

.image-placeholder::after {
  width: 35vw;
  height: 35vw;
}

.image-placeholder > div,
.gallery-item > span,
.gallery-item > small {
  position: relative;
  z-index: 2;
}

.placeholder-icon {
  display: block;
  font-size: 40px;
  margin-bottom: 10px;
}

.image-placeholder p {
  margin: 0 0 6px;
  font: 600 22px "Playfair Display", serif;
}

.image-placeholder small {
  color: rgba(89, 67, 51, .72);
}

.hero-placeholder.has-image {
  background: none;
}

.hero-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(39, 28, 20, .56),
    rgba(39, 28, 20, .18) 65%,
    rgba(39, 28, 20, .1)
  );
}

.hero-content {
  position: relative;
  z-index: 3;

  color: var(--paper);
  max-width: 760px;
  min-width: 0;

  padding: 100px 0;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
}

.eyebrow.light {
  color: var(--cream-deep);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(52px, 7vw, 88px);
  max-width: 900px;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

h3 {
  font-size: 28px;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 30px;
  font-size: 18px;
  color: rgba(255, 250, 243, .9);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;

  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;

  text-align: center;
  overflow-wrap: anywhere;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;

  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(75, 56, 44, .16);
}

.button-primary {
  background: var(--paper);
  color: var(--brown-dark);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--paper);
}

.button-secondary {
  background: var(--brown-dark);
  color: var(--paper);
  margin-top: 25px;
}

.button-cream {
  background: var(--cream);
  color: var(--brown-dark);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  color: rgba(255, 250, 243, .8);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;

  display: flex;
  gap: 10px;
}

/* =========================
   ABOUT US
   ========================= */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.intro-grid h2 {
  max-width: 520px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}

.text-link {
  color: var(--brown-dark);
  font-weight: 700;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.about-photo {
  min-height: 460px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================
   STATISTICS
   ========================= */

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stat-card {
  min-height: 320px;
  min-width: 0;
  padding: 50px 30px;

  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 35px rgba(75, 56, 44, .07);
}

.stat-icon {
  width: 90px;
  height: 90px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: rgba(154, 123, 100, .13);

  font-size: 48px;
  line-height: 1;
  margin-bottom: 22px;
  color: var(--brown-dark);
}

.stat-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 72px;
  line-height: .95;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 15px;
}

.stat-card h3 {
  font-size: 25px;
  margin: 0 0 10px;
}

.stat-card p {
  max-width: 280px;
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* =========================
   BOOKING CTA
   ========================= */

.booking-cta {
  padding: 75px 0;
  background: var(--brown-dark);
  color: var(--paper);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.cta-inner h2 {
  max-width: 730px;
}

.cta-inner p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 250, 243, .73);
  max-width: 650px;
}

/* =========================
   CONTACT
   ========================= */

.contact {
  background: #fbf4ea;
}

.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 50px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  min-width: 0;
}

.contact-details {
  display: grid;
  gap: 0;
  min-width: 0;
}

.contact-details div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);

  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.contact-details span {
  color: var(--muted);
  font-size: 13px;
}

.contact-details strong {
  font-size: 14px;
  text-align: right;
  overflow-wrap: anywhere;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: var(--brown-dark);
  color: var(--paper);
}

.footer-inner {
  padding: 36px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-inner strong {
  font: 600 20px "Playfair Display", serif;
}

.footer-inner span {
  color: rgba(255, 250, 243, .64);
  font-size: 12px;
  margin-top: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 250, 243, .75);
}

/* =========================
   FOOTER BOTTOM
   ========================= */

.footer-bottom {
  padding: 15px 0 30px;
  border-top: 1px solid rgba(255, 250, 243, .12);
  color: rgba(255, 250, 243, .5);
  font-size: 11px;
}

/* =========================
   LARGE DESKTOP
   ========================= */

@media (min-width: 1200px) {
  .stat-card {
    min-height: 350px;
  }

  .stat-icon {
    width: 105px;
    height: 105px;
    font-size: 56px;
  }

  .stat-number {
    font-size: 82px;
  }
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    top: 78px;
    right: 22px;
    left: 22px;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 5px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

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

  .stat-card {
    min-height: 300px;
  }

  .about-photo {
    min-height: 420px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {
  html {
    scroll-behavior: auto;
  }

  body {
    overflow-x: clip;
  }

  .container {
    width: calc(100% - 28px);
    max-width: 100%;
    min-width: 0;
  }

  .section-pad {
    padding: 72px 0;
  }

  .nav-wrap {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    flex: 1 1 auto;
  }

  .brand-text strong {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: 100%;
    padding: 75px 0;
  }

  h1 {
    font-size: clamp(38px, 10vw, 50px);
  }

  h2 {
    font-size: clamp(32px, 8vw, 40px);
  }

  h3 {
    font-size: 25px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    max-width: 100%;
  }

  .hero-scroll {
    max-width: calc(100% - 28px);
    white-space: normal;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .stat-card {
    min-height: 280px;
    padding: 40px 22px;
  }

  .stat-icon {
    width: 80px;
    height: 80px;
    font-size: 44px;
  }

  .stat-number {
    font-size: 62px;
  }

  .about-photo {
    min-height: 300px;
    max-width: 100%;
  }

  .contact-card {
    padding: 24px 20px;
    gap: 24px;
  }

  .contact-details div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .contact-details strong {
    text-align: left;
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 14px;
  }

  .button,
  button,
  input,
  select,
  textarea {
    min-width: 0;
  }

  .booking-search-header {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .booking-search-header h1 {
    text-align: center;
    overflow-wrap: anywhere;
  }

  /* Common booking and room containers */
  .room-card,
  .room-image,
  .room-gallery,
  .booking-card,
  .booking-layout {
    min-width: 0;
    max-width: 100%;
  }

  /* Room and gallery images */
  .room-card img,
  .room-image img,
  .room-gallery img {
    max-width: 100%;
  }

  /* Reserve buttons and other booking actions */
  .reserve-button,
  .room-card button,
  .room-card .button,
  .room-card a.button,
  .booking-card button,
  .booking-card .button {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* =========================
   EXTRA SMALL PHONES
   ========================= */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-card {
    padding: 20px 16px;
  }

  .stat-card {
    padding: 32px 18px;
  }
}
