:root {
  --color-primary: #b41631;
  --color-primary-dark: #761021;
  --color-accent: #d49a34;
  --color-text: #211a1d;
  --color-text-muted: #665d61;
  --color-background: #fbfaf7;
  --color-background-alt: #f5f1ec;
  --color-border: #e7dedc;
  --shadow-soft: 0 12px 30px rgba(33, 26, 29, 0.08);
  --radius-small: 6px;
  --radius-medium: 10px;
  --container-width: 1200px;
  --ruby: #b41631;
  --ruby-dark: #761021;
  --gold: #d49a34;
  --sage: #1f7a6d;
  --ink: #211a1d;
  --muted: #665d61;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --mist: #f2f5f4;
  --line: #e7dedc;
  --shadow: var(--shadow-soft);
  --radius: var(--radius-medium);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

h1,
h2,
h3,
.room-card h4,
.zone__heading h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  min-height: 760px;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(22, 15, 17, 0.9) 0%, rgba(22, 15, 17, 0.66) 52%, rgba(22, 15, 17, 0.34) 100%),
    url("../Images/habitacion%20molina1.jpeg");
  background-size: cover;
  background-position: center;
}

.nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 25;
  width: min(var(--container-width), calc(100% - 48px));
  transform: translateX(-50%);
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.nav--scrolled {
  top: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(231, 222, 220, 0.9);
  border-radius: var(--radius-medium);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.nav--scrolled .nav__links a {
  color: var(--ink);
}

.nav--scrolled .nav__links a:hover {
  color: var(--ruby);
}

.nav--scrolled .nav__booking {
  border-color: var(--ruby);
  color: #fff !important;
  background: var(--ruby);
}

.nav__brand,
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.nav__logo,
.footer__brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #fff;
  padding: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__links a:hover {
  color: #ffe2a8;
}

.nav__links a:not(.nav__booking) {
  position: relative;
}

.nav__links a:not(.nav__booking)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__links a:not(.nav__booking):hover::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.nav__booking {
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.1);
}

.nav__menu,
.nav__close {
  display: none;
}

.nav__menu {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__menu span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
}

.hero__container {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 96px;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature__copy h2,
.zone__heading h3 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.1vw, 4.15rem);
  letter-spacing: -0.035em;
}

.hero__paragraph {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero__actions,
.location-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-small);
  padding: 13px 20px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(212, 154, 52, 0.75);
  outline-offset: 3px;
}

.button--primary {
  background: var(--ruby);
  color: #fff;
}

.button--primary:hover,
.button--room:hover {
  background: var(--ruby-dark);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button--room {
  width: 100%;
  margin-top: auto;
  background: var(--ruby);
  color: #fff;
}

.button--map {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__facts span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-small);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
}

.section-heading {
  max-width: 720px;
}

