/* --- CSS RESET & BASE --- */
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, 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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F7F5F2; /* accent */
  color: #222;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #19384D;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D18A00;
}
ul, ol {
  padding-left: 2em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* --- FONT FACES --- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #19384D;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 1px 1px 0 #A3BCD6;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #19384D;
  line-height: 1.22;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #ece1c6;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #725D42;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #725D42;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff3e4; /* warm, parchment-like retro feel */
  border-bottom: 4px solid #19384D;
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
  position: relative;
}
.logo-link img {
  max-height: 54px;
  width: auto;
  margin-right: 16px;
  filter: sepia(0.15) hue-rotate(-20deg) saturate(1.2);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  align-items: center;
  list-style: none;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.07em;
  color: #725D42;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #A3BCD6;
  color: #19384D;
}

.cta-btn {
  font-family: 'Playfair Display', serif;
  background: #D18A00;
  color: white;
  font-size: 1.15rem;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  box-shadow: 0 3px 20px 0 rgba(163, 188, 214, 0.15), 0 1.5px 0 #cd6702;
  margin-left: 18px;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.21s, box-shadow 0.18s, color 0.21s;
  font-weight: 700;
}
.cta-btn:hover, .cta-btn:focus {
  background: #19384D;
  color: #FFC766;
  box-shadow: 0 7px 28px 0 rgba(25, 56, 77, 0.13), 0 2px 0 #A3BCD6;
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #D18A00;
  padding: 6px 15px 6px 8px;
  cursor: pointer;
  z-index: 202;
  border-radius: 7px;
  margin-left: 18px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFF2DE;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #A3BCD6;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.4,0.05,0.2,1), visibility 0.01s 0.36s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
  transition-delay: 0s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #19384D;
  align-self: flex-end;
  margin: 24px 32px 0 0;
  cursor: pointer;
  padding: 6px 10px;
  transition: background .17s;
  border-radius: 6px;
  z-index: 210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F5F2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 44px 32px 0 32px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  color: #19384D;
  padding: 16px 0;
  width: 100%;
  display: block;
  border-bottom: 1px solid #F7F5F2;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D18A00;
  color: #fff;
}

