/*
Theme Name: Il Segreto della Fonte
Author: Il Segreto della Fonte
Description: Landing della Casa Vacanze Il Segreto della Fonte, a Bassano in Teverina. Tema classico, senza strumenti di build.
Version: 1.0.30
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: il-segreto-della-fonte
*/

/* Il Segreto della Fonte — landing page */

@font-face {
  font-family: "Germanica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Germanica.ttf") format("truetype");
}

:root {
  --ivory: #f6f1e8;
  --cream: #eae0d1;
  --brown: #403329;
  --brown-deep: #2a241e;
  --sage: #7a806b;
  --gold: #ad9365;
  --white: #fcfaf6;
  --line: rgba(64, 51, 41, 0.16);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --noble: "Germanica", "Palatino Linotype", Palatino, serif;
  --sans: Montserrat, Arial, Helvetica, sans-serif;
  --header: 4.75rem;
  --wrap: 1120px;
  --gutter: 1.25rem;
  --space: clamp(4.25rem, 8vw, 7.25rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--brown);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.band :focus-visible,
.hero :focus-visible,
.footer :focus-visible,
.header:not(.is-solid) :focus-visible {
  outline-color: var(--white);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--brown);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: var(--space);
}

.bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

.eyebrow {
  display: block;
  max-width: 100%;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: var(--gold);
}