.section-heading--center {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.feature__copy h2 {
  font-size: clamp(2.15rem, 3.3vw, 2.65rem);
  color: var(--ink);
}

.section-heading p:last-child,
.feature__copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card,
.room-card,
.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 205px;
  padding: 24px 20px;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.room-card:hover {
  border-color: rgba(180, 22, 49, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.service-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature {
  background: var(--color-background-alt);
}

.feature__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.feature__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rooms {
  background: var(--paper);
}

.zone {
  margin-top: 52px;
}

.zone + .zone {
  margin-top: 80px;
}

.zone__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 30px;
  align-items: end;
  margin-bottom: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.zone__heading .eyebrow {
  grid-column: 1 / -1;
}

.zone__heading h3 {
  font-size: 1.85rem;
}

.zone__heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.room-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-card--highlight {
  border-color: rgba(212, 154, 52, 0.6);
}

.room-card__image {
  width: 100%;
  aspect-ratio: 4 / 2.8;
  object-fit: cover;
}

.room-card__body {
  min-height: 555px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room-card__zone {
  margin: 0 0 8px;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.room-card h4 {
  min-height: 52px;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.25;
}

.room-card__price {
  margin: 0;
  color: var(--ruby);
  font-size: 2.15rem;
  font-weight: 700;
}

.room-card__price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.room-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.booking-box {
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: #fcfaf8;
}

.booking-box__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.booking-box label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.booking-box input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.booking-box input:focus {
  outline: 2px solid rgba(180, 22, 49, 0.28);
  border-color: var(--ruby);
}

.booking-box__amount {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.booking-box__amount.is-ready {
  color: var(--ink);
}

.booking-box__amount.is-error {
  color: var(--ruby);
}

.extra-services {
  background: #fff;
}

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

.extra-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.extra-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.extra-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.extra-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.extra-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.locations {
  background: var(--mist);
}

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

.location-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  box-shadow: var(--shadow-soft);
}

.location-card__copy {
  padding: 30px;
}

.location-card__zone {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.location-card p {
  color: var(--muted);
  line-height: 1.7;
}

.location-map {
  width: 100%;
  min-height: 340px;
  border: 0;
}

.footer {
  color: #fff;
  background: #181516;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.75fr 1.05fr;
  gap: 36px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer a {
  display: block;
  margin-top: 10px;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer__brand {
  margin-bottom: 14px;
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: var(--radius-small);
  padding: 13px 17px;
  color: #fff;
  background: #168b52;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: #107a45;
}

.floating-whatsapp span {
  font-size: 0.72rem;
  opacity: 0.86;
}

.floating-whatsapp strong {
  display: block;
  font-size: 0.96rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal--open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 21, 22, 0.72);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(86vh, 820px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.modal__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.2;
}

.modal__close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.modal__content {
  max-height: calc(min(86vh, 820px) - 110px);
  overflow: auto;
  padding: 26px 28px 30px;
  color: var(--muted);
}

.modal__content p,
.modal__content li {
  line-height: 1.75;
}

.modal__content h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.modal__content ul {
  margin: 0;
  padding-left: 20px;
}

.modal__note {
  margin-top: 24px;
  border-left: 4px solid var(--ruby);
  padding: 14px 16px;
  background: #fff7f7;
  color: var(--ink);
}

.service-page {
  background: var(--paper);
}

.service-hero {
  min-height: 74vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
}

.service-hero--field {
  background-image:
    linear-gradient(90deg, rgba(22, 15, 17, 0.86), rgba(22, 15, 17, 0.38)),
    url("../Images/boca%20cancha.jpeg");
}

.service-hero--events {
  background-image:
    linear-gradient(90deg, rgba(22, 15, 17, 0.86), rgba(22, 15, 17, 0.34)),
    url("../Images/hostlarubi.\ remaster.png");
}

.service-hero__container {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 86px;
}

.service-hero__content {
  max-width: 760px;
}

.service-hero h1 {
  margin: 0;
  font-size: 3.3rem;
  line-height: 1.08;
}

.service-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  line-height: 1.8;
}

.service-main {
  background: var(--paper);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.service-panel,
.service-side-card,
.service-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-panel {
  padding: 32px;
}

.service-panel h2,
.service-side-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.65rem;
}

.service-panel p,
.service-panel li,
.service-side-card p,
.service-feature p {
  color: var(--muted);
  line-height: 1.75;
}

.service-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.price-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fffaf7;
}

.price-row strong {
  color: var(--ink);
}

.price-row span {
  color: var(--ruby);
  font-size: 1.35rem;
  font-weight: 800;
}

.service-side-card {
  padding: 24px;
  position: sticky;
  top: 18px;
}

.service-side-card .button {
  width: 100%;
  margin-top: 16px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-feature {
  padding: 22px;
}

.service-feature h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.service-feature p {
  margin: 0;
}

.service-photo-band {
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-photo-band img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.service-map {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .service-grid,
  .room-grid,
  .flow-grid,
  .extra-grid,
  .feature__container,
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .extra-card,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-side-card {
    position: static;
  }

  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
    padding: 56px 0;
  }

  .hero {
    min-height: 92vh;
    background-position: 58% center;
  }

  .nav {
    width: calc(100% - 28px);
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav--scrolled {
    top: 8px;
    padding: 9px 12px;
  }

  .nav__menu {
    display: inline-flex;
  }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 20;
    width: min(86vw, 360px);
    padding: 84px 28px 28px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    background: #181516;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    color: #fff;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
  }

  .nav__links a,
  .nav__booking {
    width: 100%;
  }

  .nav--scrolled .nav__links a {
    color: #fff;
  }

  .nav--scrolled .nav__links a:hover {
    color: #ffe2a8;
  }

  .nav--scrolled .nav__booking {
    border-color: rgba(255, 255, 255, 0.56);
    background: var(--ruby);
  }

  .hero__container {
    padding-top: 28px;
    padding-bottom: 78px;
  }

  .hero h1,
  .section-heading h2,
  .feature__copy h2 {
    font-size: 2.2rem;
  }

  .hero__paragraph {
    font-size: 1rem;
  }

  .hero__actions,
  .location-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .room-grid,
  .flow-grid,
  .extra-grid,
  .personal-note,
  .feature__container,
  .footer__container {
    grid-template-columns: 1fr;
  }

  .personal-note .button {
    white-space: normal;
  }

  .section-heading--center {
    text-align: left;
  }

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

  .room-card__body {
    min-height: auto;
  }

  .room-card h4 {
    min-height: auto;
  }

  .location-map {
    min-height: 280px;
  }

  .booking-box__fields,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .extra-card {
    grid-template-columns: 1fr;
  }

  .extra-card img {
    min-height: 220px;
  }

  .service-hero h1 {
    font-size: 2.25rem;
  }

  .service-hero__container {
    padding-top: 34px;
    padding-bottom: 62px;
  }

  .service-panel,
  .service-side-card {
    padding: 22px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .modal {
    padding: 12px;
  }

  .modal__header,
  .modal__content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .section-heading h2,
  .feature__copy h2 {
    font-size: 1.9rem;
  }

  .nav__brand span {
    font-size: 0.95rem;
  }

  .room-card__price {
    font-size: 1.7rem;
  }
}
