@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Manrope:wght@400;500;600;700&display=swap");


:root {
  --cream: #fcfaf5;
  --paper: #ffffff;
  --sand: #e8ddc8;
  --sand-soft: #f3ede2;
  --navy: #124d63;
  --sea: #2f829d;
  --ink: #17333b;
  --body: #53666b;
  --olive: #7f8b73;
  --shadow: 0 24px 70px rgba(18, 77, 99, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 130, 157, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  max-width: 1440px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 88px;
  border-bottom: 1px solid rgba(232, 221, 200, 0.9);
  background: rgba(252, 250, 245, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  height: 100%;
  padding-inline: clamp(20px, 3.4vw, 52px);
}

.brand {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
}

.main-nav a,
.language-switch a {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a::after,
.language-switch a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.language-switch a:hover::after,
.language-switch a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 32px);
}

.language-switch {
  display: flex;
  gap: 12px;
}

.language-switch a {
  padding: 8px 2px;
  text-transform: uppercase;
}

.btn-casa {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 12px;
  padding: 13px 24px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  gap: 11px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

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

.btn-casa-primary {
  background: var(--navy);
  color: #fff;
}

.btn-casa-primary:hover {
  border-color: var(--sea);
  background: var(--sea);
  color: #fff;
  box-shadow: 0 12px 30px rgba(47, 130, 157, 0.22);
}

.btn-casa-outline {
  background: transparent;
  color: var(--navy);
}

.btn-casa-outline:hover {
  background: var(--sand-soft);
  color: var(--navy);
}

.header-cta {
  min-width: 120px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand);
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
}

.hero {
  padding: clamp(32px, 4vw, 62px) 0 clamp(70px, 7vw, 110px);
}

.hero .site-shell {
  padding-inline: clamp(20px, 3.4vw, 52px);
}

.hero-grid {
  display: grid;
  min-height: min(800px, calc(100vh - 150px));
  grid-template-columns: minmax(0, 0.77fr) minmax(520px, 1.23fr);
  align-items: stretch;
  gap: clamp(32px, 4.2vw, 68px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 34px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.35rem, 5.2vw, 5.55rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.65rem, 4.5vw, 4.4rem);
  line-height: 1;
}

.lead-copy,
.section-copy {
  color: var(--body);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}

.lead-copy {
  max-width: 620px;
  margin: 28px 0 0;
}

.hero-facts {
  display: grid;
  margin-top: 28px;
  gap: 14px;
}

.hero-facts > span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2e4a53;
  font-size: 0.98rem;
}

.hero-facts i {
  width: 25px;
  color: var(--navy);
  font-size: 1.1rem;
  text-align: center;
}

.hero-buttons {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 14px;
}

.amenity-preview {
  display: grid;
  width: 100%;
  margin-top: 44px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.amenity-preview > span {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  gap: 10px;
  font-size: 0.86rem;
}

.amenity-preview i {
  color: var(--navy);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  margin: 0;
  border-radius: 32px;
  background: var(--sand-soft);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.hero-visual:hover img {
  transform: scale(1.015);
}

.hero-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 11px 17px;
  background: rgba(18, 77, 99, 0.82);
  color: #fff;
  font-size: 0.78rem;
  gap: 9px;
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(80px, 9vw, 132px) 0;
}

.intro-section {
  border-top: 1px solid rgba(232, 221, 200, 0.8);
  background: var(--paper);
}

.section-copy {
  margin: 0;
}

.intro-highlights {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.intro-highlights span {
  display: grid;
  border-top: 1px solid var(--sand);
  padding-top: 19px;
  gap: 6px;
}

.intro-highlights strong {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1;
}

.intro-highlights small {
  color: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child {
  margin: 24px auto 0;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.amenities-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.amenity-card {
  min-height: 178px;
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 26px 18px;
  background: var(--paper);
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

.amenity-card:hover {
  border-color: rgba(47, 130, 157, 0.5);
  box-shadow: 0 14px 35px rgba(18, 77, 99, 0.08);
  transform: translateY(-3px);
}

.amenity-card > span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand-soft);
  color: var(--navy);
  font-size: 1.25rem;
}

.amenity-card h3 {
  margin: 20px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.amenities-note {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0;
  color: var(--body);
  font-size: 0.8rem;
  gap: 9px;
  text-align: center;
}

.amenities-note i {
  color: var(--olive);
}

.gallery-section {
  background: var(--paper);
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--body);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  margin-top: 58px;
  grid-auto-rows: 230px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: var(--sand-soft);
  color: #fff;
  cursor: zoom-in;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(11, 40, 51, 0.72));
  content: "";
  pointer-events: none;
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  left: 18px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

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

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.location-map {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 540px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent),
    repeating-linear-gradient(
      35deg,
      transparent,
      transparent 38px,
      rgba(47, 130, 157, 0.06) 39px,
      rgba(47, 130, 157, 0.06) 41px
    ),
    var(--sand-soft);
  color: var(--navy);
}

.location-map::before,
.location-map::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(47, 130, 157, 0.12);
  content: "";
}

.location-map::before {
  width: 330px;
  height: 330px;
}

.location-map::after {
  width: 190px;
  height: 190px;
}

.location-map > * {
  position: relative;
  z-index: 2;
}

.location-map > i {
  margin-bottom: 18px;
  color: var(--sea);
  font-size: 3rem;
}

.location-map strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
}

