/* --- CSS RESET & NORMALIZE (Mobile First) --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  background: #F8F8F9;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23252e;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0;
}
img, picture, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #18224C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #84661D;
}
ul, ol {
  padding-left: 21px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #23252e;
}
strong, b {
  font-weight: 600;
  color: #18224C;
}
blockquote {
  border-left: 4px solid #EAEAEC;
  margin: 0 0 12px 0;
  padding: 8px 0 8px 20px;
  font-style: italic;
  color: #18224c;
  font-size: 1.125rem;
}
cite {
  display: block;
  font-size: 0.95em;
  color: #777;
  margin-top: 4px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #18224C;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.25;
}
h1 { font-size: 2.5rem; margin-top: 0; margin-bottom: 24px;}
h2 { font-size: 1.8rem; margin-bottom: 22px; }
h3 { font-size: 1.25rem; margin-bottom: 15px; }
h4 { font-size: 1.15rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }
}

p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23252E;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* --- UTILITIES & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(24,34,76,0.04);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 30px 8px;
    border-radius: 12px;
  }
}

/* --- HEADER & MAIN NAV --- */
header {
  background: #ffffff;
  border-bottom: 1px solid #EAEAEC;
  width: 100%;
  z-index: 50;
  position: sticky;
  top:0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 23px;
}
nav a {
  padding: 6px 2px;
  font-size: 16px;
  color: #18224C;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  position: relative;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: #84661D;
}
.cta-btn {
  background: #18224C;
  color: #fff !important;
  padding: 13px 34px;
  border-radius: 25px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24,34,76,0.09);
  transition: background 0.12s, color 0.18s, box-shadow 0.2s;
  margin-left: 25px;
  outline: none;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #84661D;
  color: #fff !important;
  box-shadow: 0 2px 16px rgba(132,102,29, 0.06);
}

