:root {
  --bg: #f5f1ea;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --brand: #e0004d;
  --brand-soft: rgba(224, 0, 77, 0.24);
  --footer-bg: #18110d;
  --footer-panel: #241a14;
  --footer-line: rgba(255, 248, 238, 0.12);
  --footer-soft: rgba(255, 248, 238, 0.72);
  --shadow: rgba(0, 0, 0, 0.28);
  --card: rgba(20, 20, 20, 0.42);
  --card-strong: rgba(20, 20, 20, 0.78);
  --card-border: rgba(255, 255, 255, 0.14);
  --hover: rgba(255, 255, 255, 0.16);
  --radius-xl: 24px;
  --blur: 10px;
  --max-width: 1200px;
  --font-stack: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  background: var(--bg);
  color: var(--text);
}

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

.app-shell {
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(24, 18, 14, 0.12), rgba(24, 18, 14, 0.45)),
    url("./Images/beguifront.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.app-backdrop {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}

.hero-panel {
  width: min(100%, var(--max-width));
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-stack {
  width: min(100%, 920px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}

.site-wordmark {
  width: min(100%, 360px);
  align-self: center;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.16));
}

.hero-tagline {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.32);
}

.language-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 22, 16, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.language-toggle-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-toggle-button.is-active {
  color: var(--text);
}

.language-toggle-button:hover,
.language-toggle-button:focus-visible {
  color: var(--text);
  outline: none;
}

.language-toggle-divider {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
}

.actions-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: var(--card);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 50px var(--shadow);
}

.action-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.action-card:hover,
.action-card:focus-visible {
  transform: translateY(-2px);
  background: var(--brand-soft);
  border-color: rgba(224, 0, 77, 0.45);
  outline: none;
}

.action-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.action-body {
  display: flex;
  flex-direction: column;
}

.action-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.action-copy {
  display: none;
}

.contact-sheet {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 7, 6, 0.52);
}

.contact-sheet[hidden] {
  display: none;
}

.sheet-card {
  width: min(100%, 520px);
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: var(--card-strong);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sheet-title {
  margin: 0;
  font-size: 1.35rem;
}

.sheet-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.sheet-options {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.sheet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.sheet-option-button {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sheet-option:hover,
.sheet-option:focus-visible {
  background: var(--brand-soft);
  border-color: rgba(224, 0, 77, 0.45);
  outline: none;
}

.sheet-option-title {
  font-weight: 700;
}

.sheet-footer {
  margin-top: 14px;
}

.sheet-close {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sheet-close:hover,
.sheet-close:focus-visible {
  background: var(--brand-soft);
  outline: none;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(27, 19, 14, 0.92), rgba(20, 14, 10, 0.98)),
    var(--footer-bg);
  color: var(--text);
}

.about-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(245, 239, 231, 1)),
    var(--bg);
  color: #2d211b;
}

.about-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 42px 24px;
}

.about-story {
  max-width: 980px;
}

.footer-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 36px 24px 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: stretch;
}

.footer-primary,
.footer-map-block {
  min-width: 0;
}

.footer-primary {
  padding-right: 20px;
}

.footer-map-block {
  padding-left: 36px;
  border-left: 1px solid var(--footer-line);
}

.footer-kicker,
.footer-section-title,
.footer-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: var(--footer-soft);
}

.footer-lead {
  margin: 10px 0 0;
  max-width: 22ch;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
}

.footer-meta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--footer-line);
}

.footer-address {
  margin: 8px 0 0;
  max-width: 24ch;
  color: var(--footer-soft);
  line-height: 1.55;
}

.footer-phones {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--footer-line);
}

.footer-phone-link {
  display: block;
  margin-top: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.footer-phone-link:hover,
.footer-phone-link:focus-visible {
  color: #ff6f9f;
  outline: none;
}

.footer-hours {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--footer-line);
}

.footer-hours-map {
  margin-top: 0;
  margin-bottom: 26px;
}

.footer-hours-line {
  margin: 8px 0 0;
  color: var(--footer-soft);
  line-height: 1.55;
}

.footer-map {
  margin-top: 12px;
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 4px;
  background: #d9d0c4;
}

.about-story-kicker,
.about-story-subtitle {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: rgba(45, 33, 27, 0.62);
}

.about-story-title {
  margin: 10px 0 0;
  font-size: 1.6rem;
  line-height: 1.15;
}

.about-story-copy {
  margin: 14px 0 0;
  color: rgba(45, 33, 27, 0.82);
  line-height: 1.7;
  max-width: 78ch;
}

.about-story-subtitle {
  margin-top: 22px;
}

.about-story-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(45, 33, 27, 0.82);
  line-height: 1.7;
}

.about-story-list li + li {
  margin-top: 8px;
}

.about-story-closing {
  margin-top: 18px;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-soft);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .app-backdrop {
    padding: 18px;
  }

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

  .language-toggle {
    top: 18px;
    right: 18px;
  }

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

  .footer-primary {
    padding-right: 0;
  }

  .footer-map-block {
    padding-left: 0;
    border-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--footer-line);
  }
}

@media (max-width: 560px) {
  .app-shell {
    background-position: center center;
  }

  .app-backdrop {
    padding: 14px;
  }

  .hero-stack {
    gap: 12px;
  }

  .hero-tagline {
    display: block;
    width: auto;
    max-width: 18ch;
    font-size: 1.18rem;
    line-height: 1.08;
    white-space: normal;
  }

  .language-toggle {
    top: 14px;
    right: 0;
    padding: 7px 10px;
  }

  .actions-grid {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 20px;
  }

  .action-card {
    min-height: 58px;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-shell {
    padding: 24px 14px 20px;
  }

  .footer-lead {
    font-size: 1.22rem;
  }

  .footer-map {
    min-height: 220px;
  }

  .about-shell {
    padding: 32px 14px;
  }

  .about-story-title {
    font-size: 1.3rem;
  }
}
