/* =====================
   BOLD ESCAPE – STYLE.CSS
   Creative Artistic Style for all pages
   ===================== */

/* ===== 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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #fff;
  color: #232a37;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #ba310e;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #d94f2a;
  outline: none;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}

/* ===== BRAND VARIABLES FOR LEGACY BROWSERS ===== */
:root {
  --brand-primary: #232a37;
  --brand-secondary: #e0cbb2;
  --brand-accent: #ba310e;
  --brand-accent-2: #d94f2a;
  --white: #fff;
  --dark: #232a37;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  color: #232a37;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: 2.75rem;
  color: #ba310e;
  margin-bottom: 18px;
  word-break: break-word;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #232a37;
}
h3 {
  font-size: 1.4rem;
  color: #ba310e;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, blockquote {
  font-size: 1.06rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  color: #232a37;
}
blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-style: italic;
  background: #e0cbb2;
  color: #232a37;
  padding: 18px 28px;
  border-left: 6px solid #ba310e;
  border-radius: 12px 22px 14px 12px;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #ba310e;
}

/* ===== CONTAINER & SPACING SYSTEM ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER/NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  min-height: 76px;
  box-shadow: 0 3px 20px 0 rgba(41,29,40,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: relative;
  z-index: 99;
}
header > a img {
  height: 48px;
  margin-right: 30px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #232a37;
  letter-spacing: 0.015em;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #e0cbb2;
  color: #ba310e;
}
.cta-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  background: #ba310e;
  color: #fff !important;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1.04rem;
  border: none;
  border-radius: 30px 12px 30px 12px;
  box-shadow: 0 3px 18px 0 rgba(185,49,14,0.12);
  letter-spacing: 0.03em;
  margin-left: 30px;
  transition: background 0.24s, box-shadow 0.24s, transform 0.14s;
  cursor: pointer;
  position: relative;
  z-index: 2;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #d94f2a;
  color: #fff !important;
  box-shadow: 0 7px 16px 0 rgba(217,79,42,0.15);
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  background: #ffffff;
  color: #232a37;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 8px 16px;
  margin-left: 22px;
  display: none;
  transition: background 0.2s, color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e0cbb2;
  color: #ba310e;
  outline: none;
}

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,42,55,0.98);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.76,0.25,0.43,1.08);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 32px 26px 0 26px;
  align-self: flex-end;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #d94f2a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 50px 0 0 36px;
  width: calc(100% - 36px);
}
.mobile-nav a {
  color: #fff;
  font-size: 1.34rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-radius: 9px;
  transition: background 0.21s, color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #d94f2a;
  color: #fff;
}

@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

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

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(95deg, #e0cbb2 72%, #ba310e 100%);
  padding: 70px 0 54px 0;
  margin-bottom: 60px;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  background: rgba(255,255,255,0.95);
  padding: 35px 32px 32px 38px;
  border-radius: 26px 18px 38px 18px;
  box-shadow: 0 6px 28px 0 rgba(41,29,40,0.08);
  align-items: flex-start;
  gap: 12px;
  max-width: 650px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: #ba310e;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.19rem;
  color: #232a37;
  margin-bottom: 18px;
}

/* ===== FLEX LAYOUTS (MANDATORY) ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px 22px 18px 14px;
  box-shadow: 0 3px 18px 0 rgba(41,29,40,0.09);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.28s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(217, 79, 42, 0.17), 0 1.5px 10px 0 rgba(41,29,40,0.04);
  transform: translateY(-3px) scale(1.013);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== FEATURE GRID (on index) ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin-top: 16px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px 29px 14px 20px;
  box-shadow: 0 7px 22px rgba(217,79,42,0.10), 0 1.5px 6px rgba(41,29,40,0.05);
  padding: 26px 21px 18px 21px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #ba310e;
  transition: box-shadow 0.22s, border-color 0.18s, transform 0.18s;
  position: relative;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 12px 24px 0 rgba(35,42,55,0.13);
  border-left: 6px solid #d94f2a;
  transform: translateY(-6px) scale(1.04);
  z-index: 1;
}
.feature-grid img {
  width: 52px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1.5px 8px #e0cbb2aa);
}
.feature-grid h3 {
  font-size: 1.2rem;
  color: #ba310e;
  margin-bottom: 6px;
}
.feature-grid p {
  color: #232a37;
  font-size: 1rem;
  line-height: 1.4;
}
.feature-grid span {
  display: inline-block;
  background: #e0cbb2;
  color: #232a37;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 2px 11px;
  border-radius: 8px;
  margin-top: 6px;
}

/* ===== ABOUT / FEATURES LIST ===== */
.about ul,
.features ul,
.services ul, .about ol, .features ol, .services ol {
  margin-bottom: 16px;
  margin-left: 2em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about ul li,
.features ul li,
.services ul li,
.about ol li, .features ol li, .services ol li {
  font-size: 1rem;
  color: #232a37;
  padding-left: 0.14em;
}
.about ul li::marker,
.features ul li::marker,
.services ul li::marker {
  color: #ba310e;
  font-size: 1.1em;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #e0cbb2;
  border-radius: 24px 34px 30px 18px;
}
.testimonials .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials .content-wrapper {
  width: 100%;
  align-items: center;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  background: #fff;
  gap: 20px;
  padding: 20px 32px 18px 32px;
  border-radius: 22px 14px 26px 20px;
  margin-bottom: 20px;
  min-width: 280px;
  box-shadow: 0 1.5px 10px 0 rgba(41,29,40,0.04);
  border-left: 5px solid #ba310e;
  color: #232a37;
  transition: box-shadow 0.21s, border-color 0.17s, transform 0.13s;
}
.testimonial-card blockquote {
  background: none;
  color: #232a37;
  border: none;
  padding: 0;
  font-size: 1.16rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-family: 'Montserrat', sans-serif;
  color: #ba310e;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(185,49,14,0.13),0 1.5px 10px 0 rgba(41,29,40,0.09);
  border-left: 7px solid #d94f2a;
  transform: translateY(-3px) scale(1.017);
}

/* ===== CTA SECTIONS ===== */
.cta {
  background: #ba310e;
  color: #fff;
  border-radius: 22px 14px 28px 20px;
  padding: 40px 0 35px 0;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.cta p {
  color: #fff;
  font-size: 1.16rem;
  margin-bottom: 12px;
}
.cta .cta-btn {
  background: #fff;
  color: #ba310e !important;
  margin-left: 0;
  border-radius: 30px 12px 30px 12px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #e0cbb2;
  color: #ba310e !important;
}

/* ===== CONTACT SECTION ===== */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.contact .text-section a {
  text-decoration: underline;
}

/* ===== TABLE STYLES (Services) ===== */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 11px 16px 13px 11px;
  box-shadow: 0 2px 10px 0 rgba(35,42,55,0.07);
  margin: 24px 0 16px 0;
  overflow: hidden;
}
table thead tr {
  background: #ba310e;
  color: #fff;
}
table th, table td {
  text-align: left;
  padding: 12px 19px;
  font-size: 1rem;
}
table td {
  color: #232a37;
}
table tr:nth-child(even) td {
  background: #e0cbb241;
}
table th {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  background: #232a37;
  color: #fff;
  padding: 38px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 46px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-right: 18px;
  margin-bottom: 8px;
  border-radius: 6px;
  padding: 2px 4px;
  transition: background 0.21s, color 0.21s;
}
footer a:hover, footer a:focus {
  background: #ba310e;
  color: #fff;
}
footer .text-section {
  font-size: 0.94rem;
  color: #e0cbb2;
  margin-bottom: 8px;
}
footer .text-section a {
  color: #e0cbb2;
  text-decoration: underline;
}
footer .text-section a:hover, footer .text-section a:focus {
  color: #fff;
  text-decoration: none;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232a37;
  color: #fff;
  z-index: 6000;
  box-shadow: 0 -2px 18px #232a37cc;
  padding: 22px 18px 22px 120px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.33s ease, opacity 0.19s;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  flex: 4 1 410px;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  border-radius: 18px 10px 16px 10px;
  background: #ba310e;
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  margin: 0 2px;
  font-size: 0.97rem;
  cursor: pointer;
  box-shadow: 0 2.5px 9px 0 rgba(185,49,14,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #d94f2a;
  color: #fff;
  outline: none;
  box-shadow: 0 3px 15px rgba(217,79,42,0.13);
}
.cookie-btn.secondary {
  background: #e0cbb2;
  color: #232a37;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fff;
  color: #ba310e;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 12px 24px 12px;
    gap: 16px;
    font-size: 0.98rem;
  }
  .cookie-actions {
    gap: 10px;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(35,42,55,0.83);
  z-index: 6500;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #232a37;
  border-radius: 20px 15px 21px 13px;
  padding: 40px 32px 34px 32px;
  min-width: 290px;
  max-width: 95vw;
  box-shadow: 0 6px 36px #ba310e22, 0 1.5px 10px rgba(41,29,40,0.11);
  position: relative;
}
.cookie-modal h3 {
  color: #ba310e;
  font-size: 1.22rem;
  margin-bottom: 15px;
}
.cookie-modal .cookie-cat {
  margin-bottom: 20px;
  font-size: 1rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-label {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #232a37;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 21px;
  background: #e0cbb2;
  border-radius: 21px;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #ba310e;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2.5px; left: 2.5px;
  height: 16px; width: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1.5px 4px 0 #ba310e29;
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-modal .cookie-actions {
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 14px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #ba310e;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #d94f2a;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 920px) {
  .hero .content-wrapper, .about .content-wrapper, .features .content-wrapper, .section .content-wrapper {
    padding: 24px 14px 24px 18px;
  }
  .feature-grid {
    gap: 18px 14px;
  }
  .testimonial-card {
    padding: 14px 12px 12px 14px;
    gap: 11px;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 6px;
  }
  header {
    flex-direction: row;
    padding: 0 7px;
    min-height: 64px;
  }
  .hero {
    padding: 32px 0 22px 0;
    min-height: 220px;
  }
  .hero .content-wrapper {
    border-radius: 18px 12px 18px 12px;
    padding: 18px 4px 14px 10px;
    max-width: 98vw;
  }
  .about, .features, .contact, .section {
    padding: 20px 4px 16px 4px;
    margin-bottom: 38px;
  }
  .feature-grid > div {
    min-width: 150px;
    padding: 14px 8px 10px 8px;
    font-size: 0.97rem;
    border-radius: 10px 19px 11px 13px;
  }
  .feature-grid {
    gap: 11px 8px;
  }
  .testimonial-card {
    border-radius: 12px 7px 14px 12px;
    padding: 10px 6px 8px 12px;
  }
  .cta {
    padding: 20px 0;
    border-radius: 16px 10px 18px 12px;
  }
  .cta h2 {
    font-size: 1.17rem;
  }
  .testimonials {
    border-radius: 13px 10px 16px 10px;
    padding: 24px 0 16px 0;
  }
  footer .content-wrapper {
    gap: 12px 0;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 0.97rem; }
  .testimonial-card {
    padding: 10px 4px 8px 6px;
  }
  .feature-grid > div { max-width: 97vw; }
}

/* ===== MICROINTERACTIONS & ARTISTIC ELEMENTS ===== */
.cta-btn, .card, .feature-grid > div, .testimonial-card, .cookie-btn {
  transition: 
    box-shadow 0.18s cubic-bezier(.44,.07,.28,1.01), 
    background 0.18s, 
    color 0.18s,
    border-color 0.18s,
    transform 0.24s cubic-bezier(.63,.01,.29,1.1);
}
.card::before {
  content: '';
  display: block;
  position: absolute;
  right: 16px; top: 18px;
  width: 24px; height: 24px;
  background: radial-gradient(circle at 70% 60%, #d94f2a22 0, #e0cbb21c 100%);
  z-index: 0;
  border-radius: 50%;
  pointer-events:none;
}
.feature-grid > div::after {
  content: '';
  display: block;
  position: absolute;
  left: 12px; bottom: 8px;
  width: 19px; height: 19px;
  background: radial-gradient(circle at 40% 60%, #e0cbb280 0%, #fff0 100%);
  z-index: 0;
  border-radius: 50%;
}

/* ===== FONT-FACE IMPORTS (Google Fonts or Local) ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* ========== END ========== */