.section__title {
  max-width: 16ch;
  margin-bottom: 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.subhead {
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

.prose p + p {
  margin-top: 1rem;
}

.intro {
  max-width: 38rem;
  margin-top: 0.4rem;
}

.manifesto {
  width: min(42rem, 100%);
  margin-inline: auto;
  text-align: center;
}

.manifesto .eyebrow {
  justify-content: center;
}

.manifesto .section__title,
.manifesto .intro {
  margin-inline: auto;
}

.manifesto .prose {
  text-align: left;
}

.pull,
.sign {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.pull {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.pull::before,
.sign::before {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  margin-bottom: 1rem;
  background: var(--gold);
}

.manifesto .pull::before {
  margin-inline: auto;
}

.sign {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  height: var(--header);
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  color: var(--white);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.header.is-solid {
  color: var(--brown);
  background: rgba(246, 241, 232, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.5rem;
  min-width: 0;
  font-family: var(--noble);
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.brand__kind,
.hero__kind {
  display: block;
  font-family: var(--noble);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero__kind {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand__mark {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 1em;
  min-width: 0;
  max-width: 3.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.header__cta:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.4em;
  text-decoration-thickness: 1px;
}

.nav__book {
  display: none;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.header.is-solid .header__cta:hover {
  background: var(--brown);
  color: var(--white);
  text-decoration: none;
}

.header:not(.is-solid) .header__cta:hover {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
}

.hero__media,
.photo--fill {
  position: absolute;
  inset: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.42) 0%, rgba(20, 16, 13, 0.22) 40%, rgba(20, 16, 13, 0.58) 100%);
  pointer-events: none;
}

.hero__frame {
  position: absolute;
  z-index: 2;
  inset: calc(var(--header) + 0.4rem) 0.85rem 0.85rem;
  border: 1px solid rgba(252, 250, 246, 0.22);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin: 0 auto 7rem;
}

.hero__brand {
  margin-bottom: 1.35rem;
  font-family: var(--noble);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 981px) {
  .hero__kind,
  .hero__brand {
    font-size: clamp(calc(2.35rem + 10px), calc(4.8vw + 10px), calc(3.85rem + 10px));
  }
}

.hero .eyebrow {
  color: var(--white);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 981px) {
  .hero h1 {
    font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  }
}

.lede {
  max-width: 34rem;
  margin-bottom: 1.8rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(252, 250, 246, 0.92);
}

.hero__actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.manifesto .booking-actions {
  justify-content: center;
  margin-top: 1.8rem;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: max(1.4rem, calc((100% - var(--wrap)) / 2));
  bottom: 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-cue__line {
  width: 1px;
  height: 2.4rem;
  background: var(--gold);
  transform-origin: top;
  animation: cue 1.8s ease infinite;
}

@keyframes cue {
  0% { transform: scaleY(0.25); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Photos and placeholders */

.photo {
  position: relative;
  overflow: hidden;
  background-color: #e7dccb;
  background-image:
    radial-gradient(ellipse at 25% 15%, rgba(173, 147, 101, 0.32), transparent 52%),
    radial-gradient(ellipse at 85% 90%, rgba(122, 128, 107, 0.24), transparent 48%),
    linear-gradient(165deg, #f4efe7 0%, #e4d8c6 100%);
}

.photo--dark {
  background-color: #403329;
  background-image:
    radial-gradient(ellipse at 78% 12%, rgba(173, 147, 101, 0.28), transparent 42%),
    radial-gradient(ellipse at 8% 88%, rgba(122, 128, 107, 0.34), transparent 46%),
    linear-gradient(180deg, #3a332d 0%, #4d453c 42%, #241f1b 100%);
}

.hero__media.photo,
.photo.photo--fill {
  position: absolute;
  inset: 0;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.photo img.is-loaded {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.photo--portrait { aspect-ratio: 3 / 4; }
.photo--portrait img { object-position: center 30%; }
.photo--stair {
  aspect-ratio: 5 / 4;
  width: min(78%, 26rem);
  margin-left: auto;
}
.photo--stair img { object-position: center center; }
.photo--land { aspect-ratio: 4 / 3; }
.photo--land img { object-position: center 40%; }
.hero__media img { object-position: 64% 42%; }

.photo:has(img.is-loaded) .photo__label {
  display: none;
}

.photo__label {
  position: absolute;
  inset: 0.8rem;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(64, 51, 41, 0.18);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(64, 51, 41, 0.72);
  pointer-events: none;
}

.photo--dark .photo__label {
  border-color: rgba(252, 250, 246, 0.28);
  color: rgba(252, 250, 246, 0.78);
}

.hero .photo__label {
  inset: auto auto 1.7rem max(var(--gutter), calc((100% - var(--wrap)) / 2));
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
}

.gallery {
  display: grid;
  gap: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .photo:hover img.is-loaded {
    transform: scale(1.035);
  }
}

/* Layout blocks */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.8rem, 4vw, 4.5rem);
  align-items: center;
}

.features li {
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.features li:last-child {
  border-bottom: 1px solid var(--line);
}

.relax {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 52rem);
  padding-block: 4rem;
}

.relax__card {
  position: relative;
  z-index: 1;
  width: min(34rem, calc(100% - var(--gutter) * 2));
  margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  padding: clamp(1.6rem, 3vw, 2.7rem);
  background: rgba(246, 241, 232, 0.94);
  border: 1px solid rgba(64, 51, 41, 0.08);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.4rem;
}

.service {
  padding: 1.45rem 1.4rem 1.45rem 0;
  border-top: 1px solid var(--line);
}

.service h3 {
  margin: 0.75rem 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.service p {
  max-width: 24rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.icon {
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.breakfast {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.6rem;
}

.gallery-rooms {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-top: 2.6rem;
}

.gallery-room__eyebrow {
  margin-bottom: 1.25rem;
}

.gallery-room__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.place__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  border: 1px solid rgba(64, 51, 41, 0.18);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(173, 147, 101, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(252, 250, 246, 0.35), rgba(64, 51, 41, 0.04));
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}

.place h3 {
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
}

.place p,
.footer__meta p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.where {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.where__place {
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.where__address {
  margin-bottom: 1rem;
}

.where .btn {
  margin-top: 1.4rem;
}

.map-frame {
  display: flex;
  align-items: flex-end;
  min-height: 18rem;
  aspect-ratio: 16 / 11;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(122, 128, 107, 0.16), rgba(246, 241, 232, 0.2)),
    repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(64, 51, 41, 0.05) 22px, rgba(64, 51, 41, 0.05) 23px),
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(64, 51, 41, 0.05) 22px, rgba(64, 51, 41, 0.05) 23px);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Buttons */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--light {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}

.btn--light:hover {
  background: transparent;
  color: var(--white);
}

.btn--line {
  background: transparent;
  color: var(--white);
  border-color: rgba(252, 250, 246, 0.75);
}

.btn--line:hover {
  background: var(--white);
  color: var(--brown);
}

.btn--solid {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}

.btn--solid:hover {
  background: transparent;
  color: var(--brown);
}

.btn__state {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.btn.is-ready .btn__state,
.btn__state[hidden] {
  display: none;
}

.is-pending {
  cursor: default;
}

.btn.is-pending:hover {
  background: transparent;
  text-decoration: none;
}

.btn--light.is-pending:hover,
.band .btn--light.is-pending:hover {
  background: var(--white);
  color: var(--brown);
}

.btn--line.is-pending:hover {
  background: transparent;
  color: var(--white);
}

.btn--solid.is-pending:hover {
  background: var(--brown);
  color: var(--white);
}

.note {
  margin-top: 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.band {
  background: var(--brown);
  color: var(--white);
}

.band .eyebrow {
  color: var(--white);
}

.band .note {
  color: rgba(252, 250, 246, 0.88);
}

/* Footer and mobile bar */

.footer {
  padding: 3.2rem 0 1.6rem;
  background: var(--brown-deep);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(252, 250, 246, 0.16);
}

.brand--footer {
  display: block;
  margin-bottom: 0.45rem;
  white-space: normal;
}

.footer__links,
.footer__meta {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer a {
  width: fit-content;
  font-size: 0.92rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
}

.footer a.is-pending {
  text-decoration: none;
  opacity: 0.72;
}

.footer__copy {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(252, 250, 246, 0.72);
}

.mobile-bar {
  display: none;
}

/* Reveal */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .js .reveal.is-inview {
    opacity: 1;
    transform: none;
  }
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.4rem);
}

/* Menu mobile */

@media (max-width: 980px) {
  .header {
    color: var(--brown);
    background: rgba(246, 241, 232, 0.96);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top);
    height: calc(var(--header) + env(safe-area-inset-top));
  }

  .header:not(.is-solid) :focus-visible {
    outline-color: var(--brown);
  }

  .header .brand,
  .header .brand__name {
    font-family: "Germanica", Palatino, serif;
  }

  .header .brand {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    max-width: calc(100% - 3.5rem);
    overflow: hidden;
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
    letter-spacing: 0;
    text-transform: none;
  }

  .header .brand__kind {
    display: none;
  }

  .header .brand__name {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }

  .hero__brand {
    display: none;
  }

  .header .brand__mark {
    height: 1.75rem;
    max-width: 3rem;
  }

  .js .nav-toggle {
    display: flex;
  }

  .js .header__cta {
    display: none;
  }

  .js .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 40;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 6.5rem 1.8rem 3rem;
    background: var(--ivory);
    color: var(--brown);
    overflow-y: auto;
    visibility: hidden;
    transform: translateY(-101%);
  }

  .js .nav.is-open {
    visibility: visible;
    transform: none;
  }

  .js .nav a {
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .js .nav__book {
    display: block;
    margin-top: 0.6rem;
  }

  .nav {
    display: none;
  }

  .js .nav {
    display: flex;
  }
}

@media (max-width: 860px) {
  .split,
  .breakfast,
  .where,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .photo--portrait {
    aspect-ratio: 4 / 5;
  }

  .photo--stair {
    width: 100%;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

  .places {
    grid-template-columns: 1fr;
  }

  .gallery-room__grid {
    grid-template-columns: 1fr;
  }

  .relax {
    display: block;
    min-height: 0;
    padding: 0 0 3rem;
  }

  .relax .photo--fill {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 22rem;
  }

  .relax__card {
    margin: -2.5rem var(--gutter) 0;
    width: auto;
  }
}

@media (max-width: 760px) {
  .scroll-cue {
    display: none;
  }

  .hero__content {
    margin-bottom: 5.6rem;
  }

  .hero__frame {
    inset: calc(var(--header) + 0.35rem) 0.55rem 4.6rem;
  }

  .hero__actions,
  .booking-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .booking-actions .btn,
  .mobile-bar .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(246, 241, 232, 0.96);
    border-top: 1px solid var(--line);
  }

  body {
    padding-bottom: calc(4.4rem + env(safe-area-inset-bottom));
  }

  body.nav-open .mobile-bar {
    visibility: hidden;
  }
}

@media (max-width: 560px) {
  .header .brand {
    gap: 0.45rem;
    font-size: 0.92rem;
    letter-spacing: 0;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Pagine interne e barra di amministrazione WordPress */

.has-solid-header {
  padding-top: var(--header);
}

.page-content {
  padding-bottom: var(--space);
}

.page-content .section__title {
  max-width: 18ch;
}

.admin-bar .header {
  top: 32px;
}

.admin-bar .nav.is-open {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header,
  .admin-bar .nav.is-open {
    top: 46px;
  }
}