/* HIDE on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
}

/* --- MOBILE MENU & BURGER BUTTON --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #18224C;
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 120;
  padding: 7px 16px;
  margin-left: 5px;
  line-height: 1;
}
@media (min-width: 981px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,34,76,0.93);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.6,.3,0,.99);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2rem;
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 150;
  cursor: pointer;
  padding: 7px 12px;
  line-height: 1;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F3C969;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 84px 36px 34px 36px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, background 0.24s;
  border-radius: 8px;
  font-weight: 400;
}
.mobile-nav a:last-child {
  border-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F3C969;
  background: rgba(255,255,255,0.07);
}

/* Hide mobile menu by default for desktop */
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO, FEATURES, SERVICES ETC --- */
.feature-grid,
.feature-list, .service-list, .case-studies-brief {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.feature-grid li, .feature-list li, .service-list li {
  background: #f7f7fa;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(24,34,76,0.02);
  padding: 23px 22px 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.05rem;
  color: #23252e;
}
.feature-grid img, .feature-list img {
  height: 36px;
  width: 36px;
  min-width: 36px;
}

@media (min-width: 800px) {
  .feature-grid, .feature-list, .service-list, .case-studies-brief {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  .feature-grid li, .feature-list li, .service-list li {
    flex: 1 1 calc(50% - 30px);
    min-width: 290px;
    max-width: 445px;
  }
}

.service-list {
  margin-top: 0;
  margin-bottom: 6px;
}
.service-list li {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 4px solid #84661D;
  transition: box-shadow 0.15s;
}
.service-list li a {
  margin-top: 9px;
  align-self: flex-start;
  font-weight: 600;
  color: #18224C;
  transition: color 0.18s;
  padding-left: 2px;
}
.service-list li a:hover, .service-list li a:focus {
  color: #84661D;
  text-decoration: underline;
}

.case-studies-brief {
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 18px;
}

@media (max-width:768px){
  .feature-grid img, .feature-list img { height: 27px; width: 27px; min-width: 27px; }
  .feature-grid li, .feature-list li, .service-list li {
    padding: 16px 10px 13px 12px;
    font-size: 0.97rem;
  }
}

.pricing-highlight {
  background: #ECEDF1;
  color: #18224C;
  font-weight: 600;
  border-radius: 8px;
  padding: 15px 22px;
  margin: 24px 0 10px 0;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(24,34,76,0.04);
  display: inline-block;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(24,34,76,0.06);
  border-radius: 13px;
  border-left: 5px solid #84661D;
  color: #18224C;
  font-size: 1.09rem;
  max-width: 790px;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #18224C;
  margin-bottom: 0;
  border: none;
  padding-left: 0;
  font-style: italic;
  font-size: 1.08rem;
  background: none;
}
.testimonial-card cite {
  font-style: normal;
  color: #7E7E87;
  margin-left: 22px;
  font-size: 0.97rem;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px;
  }
  .testimonial-card cite {
    margin-left: 2px;
  }
}

/* --- CONTACT INFO --- */
.contact-info {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  color: #23252e;
  letter-spacing: 0.01em;
}

/* --- FOOTER --- */
footer {
  background: #FFF;
  border-top: 1px solid #EAEAEC;
  margin-top: 40px;
  padding-top: 30px;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 17px;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 17px;
}
.brand-footer img {
  height: 42px;
  width: auto;
}
.brand-footer span {
  font-size: 1.12rem;
  color: #7B7B8D;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: #18224C;
  font-size: 0.97em;
  font-weight: 400;
  transition: color 0.18s;
  margin-bottom: 10px;
}
.footer-links a:hover, .footer-links a:focus {
  color: #84661D;
  text-decoration: underline;
}
.social-icons {
  display: flex;
  gap: 14px;
}
.social-icons img {
  height: 30px;
  width: 30px;
  filter: grayscale(0.35) contrast(1.12);
  transition: filter 0.25s;
}
.social-icons img:hover {
  filter: brightness(1.1) grayscale(0.1);
}
.footer-bottom {
  border-top: 1px solid #EAEAEC;
  margin-top: 19px;
  padding: 16px 0 3px 0;
  color: #818195;
  font-size: 0.96em;
  text-align: left;
}

@media (min-width: 800px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 44px;
  }
  .footer-links {
    gap: 24px;
  }
  .brand-footer span {
    font-size: 1.15rem;
  }
  .footer-bottom {
    text-align: left;
  }
}


/* --- FLEX UTILITIES --- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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;
}
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 20px; }
}

/* --- BUTTONS, LINKS, INTERACTIVES --- */
button, .cta-btn, input[type="submit"] {
  outline: none !important;
}
button:focus, .cta-btn:focus, input[type="submit"]:focus {
  outline: 2px solid #84661D;
  outline-offset: 2px;
}
/* Subtle button interactions */
button, a.cta-btn, [type=submit] {
  transition: background 0.17s, box-shadow 0.15s, color 0.15s, transform 0.1s;
}
button:active, .cta-btn:active, [type=submit]:active {
  transform: scale(0.97);
}

