/* =========================================================
   HIDDEN GRACE — LUXURY FRENCH GUESTHOUSE
   ========================================================= */

:root {
  --bg: #f7f3ed;
  --bg-soft: #eee7dc;
  --paper: #fffdf9;

  --ink: #292522;
  --muted: #756d65;

  --gold: #b28a52;
  --gold-light: #d2b27c;
  --gold-dark: #8f6a3b;

  --burgundy: #542f32;
  --burgundy-dark: #3b2023;

  --charcoal: #292522;
  --white: #ffffff;

  --border: rgba(41, 37, 34, 0.12);

  --shadow:
    0 18px 50px rgba(41, 37, 34, 0.12);

  --shadow-soft:
    0 10px 30px rgba(41, 37, 34, 0.09);

  --radius: 18px;
  --radius-small: 12px;

  --max: 1180px;

  --space-sm: 12px;
  --space-md: 22px;
  --space-lg: 45px;
  --space-xl: 75px;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================================================
   GENERAL
   ========================================================= */

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.sec {
  padding: var(--space-xl) 0;
}

.sec.alt {
  background: var(--bg-soft);
}

.eyebrow {
  margin-bottom: 8px;

  color: var(--gold-dark);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

p {
  margin-top: 0;
}

.lede {
  max-width: 72ch;
  color: var(--muted);
  font-size: 17px;
}


/* =========================================================
   DEMO BAR
   ========================================================= */

.demo-bar {
  padding: 9px 20px;

  background: var(--burgundy-dark);
  color: #f8eee3;

  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.demo-bar a {
  color: var(--gold-light);
  font-weight: 700;
}

.demo-bar b {
  color: var(--gold-light);
}


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

.site-head {
  position: relative;
  z-index: 100;

  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(12px);
}

.row {
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  margin-inline: auto;

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


/* BRAND */

.brand {
  display: inline-flex;
  flex-direction: column;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 27px;
  line-height: 1;
  color: var(--burgundy);
}

.brand small {
  margin-top: 7px;

  color: var(--muted);

  font-family:
    Inter,
    system-ui,
    sans-serif;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* NAV */

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav a {
  position: relative;

  padding: 11px 14px;

  color: var(--ink);

  font-size: 14px;
  font-weight: 600;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav a:not(.cta)::after {
  content: "";

  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;

  height: 1px;

  background: var(--gold);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.2s ease;
}

.nav a:not(.cta):hover {
  color: var(--gold-dark);
}

.nav a:not(.cta):hover::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--gold-dark);
}


/* BOOK BUTTON */

.nav .cta {
  margin-left: 8px;

  padding: 12px 21px;

  border-radius: 999px;

  background: var(--burgundy);
  color: white;

  box-shadow: 0 7px 20px rgba(84, 47, 50, 0.18);

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.nav .cta:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  padding: 0;

  border: 1px solid var(--border);
  border-radius: 50%;

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

  cursor: pointer;

  align-items: center;
  justify-content: center;

  box-shadow: var(--shadow-soft);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;

  width: 21px;
  height: 2px;

  background: currentColor;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";

  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}


/* Hamburger → X */

.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}


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

.hero {
  position: relative;
  min-height: min(760px, 82vh);

  display: grid;
  align-items: center;

  overflow: hidden;

  isolation: isolate;
}

.hero .bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: -3;
}

.hero .veil {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(25, 19, 17, 0.78) 0%,
      rgba(25, 19, 17, 0.54) 42%,
      rgba(25, 19, 17, 0.12) 100%
    );

  z-index: -2;
}

.hero .inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;

  padding: 100px 0;
  color: white;
}

.hero .kicker {
  margin-bottom: 14px;

  color: var(--gold-light);

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 20px;
}

.hero .sub {
  max-width: 670px;

  color: rgba(255, 255, 255, 0.9);

  font-size: clamp(15px, 2vw, 18px);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin: 28px 0;
}

.fact {
  padding: 8px 13px;

  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;

  background: rgba(255,255,255,0.08);

  backdrop-filter: blur(8px);

  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 12px 20px;

  border: 1px solid transparent;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 750;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

  box-shadow: 0 10px 25px rgba(178, 138, 82, 0.25);
}

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

