/* === CSS RESET & NORMALIZATION === */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAF8;
  color: #222;
  min-height: 100vh;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #255E91;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #0A2239;
}

/* === FONT FACE (fallbacks for 'elegant_classic') === */
:root {
  --color-primary: #0A2239;
  --color-secondary: #255E91;
  --color-accent: #F1C40F;
  --color-muted: #647586;
  --color-bg: #FAFAF8;
  --color-paper: #F5F4F1;
  --color-border: #E3DFD6;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, Times, serif;
  --font-sans: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lora:wght@400;700&family=Montserrat:wght@600&display=swap');

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: #222;
  min-height: 100vh;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p, li, label {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #2c2c2c;
  margin-bottom: 16px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
}

/* === CONTAINERS & LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(10,34,57,0.04);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(10,34,57,0.08);
  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;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(10,34,57,0.06);
  margin-bottom: 0;
  position: relative;
  z-index: 1010;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 20px 16px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.header-bar > a img {
  display: block;
  height: 46px;
}
.header-bar nav {
  display: flex;
  gap: 24px;
}
.header-bar nav a {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.header-bar nav a:hover,.header-bar nav a:focus {
  background: var(--color-border);
  color: var(--color-secondary);
}
.cta-primary {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 26px;
  box-shadow: 0 2px 8px 0 rgba(10,34,57,0.09);
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(10,34,57,0.13);
  text-decoration: none;
}
.cta-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 24px;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  color: #fff;
}
.cta-tertiary {
  background: none;
  color: var(--color-secondary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  padding: 0;
  margin-top: 14px;
  text-decoration: underline;
  transition: color 0.2s;
  display: inline-block;
}
.cta-tertiary:hover, .cta-tertiary:focus {
  color: var(--color-accent);
  background: none;
}

/* --- Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  padding: 6px 14px;
  cursor: pointer;
  margin-left: auto;
  z-index: 1015;
}
@media (max-width: 990px) {
  .header-bar nav, .header-bar .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250, 250, 248, 0.98);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 30px 16px 0;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 1200;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 0 40px 40px 40px;
}
.mobile-nav a {
  font-family: var(--font-sans);
  font-size: 1.26rem;
  color: var(--color-primary);
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-border);
}

@media (max-width: 540px) {
  .mobile-nav {
    padding: 0 18px 36px 24px;
    gap: 18px;
  }
  .mobile-menu-close {
    margin-right: 12px;
  }
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(105deg, #F5F4F1 55%, #fff 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero-section h1 {
  color: var(--color-primary);
}
.hero-section p {
  color: var(--color-muted);
  font-size: 1.18rem;
  max-width: 580px;
  margin-bottom: 18px;
}
.hero-section .cta-primary {
  font-size: 1.09rem;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero-section .content-wrapper {
    align-items: stretch;
    text-align: left;
  }
}

/* === FEATURES === */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
}
.feature {
  flex: 1 1 210px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 0px 5px 0 rgba(10,34,57,0.04);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 300px;
  min-width: 200px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, border 0.17s;
}
.feature img {
  height: 38px;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 7px;
}
.feature p {
  color: var(--color-muted);
  font-size: 1.01rem;
}
.feature:hover, .feature:focus {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 3px 18px 0 rgba(37,94,145,0.05);
}
@media (max-width: 880px) {
  .features-grid {
    gap: 18px;
  }
  .feature { max-width: 100%; }
}
@media (max-width: 640px) {
  .features-grid { flex-direction: column; gap: 14px; }
  .feature { width: 100%; max-width: none; min-width: 0; }
}

/* === TEXT SECTION & UL === */
.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section > ul {
  margin-bottom: 0;
}