/* --- HTML FORMS (future proof) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid #EAEAEC;
  border-radius: 7px;
  padding: 12px 10px;
  font-size: 1rem;
  margin-bottom: 13px;
  width: 100%;
  background: #fff;
  color: #23252E;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #84661D;
  background: #F6F5F2;
}
label {
  font-size: 1rem;
  color: #18224C;
  margin-bottom: 5px;
  font-weight: 500;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #FAFAFB;
  color: #23252E;
  padding: 23px 16px 20px 16px;
  box-shadow: 0 -2px 24px rgba(24,34,76,0.10);
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  border-radius: 20px 20px 0 0;
  animation: cookieBannerAppear 0.38s cubic-bezier(.6,.3,0,.99);
}
@keyframes cookieBannerAppear {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 19px;
  margin-top: 8px;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 8px 21px;
  background: #18224C;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.16s;
}
.cookie-banner button.btn-accent, .cookie-banner .btn-accent {
  background: #84661D;
}
.cookie-banner button.btn-secondary, .cookie-banner .btn-secondary {
  background: #EAEAEC;
  color: #23252E;
  font-weight: 500;
}
.cookie-banner button:hover, .cookie-banner .btn:hover {
  background: #84661D;
  color:#fff;
}
.cookie-banner .btn-secondary:hover {
  background: #fffbe7;
  color: #84661D;
}

/* --- COOKIE MODAL (Hidden by default) --- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width: 100vw; height: 100vh;
  background: rgba(24,34,76,0.55);
  z-index: 4500;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #18224C;
  border-radius: 13px;
  max-width: 400px;
  width: 95vw;
  padding: 36px 28px 26px 28px;
  box-shadow: 0 10px 55px rgba(24,34,76,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalAppear 0.30s cubic-bezier(.6,.3,0,.99);
}
@keyframes modalAppear {
  from { opacity:0; transform: translateY(48px) scale(0.95); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 3px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 400;
  color: #23252E;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #84661D;
  width: 19px;
  height: 19px;
  margin-right: 5px;
}
.cookie-modal .btn-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #18224C;
  font-size: 1.42rem;
  cursor: pointer;
}
.cookie-modal .modal-buttons {
  margin-top: 8px;
  display: flex;
  gap: 17px;
  flex-direction: row;
  justify-content: flex-end;
}

/* --- ANIMATIONS FOR MOBILE MENU --- */
.mobile-menu {
  will-change: transform;
}

/* --- SECTION SPACING / LAYOUT --- */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width:800px){
  main > section {
    margin-bottom: 36px;
    padding:20px 0;
  }
}
section .container>.content-wrapper { margin-top: 0; margin-bottom: 0; }

/* --- VISUAL EFFECTS: CARDS, SHADOWS --- */
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 13px rgba(24,34,76,0.07);
  padding: 30px 20px;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(24,34,76,0.14);
}

/* --- RESPONSIVE REDUCTION OF CARD CONTAINER ON MOBILE --- */
@media (max-width: 680px) {
  .card-container {
    flex-direction: column;
    gap: 17px;
  }
}

/* --- MICRO-INTERACTIONS --- */
.cta-btn, button, .cookie-banner .btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.09s;
}
.cta-btn:hover, .cta-btn:focus {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 26px rgba(132,102,29, 0.11);
}
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 5px 22px rgba(24,34,76,0.09);
  transform: translateY(-1px) scale(1.02);
}
nav a, .footer-links a {
  position: relative;
  transition: color 0.2s;
}
nav a::after, .footer-links a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #84661D;
  transition: width 0.22s;
  margin-top: 3px;
}
nav a:hover::after, nav a:focus::after, .footer-links a:hover::after, .footer-links a:focus::after  {
  width: 90%;
}

/* --- SCROLLBAR STYLES --- */
::-webkit-scrollbar {
  width: 8px;
  background: #ECECF2;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #EAEAEC;
  border-radius: 6px;
}

/* --- MEDIA QUERIES FOR MOBILE FIRST --- */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 8px; }
  .pricing-highlight { font-size: 0.98rem; padding: 11px 8px; }
}

/* --- STYLING OL, UL --- */
ol {
  counter-reset: item;
  padding-left: 21px;
}
ol > li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 10px;
  color: #18224C;
  font-size: 1rem;
}
ol > li:before {
  content: counter(item) ". ";
  counter-increment: item;
  color: #84661D;
  font-weight: 500;
  position: absolute;
  left: 0;
}

/* --- BRAND COLORS for SCANDINAVIAN CLEAN AESTHETIC --- */
:root {
  --primary: #18224C;
  --secondary: #EAEAEC;
  --accent: #84661D;
  --background: #F8F8F9;
  --natural: #ECEDF1;
}

/* --- ACCESSIBILITY & FOCUS --- */
:focus-visible {
  outline: 2px solid #84661D;
  outline-offset: 2px;
}

/* --- EXTRAS --- */
main > section:last-child { margin-bottom: 0 !important; }
hr {
  border: none;
  height: 1px;
  background: #EAEAEC;
  margin: 32px 0;
}

/* --- CLASSES FOR STYLE/CONTENT FLEXIBILITY (future proof) --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* --- END OF CSS --- */
