:root {
  --bg: #f7e7af;
  --bg-soft: #fff8e7;
  --surface: rgba(255, 250, 240, 0.88);
  --text: #1f1a17;
  --text-soft: #5b4d42;
  --primary: #c86b1f;
  --primary-dark: #9b4f14;
  --border: rgba(216, 196, 138, 0.7);
  --shadow: rgba(31, 26, 23, 0.12);
  --radius: 20px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f8eab8 0%, #faf1d0 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 2000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 10px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.topbar {
  background: #18120f;
  color: #f6ead4;
  font-size: 0.9rem;
}

.topbar-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  padding: 10px 0;
}

.topbar-content p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 241, 208, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-soft);
}

.brand-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: #fff8e7;
  border: 1px solid #d8c48a;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.main-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-link:hover {
  background: rgba(200, 107, 31, 0.12);
}

.nav-link.active {
  background: var(--primary);
  color: #fff;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.hero-card,
.feature-card,
.menu-preview-card,
.news-card,
.budget-card,
.contact-card,
.pets-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 2rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero h1,
.section-heading h1,
.section-heading h2 {
  margin: 0 0 0.8rem;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero-text,
.section-heading p:last-child,
.gallery-caption p,
.feature-card p,
.menu-preview-card p,
.news-card p,
.pets-copy p,
.contact-list,
.footer-bottom p {
  color: var(--text-soft);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary-dark);
}

.hero-card {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.14);
}

.section-accent {
  background: rgba(200, 107, 31, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.features-grid,
.menu-preview-grid,
.news-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.features-grid,
.menu-preview-grid,
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.menu-preview-card,
.news-card {
  padding: 1.5rem;
}

.price-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  background: rgba(200, 107, 31, 0.15);
  color: var(--primary-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.section-pets {
  padding: 2rem 0 4rem;
}

.pets-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.pets-icon {
  font-size: 4rem;
}

.gallery-page,
.form-page,
.contact-page {
  padding: 3rem 0 5rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-caption {
  padding: 1rem;
}

.gallery-caption h3 {
  margin: 0 0 0.4rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2000;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: #fffaf0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.lightbox-text {
  padding: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.budget-wrapper {
  display: grid;
  gap: 1.5rem;
}

.budget-card {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
}

.form-group input,
.form-group select {
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c9b77c;
  border-radius: 12px;
  background: #fffdf6;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff8e8;
  border: 1px solid #e3d2a2;
  border-radius: 12px;
  padding: 0.8rem;
}

.budget-total {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: end;
  margin-top: 1rem;
}

.budget-result {
  background: #fff8e8;
  border: 2px dashed var(--primary);
  border-radius: 16px;
  padding: 1rem;
}

.budget-result p {
  margin: 0 0 0.3rem;
}

.budget-result strong {
  font-size: 2rem;
  color: var(--primary-dark);
}

.error-text {
  min-height: 1.2rem;
  font-size: 0.88rem;
  color: #b42318;
  margin: 0;
}

.success-box {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #e9f7e7;
  border: 1px solid #86c27a;
  color: #23511d;
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

.contact-card {
  padding: 1.5rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li + li {
  margin-top: 0.75rem;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px var(--shadow);
}

.site-footer {
  background: #171210;
  color: #f7edd4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-title {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 237, 212, 0.12);
}

.footer-bottom .container {
  padding: 1rem 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .features-grid,
  .menu-preview-grid,
  .news-grid,
  .gallery-grid,
  .contact-grid,
  .footer-grid,
  .form-grid,
  .extras-grid,
  .budget-total {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .nav-wrapper {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-title {
    font-size: 1.4rem;
  }

  .topbar-content {
    justify-content: flex-start;
  }
}