/* General */
@font-face {
  font-family: 'Quicksand';
  src: url('/static/quicksand-v37-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'garamond';
  src: url('eb-garamond-v32-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


body {
   font-family: 'Quicksand', sans-serif ;
  color: #1f2933;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'garamond', serif;
  font-weight: 550;
}


/* Navbar */
.navbar {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-link {
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
}

.swiper-slide {
  height: 35vh;
  position: relative;
  overflow: hidden;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 1;
}

.img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}



.hero-content {
  position: relative;
  padding: 0 2rem;
  z-index: 2;
  max-width: 720px;
  padding-top: 8vh;
  color: #fff;
}

@media (max-width: 768px) {

    .hero,
    .swiper-slide {
        min-height: 50vh;
    }
  }

/* Services */
.services h2 {
  font-weight: 600;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 2rem;
  height: 100%;
}

/* About */
.about-placeholder {
  width: 100%;
  height: 280px;
  background: #e5e7eb;
}

/* CTA */
.cta {
  background: #0f172a;
  color: #fff;
}

/* Footer */
.footer {
  background: #491111;
  color: #9ca3af;
}

.footer,
.footer a,
.footer small {
  color: #ffffff;
}


/* INDEX - PAGE */
.services-section {
  background-color: #f7f7f7;
}

.service-card {
  background-color: #ffffff;
  padding: 26px;
  border-radius: 8px;
  height: 100%;
  border: 1px solid #111;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}


.service-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card p {
  line-height: 1.6;
  color: #333;
}

.section-areas {
  background-color: #491111;
  color: #ffffff;
}

.section-areas h1 {
  color: #ffffff;
}

/* AREAS - PAGE */
.practice-item {
  position: relative;
  padding-left: 20px;
}

.practice-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  height: 90%;
  background-color: #491111;
}



.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #491111;
  font-weight: 500;
  text-decoration: none;
}

.read-more::after {
  transition: transform 0.2s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* COOKIE - BANNER */

.consent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 12px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.25s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #007aff; /* Apple blue */
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  background-color: #999;
  cursor: not-allowed;
}
 
/* ================= ABOUT SECTION ================= */

/* Samma rubrikbeteende */
.section-title {
  margin-bottom: 16px;
}

/* YTTRE KORT – samma höjd */
.about-card,
.contact-wrapper {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px;

  flex: 1;
  min-height: 0;
}

/* Kontakt-wrapper */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

/* Inre kontaktkort */
.contact-card {
  padding: 12px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background-color: #fff;
}

/* Kontakttext */
.contact-body {
  line-height: 1.5;
}

.contact-info a {
  text-decoration: none;
}

/* Läs mer-knapp */
.read-more {
  font-size: 0.85rem;
  padding: 2px 10px;
}

/* Kontorsrubriker */
.office-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

/* Mobil – naturlig höjd */
@media (max-width: 767px) {
  .about-card,
  .contact-wrapper {
    flex: none;
  }
}


.btn-rs {
  background-color: #491111;
  border-color: #491111;
  color: #fff;
}

.btn-rs:hover {
  background-color: #3a0d0d;
  border-color: #3a0d0d;
  color: #fff;
}