/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #262626;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7B2F10;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #181818;
  font-weight: 700;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
p, .subheadline {
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}

/* LAYOUT ALIGNMENTS & SPACING */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(40,40,40,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  min-width: 270px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(34,34,34,0.05);
  margin-bottom: 24px;
  flex: 1 1 320px;
  max-width: 720px;
  color: #181818;
  
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(40,40,40,0.11);
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #262626;
  margin: 0 0 0.5em 0;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #7B2F10;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 0;
}

/* FLEX WRAPPED GRIDS FOR FEATURES, SERVICES, TEAM MEMBERS */
.feature-grid,
.team-members-grid,
.article-previews,
.service-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .feature-grid,
  .team-members-grid,
  .article-previews,
  .service-summary-grid {
    gap: 18px;
  }
}
.feature-grid > div,
.team-members-grid > div,
.service-summary-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,34,34,0.06);
  padding: 24px 18px 22px 18px;
  flex: 1 1 278px;
  min-width: 235px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.19s;
  margin-bottom: 0;
}
.feature-grid > div:hover, .team-members-grid > div:hover, .service-summary-grid > div:hover {
  box-shadow: 0 8px 38px 0 rgba(60,60,60,0.13);
  transform: translateY(-5px) scale(1.03);
}
.feature-grid img, .team-members-grid img, .service-summary-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.88;
}
.service-summary-grid > div h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-price {
  margin-top: 14px;
  font-family: 'Lato', Arial, sans-serif;
  color: #7B2F10;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ARTICLE PREVIEWS: NEWS */
.article-previews {
  flex-direction: row;
  gap: 24px;
}
.article-previews .text-section {
  background: #FAFAFA;
  border-radius: 8px;
  box-shadow: 0 1px 6px 0 rgba(44,44,44,0.04);
  padding: 22px 16px;
  min-width: 200px;
  width: 100%;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.article-previews .text-section:hover {
  box-shadow: 0 4px 18px 0 rgba(40,40,40,0.08);
}
@media (max-width: 900px) {
  .feature-grid>div, .team-members-grid>div, .service-summary-grid>div, .article-previews .text-section {
    min-width: 140px;
    padding: 20px 10px;
  }
  .article-previews {
    flex-direction: column;
    gap: 16px;
  }
}

/* HERO & CALL TO ACTION (CTA) */
.hero {
  padding: 64px 0 44px 0;
  background: #181818;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero h1, .hero h2, .hero p, .hero .subheadline {
  color: #fff;
}
.hero .subheadline {
  font-size: 1.2rem;
  opacity: 0.92;
}
.cta {
  background: #262626;
  color: #fff;
  text-align: center;
  padding: 48px 0;
  border-radius: 20px;
  box-shadow: 0 1px 6px 0 rgba(30,30,30,0.12);
  margin-bottom: 60px;
}
.cta h2 {
  color: #fff;
}
.cta a.btn-primary {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero, .cta {
    padding: 32px 0;
    border-radius: 10px;
  }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #DFDFDF;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow 0.22s;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 14px 20px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  position: relative;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #181818;
  padding: 4px 0;
  transition: color 0.17s;
}
header nav a:hover, header nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #7B2F10;
}
header .btn-primary {
  margin-left: 18px;
}
header img {
  max-height: 40px;
}
/* Hide mobile menu toggle by default on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #181818;
  cursor: pointer;
  line-height: 1;
  margin-left: 18px;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,33,33, 0.98);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.74,.18,.28,.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 24px 0 24px 22px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  margin-top: 36px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  text-align: left;
  display: block;
  padding: 8px 0;
  transition: color 0.17s, background 0.12s;
  border-radius: 6px;
}
.mobile-nav a:active {
  background: #222;
}

@media (max-width: 980px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* BUTTONS */
.btn-primary {
  background: #181818;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.1rem;
  border: none;
  border-radius: 32px;
  padding: 12px 34px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.14s;
  box-shadow: 0 1px 8px 0 rgba(60,60,60,0.07);
  outline: none;
  display: inline-block;
  letter-spacing: 0.02em;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #7B2F10;
  color: #fff;
  box-shadow: 0 6px 30px 0 rgba(43,43,43,0.18);
  transform: translateY(-1px) scale(1.036);
}
/* Cookie modal and banner buttons */
.btn-secondary {
  background: #fff;
  color: #181818;
  border: 1.4px solid #7B2F10;
  border-radius: 32px;
  padding: 10px 25px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.16s, border 0.16s, color 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #7B2F10;
  color: #fff;
  border-color: #7B2F10;
}

/* TEXT SECTIONS, FAQ, LISTS */
.text-section {
  background: #FCFCFC;
  border-radius: 8px;
  padding: 18px 16px 16px 16px;
  margin-bottom: 20px;
  color: #222;
  box-shadow: 0 1px 8px 0 rgba(38,38,38,0.03);
}
.faq h3 {
  font-size: 1.15rem;
  margin-top: 18px;
  margin-bottom: 6px;
  color: #262626;
}
.faq p {
  margin-bottom: 6px;
}

/* MAP LOCATION IN CONTACT */
.map-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #262626;
  font-size: 1.02rem;
  margin: 22px 0 0 0;
}
.map-location img {
  margin: 0;
}

