/* Centrinho Hostel — mobile-first design system */
:root {
  --primary: #e84534;
  --primary-dark: #c93426;
  --secondary: #155577;
  --secondary-dark: #0c3c57;
  --ink: #162832;
  --muted: #65747c;
  --sand: #f5f2eb;
  --mist: #f1f6f7;
  --white: #fff;
  --line: rgba(21, 85, 119, 0.14);
  --shadow-sm: 0 12px 35px rgba(17, 57, 76, 0.1);
  --shadow-lg: 0 25px 70px rgba(10, 45, 64, 0.2);
  --radius-sm: 0.75rem;
  --radius-md: 1.35rem;
  --radius-lg: 2rem;
  --container: 74rem;
  --header-height: 4.75rem;
  --transition: 220ms ease;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--secondary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
}

h3 {
  font-size: 1.5rem;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid #ffbd49;
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--primary);
}

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

.section {
  position: relative;
  padding-block: 5.5rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--secondary-dark);
  font-weight: 700;
  transition: transform var(--transition);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.75rem;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow-centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

.button-primary {
  color: var(--white);
  background: var(--primary-dark);
  box-shadow: 0 13px 32px rgba(201, 52, 38, 0.3);
}

.button-primary:hover {
  background: var(--secondary-dark);
  box-shadow: 0 16px 38px rgba(12, 60, 87, 0.35);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.button-white {
  color: var(--secondary);
  background: var(--white);
}

.button-white:hover {
  color: var(--primary-dark);
}

.button-outline-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.button-outline-white:hover {
  color: var(--secondary);
  background: var(--white);
}

.button-whatsapp {
  color: #0c5030;
  background: #a7f3c4;
}

.button-whatsapp:hover {
  background: #c4f8d7;
}

.button-small {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--secondary-dark);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(13, 54, 75, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
}

.brand picture {
  width: 2.35rem;
  height: 3.55rem;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-name strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-name small {
  margin-top: 0.25rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  position: absolute;
  transition: opacity var(--transition), transform var(--transition);
}

.menu-toggle .menu-close {
  opacity: 0;
  transform: rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .menu-open {
  opacity: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-close {
  opacity: 1;
  transform: rotate(0);
}

.primary-navigation {
  position: fixed;
  z-index: 1001;
  inset: var(--header-height) 0 auto;
  display: flex;
  max-height: calc(100svh - var(--header-height));
  padding: 1.2rem 1rem 2rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow-y: auto;
  color: var(--secondary-dark);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity var(--transition), transform var(--transition);
}

.primary-navigation.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-navigation > a:not(.button) {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.nav-backdrop {
  position: fixed;
  z-index: 999;
  inset: var(--header-height) 0 0;
  background: rgba(8, 35, 49, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-cta {
  margin-top: 1rem;
  color: var(--white);
  background: var(--primary-dark);
}

.language-selector {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.language-selector summary {
  display: flex;
  padding: 0.9rem 0;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.language-selector .chevron {
  width: 0.85rem;
  margin-left: auto;
  transition: transform var(--transition);
}

.language-selector[open] .chevron {
  transform: rotate(180deg);
}

.language-menu {
  display: grid;
  padding-bottom: 0.75rem;
  gap: 0.2rem;
}

.language-menu a {
  display: flex;
  padding: 0.55rem 0.7rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.45rem;
  font-size: 0.9rem;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--mist);
}

.language-code {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(44rem, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--secondary-dark);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1.015);
  animation: none;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 31, 45, 0.62) 0%, rgba(7, 42, 60, 0.2) 42%, rgba(7, 36, 50, 0.78) 100%),
    linear-gradient(90deg, rgba(6, 35, 51, 0.72) 0%, rgba(8, 45, 61, 0.14) 75%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
}

.hero-content {
  max-width: 52rem;
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(3.35rem, 15vw, 7rem);
  line-height: 0.92;
  text-wrap: balance;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: #ff6f5f;
  font-weight: inherit;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -0.1em;
  left: 0;
  height: 0.08em;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(-2deg);
}

.hero-description {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.hero-note {
  display: none;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll .icon {
  animation: bounce 1.8s ease-in-out infinite;
}

/* About */
.about {
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 4.5rem;
}

.about-visual {
  position: relative;
  width: min(92%, 34rem);
  min-height: 32rem;
}

.about-image-main {
  width: 82%;
  height: 29rem;
  overflow: hidden;
  border-radius: 10rem 10rem var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-main img,
.about-image-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-main img {
  object-position: 50% 48%;
}

.about-image-detail {
  position: absolute;
  right: 0;
  bottom: -1.75rem;
  width: 48%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0.45rem solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.about-badge {
  position: absolute;
  top: 1rem;
  right: -0.75rem;
  display: flex;
  width: 7.2rem;
  aspect-ratio: 1;
  padding: 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary-dark);
  text-align: center;
  transform: rotate(6deg);
}

.about-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.about-badge span {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-content {
  align-self: center;
}

.about-content .lead {
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: 650;
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
}

.about-quote {
  position: relative;
  margin: 2rem 0 0;
  padding: 1.25rem 1.25rem 1.25rem 3.4rem;
  border-left: 2px solid var(--primary);
  background: var(--mist);
}

.about-quote .icon {
  position: absolute;
  top: 1.3rem;
  left: 1rem;
  color: var(--primary-dark);
}

.about-quote p {
  margin-bottom: 0.4rem;
  color: var(--secondary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.4;
}

.about-quote cite {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-grid {
  display: grid;
  margin-top: 5.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-item {
  display: flex;
  padding: 1.5rem 0;
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.fact-item:last-child {
  border-bottom: 0;
}

.fact-item strong {
  color: var(--secondary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.fact-item span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Experience */
.experience {
  overflow: hidden;
  background: var(--mist);
}

.experience-decoration {
  position: absolute;
  top: -10rem;
  right: -12rem;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(21, 85, 119, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(21, 85, 119, 0.025), 0 0 0 8rem rgba(21, 85, 119, 0.02);
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading > p:last-child {
  max-width: 39rem;
  color: var(--muted);
}

.section-heading-centered {
  max-width: 54rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  min-width: 0;
  padding: 1.7rem;
  overflow: hidden;
  border: 1px solid rgba(21, 85, 119, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(232, 69, 52, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 3.4rem;
  aspect-ratio: 1;
  margin-bottom: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-dark);
  background: rgba(232, 69, 52, 0.1);
}

.service-icon .icon {
  width: 1.55rem;
  height: 1.55rem;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(21, 85, 119, 0.3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-style: italic;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

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

.gallery-heading {
  display: grid;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  gap: 0.8rem;
}

.gallery-item {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--secondary-dark);
  cursor: zoom-in;
}

.gallery-item picture,
.gallery-item img {
  width: 100%;
  height: 100%;
}

.gallery-item img {
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.gallery-item-1 img {
  object-position: center;
}

.gallery-item-2 img {
  object-position: 52% center;
}

.gallery-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 31, 45, 0.58));
  opacity: 0.75;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-shade {
  opacity: 1;
}

.gallery-expand {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(6, 31, 45, 0.5);
  backdrop-filter: blur(8px);
}

.gallery-expand .icon {
  width: 1rem;
}

.gallery-index {
  position: absolute;
  bottom: 0.8rem;
  left: 0.9rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-style: italic;
}

.gallery-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(4, 24, 34, 0.96);
}

.gallery-dialog::backdrop {
  background: rgba(4, 24, 34, 0.96);
}

.gallery-dialog-inner {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 4.5rem 1rem 1.25rem;
  place-items: center;
}

.gallery-dialog figure {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.gallery-dialog figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100% - 3rem);
  border-radius: 0.35rem;
  object-fit: contain;
}

.gallery-dialog figcaption {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  text-align: center;
}

.dialog-control {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.dialog-control:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.dialog-close {
  top: 1rem;
  right: 1rem;
}

.dialog-previous,
.dialog-next {
  top: 50%;
  transform: translateY(-50%);
}

.dialog-previous:hover,
.dialog-next:hover {
  transform: translateY(-50%) scale(1.05);
}

.dialog-previous {
  left: 0.7rem;
}

.dialog-next {
  right: 0.7rem;
}

/* Testimonials */
.testimonials {
  overflow: hidden;
  background: var(--sand);
}

.testimonial-grid {
  display: grid;
  grid-auto-columns: min(87vw, 24rem);
  grid-auto-flow: column;
  gap: 1rem;
  margin-right: calc((100vw - min(100vw - 2rem, var(--container))) / -2);
  padding-right: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 23rem;
  padding: 1.6rem;
  flex-direction: column;
  border: 1px solid rgba(21, 85, 119, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(21, 85, 119, 0.05);
  scroll-snap-align: start;
}

.quote-mark {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  fill: currentColor;
  stroke: none;
}

.testimonial-card blockquote {
  margin-bottom: 2rem;
  color: #39515d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  margin-top: auto;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  display: grid;
  width: 2.9rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--secondary);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.testimonial-author div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.35;
}

.testimonial-author strong {
  color: var(--secondary-dark);
  font-size: 0.9rem;
}

.testimonial-author div span {
  color: var(--muted);
  font-size: 0.72rem;
}

/* Contact */
.contact-section {
  padding-top: 0;
  background: var(--white);
}

.reservation-panel {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 2rem 1.35rem;
  overflow: hidden;
  gap: 2rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.13), transparent 35%),
    var(--secondary);
}

.reservation-copy h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2.35rem, 8vw, 4.25rem);
}

.reservation-copy > p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.reservation-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-grid {
  display: grid;
  padding-top: 5rem;
  gap: 3rem;
}

.contact-details h3 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 7vw, 3.5rem);
}

.contact-details address {
  display: grid;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  min-width: 0;
  padding: 0.85rem 0;
  align-items: flex-start;
  gap: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-row:hover strong {
  color: var(--primary-dark);
}

.contact-icon {
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--secondary);
  background: var(--mist);
}

.contact-row > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-row small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-row strong {
  overflow-wrap: anywhere;
  color: var(--secondary-dark);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.text-link {
  display: inline-flex;
  margin-top: 1.5rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link:hover {
  color: var(--primary-dark);
}

.text-link .icon {
  width: 1rem;
}

.map-wrapper {
  min-width: 0;
  min-height: 26rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
}

/* Footer */
.site-footer {
  padding-top: 4.5rem;
  color: rgba(255, 255, 255, 0.68);
  background: #092f43;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.brand-footer {
  color: var(--white);
}

.footer-brand > p {
  max-width: 20rem;
  margin: 1rem 0 1.2rem;
  font-size: 0.9rem;
}

.social-link {
  display: grid;
  width: 2.7rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}

.social-link:hover {
  border-color: var(--primary);
  background: var(--primary);
}

.footer-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-column h2 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding-block: 1.3rem;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.developer-credit a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.developer-credit a:hover {
  color: #ff8173;
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 3.3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--white);
  background: #1fa855;
  box-shadow: 0 10px 30px rgba(8, 84, 44, 0.33);
  transition: transform var(--transition), background var(--transition);
}

.floating-whatsapp:hover {
  background: #178c47;
  transform: translateY(-3px) scale(1.03);
}

.floating-whatsapp .icon {
  width: 1.6rem;
  height: 1.6rem;
}

/* Error page */
.error-page {
  min-height: 100svh;
  color: var(--white);
  background: linear-gradient(145deg, #0b3c56, #155577 55%, #1b698d);
}

.error-layout {
  display: flex;
  width: min(calc(100% - 2rem), 40rem);
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-logo {
  width: 5rem;
  margin-bottom: 2rem;
}

.error-code {
  margin-bottom: 0;
  color: #ff8071;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 25vw, 10rem);
  line-height: 0.8;
}

.error-layout h1 {
  margin-block: 1.5rem 1rem;
  color: var(--white);
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.error-layout > p:not(.error-code) {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Motion */
body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from { opacity: 0.65; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.3rem); }
}

@media (min-width: 35rem) {
  .hero-actions,
  .reservation-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    min-width: 12rem;
  }

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

  .gallery-item-1,
  .gallery-item-6 {
    aspect-ratio: 1;
    grid-column: span 2;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: span 2;
  }
}

@media (min-width: 48rem) {
  :root {
    --header-height: 5.25rem;
  }

  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .section {
    padding-block: 7.5rem;
  }

  .brand picture {
    width: 2.65rem;
    height: 4rem;
  }

  .brand-name strong {
    font-size: 1.15rem;
  }

  .hero {
    min-height: 48rem;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-note {
    display: grid;
    width: 11rem;
    padding: 1.4rem;
    align-self: end;
    justify-items: center;
    gap: 0.3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6rem 6rem 1rem 1rem;
    background: rgba(7, 38, 53, 0.38);
    backdrop-filter: blur(10px);
  }

  .hero-note-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.15rem;
    line-height: 1;
  }

  .hero-note span:not(.hero-note-number) {
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .hero-note-line {
    width: 100%;
    height: 1px;
    margin-block: 0.7rem;
    background: rgba(255, 255, 255, 0.28);
  }

  .hero-note .icon {
    margin-bottom: 0.25rem;
    color: #ff8071;
  }

  .hero-scroll {
    right: 2rem;
    bottom: 1.6rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .about-visual {
    min-height: 39rem;
  }

  .about-image-main {
    height: 36rem;
  }

  .about-badge {
    top: 2rem;
    width: 8rem;
  }

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

  .fact-item {
    padding: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .fact-item:first-child {
    padding-left: 0;
  }

  .fact-item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .fact-item strong {
    font-size: 2.15rem;
  }

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

  .service-card {
    padding: 2rem;
  }

  .gallery-heading {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.65fr);
    align-items: end;
  }

  .gallery-heading > p {
    margin-bottom: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 12rem;
  }

  .gallery-item {
    aspect-ratio: auto;
  }

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

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

  .gallery-item-3,
  .gallery-item-4,
  .gallery-item-5 {
    grid-column: span 3;
    grid-row: span 2;
  }

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

  .dialog-previous {
    left: 2rem;
  }

  .dialog-next {
    right: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .reservation-panel {
    margin-top: -1px;
    padding: 3.25rem;
  }

  .contact-grid {
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    align-items: stretch;
    gap: 4rem;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 34rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
    gap: 3rem;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .floating-whatsapp {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 65rem) {
  .menu-toggle,
  .nav-backdrop {
    display: none;
  }

  .primary-navigation {
    position: static;
    z-index: auto;
    display: flex;
    max-height: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.75rem, 1.6vw, 1.45rem);
    overflow: visible;
    color: inherit;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-navigation > a:not(.button) {
    position: relative;
    padding: 0.7rem 0;
    border: 0;
    font-size: 0.79rem;
  }

  .primary-navigation > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
    left: 0;
    height: 2px;
    background: var(--primary);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
  }

  .primary-navigation > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .language-selector {
    border: 0;
  }

  .language-selector summary {
    padding: 0.55rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.72rem;
  }

  .language-selector summary .icon:first-child {
    width: 1rem;
    height: 1rem;
  }

  .language-selector .chevron {
    margin-left: 0;
  }

  .language-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    width: 12rem;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    color: var(--secondary-dark);
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .nav-cta {
    margin-top: 0;
  }

  .hero-media img {
    object-position: center;
  }

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

  .service-card:nth-child(even) {
    transform: translateY(1.5rem);
  }

  .service-card:nth-child(even):hover {
    transform: translateY(1rem);
  }

  .gallery-grid {
    grid-auto-rows: 11rem;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }
}

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

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

  body.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
