/* =====================================================
   Silken Excape – Minimalist Responsive Stylesheet
   ===================================================== */

/* =======================
   CSS RESET & BASE STYLES
   ======================= */
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-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #19425B;
  background: #fff;
  letter-spacing: 0.01em;
  transition: background 0.3s;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #19425B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0e2637;
}
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #19425B;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.008em;
}
h1 { font-size: 2.6rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.1rem; }
}

strong { font-weight: 600; }

/* ===============
   LAYOUT CONTAINER
   =============== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ==================
   HEADER & NAV STYLES
   ================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(25,66,91,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  min-height: 74px;
  gap: 20px;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #19425B;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav .cta-btn {
  background: #19425B;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  padding: 8px 18px;
  margin-left: 12px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(25,66,91, 0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #BBDDF6;
  color: #19425B;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: #14314B;
  color: #fff;
  box-shadow: 0 4px 16px rgba(25,66,91, 0.14);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #19425B;
  outline: none;
  cursor: pointer;
  z-index: 105;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #BBDDF6;
}

/* ==== Mobile Menu (hidden by default) ==== */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 3px 24px rgba(25,66,91,0.18);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.29,1.31,.81,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 26px 0 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #19425B;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 10px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #BBDDF6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 36px 0 0 0;
  gap: 10px;
  align-items: flex-end;
  padding: 0 27px;
}
.mobile-nav a {
  display: block;
  font-size: 1.3rem;
  color: #19425B;
  padding: 13px 0 13px 0;
  width: 100%;
  text-align: right;
  border-radius: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background 0.22s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #BBDDF6;
  color: #19425B;
}

/* Hide main nav and show mobile toggle on small screens */
@media (max-width: 990px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============
   HERO SECTIONS
   ============= */
.hero {
  margin-bottom: 60px;
  padding: 58px 0 40px 0;
  background: #F5F5F5;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 2px 24px rgba(25,66,91, 0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 660px;
  margin: 0 auto;
  text-align: left;
}
.hero p {
  margin-bottom: 26px;
  color: #195075;
  font-weight: 400;
  line-height: 1.65;
}
.hero .cta-btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 0 25px 0;
    border-radius: 0;
    margin-bottom: 34px;
  }
  .hero .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
  }
}

/* =========================
   CORE SECTIONS & SPACING
   ========================= */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 16px rgba(25,66,91,0.09);
  padding: 24px 18px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(25,66,91,0.12);
  transform: translateY(-4px) scale(1.012);
}

.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: #F5F5F5;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(25,66,91,0.09);
  margin-bottom: 20px;
  flex: 1 1 300px;
  color: #19425B;
  font-size: 1.05rem;
  transition: box-shadow 0.20s;
}
.testimonial-card blockquote {
  border-left: 3px solid #19425B;
  margin: 0 18px 0 0;
  padding-left: 18px;
  font-style: italic;
  opacity: 0.94;
  font-size: 1.09rem;
  color: #19425B;
}
.testimonial-card p {
  font-size: 0.96rem;
  color: #19425B;
  margin-bottom: 0;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 8px 18px rgba(25,66,91,0.14);
}

.feature-item,
.features ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(25,66,91, 0.06);
  padding: 20px 18px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 400;
  color: #19425B;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.features ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}
.features ul li img {
  height: 28px;
  width: 28px;
  margin-bottom: 5px;
}
.features ul li:hover {
  box-shadow: 0 4px 16px rgba(25,66,91,0.10);
}

.services ul {
  list-style: disc inside;
  margin-bottom: 28px;
  font-size: 1rem;
}
.services ul li {
  margin-bottom: 15px;
  color: #19425B;
}
.services strong {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #19425B;
  font-weight: 700;
}
.services > .cta-btn {
  margin-top: 16px;
}

/* =================
   BUTTONS & CTAS
   ================= */
.cta-btn {
  display: inline-block;
  background: #19425B;
  color: #fff !important;
  font-family: 'Roboto Slab', Georgia, serif;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 1px 10px rgba(25,66,91, 0.10);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, transform 0.18s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #14314B;
  color: #fff;
  box-shadow: 0 8px 26px rgba(25,66,91, 0.16);
  transform: translateY(-2px) scale(1.02);
}

/* ===========================
   CONTACT & TEXTSTYLE SECTIONS
   =========================== */
.text-section {
  margin-bottom: 20px;
  font-size: 1rem;
}
.contact-details p, .contact-details {
  font-size: 1rem;
  color: #19425B;
  line-height: 1.65;
  margin-bottom: 8px;
}
.contact-details img {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  width: 22px;
  margin-right: 5px;
}
/* Links in text */
.text-section a {
  color: #19425B;
  text-decoration: underline;
  transition: color 0.2s;
  font-weight: 600;
}
.text-section a:hover, .text-section a:focus {
  color: #BBDDF6;
}

/* ===== TRUST BADGE ===== */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 7px rgba(25,66,91,0.08);
  padding: 13px 24px;
  font-size: 1.04rem;
  color: #19425B;
  margin-top: 22px;
  font-weight: 600;
}
.trust-badges img {
  height: 32px;
  width: auto;
}

