:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-muted: #eee7dd;
  --text: #2c241b;
  --text-muted: #5f5548;
  --accent: #6d4c2f;
  --accent-dark: #573c25;
  --border: #d8cbb8;
  --shadow: 0 12px 30px rgba(44, 36, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0;
  border: 1px solid var(--border);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.hero {
  padding: 56px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 1140px;
}

.hero-content {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../photos/background_2.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  z-index: 0;
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.35));
  z-index: 0;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: #fff;
}

.hero-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-points {
  margin: 24px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-points li + li {
  margin-top: 8px;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cards-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(44, 36, 27, 0.07);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card div {
  padding: 16px;
}

.service-card h3 {
  margin: 0 0 8px;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
}

.service-card--text {
  display: flex;
  align-items: stretch;
}

.service-card--text div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-link {
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}

.category-carousel-grid {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-carousel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(44, 36, 27, 0.07);
}

.category-carousel-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
}

.carousel-media {
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  cursor: pointer;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-meta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-meta h3 {
  margin: 0 0 12px;
}

.carousel-meta p {
  margin: 0;
  color: var(--text-muted);
}

.carousel-meta .btn {
  width: fit-content;
  margin-top: 16px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.gallery-modal-content {
  position: relative;
  margin: 4vh auto;
  width: min(1100px, 94%);
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 10;
  background: var(--surface);
  margin: 0;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.gallery-modal-header h3 {
  margin: 0;
}

.gallery-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal-grid {
  min-height: 0;
  padding: 16px 20px 20px;
  overflow: auto;
  max-height: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-modal-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.contact-card h2 {
  margin: 0 0 10px;
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
}

.contact-details a {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-details p + p {
  margin-top: 6px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
}

.about-section .section-heading h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.about-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(44, 36, 27, 0.07);
  padding: 20px;
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
}

.about-card p + p {
  margin-top: 12px;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(44, 36, 27, 0.07);
}

.about-contact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.about-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  box-shadow: 0 8px 20px rgba(44, 36, 27, 0.07);
}

.facebook-badge {
  display: inline-block;
  margin-top: 8px;
}

.facebook-badge img {
  width: 220px;
  max-width: 100%;
}
