/* ==================== CSS Reset & Normalize ==================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F9F6F2;
  color: #312727;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #1F4257;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AA7E79;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  font-size: 16px;
}
th {
  font-weight: bold;
  background: #F1E9E6;
}

/* =================== Typography Style ==================== */
:root {
  --primary: #1F4257;
  --secondary: #E5C9C5;
  --accent: #F9F6F2;
  --heading-font: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  --body-font: 'Georgia', 'Times New Roman', Times, serif;
  --display-font: 'Montserrat', 'Arial', sans-serif;
  --shadow-main: 0 4px 28px rgba(31,66,87,0.10);
  --radius: 14px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: #1F4257;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.subheadline {
  font-family: var(--body-font);
  font-size: 1.25rem;
  color: #69504C;
  margin-bottom: 18px;
  font-style: italic;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: #1F4257;
}

/* =============== Container & Section Layouts ================ */
.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ============= Header, Main Navigation, Logo =============== */
header {
  background: #F9F6F2;
  border-bottom: 1px solid #EFE6E2;
  box-shadow: 0 2px 8px rgba(31,66,87, 0.03);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--display-font);
  font-weight: 500;
  font-size: 1rem;
  color: #1F4257;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #AA7E79;
  border-bottom: 2px solid #E5C9C5;
}
.main-nav .btn-primary {
  margin-left: 15px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  line-height: 1;
  color: #1F4257;
  cursor: pointer;
  margin-left: 18px;
  border-radius: 6px;
  padding: 2px 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EFE6E2;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===================== Mobile Menu ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243,236,233,0.97);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.73,.01,.57,1.54);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: -2px 0 24px rgba(60,32,33, 0.07);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2em;
  color: #1F4257;
  align-self: flex-end;
  margin: 24px 24px 0 auto;
  cursor: pointer;
  padding: 6px 9px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 2;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #EFE6E2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-size: 1.30rem;
  color: #1F4257;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #AA7E79;
}

@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* ===================== Buttons ===================== */
.btn-primary {
  display: inline-block;
  font-family: var(--display-font);
  font-size: 1.1rem;
  font-weight: 600;
  background: #1F4257;
  color: #fff !important;
  padding: 13px 34px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(31,66,87,0.09);
  transition: background 0.22s, box-shadow 0.2s, transform 0.1s;
  margin-top: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-align: center;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2B5C7A;
  box-shadow: 0 6px 18px rgba(31,66,87,0.15);
  text-decoration: none;
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  display: inline-block;
  background: #E5C9C5;
  color: #1F4257 !important;
  font-family: var(--display-font);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(31,66,87,0.08);
  margin-top: 8px;
  transition: background 0.2s, box-shadow 0.18s, color 0.15s;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-align: center;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D7B1AE;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(31,66,87,0.15);
}

/* ======================= Section/Feature Cards ======================= */
.services-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
}
.services-list > div, .service-grid > div {
  background: #fff;
  border: 1px solid #ECE5E2;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(31,66,87, 0.07);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 305px;
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.services-list > div span, .service-grid > div span {
  margin-top: 2px;
  color: #E5C9C5;
  font-size: 1.20rem;
  font-family: var(--display-font);
  font-weight: 700;
}
.services-list > div:hover, .service-grid > div:hover {
  box-shadow: 0 12px 28px rgba(31,66,87,0.10);
  transform: translateY(-3px) scale(1.01);
}
.services-list > div h3, .service-grid > div h3 {
  font-size: 1.17rem;
  margin-bottom: 4px;
}
@media (max-width: 890px) {
  .services-list, .service-grid {
    gap: 18px;
  }
  .services-list > div, .service-grid > div {
    flex-basis: 100%;
    max-width: 99%;
    min-width: 190px;
  }
}
@media (max-width: 600px) {
  .services-list, .service-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==================== List Styling With Icons =================== */
.content-wrapper ul {
  padding-left: 0;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #3F3430;
  font-size: 1rem;
  line-height: 1.56;
  background: transparent;
}
.content-wrapper ul li img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ===================== Testimonial Cards ===================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid #EFE6E2;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(31,66,87,0.09);
  padding: 22px 27px 16px 27px;
  margin-bottom: 20px;
  max-width: 540px;
  margin-right: 24px;
  margin-left: 0;
  font-family: var(--body-font);
  color: #2F2F2F;
  transition: box-shadow 0.18s, transform 0.11s;
}
.testimonial-card p {
  font-size: 1.13em;
  color: #1F4257;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #7A5A55;
  font-family: var(--display-font);
}
.testimonial-card:hover {
  box-shadow: 0 10px 22px rgba(31,66,87,0.14);
  transform: translateY(-2px) scale(1.009);
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 14px 9px 14px;
    max-width: 100%;
    margin-right: 0;
  }
}

