/* Mobile-first, simpel og læsbar */

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

:root {
  --color-bg: #f4ede3;
  --color-bg-warm: #ebe1d2;
  --color-surface: #fffdf9;
  --color-surface-alt: #ebe3d6;
  --color-text: #2a231c;
  --color-text-muted: #6f6256;
  --color-accent: #2f6b4f;
  --color-accent-light: #dceee3;
  --color-accent-dark: #1f4a36;
  --color-warm: #b86a3a;
  --color-warm-light: #f8e8dc;
  --color-gold: #c9923e;
  --color-warning-bg: #fef9ec;
  --color-warning-border: #e8c547;
  --color-border: #d9cfc0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(42, 35, 28, 0.08);
  --shadow-lg: 0 12px 40px rgba(42, 35, 28, 0.14);
  --header-height: 64px;
  --max-width: 960px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(200, 146, 62, 0.12), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(47, 107, 79, 0.1), transparent 35%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Login */
.login-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 74, 54, 0.88), rgba(184, 106, 58, 0.75)),
    url('images/01.jpg') center / cover no-repeat;
  transform: scale(1.05);
}

.login-screen[hidden] {
  display: none;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
}

.login-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-warm);
  font-weight: 700;
  margin-bottom: 8px;
}

.login-card h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-accent-dark);
}

.login-lead {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.login-field {
  display: block;
  margin-bottom: 16px;
}

.login-field span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.login-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-bg);
  color: var(--color-text);
}

.login-field input:focus {
  outline: 2px solid var(--color-accent-light);
  border-color: var(--color-accent);
}

.login-error {
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: #9a3b3b;
}

.login-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(31, 74, 54, 0.25);
}

.login-submit:hover,
.login-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31, 74, 54, 0.3);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.logout-btn:hover,
.logout-btn:focus-visible {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
  outline: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 207, 192, 0.8);
  box-shadow: 0 4px 24px rgba(42, 35, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  min-height: var(--header-height);
}

.brand-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 600;
}

.brand h1 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-accent-dark);
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.brand-link:hover h1,
.brand-link:focus-visible h1 {
  color: var(--color-accent);
}

.brand-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.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);
}

/* Navigation */
.site-nav {
  display: none;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 16px;
  gap: 4px;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  outline: none;
}

.site-nav a.is-active {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
}

/* Hero */
.hero {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-media {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.hero-calendar-widget {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: min(calc(100% - 32px), 380px);
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(20, 16, 12, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-calendar-widget-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--color-accent-light), #f8f3eb);
  border-bottom: 1px solid var(--color-border);
}

.hero-calendar-widget-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.hero-calendar-widget iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

.hero-calendar-full-link {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: none;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  transition: background 0.15s;
}

.hero-calendar-full-link:hover,
.hero-calendar-full-link:focus-visible {
  background: var(--color-accent-light);
  outline: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px 36px;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.05) 0%, rgba(20, 16, 12, 0.72) 100%);
  color: white;
  animation: hero-rise 0.8s ease 0.15s both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
  max-width: 14ch;
}

.hero-text {
  font-size: 1.02rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* Box thumbnails */
.box-thumb {
  display: block;
  padding: 0;
  border: 2px solid white;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: zoom-in;
  overflow: hidden;
  width: 112px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s, transform 0.2s, box-shadow 0.2s;
}

.box-thumb:hover,
.box-thumb:focus-visible {
  border-color: var(--color-gold);
  outline: none;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.box-thumb img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.checklist li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.checklist li > div {
  flex: 1;
  min-width: 0;
}

.info-card .box-thumb {
  margin-bottom: 12px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.03);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Image popup */
.image-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 16, 0.72);
  cursor: zoom-out;
  animation: popup-fade-in 0.2s ease;
}

.image-popup[hidden] {
  display: none;
}

.image-popup-content {
  max-width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(20, 18, 16, 0.35);
  overflow: hidden;
  cursor: default;
  animation: popup-scale-in 0.22s ease;
}

.image-popup-content img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #111;
}

.image-popup-content figcaption {
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

@keyframes popup-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popup-scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px;
}