/* ==========
   FOOTER
   ========== */
footer {
  width: 100%;
  background: #19425B;
  color: #fff;
  padding: 32px 0 20px 0;
  margin-top: 16px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  font-size: 1em;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.2s;
  padding: 3px 0;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #BBDDF6;
  opacity: 1;
}
.brand-logo {
  align-self: flex-end;
  margin-top: 8px;
}
.brand-logo img {
  height: 40px;
  width: auto;
  opacity: 0.92;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .brand-logo {
    align-self: flex-start;
    margin-top: 14px;
  }
}

/* ============
   LEGAL PAGES
   ============ */
.legal .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(25,66,91, 0.03);
  padding: 28px 20px;
  margin-top: 16px;
}
.legal h1, .legal h2, .legal h3 {
  margin-bottom: 18px;
}

/* =============
   THANK YOU PAGE
   ============= */
.thank-you .content-wrapper {
  align-items: flex-start;
  text-align: left;
}
.thank-you .text-section {
  margin-bottom: 0;
}

/* =====================
   RESPONSIVE ADJUSTMENTS
   ===================== */
@media (max-width: 900px) {
  .features ul {
    gap: 12px;
    flex-direction: column;
  }
  .card-container {
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav, .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .testimonial-card {
    padding: 16px 8px;
  }
}

/* ===================
   TRANSITIONS, EFFECTS
   =================== */
section, .card, .feature-item, .trust-badges, .testimonial-card {
  transition: box-shadow 0.22s, background 0.21s, transform 0.19s;
}

/* ===============
   COOKIE CONSENT
   =============== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #19425B;
  box-shadow: 0 -2px 32px rgba(25,66,91, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 5vw 20px 5vw;
  z-index: 10000;
  font-size: 1rem;
  transition: transform 0.5s cubic-bezier(.68,-0.55,.26,1.55), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 auto;
  color: #19425B;
  font-size: 1rem;
  line-height: 1.45;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border: none;
  outline: none;
  padding: 10px 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(25,66,91,0.08);
}
.cookie-consent-banner .accept-btn {
  background: #19425B;
  color: #fff;
}
.cookie-consent-banner .accept-btn:hover,
.cookie-consent-banner .accept-btn:focus {
  background: #14314B;
}
.cookie-consent-banner .reject-btn {
  background: #fff;
  color: #19425B;
  border: 1px solid #19425B;
}
.cookie-consent-banner .reject-btn:hover,
.cookie-consent-banner .reject-btn:focus {
  background: #BBDDF6;
}
.cookie-consent-banner .settings-btn {
  background: #BBDDF6;
  color: #19425B;
}
.cookie-consent-banner .settings-btn:hover,
.cookie-consent-banner .settings-btn:focus {
  background: #d3ebfa;
}

/* ============
   COOKIE MODAL
   ============ */
.cookie-preference-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,66,91,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s;
}
.cookie-preference-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-preference-modal .modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(25,66,91,0.16);
  padding: 32px 30px;
  min-width: 320px;
  max-width: 97vw;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
}
.cookie-preference-modal h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #19425B;
  font-family: 'Roboto Slab', Georgia, serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #19425B;
  cursor: pointer;
}
.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #BBDDF6;
  border-radius: 22px;
  transition: background 0.26s;
}
.cookie-toggle-switch input:checked + .cookie-switch-slider {
  background: #19425B;
}
.cookie-switch-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 5px rgba(25,66,91,0.10);
}
.cookie-toggle-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(16px);
}
.cookie-category .cookie-required {
  font-size: 0.95rem;
  color: #747474;
  margin-left: 7px;
  cursor: default;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-actions button {
  min-width: 95px;
}
.cookie-preference-close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.6rem;
  border: none;
  color: #19425B;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 6px;
  transition: background 0.12s;
}
.cookie-preference-close:hover, .cookie-preference-close:focus {
  background: #BBDDF6;
}
@media (max-width: 600px) {
  .cookie-preference-modal .modal-content {
    padding: 18px 7px;
    min-width: 0;
    max-width: 98vw;
  }
}


/* ===============
   VISUAL HIERARCHY
   =============== */
section > h2, .content-wrapper > h1, .content-wrapper > h2 {
  margin-bottom: 16px;
  font-family: 'Roboto Slab', Georgia, serif;
  color: #19425B;
  font-weight: 700;
}
section > p,
section > ul,
section > ol, 
.text-section  {
  margin-bottom: 22px;
}

/* Prevent overlapping anywhere due to gaps/margins */
section, .section, .card, .testimonial-card, .feature-item, .features ul li {
  margin-bottom: 20px;
}

/* Hide visually but leave for a11y */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Helpers: Spacing for elements that are too close on default */
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* ================
   PRINT FRIENDLY
   ================ */
@media print {
  header, nav, .main-nav, footer, .mobile-menu, .cookie-consent-banner, .cookie-preference-modal {
    display: none !important;
  }
  section, .section { box-shadow: none !important; }
}