/* ================= Feature Patterns =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #EFE6E2;
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .14s, transform .12s;
}
.card:hover {
  box-shadow: 0 14px 32px rgba(31,66,87,0.15);
  transform: translateY(-2px);
}
.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) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ====================== Contact Details ===================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid #EFE6E2;
  border-radius: var(--radius);
  box-shadow: 0 3px 16px rgba(31,66,87,0.06);
  padding: 28px 36px;
  max-width: 420px;
}
.contact-details a {
  color: #1F4257;
  text-decoration: underline;
}
@media (max-width:600px) {
  .contact-details { padding: 18px 10px; max-width: 100%; }
}

/* ===================== Tables ===================== */
table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #EFE6E2;
  box-shadow: 0 2px 12px rgba(31,66,87,0.06);
  margin-bottom: 16px;
  overflow: hidden;
}
th, td {
  border-bottom: 1px solid #EFE6E2;
  font-family: var(--body-font);
}
thead tr {
  background: #E5C9C5;
}
tr:last-child td {
  border-bottom: none;
}
@media (max-width: 580px) {
  table, th, td {
    font-size: 0.93rem;
    padding: 6px 8px;
  }
}


/* ===================== Footer ===================== */
footer {
  background: #1F4257;
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #E5C9C5;
  font-family: var(--display-font);
  font-size: 0.98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  border-bottom: 2px solid #E5C9C5;
}
.address {
  font-size: 0.97rem;
  color: #C6B6B2;
  margin-bottom: 13px;
  font-style: italic;
}
.brand {
  font-family: var(--display-font);
  font-size: 1.07rem;
  color: #ECE5E2;
  padding-bottom: 34px;
  margin-top: 2px;
}
@media (max-width: 600px) {
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    margin-bottom: 14px;
  }
  .address, .brand {
    font-size: 0.95rem;
    padding-bottom: 18px;
  }
}

/* ===================== Cookie Consent Banner & Modal ================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff6f2;
  color: #312727;
  z-index: 120;
  box-shadow: 0 -2px 12px rgba(31,66,87, 0.08);
  padding: 23px 14px 17px 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: fadeInSlideUp 0.6s 0.2s both;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  font-family: var(--display-font);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.22s, color 0.13s;
}
.cookie-banner .cookie-accept {
  background: #1F4257;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #2B5C7A;
}
.cookie-banner .cookie-reject {
  background: #E5C9C5;
  color: #1F4257;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #D7B1AE;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #1F4257;
  border: 1px solid #E5C9C5;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #E5C9C5;
  color: #1F4257;
}
@keyframes fadeInSlideUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.99rem;
    padding: 17px 8px 9px 8px;
  }
  .cookie-banner .cookie-banner-actions { gap: 7px; }
}

/* --- Cookie Modal Popup --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31, 66, 87, 0.37);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.5s both;
}
@keyframes fadeInModalBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff6f2;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(31,66,87,0.17);
  padding: 36px 44px 28px 44px;
  max-width: 370px;
  box-sizing: border-box;
  font-size: 1.05rem;
  font-family: var(--body-font);
  color: #312727;
  position: relative;
  animation: fadeInModalCard 0.48s cubic-bezier(.64,1.54,.62,.95);
}
@keyframes fadeInModalCard {
  0% { opacity: 0; transform: scale(0.9) translateY(44px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h3 {
  font-family: var(--heading-font);
  font-size: 1.23rem;
  margin-bottom: 10px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #9F7D79;
  font-size: 1.65rem;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 8px;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  background: #EFE6E2;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 10px 0;
}
.cookie-preference-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.cookie-preference-label {
  font-weight: 600;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #E5C9C5;
  border-radius: 22px;
  position: relative;
  transition: background 0.15s;
  outline: none;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #1F4257;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 100px;
  transition: left 0.17s;
  box-shadow: 0 1px 5px rgba(31,66,87,0.06);
}
.cookie-switch:checked:before {
  left: 19px;
}
.cookie-switch[disabled], .cookie-switch[aria-disabled=true] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-content .cookie-btn {
  border: none;
  border-radius: var(--radius);
  padding: 9px 19px;
  background: #E5C9C5;
  font-family: var(--display-font);
  font-size: 1.04rem;
  font-weight: 500;
  color: #1F4257;
  transition: background 0.18s, color 0.13s;
  cursor: pointer;
}
.cookie-modal-content .cookie-btn.save {
  background: #1F4257;
  color: #fff;
}
.cookie-modal-content .cookie-btn.save:hover, .cookie-modal-content .cookie-btn.save:focus {
  background: #2B5C7A;
  color: #fff;
}
.cookie-modal-content .cookie-btn:focus, .cookie-modal-content .cookie-btn:hover {
  background: #D7B1AE;
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-modal-content { max-width: 97vw; padding: 23px 8px 16px 8px; }
}


/* ===================== Confirmation Message ================= */
.confirmation-message {
  background: #F1E9E6;
  color: #6B554B;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid #E5C9C5;
  margin-bottom: 14px;
  font-size: 1.12rem;
}

/* ===================== Utilities/Customs ===================== */
.hide { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ================ Responsive Font Sizes ================ */
@media (max-width: 500px) {
  h1 { font-size: 1.63rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.06rem; }
  body { font-size: 0.99rem; }
}

/* ================== Accessibility: Focus Outline =================== */
a, button, .btn-primary, .btn-secondary, .cookie-btn, .close-modal {
  outline: none;
}
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .cookie-btn:focus-visible, .close-modal:focus-visible {
  outline: 2px dashed #1F4257;
  outline-offset: 1.5px;
}

/* ===================== Scrollbar (Elegant) =================== */
::-webkit-scrollbar {
  width: 9px; background: #EFE6E2;
}
::-webkit-scrollbar-thumb { background: #E5C9C5; border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: #C6B6B2; }

/* == END == */