.section-alt {
  background:
    linear-gradient(180deg, var(--color-surface-alt) 0%, rgba(235, 227, 214, 0.4) 100%);
  max-width: 100%;
}

.section-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-accent-dark);
  line-height: 1.2;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Calendar page */
.calendar-page {
  min-height: calc(100vh - var(--header-height) - 120px);
}

.calendar-section {
  padding-top: 28px;
  padding-bottom: 40px;
}

.calendar-reservation-note {
  margin-top: 12px;
  padding: 14px 18px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
  color: var(--color-text);
  font-size: 0.95rem;
}

.calendar-reservation-note a {
  color: var(--color-accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.calendar-reservation-note a:hover,
.calendar-reservation-note a:focus-visible {
  color: var(--color-accent);
  outline: none;
}

.calendar-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.calendar-panel iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
}

.calendar-note {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
}

.calendar-note a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.calendar-note a:hover,
.calendar-note a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 22px 132px 22px 56px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.steps li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section-alt .steps li {
  background: var(--color-surface);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 22px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-warm), var(--color-gold));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(184, 106, 58, 0.35);
}

.steps li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.steps li p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.steps li .box-thumb {
  position: absolute;
  top: 20px;
  right: 16px;
}

/* Checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-accent-light), #c8e6d4);
  color: var(--color-accent-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}

.checklist li strong {
  display: block;
  margin-bottom: 4px;
}

.checklist li p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Info boxes */
.info-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.info-box-warning {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: #6b5a1e;
}

/* Documents */
.doc-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: linear-gradient(135deg, var(--color-surface), var(--color-accent-light));
  border-radius: var(--radius);
  border: 1px solid rgba(47, 107, 79, 0.2);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.doc-card:active {
  transform: scale(0.98);
}

.doc-card:hover,
.doc-card:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.doc-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.doc-card div {
  flex: 1;
  min-width: 0;
}

.doc-card strong {
  display: block;
  font-size: 0.95rem;
}

.doc-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.doc-arrow {
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.doc-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.doc-note code {
  background: var(--color-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47, 107, 79, 0.35);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

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

.info-card a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.link-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--color-accent-light), #c8e6d4);
  color: var(--color-accent-dark) !important;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
}

.link-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 107, 79, 0.2);
}

/* Contact list */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(47, 107, 79, 0.25);
}

.contact-avatar-alt {
  background: linear-gradient(135deg, var(--color-warm), var(--color-gold));
  box-shadow: 0 4px 12px rgba(184, 106, 58, 0.25);
  font-size: 0.85rem;
}

.contact-details {
  min-width: 0;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.contact-card p {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

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

.contact-card a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.contact-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: linear-gradient(180deg, transparent, var(--color-bg-warm));
  border-top: 1px solid var(--color-border);
  margin-top: 16px;
}

.site-footer p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-accent-dark);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-overlay {
    animation: none;
  }

  .steps li:hover,
  .checklist li:hover,
  .info-card:hover,
  .contact-card:hover,
  .doc-card:hover,
  .box-thumb:hover {
    transform: none;
  }
}

/* Tablet and up */
@media (min-width: 640px) {
  .brand h1 {
    font-size: 1.4rem;
  }

  .hero-media {
    min-height: 420px;
    max-height: 560px;
  }

  .hero-media img {
    min-height: 420px;
    max-height: 560px;
  }

  .hero-overlay {
    padding: 40px max(32px, calc((100% - var(--max-width)) / 2 + 20px)) 48px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .calendar-panel iframe {
    height: 420px;
  }

  .hero-calendar-widget iframe {
    height: 320px;
  }

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

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

  .doc-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-calendar-widget {
    top: 12px;
    right: 12px;
    width: min(calc(100% - 24px), 340px);
  }

  .hero-calendar-widget iframe {
    height: 240px;
  }

  .steps li {
    padding: 20px 20px 20px 56px;
  }

  .steps li .box-thumb {
    position: static;
    margin-top: 12px;
  }
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .logout-btn {
    font-size: 0.85rem;
  }

  .site-nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 20px 12px;
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
