:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --text: #1f2520;
  --muted: #556158;
  --brand: #7a5b2f;
  --brand-deep: #5f4623;
  --accent: #d8c19a;
  --line: #ddd5ca;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(33, 30, 24, 0.08);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #f2e8d9, #f4f2ee 35%) no-repeat, var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.footer-logo {
  width: 200px;
  display: block;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: #f8f2e8;
  color: #4e3a1b;
}

.section {
  padding: 1.2rem 0 2.7rem;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-lead {
  margin-top: 0;
  color: var(--muted);
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.card h3 {
  margin: 0.1rem 0 0.45rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.meta {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.form-row {
  display: grid;
  gap: 0.8rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbc2b5;
  background: #fff;
  border-radius: 10px;
  padding: 0.66rem 0.72rem;
  font: inherit;
}

textarea {
  min-height: 130px;
}

.site-footer {
  margin-top: 2rem;
  background: #000;
  color: #fff;
  padding-top: 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.25fr 0.9fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  color: #d0b15b;
  line-height: 1;
}

.footer-about {
  margin: 1rem 0 0;
  color: #b0b0b0;
  max-width: 30ch;
  word-break: break-word;
}

.footer-title {
  margin: 0 0 0.9rem;
  font-size: 22px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: #b9b9b9;
  word-break: break-word;
}

.footer-contact-list a {
  color: #d4b66b;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #d2d2d2;
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: #d0b15b;
}

.footer-map {
  border: 1px solid #2c2c2c;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid #474747;
  padding: 1.1rem 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #8f8f8f;
}

.footer-contact-chip {
  background: #f2f2f2;
  color: #222;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  z-index: 200;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-card {
  width: min(460px, 100%);
  max-height: min(88vh, 720px);
  background: #fff;
  border-radius: 12px;
  padding: 1.1rem 1rem 1rem;
  position: relative;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: 0;
}

.contact-modal-close {
  position: absolute;
  right: 0.6rem;
  top: 0.4rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: #444;
}

.contact-modal-kicker {
  margin: 0;
  color: #b88e5d;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.contact-modal-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.contact-modal-text {
  margin: 0 0 0.8rem;
  color: #5c5c5c;
  font-size: 0.92rem;
}

.contact-modal-form {
  display: grid;
  gap: 0.55rem;
}

.contact-modal-form input,
.contact-modal-form select {
  min-height: 46px;
}

.contact-modal-btn {
  border: 0;
  background: #d1b371;
  color: #111;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}

.contact-modal-btn:hover {
  background: #c7a35b;
}

.toast-stack {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  display: grid;
  gap: 0.75rem;
  width: min(360px, calc(100vw - 2rem));
  z-index: 400;
}

.toast {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  animation: toastIn 220ms ease;
}

.toast--success {
  background: linear-gradient(135deg, #1d6b47, #2f8c60);
}

.toast--error {
  background: linear-gradient(135deg, #7f1d1d, #b73a3a);
}

.toast-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.toast-message {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .section {
    padding: 1rem 0 2rem;
  }

  .card {
    padding: 0.95rem;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-modal-card {
    width: min(520px, 100%);
    max-height: min(78vh, 680px);
    border-radius: 18px;
    padding: 1rem 0.95rem 1rem;
  }

  .contact-modal-close {
    right: 0.8rem;
    top: 0.55rem;
  }

  .contact-modal-card h3 {
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer-logo {
    width: 160px;
  }

  .footer-title {
    font-size: 1.15rem;
  }

  .contact-modal {
    padding: 0.75rem;
  }

  .contact-modal-card {
    max-height: calc(100vh - 1.5rem);
    border-radius: 16px;
    padding: 0.95rem 0.85rem 0.9rem;
  }

  .contact-modal-kicker {
    font-size: 0.72rem;
  }

  .contact-modal-text {
    font-size: 0.88rem;
  }

  .contact-modal-form {
    gap: 0.5rem;
  }

  .contact-modal-form input,
  .contact-modal-form select,
  .contact-modal-btn {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .contact-modal-btn {
    width: 100%;
  }

  .toast-stack {
    top: auto;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: calc(100vw - 1.5rem);
  }
}

@media (max-width: 380px) {
  .contact-modal {
    padding: 0.5rem;
  }

  .contact-modal-card {
    max-height: calc(100vh - 1rem);
    padding: 0.9rem 0.75rem 0.8rem;
  }

  .contact-modal-card h3 {
    font-size: 1.35rem;
  }
}

@media (max-height: 720px) and (orientation: landscape) {
  .contact-modal {
    align-items: center;
    padding: 0.75rem;
  }

  .contact-modal-card {
    width: min(640px, 100%);
    max-height: calc(100vh - 1.5rem);
    border-radius: 14px;
    padding: 0.9rem 0.9rem 0.85rem;
  }

  .contact-modal-form {
    gap: 0.45rem;
  }

  .contact-modal-form input,
  .contact-modal-form select,
  .contact-modal-btn {
    min-height: 40px;
  }
}