/* === FAQ STYLES === */
.faq-list, .faq-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.faq-box, .faq-snippets > div {
  background: var(--color-paper);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 7px 0 rgba(10,34,57,0.035);
  padding: 24px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.faq-box strong, .faq-snippets strong {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.01rem;
  margin-bottom: 6px;
}
.faq-box p, .faq-snippets p {
  font-size: 0.98rem;
  color: var(--color-muted);
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .faq-list, .faq-snippets {
    flex-direction: column;
    gap: 14px;
  }
  .faq-box, .faq-snippets > div {
    min-width: 0;
  }
}
.search-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.search-box input[type="text"] {
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 13px;
  max-width: 340px;
  transition: border 0.19s;
}
.search-box input:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* === TESTIMONIAL CARDS === */
.testimonial-preview {
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  border-bottom: 1.5px solid var(--color-border);
  margin-bottom: 60px;
  padding: 36px 20px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F4F1;
  border: 1.5px solid #E3DFD6;
  border-radius: 18px;
  padding: 20px 28px 18px 28px;
  min-width: 250px;
  max-width: 370px;
  min-height: 170px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px 0 rgba(37,94,145,0.04);
  color: #182031;
  transition: box-shadow 0.17s;
  font-size: 1.09rem;
}
.testimonial-card p {
  color: #21325b;
  font-size: 1.01rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.testimonial-card .star-ratings {
  display: flex;
  gap: 2px;
  margin-bottom: 5px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(10,34,57,0.08);
}
@media (max-width: 950px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: none;
  }
}

/* === CTA BLOCK === */
.cta-block {
  text-align: center;
  background: linear-gradient(94deg, #F8F6ED 40%, #fff 100%);
  margin-bottom: 60px;
  padding: 45px 20px;
  border-radius: 24px;
  box-shadow: 0 0px 8px 0 rgba(222, 197, 82, 0.08);
}
.cta-block h2 {
  margin-bottom: 13px;
}
.cta-block p {
  margin-bottom: 22px;
  color: var(--color-muted);
}

/* === CONTACT DETAILS & MAP === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.map-section {
  margin-top: 18px;
  font-size: 0.97rem;
  color: var(--color-muted);
}

/* === FOOTER === */
footer {
  background: #232A33;
  color: #E3DFD6;
  padding: 44px 0 24px 0;
  font-size: 1rem;
  margin-top: 70px;
  border-top: 3px solid var(--color-accent);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  padding-bottom: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}
.footer-links a {
  color: #e6e4e0;
  letter-spacing: 0.01em;
  font-size: 1.04rem;
  padding: 2px 0;
  transition: color 0.17s;
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-brand img {
  height: 54px;
  margin-bottom: 8px;
  filter: brightness(90%);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-contact a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-contact a:hover {
  color: #fff;
}
@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    padding: 32px 0 18px 0;
  }
}

/* === CARDS & SHADOWS === */
.card, .faq-box, .testimonial-card, .feature {
  box-shadow: 0 2px 7px 0 rgba(10,34,57,0.03);
  border-radius: 13px;
  border: 1px solid var(--color-border);
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 640px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .section { padding: 26px 6px; margin-bottom: 36px; }
  .cta-block { padding: 24px 4px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  justify-content: center;
  z-index: 1200;
  background: #fffbea;
  border-top: 2px solid var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  color: #423b21;
  box-shadow: 0 -2px 18px 0 rgba(160,150,80,0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 14px 18px 14px;
  gap: 20px;
  animation: slideup-cookie 0.46s cubic-bezier(0.45,0,0.55,1);
}
@keyframes slideup-cookie {
  0% { transform: translateY(120%); opacity: 0.7; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 250px;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex; flex-direction: row; gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 25px;
  border: none;
  padding: 8px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--color-secondary);
}
.cookie-banner .reject {
  background: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.cookie-banner .reject:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .settings {
  background: none;
  color: var(--color-primary);
  text-decoration: underline;
  border: none;
}
.cookie-banner .settings:hover {
  color: var(--color-secondary);
  background: none;
}
@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* === COOKIE POPUP MODAL === */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,34,57,0.18);
  z-index: 1350;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.09);
  border-radius: 16px;
  max-width: 430px;
  min-width: 240px;
  padding: 38px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: popupCookieIn 0.38s cubic-bezier(0.6,0,0.4,1);
}
@keyframes popupCookieIn {
  0% { transform: scale(0.84); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 0;
}
.cookie-modal label {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-actions-modal {
  display: flex; gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal .essential { opacity: 0.7; }
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 11px;
  right: 16px;
  font-size: 2rem;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
}

/* === FORMS === */
label {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
input, textarea, select {
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1.3px solid var(--color-border);
  border-radius: 7px;
  padding: 9px 13px;
  margin-bottom: 16px;
  background: #fff;
  transition: border 0.18s;
  width: 100%;
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* === LISTS === */
ul {
  padding-left: 22px;
  font-size: 1.01rem;
}
ol {
  padding-left: 22px;
  font-size: 1.03rem;
  margin-bottom: 14px;
}
li {
  margin-bottom: 8px;
}

/* ==== VISUAL & INTERACTIVE ELEMENTS ==== */
button, .cta-primary, .cta-secondary {
  cursor: pointer;
  outline: none;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  box-shadow: 0 0 0 2px var(--color-accent);
}

/* hover micro-interactions */
.card, .feature, .faq-box, .testimonial-card {
  transition: box-shadow 0.17s, border 0.17s, transform 0.17s;
}
.card:hover, .feature:hover, .faq-box:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 15px 0 rgba(37,94,145,0.09);
}

/* Visual elements */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 32px 0;
}

/* === MISC. === */
::-webkit-input-placeholder { color: #AAB3BC; opacity: 1; }
::-moz-placeholder { color: #AAB3BC; opacity: 1; }
:-ms-input-placeholder { color: #AAB3BC; opacity: 1; }
::placeholder { color: #AAB3BC; opacity: 1; }

/* --- Remove numeric input arrows for better aesthetic --- */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* --- Typography scale for elegant hierarchy --- */
@media (min-width: 1200px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.15rem; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .cta-primary,.cta-secondary { font-size: 0.97rem; }
}

/* === UTILITIES === */
.d-none { display: none !important; }
.visible-lg { display: block !important; }
@media (max-width: 990px) { .visible-lg { display: none !important; } }
.visible-sm { display: none !important; }
@media (max-width: 990px) { .visible-sm { display: block !important; } }

/* --- END --- */