:root {
  --burgundy: #7a0e12;
  --burgundy-dark: #54090c;
  --burgundy-soft: #9b262a;
  --beige: #f5f1e9;
  --cream: #fbf8f2;
  --paper: #fffdf8;
  --charcoal: #282622;
  --grey: #66645f;
  --grey-light: #ded8cf;
  --gold: #caa45d;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(44, 36, 28, 0.08);
  --shadow-md: 0 18px 45px rgba(36, 27, 20, 0.16);
  --radius: 4px;
  --content: 1180px;
  --header-height: 78px;
}

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

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

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--beige);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #111111;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #ffffff;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--burgundy);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

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

.section {
  padding: 92px 0;
}

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

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

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.section-heading h2,
.split-copy h2 {
  margin: 0 0 18px;
  color: var(--burgundy);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.12;
}

.section-heading p,
.split-copy p {
  margin: 0;
  color: #4f4b46;
}

.rule {
  display: block;
  width: 76px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--burgundy);
}

/* Cabecera */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  min-height: var(--header-height);
  color: var(--white);
  background: rgba(42, 40, 36, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.home-page .site-header {
  background: linear-gradient(
    to bottom,
    rgba(20, 17, 14, 0.8),
    rgba(20, 17, 14, 0.18)
  );
  border-bottom-color: transparent;
}

.home-page .site-header.is-scrolled,
.home-page.nav-open .site-header {
  background: rgba(42, 40, 36, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.header-jobs {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 27px 0 23px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Botones */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button-row--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: var(--white);
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
}

.button--light {
  color: var(--burgundy);
  background: var(--white);
  border-color: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}

.button--ghost {
  color: var(--white);
  background: rgba(20, 16, 14, 0.18);
  border-color: rgba(255, 255, 255, 0.72);
}

.button--ghost:hover {
  background: rgba(20, 16, 14, 0.55);
  border-color: var(--white);
}

.button--outline-burgundy {
  color: var(--burgundy);
  background: transparent;
  border-color: var(--burgundy);
}

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

.mt-28 {
  margin-top: 28px;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--burgundy);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Portada */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

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

.hero-slide {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-slide:first-child img {
  object-position: center 48%;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(15, 12, 10, 0.36), rgba(15, 12, 10, 0.64)),
    linear-gradient(to right, rgba(20, 14, 10, 0.24), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 36px), 900px);
  padding: 130px 0 90px;
}

.hero-kicker {
  margin: 0 0 16px;
  color: #ffe2a8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 7.2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.95;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.42);
}

.hero h2 {
  margin: 24px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-copy {
  max-width: 690px;
  margin: 20px auto 30px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 2vw, 1.18rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 50%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll::after {
  display: block;
  width: 1px;
  height: 26px;
  margin: 8px auto 0;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media::before {
  position: absolute;
  top: -18px;
  right: 18px;
  bottom: 18px;
  left: -18px;
  border: 1px solid rgba(122, 14, 18, 0.35);
  content: "";
}

.split-media img {
  position: relative;
  width: 100%;
  min-height: 430px;
  max-height: 610px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.fact {
  padding-top: 14px;
  border-top: 2px solid var(--burgundy);
}

.fact strong {
  display: block;
  color: var(--burgundy);
  font-size: 1.25rem;
}

.fact span {
  color: var(--grey);
  font-size: 0.86rem;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.specialty-card {
  position: relative;
  min-height: 270px;
  padding: 34px 30px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(122, 14, 18, 0.14);
  box-shadow: var(--shadow-sm);
}

.specialty-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--burgundy);
  content: "";
}

.specialty-number {
  color: rgba(122, 14, 18, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.specialty-card h3 {
  margin: 34px 0 12px;
  color: var(--burgundy);
  font-size: 1.5rem;
  line-height: 1.2;
}

.specialty-card p {
  margin: 0;
  color: #514d47;
  font-size: 0.96rem;
}

.weight-note {
  margin: 30px 0 0;
  padding: 20px 24px;
  color: #433c35;
  background: #eee6d8;
  border-left: 4px solid var(--burgundy);
}

.daily-banner {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.daily-banner picture,
.daily-banner picture img,
.daily-banner::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.daily-banner picture img {
  object-fit: cover;
}

.daily-banner::after {
  background: rgba(37, 24, 18, 0.68);
  content: "";
}

.daily-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 760px);
  padding: 80px 0;
}

.daily-content .eyebrow {
  color: #ffe2a8;
}

.daily-content h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.1;
}

.daily-content p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.94);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(122, 14, 18, 0.18);
}

.quick-card {
  min-height: 220px;
  padding: 34px;
  background: var(--paper);
}

.quick-card h3 {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: 1.3rem;
}

.quick-card p {
  margin: 0 0 16px;
  color: #504c46;
  font-size: 0.95rem;
}

.quick-card a {
  color: var(--burgundy);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Cabeceras interiores */
.page-hero {
  position: relative;
  margin-top: var(--header-height);
  padding: 82px 0 72px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(83, 9, 12, 0.96), rgba(122, 14, 18, 0.82)),
    var(--burgundy);
}

.page-hero::after {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #ffe2a8;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.anchor-nav {
  position: sticky;
  z-index: 500;
  top: var(--header-height);
  overflow-x: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--grey-light);
  scrollbar-width: thin;
}

.anchor-nav ul {
  display: flex;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 9px 20px;
  list-style: none;
}

.anchor-nav a {
  display: block;
  padding: 9px 13px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.anchor-nav a:hover {
  background: #eee6d8;
}

/* Carta */
.menu-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: start;
}

.menu-intro h2 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.menu-intro p {
  margin: 0;
}

.menu-callout {
  padding: 26px;
  background: var(--paper);
  border: 1px solid rgba(122, 14, 18, 0.18);
  box-shadow: var(--shadow-sm);
}

.menu-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--burgundy);
  font-size: 1.15rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.menu-section {
  padding: 30px;
  background: var(--paper);
  border: 1px solid rgba(122, 14, 18, 0.13);
  box-shadow: var(--shadow-sm);
}

.menu-section h2 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: var(--burgundy);
  border-bottom: 1px solid rgba(122, 14, 18, 0.22);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  padding: 8px 0;
  border-bottom: 1px dotted #ddd4c8;
  font-size: 0.96rem;
}

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