.location-map small {
  margin-top: 6px;
  color: var(--body);
}

.map-ring {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(47, 130, 157, 0.18);
  border-radius: 50%;
}

.ring-one {
  width: 460px;
  height: 460px;
}

.ring-two {
  width: 580px;
  height: 580px;
}

.location-copy .lead-copy {
  margin-top: 24px;
}

.location-details {
  display: grid;
  margin: 34px 0;
}

.location-details > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--sand);
  padding: 17px 0;
}

.location-details > div > i {
  color: var(--sea);
  font-size: 1.05rem;
}

.location-details span {
  display: grid;
  gap: 4px;
}

.location-details small {
  color: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-details strong {
  font-size: 0.94rem;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  gap: 10px;
  text-decoration: none;
}

.contact-section {
  background: var(--navy);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.contact-copy {
  padding-top: 20px;
}

.contact-copy .eyebrow {
  color: #91cadb;
}

.contact-copy > p:not(.eyebrow):not(.setup-note) {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.contact-direct {
  display: flex;
  align-items: center;
  margin-top: 38px;
  gap: 16px;
}

.contact-direct > i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.contact-direct span {
  display: grid;
  gap: 3px;
}

.contact-direct small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct a {
  color: #fff;
  font-size: 0.9rem;
}

.setup-note {
  display: flex;
  max-width: 510px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  line-height: 1.55;
  gap: 10px;
}

.booking-form {
  border-radius: 24px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.booking-form label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.booking-form .form-control {
  min-height: 52px;
  border: 1px solid var(--sand);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.9rem;
}

.booking-form textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.booking-form .form-control:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 0.25rem rgba(47, 130, 157, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-feedback {
  min-height: 20px;
  margin: 12px 0 0;
  color: #a14a3f;
  font-size: 0.78rem;
  text-align: center;
}

.site-footer {
  padding: 70px 0 28px;
  background: #0c3545;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.footer-brand {
  color: #fff;
}

.footer-main p {
  margin: 15px 0 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.7rem;
  gap: 24px;
}

.legal-note {
  color: rgba(255, 255, 255, 0.5);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  padding: 32px;
  background: rgba(6, 23, 29, 0.94);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  display: grid;
  max-width: 1200px;
  max-height: calc(100vh - 100px);
  justify-self: center;
  margin: 0;
  gap: 14px;
}

.lightbox figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 155px);
  border-radius: 15px;
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.86rem;
  gap: 20px;
}

.lightbox figcaption small {
  color: rgba(255, 255, 255, 0.58);
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

.lightbox-nav {
  justify-self: center;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 77, 99, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: 87px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--sand);
    padding: 24px;
    background: var(--cream);
    box-shadow: 0 20px 40px rgba(18, 77, 99, 0.08);
    gap: 2px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    position: absolute;
    top: 87px;
    right: 20px;
    display: none;
  }

  .main-nav.is-open + .header-actions {
    display: flex;
  }

  .main-nav.is-open + .header-actions .header-cta {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 1.08fr;
  }

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

@media (max-width: 991px) {
  .hero-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-heading > p {
    max-width: 650px;
  }

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

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

  .contact-grid {
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    display: grid;
  }

  .footer-links {
    gap: 18px 24px;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 20px;
  }

  .lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 72px;
  }

  .header-inner {
    padding-inline: 18px;
  }

  .main-nav {
    top: 71px;
  }

  .header-actions {
    top: 75px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero .site-shell {
    padding-inline: 18px;
  }

  .hero-copy {
    padding-block: 24px 16px;
  }

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

  .lead-copy,
  .section-copy {
    font-size: 0.98rem;
  }

  .hero-buttons,
  .hero-buttons .btn-casa {
    width: 100%;
  }

  .amenity-preview {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
    border-radius: 22px;
  }

  .hero-visual figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 78px 0;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .amenity-card {
    min-height: 156px;
    padding-inline: 12px;
  }

  .gallery-grid {
    grid-auto-rows: 185px;
    gap: 10px;
  }

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

  .location-map {
    min-height: 340px;
    border-radius: 22px;
  }

  .booking-form {
    border-radius: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
