/* Sheriff Bygg — shared stylesheet
   Generated 2026-04-17
   ------------------------------------------------- */

:root {
  --background: #FDFBF7;
  --foreground: #1C1B19;
  --primary: #2D4A3E;
  --primary-foreground: #FFFFFF;
  --secondary: #EAE5D9;
  --secondary-foreground: #2D4A3E;
  --accent: #C57B57;
  --accent-foreground: #FFFFFF;
  --muted: #F3F0E6;
  --muted-foreground: #7A7873;
  --border: #D8D4C7;
  --white: #FFFFFF;
  --shadow-lg: 0 20px 60px rgba(28, 27, 25, 0.08);
  --shadow-md: 0 10px 30px rgba(28, 27, 25, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; margin: 0; font-weight: 600; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 212, 199, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 0.96rem;
}

.nav a:hover { color: var(--foreground); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #244034;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.65);
  border-color: rgba(216, 212, 199, 0.9);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.hero { padding: 42px 0 36px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 680px;
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.96));
  border: 1px solid rgba(216, 212, 199, 0.45);
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(45, 74, 62, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 14ch;
  color: var(--foreground);
}

.hero p.lead {
  margin-top: 24px;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.hero-location {
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(216, 212, 199, 0.6);
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--foreground);
}

.trust-item span {
  color: var(--muted-foreground);
  font-size: 0.93rem;
  line-height: 1.55;
}

.hero-media {
  position: relative;
  background:
    linear-gradient(180deg, rgba(28, 27, 25, 0.04), rgba(28, 27, 25, 0.18)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
}

.hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 24px;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(10px);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.98rem;
}

section { padding: 44px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-kicker {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.review-card,
.step-card,
.project-card,
.rot-card,
.form-card,
.about-main,
.about-side,
.contact-main,
.contact-side,
.local-card,
.faq-card,
.city-link-card {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.service-card,
.review-card,
.step-card,
.project-card,
.rot-card,
.form-card,
.about-main,
.contact-main,
.local-card,
.faq-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(216, 212, 199, 0.55);
}

.about-side,
.contact-side {
  background: linear-gradient(180deg, #2D4A3E, #1f342b);
  color: var(--white);
  border: 1px solid rgba(45, 74, 62, 0.3);
}

.service-card { padding: 28px; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(45, 74, 62, 0.08);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 800;
}

.service-card h3,
.step-card h3,
.project-card h3,
.review-card h3,
.about-side h3,
.contact-side h3,
.rot-card h3,
.form-card h3,
.about-main h3,
.contact-main h3,
.local-card h3,
.faq-card h3,
.city-link-card h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.service-card p,
.step-card p,
.review-card p,
.project-card p,
.about-main p,
.contact-main p,
.rot-card p,
.form-card p,
.local-card p,
.faq-card p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.service-cta {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

.about-grid,
.contact-grid,
.rot-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 24px;
  align-items: stretch;
}

.about-main,
.about-side,
.contact-main,
.contact-side,
.rot-card,
.form-card,
.local-card {
  padding: 34px;
}

.about-main p + p,
.contact-main p + p,
.local-card p + p {
  margin-top: 14px;
}

.about-list,
.contact-list,
.rot-list,
.local-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.about-list div,
.contact-list div,
.rot-list div,
.local-list div {
  padding: 15px 16px;
  border-radius: 18px;
}

.about-list div,
.contact-list div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

.rot-list div,
.local-list div {
  background: rgba(45, 74, 62, 0.05);
  border: 1px solid rgba(216, 212, 199, 0.55);
  color: var(--foreground);
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.step-card { padding: 26px 22px; }

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}

.projects-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card { overflow: hidden; }

.project-image {
  aspect-ratio: 1.08 / 1;
  background-size: cover;
  background-position: center;
}

.project-body,
.review-card {
  padding: 24px;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 800;
}

.review-card strong {
  display: block;
  margin-top: 16px;
  color: var(--foreground);
  font-size: 0.96rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }

label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--foreground);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(216, 212, 199, 0.85);
  background: rgba(255,255,255,0.9);
  color: var(--foreground);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(45, 74, 62, 0.55);
  box-shadow: 0 0 0 4px rgba(45, 74, 62, 0.08);
}

textarea { min-height: 140px; resize: vertical; }

.form-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.contact-side a { color: rgba(255,255,255,0.95); }
.contact-side strong { display: block; margin-bottom: 4px; color: var(--white); }

/* Local-area specific section */
.local-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 24px;
  align-items: stretch;
}

/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-card {
  padding: 28px;
}

.faq-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Cross-city internal linking */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.city-link-card {
  padding: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(216, 212, 199, 0.55);
  text-align: center;
  transition: 0.25s ease;
}

.city-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--white);
}

.city-link-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.city-link-card span {
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

.footer { padding: 26px 0 44px; }

.footer-inner {
  border-top: 1px solid rgba(216, 212, 199, 0.7);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0 0;
  color: var(--muted-foreground);
  font-size: 0.88rem;
}

.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .rot-grid,
  .local-grid,
  .cards-3,
  .projects-grid,
  .reviews-grid,
  .steps-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid .step-card:last-child { grid-column: span 2; }

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

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

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero-copy,
  .hero-media { min-height: auto; }

  .hero-copy,
  .about-main,
  .about-side,
  .contact-main,
  .contact-side,
  .rot-card,
  .form-card,
  .service-card,
  .review-card,
  .step-card,
  .local-card,
  .faq-card {
    padding: 26px 22px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .rot-grid,
  .local-grid,
  .cards-3,
  .projects-grid,
  .reviews-grid,
  .steps-grid,
  .hero-trust,
  .form-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid .step-card:last-child { grid-column: auto; }
  .hero h1 { max-width: none; }
}
