@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f5f0e8;
  --espresso: #211a17;
  --green: #132b1e;
  --gold: #c1a776;
  --gold-ink: #80603a;
  --gold-hover: #b99664;
  --line: rgba(193, 167, 118, 0.55);
  --card: #fbf8f4;
  --max: 1040px;
  --header: 5.25rem;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-ink);
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ivory);
  color: var(--espresso);
  padding: 0.5rem 0.75rem;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.7rem 1.5rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--espresso);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-ink);
}

.brand-role {
  margin-top: 0.15rem;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  padding: 1rem 1.25rem 1.25rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--gold);
}

.menu[open] ~ .nav-links {
  display: flex;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  padding: 0 0 3rem;
}

.hero-video {
  margin: 0;
}

.hero-video video {
  display: block;
  width: 100%;
  max-height: 72vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--espresso);
}

.hero-copy {
  padding-top: 2rem;
}

.hero-role {
  margin: 0.7rem 0 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.hero h1,
.section h2,
.split h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.25rem);
}

.eyebrow,
.kicker {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.motto {
  margin: 1rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 500;
  color: var(--gold-ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--espresso);
  font: 600 0.95rem/1 Inter, sans-serif;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-hover);
  color: var(--espresso);
}

.btn-book {
  height: 40px;
  min-height: 40px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 38px;
  text-transform: uppercase;
}

.btn-line {
  background: transparent;
  color: var(--gold-ink);
}

.btn-line:hover {
  background: var(--gold);
  color: var(--espresso);
}

.hero h1 {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-ink);
}

.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2,
.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
}

#opiniones .wrap {
  padding: 1.85rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.panel {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, #fbf8f4 0%, #ffffff 72%);
}

.panel-photo {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 26px 24px;
}

.panel h2 {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: clamp(1.65rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.panel p {
  margin: 0 0 0.85rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.section h3 {
  margin: 2rem 0 1rem;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principles {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.15rem 0;
}

.principles svg {
  flex: 0 0 auto;
  stroke: var(--gold);
}

.close-line {
  margin: 16px 0 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  text-align: center;
}

@media (min-width: 760px) {
  .pair {
    grid-template-columns: 1fr 1fr;
  }
}

.services {
  display: grid;
  gap: 1.75rem;
}

.service {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.service-photo {
  position: relative;
  margin: 0;
}

.service img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-photo figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(33, 26, 23, 0.45);
  text-transform: uppercase;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  padding: 1.25rem 1.25rem 1.35rem;
}

.service-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.service-title h3,
.service-title h4,
.service-title p,
.duration,
.service-body > p {
  margin: 0;
}

.service-title h3,
.service-title h4 {
  color: var(--gold-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.service-title p {
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

.service-body > p {
  color: var(--espresso);
}

.service-body > .duration {
  color: var(--green);
  font-style: italic;
}

.service .btn {
  width: 100%;
  margin-top: auto;
}

.note,
.rating {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
}

.rating {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
}

.gallery {
  display: grid;
  gap: 16px;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.split ul {
  padding-left: 1.1rem;
}

.piso {
  color: var(--green);
}

.panel address {
  margin: 0.35rem 0 0.85rem;
  color: var(--gold-ink);
  font-style: normal;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
}

.metro {
  color: var(--green);
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.site-footer {
  padding: 3rem 0 2.25rem;
  background: var(--green);
  color: var(--ivory);
  text-align: center;
}

.site-footer a {
  color: var(--gold);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand img {
  width: 5.5rem;
  height: auto;
}

.footer-brand p {
  margin: 0;
  max-width: 36rem;
}

.social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  padding: 0.45rem;
  border: 1px solid rgba(245, 240, 232, 0.55);
  border-radius: 4px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.15rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.legal-links a {
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.fine {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: var(--ivory);
}

.page-404 {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.page-404 img {
  width: 4.5rem;
  height: auto;
}

.page-404 h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: 1.1;
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }

  .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .btn-book {
    padding: 0 12px;
    letter-spacing: 0.5px;
  }

  .menu summary {
    padding: 0.4rem 0.55rem;
  }
}

@media (min-width: 769px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }

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

  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split-reverse .split-copy {
    order: 2;
  }
}

@media (min-width: 1180px) {
  .menu summary {
    display: none;
  }

  .header-actions .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links a {
    letter-spacing: 0.03em;
  }
}

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