.contact-details ul,
.text-section ul {
  margin-bottom: 12px;
}
.contact-details li {
  margin-bottom: 7px;
}

/* FOOTER */
footer {
  background: #181818;
  color: #fff;
  padding: 32px 0 10px 0;
  border-top: 2px solid #262626;
  margin-top: 50px;
  font-size: 0.97rem;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
}
footer nav a {
  color: #F3E9DE;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
.brand-contact {
  color: #F3E9DE;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.brand-contact a {
  color: #F3E9DE;
  text-decoration: underline;
}
.copyright {
  color: #bdbdbd;
  font-size: 0.97rem;
  margin-top: 8px;
  text-align: center;
}

/* MEDIA QUERIES : RESPONSIVE LAYOUTS */
@media (max-width: 1160px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    padding: 12px 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .content-wrapper,
  .container {
    gap: 18px;
  }
  .feature-grid, .team-members-grid, .service-summary-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 14px 10px;
    max-width: 98vw;
  }
}

/* SPACING BETWEEN ALL CARDS & SECTIONS */
.card, .testimonial-card, .feature-grid > div, .team-members-grid > div, .service-summary-grid > div, .article-previews .text-section {
  margin-bottom: 20px;
}
.section, .features, .steps, .cta, .faq, .news-list {
  margin-bottom: 60px;
}

/* SHADOWS & HIERARCHY EFFECTS */
.card, .feature-grid > div, .team-members-grid > div, .service-summary-grid > div, .testimonial-card {
  box-shadow: 0 2px 16px 0 rgba(34,34,34,0.07);
}
.card:hover, .feature-grid > div:hover, .team-members-grid > div:hover, .service-summary-grid > div:hover {
  box-shadow: 0 9px 34px 0 rgba(61,61,61,0.16);
}

/* INTERACTIVE MICRO-INTERACTIONS (NO GRID) */
.btn-primary, .btn-secondary {
  will-change: transform, box-shadow;
}
nav a, .mobile-nav a {
  transition: color 0.16s;
}
.card, .feature-grid > div, .team-members-grid > div, .service-summary-grid > div, .article-previews .text-section, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 12000;
  background: #181818;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 4vw 20px 4vw;
  box-shadow: 0 -2px 14px 0 rgba(8,8,8,0.22);
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.33s cubic-bezier(.74,.18,.28,.96), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 70%;
  font-size: 1rem;
  color: #fff;
  margin-right: 18px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 10px;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 8px 15px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 12010;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(24,24,24,0.53);
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 260ms;
}
/* COOKIE MODAL */
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 16px;
  max-width: 360px;
  width: 95vw;
  box-shadow: 0 3px 40px 0 rgba(33,33,33,0.26);
  padding: 34px 24px 23px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalOpen 0.25s cubic-bezier(.53,.23,.38,1.05);
}
@keyframes modalOpen {
  from { transform: scale(0.92) translateY(26px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #7B2F10;
  cursor: pointer;
  z-index: 99;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: #181818;
  margin-bottom: 8px;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category-label {
  font-weight: 500;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-category-toggle {
  margin-left: 18px;
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #F3E9DE;
  border: 1px solid #B0B0B0;
  position: relative;
  transition: background 0.15s, border 0.18s;
  outline: none;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
}
.cookie-category-toggle:checked {
  background: #7B2F10;
  border-color: #7B2F10;
}
.cookie-category-toggle:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.19s;
  box-shadow: 0 1px 4px 0 rgba(60,60,60,.11);
}
.cookie-category-toggle:checked:before {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
}
/* Make essential category always enabled */
.cookie-category-label[data-required='true'] {
  color: #7B2F10;
}
.cookie-category-toggle[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* TYPOGRAPHY SCALE & ELEGANCE */
body, p, .subheadline, .brand-contact, .copyright {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
 }
 h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
 }
 .subheadline {
  font-size: 1.2rem;
  color: #7B2F10;
  font-family: 'Lato', Arial, sans-serif;
 }
@media (max-width: 600px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.11rem; }
  .container {
    padding: 0 5px;
  }
}

/* MISCELLANEOUS COMPONENTS */
.content-wrapper > a.btn-primary:not(:first-child) {
  margin-top: 10px;
  align-self: flex-start;
}
.cta .btn-primary {
  margin-top: 12px;
}
.service-highlights ul {
  margin: 12px 0 0 0;
  padding-left: 1.1em;
}
.service-highlights li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #181818;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar { width: 11px; background: #F3E9DE; }
::-webkit-scrollbar-thumb { background: #B1B1B1; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #7B2F10; }

/* ACCESSIBILITY: FOCUS */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #7B2F10;
  outline-offset: 1.5px;
}

/* Prevent content overlapping */
.section, .card, .testimonial-card, .feature-grid > div, .team-members-grid > div, .service-summary-grid > div, .article-previews .text-section {
  margin-bottom: 20px;
}

/* NO CSS GRID! ONLY FLEXBOX! */
/* All layout containers use display: flex as required. No forbidden grid or columns. */

/* ---- END ---- */
