:root {
  --color-primary: #9d0808;
  --color-primary-dark: #7a0606;
  --color-dark: #202714;
  --color-gold: #e0b36a;
  --color-cream: #f0e6c5;
  --color-white: #ffffff;
  --color-text: #464646;
  --color-text-muted: #5a5a5a;
  --color-bg: #ffffff;
  --color-section-alt: #faf8f3;
  --shadow-card: 0 8px 32px rgba(32, 39, 20, 0.1);
  --shadow-card-hover: 0 16px 48px rgba(32, 39, 20, 0.16);
  --radius: 16px;
  --transition: 0.3s ease;
  --header-height: 80px;
}

.theme-eggs {
  --color-primary: #fb2056;
  --color-primary-dark: #da1c4b;
  --color-dark: #191919;
  --color-gold: #fb2056;
  --color-cream: #f5f5f5;
  --color-text: #404040;
  --color-text-muted: #404040;
  --color-section-alt: #f5f5f5;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: "El Messiri", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
}

.section-subtitle {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 80px;
  height: auto;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  max-width: 180px;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  position: relative;
  transition: var(--transition);
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-primary);
}

/* Hero */

.hero-banner {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 900px;
}

.hero-kicker {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 700px;
  margin-inline: auto;
  opacity: 0.95;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content h3 {
  font-size: 1.35rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Gallery */

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.section-alt .service-card {
  background: var(--color-white);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  color: var(--color-primary);
  font-size: 1.5rem;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.5;
}

/* Branches */

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.branch-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.branch-image {
  height: 200px;
  overflow: hidden;
}

.branch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-body {
  padding: 1.5rem;
}

.branch-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.branch-card h3 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.branch-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.branch-services {
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.branch-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: background var(--transition);
}

.branch-phone:hover {
  background: var(--color-primary-dark);
}

/* Contact bar */

.contact-bar {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 2.5rem 0;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.contact-item a:hover {
  color: var(--color-gold);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  background: var(--color-dark);
  color: var(--color-cream);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  color: var(--color-gold);
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .about-image img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    inset-inline: 0;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--color-section-alt);
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 320px;
  }

  .brand-name {
    display: none;
  }

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

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

  .hero-banner {
    min-height: 70vh;
  }
}
