/* ---------------------------------------------------
   Reset & Base Styles – Elegant Classic Layout System
--------------------------------------------------- */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #f8f9fa;
  color: #23241a;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #23395d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #be9700;
}

ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}

hr {
  border: none;
  border-top: 1px solid #b8bfc6;
  margin: 32px 0;
}

/* --------------------------------------
   Typography
----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  color: #23395d;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
h1 { font-size: 2.4rem; line-height: 1.15; }
h2 { font-size: 2rem; margin-top: 32px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p, span, label, input, textarea, select {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #23241a;
  letter-spacing: 0.02em;
}

strong {
  font-weight: bold;
}

.text-section {
  margin-bottom: 24px;
}

/* --------------------------------------
   Containers/Spacing/Layout (FLEXBOX ONLY!)
----------------------------------------- */
.container {
  max-width: 1150px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(35,57,93,0.07);
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 16px;
}

.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;
    align-items: flex-start;
    gap: 24px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px 0 rgba(35,57,93,0.06);
  padding: 24px 16px;
  margin-bottom: 20px;
}

.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e7eaea;
  box-shadow: 0 2px 8px 0 rgba(35,57,93,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 16px;
  margin-bottom: 0;
}
.feature-grid img {
  width: 48px; height: 48px; margin-bottom: 6px;
}

.service-list, .service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.service-detail-list li {
  background: #fafcff;
  border-left: 4px solid #b8bfc6;
  border-radius: 10px;
  padding: 20px 14px 16px 22px;
  margin-bottom: 0;
  position: relative;
}
.service-detail-list span {
  font-size: 1rem;
  color: #b8bfc6;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-list .text-section {
  flex: 1 1 310px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 22px 18px;
  margin-bottom: 0;
  box-shadow: 0 2px 6px 0 rgba(35,57,93,0.04);
}

@media (max-width: 1000px) {
  .features, .feature-grid, .project-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .card-container, .content-grid, .features, .feature-grid,.project-list {
    flex-direction: column;
    gap: 15px;
  }
}

/************************************
   Header & Navigation
*************************************/
header {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(35,57,93,0.055);
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  min-height: 64px;
}
.header-logo {
  float: left;
  display: flex;
  align-items: center;
  height: 64px;
  margin-left: 16px;
}
.header-logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #23395d;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 8px 6px 8px;
  border-radius: 7px;
  transition: background 0.14s, color 0.2s;
  margin-bottom: 0;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: #f2ecd2;
  color: #be9700;
}

.cta.primary, .cta.secondary {
  display: inline-block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 28px;
  margin-left: 32px;
  border-radius: 26px;
  border: none;
  transition: background 0.2s, color 0.23s, box-shadow 0.18s;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(35,57,93,0.11);
  outline: none;
}
.cta.primary {
  background: #23395d;
  color: #fff;
  border: 2px solid #23395d;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #23395d;
  box-shadow: 0 2px 12px #be970011;
}
.cta.secondary {
  background: #ffcb47;
  color: #23395d;
  border: 2px solid #ffcb47;
  margin-left: 0;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #fff4d1;
  color: #be9700;
  border-color: #ffcb47;
  box-shadow: 0 2px 10px #ffcb4722;
}

header .cta {
  margin-right: 16px;
}

/* Hide mobile menu trigger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 86vw;
  max-width: 370px;
  background: #fff;
  box-shadow: -3px 0 22px 0 rgba(35,57,93,0.11);
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.6,0,.48,1);
  z-index: 140;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 12px 0;
  background: none;
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  color: #23395d;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 151;
}
.mobile-menu-close:hover {
  color: #be9700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
  padding-left: 23px;
}
.mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.23rem;
  padding: 13px 10px;
  color: #23395d;
  border-radius: 7px;
  transition: background 0.13s, color 0.16s;
}
.mobile-nav a:hover { background: #f2ecd2; color: #be9700; }

/* Hamburger (burger) menu icon display for mobile */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-logo { margin-left: 10px; }
  .cta.primary { display: none; }
  .mobile-menu-toggle {
    position: absolute;
    right: 19px; top: 12px;
    width: 46px; height: 46px;
    display: flex;
    font-size: 2.35rem;
    align-items: center; justify-content: center;
    border: none;
    background: none;
    color: #23395d;
    border-radius: 8px;
    transition: background 0.16s, color 0.17s;
    z-index: 99;
    cursor: pointer;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    color: #be9700; background: #f7efda;
  }
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(47, 56, 86, 0.13);
  z-index:139;
  opacity: 1;
  transition: opacity 0.2s;
  pointer-events: auto;
}
.mobile-menu:not(.active) + .mobile-menu-overlay {
  opacity: 0; pointer-events: none;
}