/* --- HERO, SECTIONS, CARDS --- */
section {
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper, .text-section {
  margin: 0 auto;
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(25, 56, 77, 0.059);
  padding: 38px 32px;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid #ece1c6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.text-section {
  background: #f7f5ef;
  border: 1.5px dashed #B59F89;
  border-radius: 20px;
  box-shadow: 0 1px 7px 0 rgba(114, 93, 66, 0.06);
}
@media (max-width: 490px) {
  .content-wrapper, .text-section {
    padding: 22px 10px;
    border-radius: 14px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #F5ECD7;
  border: 1.5px solid #A3BCD6;
  border-radius: 18px;
  box-shadow: 0 5px 24px 0 rgba(193, 150, 84, 0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px 21px 22px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.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;
  background: #fffdfa;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(25,56,77,0.05), 0 1px 0 #B59F89;
  margin-bottom: 20px;
  border: 1.2px solid #B59F89;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  color: #222;
  font-size: 1.07rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 6px;
  text-shadow: 0.5px 0.5px 0 #A3BCD6;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #725D42;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
  font-size: 1.04rem;
}

.contact-list {
  list-style: none;
  padding: 0 0 0 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-list img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.map {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0;
  background: #d9d1be;
  border-radius: 10px;
  min-height: 140px;
  box-shadow: 0 2px 8px 0 rgba(203, 190, 140, 0.09);
}

/* --- FOOTER --- */
footer {
  background: #19384D;
  color: #fffdf8;
  padding: 38px 0 20px 0;
  border-top: 6px solid #cd6702;
  margin-top: 64px;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #FFC766;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.056em;
  font-size: 1.02rem;
  transition: color 0.22s;
}
footer nav a:hover, footer nav a:focus {
  color: #fffdfa;
  text-decoration: underline;
}
footer .contact-details {
  text-align: center;
  margin: 0 auto;
  color: #fffdfa;
  font-size: 1rem;
}
footer .contact-details a {
  color: #A3BCD6;
  font-weight: 700;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 5000;
  background: #f7f1e1;
  color: #222;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 -2px 18px 0 rgba(25,56,77,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-top: 2px solid #D18A00;
  animation: banner-in 0.45s cubic-bezier(.33,1.41,.08,.98);
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-banner-btn {
  background: #D18A00;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background .16s, color .13s;
  box-shadow: 0 1px 6px 0 rgba(193, 150, 84, 0.08);
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #19384D;
  color: #FFC766;
}
.cookie-settings-btn {
  background: #fffdfa;
  color: #D18A00;
  border: 1.5px solid #D18A00;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #D18A00;
  color: #fff;
}

.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right: 0; bottom: 0;
  z-index: 5050;
  background: rgba(25,56,77,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.35s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffdfa;
  color: #19384D;
  border-radius: 24px;
  padding: 38px 28px 26px 28px;
  box-shadow: 0 5px 32px 0 rgba(25, 56, 77, 0.19);
  max-width: 420px;
  width: 98%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: modal-in .45s cubic-bezier(.45,1.41,.12,.98);
}
@keyframes modal-in {
  from { transform: translateY(80px) scale(.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.08rem;
  font-family: 'Playfair Display', serif;
  color: #D18A00;
  margin-bottom: 9px;
}
.cookie-modal-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal-category label {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #19384D;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #D18A00;
  width: 18px;
  height: 18px;
  border-radius: 40%;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 22px;
  font-size: 1.55rem;
  background: none;
  border: none;
  color: #A3BCD6;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #D18A00;
}

/* --- RETRO / VINTAGE DECORATIVE ELEMENTS --- */
section .container {
  position: relative;
}
section .container:before {
  content: "";
  display: block;
  position: absolute;
  left: -44px; top: 15%;
  width: 54px; height: 54px;
  background: repeating-linear-gradient(135deg, #A3BCD6 0 5px, #F7F5F2 5px 10px);
  opacity: 0.08;
  border-radius: 43% 59% 62% 44% / 53% 38% 57% 49%;
  z-index: 1;
}
section .container:after {
  content: "";
  display: block;
  position: absolute;
  right: -47px; bottom: 10%;
  width: 44px; height: 44px;
  background: repeating-linear-gradient(120deg, #FFC766 0 8px, #F7F5F2 8px 16px);
  opacity: 0.12;
  border-radius: 57% 31% 39% 71% / 77% 68% 52% 59%;
  z-index: 1;
}

.content-wrapper, .text-section, .testimonial-card, .card {
  position: relative;
  z-index: 2;
}

/* --- FORMATTING HEADINGS & TYPO --- */
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
}
h2 {
  border-left: 5px solid #D18A00;
  padding-left: 15px;
  background: linear-gradient(90deg, rgba(249,246,236,1) 65%, rgba(255,199,102,0.08) 100%);
  border-radius: 7px 22px 13px 0;
}

/* --- BUTTONS --- */
button,
input[type="submit"],
input[type="button"] {
  font-family: 'Playfair Display', serif;
  font-size: 1.07rem;
  background: #D18A00;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 11px 32px;
  box-shadow: 0 2px 12px 0 rgba(163, 188, 214, 0.18);
  cursor: pointer;
  transition: background .19s, color .17s, box-shadow 0.11s;
  font-weight: 700;
  letter-spacing: 0.08em;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus, input[type="button"]:hover, input[type="button"]:focus {
  background: #19384D;
  color: #FFC766;
  box-shadow: 0 6px 14px 0 rgba(25,56,77,0.12);
}

/* --- GENERAL SPACING --- */
main > section {
  margin-bottom: 52px;
  padding-top: 27px;
  padding-bottom: 27px;
  border-bottom: 1.4px solid #e9e9e0;
}
main > section:last-of-type {
  border-bottom: none;
}

/* --- VISUAL HIERARCHY --- */
h1 {
  margin-bottom: 20px;
}
h2 {
  margin-top: 10px;
}
h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

/* --- MICRO-INTERACTIONS --- */
.cta-btn, .cookie-banner-btn {
  transition: background .21s, color .19s, box-shadow .18s, transform .17s;
}
.cta-btn:active, .cookie-banner-btn:active {
  transform: scale(0.97);
}
.testimonial-card {
  transition: box-shadow 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(25,56,77,0.13), 0 2px 0 #FFC766;
}
.card {
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 10px 28px 0 rgba(25,56,77,0.13), 0 3px 0 #ffc766;
  transform: translateY(-4px) scale(1.019);
}

/* --- RESPONSIVE --- */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 10px;
  }
  nav ul {
    gap: 14px 7px;
  }
}
@media (max-width: 830px) {
  header nav {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 11px 0;
    justify-content: flex-start;
  }
  .cta-btn {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  header nav ul,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .text-section {
    padding: 17px 8px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 17px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.35rem;
    padding-left: 8px;
  }
  .card {
    padding: 18px 11px 17px 11px;
    min-width: 160px;
    font-size: 0.98rem;
  }
  .content-wrapper, .text-section {
    padding: 11px 2px;
    border-radius: 9px;
  }
}
@media (max-width:480px) {
  .cookie-modal {
    padding: 23px 8px 11px 8px;
    border-radius: 14px;
  }
  .container {
    padding: 0 2px;
  }
}

/* --- RETRO/VINTAGE ACCENTS --- */
.card, .testimonial-card, .cta-btn, .cookie-banner, .cookie-modal {
  font-family: 'Playfair Display', serif;
  background-image: repeating-linear-gradient(120deg, transparent, transparent 39px, #fff5e2 42px);
}
.card::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  top: -13px; left: -15px;
  width: 35px; height: 35px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23D18A00" fill-opacity="0.23" height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg"><circle cx="18" cy="18" r="18"/></svg>') no-repeat center/contain;
  z-index: 0;
}

.card::after, .testimonial-card::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -13px; right: -13px;
  width: 25px; height: 25px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23A3BCD6" fill-opacity="0.12" height="25" viewBox="0 0 25 25" width="25" xmlns="http://www.w3.org/2000/svg"><rect width="25" height="25" rx="7"/></svg>') no-repeat center/contain;
  z-index: 0;
}

.card *, .testimonial-card * {
  position: relative;
  z-index: 2;
}

/* --- MISC DESIGN TOUCHES --- */
::-webkit-scrollbar {
  width: 10px;
  background: #FFF6E2;
}
::-webkit-scrollbar-thumb {
  background: #A3BCD6;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D18A00;
}

hr {
  border: none;
  border-bottom: 2px dashed #D18A00;
  opacity: 0.47;
  margin: 30px 0;
}

/* --- UTILITIES --- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 32px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 32px; }
.section:last-child {
  margin-bottom: 0;
}

/* --- END --- */