.btn-acc {
  background: var(--burgundy);
  color: white;

  box-shadow: 0 8px 20px rgba(84, 47, 50, 0.16);
}

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

.btn-wa {
  background: #6f8b67;
  color: white;
}

.btn-wa:hover {
  background: #587150;
}


/* =========================================================
   SPLIT SECTION
   ========================================================= */

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


/* =========================================================
   IMAGES — ROUNDED CORNERS
   ========================================================= */

.ph {
  position: relative;

  overflow: hidden;

  border-radius: var(--radius);

  background: var(--bg-soft);

  box-shadow: var(--shadow-soft);
}

.ph img {
  width: 100%;
  height: 100%;

  aspect-ratio: 16 / 10;

  object-fit: cover;

  border-radius: inherit;

  transition:
    transform 0.55s ease;
}

.ph:hover img {
  transform: scale(1.035);
}


/* =========================================================
   CARDS
   ========================================================= */

.grid2,
.grid3 {
  display: grid;
  gap: 25px;
}

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

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

.card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card .ph {
  border-radius: 0;
  box-shadow: none;
}

.card .ph img {
  aspect-ratio: 4 / 3;
}

.card .bd {
  padding: 24px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.meta b {
  color: var(--burgundy);
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 17px;
}

.room-tags span {
  padding: 5px 10px;

  border-radius: 999px;

  background: var(--bg-soft);
  color: var(--burgundy);

  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gal {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.gal button {
  display: block;

  padding: 0;

  border: 0;

  background: transparent;

  border-radius: var(--radius);

  overflow: hidden;

  cursor: pointer;

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gal button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gal img {
  width: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: inherit;

  transition: transform 0.45s ease;
}

.gal button:hover img {
  transform: scale(1.04);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lb {
  width: min(94vw, 1200px);
  max-width: 1200px;

  padding: 20px;

  border: 0;
  border-radius: 20px;

  background: rgba(20, 17, 15, 0.96);

  box-shadow: 0 30px 100px rgba(0,0,0,0.45);

  color: white;
}

.lb::backdrop {
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(5px);
}

.lb img {
  display: block;

  width: 100%;
  max-height: 78vh;

  object-fit: contain;

  border-radius: 12px;
}

.lb-close {
  position: absolute;
  top: 15px;
  right: 15px;

  padding: 9px 13px;

  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;

  background: rgba(0,0,0,0.55);
  color: white;

  cursor: pointer;
}

.lb-nav {
  position: absolute;
  top: 50%;

  width: 48px;
  height: 48px;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,0.9);
  color: var(--burgundy);

  font-size: 24px;

  cursor: pointer;

  transform: translateY(-50%);
}

.lb-prev {
  left: 30px;
}

.lb-next {
  right: 30px;
}


/* =========================================================
   FACILITIES
   ========================================================= */

.amen {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 10px 18px;

  list-style: none;
  padding: 0;
}

.amen li {
  padding: 10px 13px;

  border-radius: 10px;

  background: var(--paper);

  color: var(--muted);

  font-size: 14px;
}

.amen .grp {
  grid-column: 1 / -1;

  margin-top: 18px;

  background: transparent;

  color: var(--burgundy);

  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}


/* =========================================================
   QUOTE
   ========================================================= */

.quote {
  max-width: 850px;

  margin-inline: auto;

  padding: 45px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow-soft);

  text-align: center;
}

blockquote {
  margin: 20px 0;

  color: var(--ink);

  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.45;
}

cite {
  color: var(--muted);
  font-size: 13px;
}


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

.book-grid {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 40px;
}

.enq {
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow-soft);
}

.f-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.f-row {
  display: flex;
  flex-direction: column;
  gap: 6px;

  margin-bottom: 17px;
}

.f-row label {
  color: var(--burgundy);

  font-size: 13px;
  font-weight: 750;
}

.f-row input,
.f-row textarea,
.f-row select {
  width: 100%;

  padding: 12px 13px;

  border: 1px solid rgba(41,37,34,0.18);
  border-radius: 10px;

  background: #fff;

  color: var(--ink);

  outline: none;
}

.f-row input:focus,
.f-row textarea:focus,
.f-row select:focus {
  border-color: var(--gold);

  box-shadow:
    0 0 0 3px rgba(178,138,82,0.12);
}

.form-ok {
  display: none;

  margin-bottom: 18px;

  padding: 14px;

  border-radius: 10px;

  background: #eee7dc;

  color: var(--burgundy);

  font-size: 14px;
}

.f-note {
  color: var(--muted);
  font-size: 12px;
}

.map-box {
  overflow: hidden;

  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow-soft);
}

.map-box iframe {
  width: 100%;
  height: 350px;

  border: 0;
}

.contact-list {
  list-style: none;

  padding: 0;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 13px 0;

  border-bottom: 1px solid var(--border);

  font-size: 14px;
}

.contact-list span {
  color: var(--muted);
  text-align: right;
}

.ota {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ota a {
  padding: 8px 12px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--paper);

  color: var(--burgundy);

  font-size: 13px;
  font-weight: 700;
}


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

.site-foot {
  padding: 60px 0 25px;

  background: var(--charcoal);
  color: rgba(255,255,255,0.72);
}

.site-foot h3 {
  color: white;
  font-size: 20px;
}

.site-foot a {
  color: rgba(255,255,255,0.75);
}

.site-foot a:hover {
  color: var(--gold-light);
}

.cols {
  display: grid;

  grid-template-columns:
    1.5fr 1fr 1fr;

  gap: 50px;
}

.fine {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin-top: 45px;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,0.1);

  color: rgba(255,255,255,0.45);

  font-size: 12px;
}