/* --------------------------------------
   Hero Section
----------------------------------------- */
.hero {
  background: linear-gradient(118deg,#f5f6f8 80%, #e6eae3 100%);
  padding: 64px 0 40px 0;
  margin-bottom: 0;
}
.hero .container { }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #23395d;
  margin-bottom: 15px;
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
}
.hero p {
  max-width: 540px;
  color: #52607d;
  font-size: 1.24rem;
}
.hero .cta {
  margin-top: 24px;
}

/* --------------------------------------
   Cards & Visuals
----------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 28px 18px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35,57,93,0.07);
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(35,57,93,0.14);
  border-color: #b8bfc6;
}
.testimonial-card p {
  color: #23241a;
  font-size: 1.11rem;
  font-style: italic;
}
.testimonial-card span {
  color: #23395d;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 500;
}

.card {
  box-shadow: 0 2px 12px 0 rgba(35,57,93,0.09);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.21s, border 0.16s;
}
.card:hover { box-shadow: 0 8px 24px 0 rgba(35,57,93,0.14); border-color: #b8bfc6; }

/* --------------------------------------
   Footer
----------------------------------------- */
footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 40px 0 22px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px #e7eaea1a;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.footer-logo img {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #23395d;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-nav a:hover { color: #be9700; }
.footer-info {
  font-size: 0.99rem;
  color: #b8bfc6;
}

@media (max-width: 700px) {
  footer {
    padding: 30px 0 18px 0;
  }
  .footer-logo, .footer-nav {
    justify-content: center;
  }
}

/************************
   Utility
***************************/
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-24 { margin-bottom: 24px!important; }
.text-center { text-align:center; }
.text-left { text-align:left; }
.text-right { text-align:right; }

/* --------------------------------------
   Cookie Consent Banner + Cookie Modal
----------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: #fffde2;
  color: #23395d;
  box-shadow: 0 -2px 32px 0 rgba(35,57,93,0.08);
  width: 100vw;
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-top: 1.5px solid #ebe2c1;
  animation: fadeInCookie 0.34s cubic-bezier(.6,0,.48,1);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border-radius: 23px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  margin-top: 0;
  outline: none;
  transition: background 0.2s, color 0.19s;
}
.cookie-banner .accept {
  background: #23395d;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #41558c !important;
}
.cookie-banner .reject {
  background: #dedfe2;
  color: #23395d;
}
.cookie-banner .reject:hover { background: #b8bfc6; }
.cookie-banner .settings {
  background: none;
  color: #be9700;
  border: 1.5px solid #be9700;
}
.cookie-banner .settings:hover { background: #fff4d1; color: #916c00; }

@keyframes fadeInCookie {
  from { opacity:0; transform: translateY(50px); }
  to { opacity:1; transform: none; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,57,93,0.21);
  z-index: 6124;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 28px 0 rgba(35,57,93,0.15);
  padding: 38px 32px 28px 32px;
  z-index: 6125;
  max-width: 380px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInCookie 0.34s;
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1.08rem;
  color: #23395d;
}
.cookie-category input[type="checkbox"] {
  accent-color: #23395d;
  width: 20px; height: 20px;
  border-radius: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-modal .close-modal {
  background: none;
  color: #b8bfc6;
  border-radius: 25px;
  align-self: flex-end;
  font-size: 2rem;
  border: none;
  margin-bottom: 0;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover {
  color: #be9700;
}

/* --------------------------------------
   Responsive Layout Tweaks
----------------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 900px;
    padding: 0 9px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 680px;
    padding: 0 4vw;
  }
  .section {
    padding: 36px 5vw;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .container {
    width: 100vw !important;
    max-width: 100vw;
    padding: 0 0.6rem;
  }
  .section {
    padding: 22px 0.6rem;
    margin-bottom: 24px;
  }
  .card-content, .feature-item, .feature-grid li {
    padding-left: 10px; padding-right: 10px;
  }
  .cookie-banner {
    padding: 12px 5px 10px 6px;
  }
}

/***********************************************
   Micro-Interactions, Hover, and Transitions
***********************************************/
button, .cta.primary, .cta.secondary, a {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, border 0.15s;
}
a:focus, button:focus, .cta:focus {
  outline: 2px solid #be9700;
  outline-offset: 2px;
}

/************************
   Custom Scrollbar
*************************/
::-webkit-scrollbar {
  width: 10px; height: 10px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #e8e9ed;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8bfc6;
}

/************************
   Misc. Elements
*************************/
section {
  margin-bottom: 40px;
  background: none;
}
section:last-child {
  margin-bottom: 0!important;
}

/************************
   Print
*************************/
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-overlay { display: none!important; }
  section, main { margin: 0; padding: 0; }
  body { color: #23241a; background:#fff; }
}