.menu-item small {
  display: block;
  margin-top: 2px;
  color: var(--grey);
  font-size: 0.78rem;
}

.subgroup + .subgroup {
  margin-top: 24px;
}

.subgroup h3 {
  margin: 0 0 8px;
  color: #4a433c;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-footer-note {
  margin-top: 34px;
  padding: 22px;
  color: #4d4842;
  background: #eee6d8;
  text-align: center;
}

/* Entorno */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:nth-child(3) img {
  object-position: center;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  padding: 16px 18px 18px;
  color: #514c46;
  font-size: 0.9rem;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  padding: clamp(26px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid rgba(122, 14, 18, 0.13);
  box-shadow: var(--shadow-sm);
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card h2 {
  margin: 0 0 20px;
  color: var(--burgundy);
  font-size: 1.65rem;
}

.contact-card h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0 0 16px;
}

.phone-link {
  display: inline-block;
  margin: 6px 0 18px;
  color: var(--burgundy);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 12px 4px;
  border-bottom: 1px solid #ded5ca;
  vertical-align: top;
  text-align: left;
}

.hours th {
  width: 48%;
  color: #423d37;
}

.hours td {
  color: var(--burgundy);
  font-weight: 700;
}

.location-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

/* Empleo */
.vacancy {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(122, 14, 18, 0.18);
  box-shadow: var(--shadow-md);
}

.vacancy-label {
  display: grid;
  padding: 38px;
  color: var(--white);
  background: var(--burgundy);
  place-content: center;
}

.vacancy-label span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vacancy-label strong {
  display: block;
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1.1;
}

.vacancy-copy {
  padding: clamp(30px, 5vw, 54px);
}

.vacancy-copy h2 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
}

.vacancy-copy ul,
.values-list {
  padding-left: 22px;
}

.vacancy-copy li,
.values-list li {
  margin-bottom: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-box {
  padding: 30px;
  background: var(--paper);
  border: 1px solid rgba(122, 14, 18, 0.13);
}

.info-box h2 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-size: 1.5rem;
}

/* Pie */
.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: var(--charcoal);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 46px;
  padding: 58px 0 42px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  text-underline-offset: 4px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .site-nav ul {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

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

  .specialty-card:last-child {
    grid-column: 1 / -1;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .header-inner {
    gap: 10px;
  }

  .header-jobs {
    display: inline-flex;
    min-height: 40px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    color: var(--burgundy-dark);
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: var(--radius);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    background: rgba(42, 40, 36, 0.995);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav ul {
    display: block;
    width: min(calc(100% - 30px), 680px);
    margin: 0 auto;
    padding: 12px 0 20px;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .site-nav a {
    padding: 15px 6px;
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .split,
  .menu-intro,
  .vacancy {
    grid-template-columns: 1fr;
  }

  .split-media {
    order: -1;
  }

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

  .menu-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card--wide {
    grid-column: auto;
  }

  .vacancy-label {
    min-height: 200px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--content));
  }

  .section {
    padding: 68px 0;
  }

  .hero-content {
    padding-top: 105px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
    letter-spacing: 0.08em;
  }

  .hero h2 {
    font-size: 1.42rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .split-media::before {
    display: none;
  }

  .split-media img {
    min-height: 300px;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .specialty-grid,
  .gallery,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card:last-child {
    grid-column: auto;
  }

  .page-hero {
    padding: 62px 0 55px;
  }

  .anchor-nav ul {
    justify-content: flex-start;
  }

  .menu-section,
  .contact-card,
  .info-box {
    padding: 24px 20px;
  }

  .location-panel {
    grid-template-columns: 1fr;
  }

  .hours th,
  .hours td {
    display: block;
    width: 100%;
    padding: 7px 0;
  }

  .hours th {
    padding-top: 14px;
    border-bottom: 0;
  }

  .hours td {
    padding-top: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main > :first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .gallery figure:hover img,
  .button:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .anchor-nav,
  .button,
  .hero-scroll,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .page-hero {
    margin-top: 0;
    padding: 20px 0;
    color: #000;
    background: #fff;
  }

  .page-hero p {
    color: #000;
  }

  .menu-section {
    break-inside: avoid;
    box-shadow: none;
  }
}