.kw {
  color: var(--gold-light) !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}


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

@media (max-width: 900px) {

  .nav {
    gap: 0;
  }

  .nav a {
    padding-inline: 9px;
  }

  .split {
    gap: 35px;
  }

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

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

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

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


/* =========================================================
   PHONE — HAMBURGER MENU
   ========================================================= */

@media (max-width: 700px) {

  .wrap,
  .row,
  .hero .inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .row {
    min-height: 72px;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Mobile navigation */
  .nav {
    position: absolute;

    top: 100%;
    left: 14px;
    right: 14px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 10px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: rgba(255,253,249,0.98);

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }

  .nav a {
    width: 100%;

    padding: 14px 15px;

    border-radius: 10px;
  }

  .nav a:hover {
    background: var(--bg-soft);
  }

  .nav a:not(.cta)::after {
    display: none;
  }

  .nav .cta {
    margin: 5px 0 0;

    text-align: center;
  }


  /* Hero */

  .hero {
    min-height: 720px;
  }

  .hero .veil {
    background:
      linear-gradient(
        180deg,
        rgba(25,19,17,0.25),
        rgba(25,19,17,0.82)
      );
  }

  .hero .inner {
    padding: 90px 0 60px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .facts {
    gap: 6px;
  }

  .fact {
    font-size: 12px;
  }


  /* Sections */

  .sec {
    padding: 55px 0;
  }

  .split {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .split .ph {
    order: -1;
  }


  /* Cards */

  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }


  /* Gallery */

  .gal {
    grid-template-columns: 1fr 1fr;

    gap: 10px;
  }

  .gal button {
    border-radius: 13px;
  }


  /* Facilities */

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

  .amen .grp {
    grid-column: auto;
  }


  /* Quote */

  .quote {
    padding: 28px 20px;
  }


  /* Forms */

  .f-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }


  /* Footer */

  .cols {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .fine {
    flex-direction: column;
  }


  /* Lightbox */

  .lb {
    width: 96vw;
    padding: 10px;
    border-radius: 14px;
  }

  .lb img {
    max-height: 72vh;
    border-radius: 9px;
  }

  .lb-nav {
    width: 42px;
    height: 42px;
  }

  .lb-prev {
    left: 15px;
  }

  .lb-next {
    right: 15px;
  }
}


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

@media (max-width: 430px) {

  .brand {
    font-size: 23px;
  }

  .brand small {
    font-size: 8px;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero .sub {
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

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

  .gal img {
    aspect-ratio: 16 / 10;
  }

  .contact-list li {
    flex-direction: column;
    gap: 3px;
  }

  .contact-list span {
    text-align: left;
  }
}
