/* MRG Properties LLC — hospitality marketing styles */

:root {
  --cream: #f7f3ec;
  --cream-dark: #efe8dc;
  --sand: #e4d8c4;
  --ink: #1c2420;
  --ink-soft: #3d4a43;
  --muted: #6b756e;
  --accent: #1f4d3a;
  --accent-hover: #16382b;
  --accent-soft: #d8e6de;
  --white: #ffffff;
  --error: #9b2c2c;
  --shadow: 0 12px 40px rgba(28, 36, 32, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 36, 32, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover {
  color: var(--accent);
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(28, 36, 32, 0.15);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Typography helpers */
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-header h2,
.hero h1,
.book-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.placeholder-tag {
  margin: 0.85rem 0 0;
  padding: 0.35rem 0.65rem;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7a5c2e;
  background: #f3e6c8;
  border: 1px dashed #c9a96a;
  border-radius: 6px;
}

.placeholder-tag.centered {
  display: table;
  margin-inline: auto;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(28, 36, 32, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a2a24;
  background-image: url("images/hero-01.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 22, 18, 0.88) 0%,
    rgba(14, 22, 18, 0.45) 45%,
    rgba(14, 22, 18, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2rem, 40rem);
}

.hero .eyebrow {
  color: #b8d4c6;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: rgba(243, 230, 200, 0.85);
}

/* Why direct */
.why-direct {
  background: var(--cream);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(28, 36, 32, 0.06);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* The stay */
.the-stay {
  background: var(--cream-dark);
}

.stay-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}

.stay-details {
  display: grid;
  gap: 1.25rem;
}

.stay-summary h3,
.stay-details h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(28, 36, 32, 0.08);
}

.stat-list li:last-child {
  border-bottom: 0;
}

.stat-label {
  color: var(--muted);
  font-weight: 500;
}

.stat-value {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.amenity-list,
.rules-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink-soft);
}

.amenity-list {
  columns: 2;
  column-gap: 1.5rem;
}

.amenity-list li,
.rules-list li {
  margin-bottom: 0.45rem;
  break-inside: avoid;
}

/* Gallery */
.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  background: #c5bfb2;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f7f3ec;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}


/* Rating social proof */
.rating-proof {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.75rem;
}

.rating-score {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.1;
}

.rating-score .stars {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  vertical-align: middle;
  color: #c4a35a;
}

.rating-meta {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.rating-type {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-fineprint,
.map-fineprint {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Location */
.location {
  background: var(--white);
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.nearby-list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.15rem;
  color: var(--ink-soft);
}

.nearby-list li {
  margin-bottom: 0.65rem;
}

.location-map {
  min-height: 280px;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(
      -12deg,
      var(--cream),
      var(--cream) 12px,
      var(--cream-dark) 12px,
      var(--cream-dark) 24px
    );
  color: var(--muted);
}

.map-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Reviews */
.reviews {
  background: var(--cream-dark);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.review-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.review-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

/* Booking */
.book {
  background: var(--cream);
}

.book-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.book-intro .section-header {
  margin-bottom: 1.5rem;
}

.book-intro h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}

.book-perks {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.book-perks li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--ink-soft);
}

.book-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
}

.contact-email {
  margin: 0;
  color: var(--ink-soft);
}

.contact-email a {
  font-weight: 600;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(28, 36, 32, 0.18);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(31, 77, 58, 0.4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 77, 58, 0.18);
  background: var(--white);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.12);
}

.field-error {
  margin: 0;
  font-size: 0.82rem;
  color: var(--error);
  font-weight: 500;
}

.form-note {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
}

.form-note.is-error {
  color: var(--error);
}

.form-fineprint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 236, 0.82);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
}

.footer-domain a {
  color: #b8d4c6;
  text-decoration: none;
  font-weight: 600;
}

.footer-domain a:hover {
  text-decoration: underline;
}

.footer-tag {
  margin: 0.75rem 0 0;
  color: rgba(247, 243, 236, 0.6);
  font-size: 0.95rem;
}

.footer-nav ul,
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: rgba(247, 243, 236, 0.8);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-social-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
}

.social-list {
  display: flex;
  gap: 0.5rem;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
}

.social-list a:hover {
  background: var(--accent);
}

.footer-social .placeholder-tag {
  margin-top: 0.85rem;
  background: rgba(243, 230, 200, 0.12);
  color: #e8d5a8;
  border-color: rgba(232, 213, 168, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 243, 236, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid,
  .review-grid,
  .stay-layout,
  .location-layout,
  .book-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

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

  .amenity-list {
    columns: 1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(28, 36, 32, 0.1);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: var(--cream-dark);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
    align-items: center;
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-toggle-bar {
    transition: none;
  }
}
