.garrucha-home {
  --paper: #faf6ef;
  --ink: #173b48;
  --muted: #4d6064;
  --line: #dbd3c5;
  --accent: #f1e8da;
  --clay: #a24931;
  --gutter: clamp(20px, 5vw, 78px);
  --shell: 1280px;
  --display: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
}

.garrucha-home > .public-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 14px max(var(--gutter), calc((100% - var(--shell)) / 2));
}

.garrucha-home .brand {
  position: relative;
  justify-self: start;
  padding-inline-start: 54px;
  font: 20px/1.1 var(--display);
  white-space: nowrap;
}

.garrucha-home .brand span {
  margin-top: 5px;
  font: 650 9px/1.3 system-ui, sans-serif;
  letter-spacing: .16em;
  color: var(--muted);
}

.garrucha-mark {
  position: absolute;
  inset: 50% auto auto 0;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  color: var(--clay);
}

.garrucha-home .public-header nav {
  justify-content: center;
  gap: clamp(12px, 2.7vw, 38px);
  font-weight: 620;
}

.garrucha-home .public-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.garrucha-home .public-header nav a:hover { text-decoration: underline; }
.garrucha-home .garrucha-guest-link { color: var(--muted); }
.garrucha-home .header-controls { justify-self: end; }

.garrucha-home .language-selector { gap: 2px; flex-wrap: nowrap; }
.garrucha-home .language-selector button {
  border: 0;
  border-radius: 99px;
  padding: 0 11px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.garrucha-home .language-selector button[aria-pressed="true"] {
  outline: 0;
  background: var(--accent);
  font-weight: 750;
}
.garrucha-home .language-selector button:focus-visible { outline: 3px solid var(--clay); }

.garrucha-home > main { max-width: none; }
.garrucha-shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.garrucha-home .garrucha-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: clamp(24px, 4.3vw, 68px);
  padding: clamp(28px, 4vw, 60px) 0 0;
  overflow: visible;
}

.garrucha-intro { align-self: center; padding: 24px 0; }
.garrucha-kicker {
  margin: 0;
  color: var(--clay);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: .17em;
  line-height: 1.55;
}

.garrucha-home h1,
.garrucha-home h2 { font-family: var(--display); letter-spacing: -.045em; }

.garrucha-home h1 {
  margin: 18px 0 22px;
  font-size: clamp(44px, 5.8vw, 90px);
  line-height: .98;
}

.garrucha-home h1 em { display: block; color: var(--clay); font-weight: 400; }
.garrucha-home h2 { margin: 10px 0 0; font-size: clamp(34px, 4.25vw, 66px); line-height: 1; }

.garrucha-lead {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.garrucha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.garrucha-intro .garrucha-actions { margin-top: 24px; }
.garrucha-button,
.garrucha-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 690;
  line-height: 1.3;
}

.garrucha-button {
  min-height: 49px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.garrucha-button:hover { background: #285366; border-color: #285366; }
.garrucha-text-link { text-underline-offset: 5px; }
.garrucha-text-link span { text-decoration: none; }
.garrucha-text-link:hover { color: var(--clay); }

.garrucha-hero-photo {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(340px, 39vw, 520px);
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #d9c3a5;
}

.garrucha-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  filter: brightness(1.08);
}

.garrucha-hero-photo figcaption {
  position: absolute;
  inset: auto auto 16px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 660;
}

.garrucha-hero-photo figcaption span { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.garrucha-photo-placeholder { background: linear-gradient(150deg, #d4e4e8 0 52%, #ba734f 52% 66%, #f1e0c8 66%); }

.garrucha-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.garrucha-facts li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 69px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 670;
}

.garrucha-facts li + li { border-inline-start: 1px solid var(--line); }
.garrucha-facts svg {
  flex: 0 0 22px;
  width: 22px;
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.garrucha-home .garrucha-photos { padding: clamp(52px, 7vw, 100px) 0; }

.garrucha-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}
.garrucha-section-heading > p { max-width: 35ch; margin: 0; color: var(--muted); font-size: 15px; }
.garrucha-kicker span {
  display: inline-block;
  margin-inline-end: 8px;
  padding-inline-end: 9px;
  border-inline-end: 1px solid currentColor;
}

.garrucha-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px) clamp(12px, 2vw, 24px);
}

.garrucha-gallery figure { margin: 0; min-width: 0; }
.garrucha-home .garrucha-gallery .gallery-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
}

.garrucha-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.garrucha-gallery .gallery-button span {
  position: absolute;
  inset: auto 10px 10px auto;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.garrucha-gallery .gallery-button:hover span { background: var(--ink); color: var(--paper); }
.garrucha-gallery figcaption { margin-top: 7px; font-size: 14px; font-weight: 620; }

.garrucha-home .garrucha-location {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--ink);
  color: var(--paper);
}
.garrucha-location-inner,
.garrucha-home .garrucha-request {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: start;
  gap: clamp(24px, 5vw, 76px);
}
.garrucha-location-inner > div:first-child { align-self: center; }
.garrucha-location-inner h2 { max-width: 15ch; text-wrap: balance; }
.garrucha-location-inner h2 + p { max-width: 42ch; margin: 15px 0 0; color: #dbe7e7; }
.garrucha-location .garrucha-kicker { color: #f0ad95; }
.garrucha-address {
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid #8ea4aa;
  border-radius: 6px;
}
.garrucha-address address { margin: 10px 0; font: clamp(22px, 2.4vw, 32px)/1.16 var(--display); }
.garrucha-licence { margin: 10px 0 3px; color: #dbe7e7; font-size: 13px; }
.garrucha-location a:hover { color: #f0ad95; }
.garrucha-home .garrucha-request { padding: clamp(48px, 7vw, 96px) 0; }
.garrucha-request form { margin: 0; }

.garrucha-home > footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 22px max(var(--gutter), calc((100% - var(--shell)) / 2));
}
.garrucha-home > footer p { margin: 0; }

@media (max-width: 900px) {
  .garrucha-home > .public-header { grid-template-columns: 1fr auto; gap: 5px 16px; }
  .garrucha-home .public-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; gap: 6px 24px; }
  .garrucha-home .header-controls { grid-column: 2; grid-row: 1; }
}

@media (max-width: 720px) {
  .garrucha-home .garrucha-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .garrucha-intro { padding: 0; }
  .garrucha-home h1 { font-size: clamp(42px, 10.1vw, 70px); margin: 12px 0 15px; }
  .garrucha-intro .garrucha-actions { margin-top: 18px; }
  .garrucha-hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .garrucha-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garrucha-facts li { justify-content: flex-start; min-height: 54px; gap: 8px; padding-inline: 8px; font-size: 13px; }
  .garrucha-facts li:nth-child(odd) { border-inline-start: 0; }
  .garrucha-facts li:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
  .garrucha-section-heading { display: block; }
  .garrucha-section-heading > p { margin-top: 12px; }
  .garrucha-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garrucha-location-inner,
  .garrucha-home .garrucha-request { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .garrucha-home > .public-header { column-gap: 4px; }
  .garrucha-home .brand { font-size: 16px; padding-inline-start: 39px; white-space: normal; }
  .garrucha-mark { width: 33px; height: 33px; }
  .garrucha-home .brand span { font-size: 8px; }
  .garrucha-home .language-selector button { padding-inline: 7px; font-size: 11px; }
  .garrucha-home .public-header nav { column-gap: 18px; }
  .garrucha-gallery .gallery-button span { width: 27px; height: 27px; inset: auto 7px 7px auto; font-size: 18px; }
}

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