/* ============================================================
   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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  background: #F1F5F9;
  color: #223D5C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #C72C41;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A01227;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* ============================================================
   Brand Variables & Gradients
=============================================================== */
:root {
  --color-primary: #223D5C;
  --color-secondary: #F1F5F9;
  --color-accent: #C72C41;
  --color-dark: #181D25;
  --gradient-main: linear-gradient(90deg, #223D5C, #8D99AE);
  --gradient-hero: linear-gradient(120deg, #223D5C 0%, #8D99AE 100%);
  --gradient-accent: linear-gradient(90deg, #C72C41 0%, #A01227 100%);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ============================================================
   Layout Containers with Flexbox
=============================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(34,61,92, 0.06);
}

@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
}

/* ============================================================
   Typography & Headings
=============================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
h4 {
  font-size: 1.2rem;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  color: #21334d;
}
strong, b {
  font-weight: 600;
  color: #223D5C;
}

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

/* Typography Links */
.cta-button, .cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  padding: 14px 32px;
  font-family: var(--font-display);
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 16px rgba(199,44,65,0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  margin-top: 12px;
  margin-bottom: 8px;
  outline: none;
  gap: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #A01227 0%, #C72C41 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(34,61,92,0.15);
}

/* ============================================================
   Header, Navigation, and Logo
=============================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,61,92,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.main-nav .cta-button {
  margin-left: 16px;
  padding: 10px 28px;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-accent);
  cursor: pointer;
  transition: color 0.18s, background 0.2s;
  margin-left: 18px;
  z-index: 103;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A01227;
  background: #F1F5F9;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
  }
}

/* ============================================================
   Mobile Menu Overlay
=============================================================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,61,92,0.98);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  z-index: 200;
  padding-top: 0;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.3rem;
  color: #FFF;
  align-self: flex-end;
  margin: 28px 28px 10px 0;
  cursor: pointer;
  transition: color 0.12s;
  z-index: 205;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.2s, background 0.16s;
  border-radius: 10px;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A01227;
  color: #FFF;
}
@media (max-width: 500px) {
  .mobile-nav {
    padding-left: 18px;
    gap: 18px;
  }
}

/* Disable page scroll when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* ============================================================
   Hero Sections & Major Gradients
=============================================================== */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 80px 0 40px 0;
  margin-bottom: 40px;
  box-shadow: 0 6px 24px rgba(34,61,92,0.07);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero h2, .hero p {
  color: #fff !important;
}
.hero .cta-button {
  background: var(--gradient-accent);
  box-shadow: 0 4px 24px rgba(199,44,65,0.18);
  color: #fff;
}
.hero .cta-button:hover {
  background: #A01227;
}
@media (max-width: 600px) {
  .hero {
    padding: 40px 0 22px 0;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }
}

/* ============================================================
   Feature Cards and Grids
=============================================================== */
.features-grid, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid .feature, .benefits-grid .benefit {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(34,61,92,0.07);
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 200px;
  margin-bottom: 20px;
}
.features-grid .feature:hover, .benefits-grid .benefit:hover {
  box-shadow: 0 8px 24px rgba(199,44,65,0.11);
  transform: translateY(-5px) scale(1.013);
}
.features-grid .feature img,
.benefits-grid .benefit img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.features-grid .feature h3, .benefits-grid .benefit h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .features-grid, .benefits-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* Cards Container Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(34,61,92,0.09);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 30px 18px 26px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(199,44,65,0.10);
  transform: scale(1.017);
}

/* Content Grid Flexbox Layout */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* Text/Image Flex-Sections */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============================================================
   Lists, Tables (Pricing etc.)
=============================================================== */
ul, ol {
  padding-left: 18px;
  margin-bottom: 10px;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 8px;
  position: relative;
}
ul li img {
  margin-right: 8px;
  vertical-align: middle;
}

.service-list li,
.included-services li,
.contact-data li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 17px 0 17px 0;
  box-shadow: 0 2px 16px rgba(34,61,92,0.06);
  border-radius: 14px;
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 8px;
  text-align: left;
}
.pricing-table td {
  padding: 14px 8px;
  border-bottom: 1px solid #e3e9f1;
  background: #fff;
  color: #223D5C;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width:650px) {
  .pricing-table, .pricing-table th, .pricing-table td {
    font-size: 0.92rem;
    padding: 11px 4px;
  }
}

.callout-transparency {
  background: #E6EDF6;
  color: #223D5C;
  padding: 19px 17px 17px 17px;
  border-radius: 13px;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.info-box {
  background: #C72C41;
  color: #fff;
  border-radius: 11px;
  padding: 16px 14px;
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(199,44,65,0.10);
}

/* ============================================================
   Testimonial Cards & Sliders
=============================================================== */
.testimonials-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  background: #FFFFFF;
  color: #223D5C;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34,61,92,0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
  font-size: 1.08rem;
  line-height: 1.5;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(34,61,92,0.12);
  transform: scale(1.025);
}
.testimonial-card strong {
  color: #C72C41;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
}
.stars {
  display: flex;
  flex-direction: row;
  gap: 3px;
  align-items: center;
}
.rating-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.rating-summary p {
  font-size: 1.07rem;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ============================================================
   Thank-you Section & CTA Sections
=============================================================== */
.thank-you, .cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(199,44,65,0.07);
  margin-bottom: 50px;
  padding: 38px 20px 38px 20px;
}
.thank-you h1 {
  color: #C72C41;
  margin-bottom: 12px;
}

.cta {
  background: var(--gradient-main);
  color: #fff;
  margin-bottom: 44px;
}
.cta h3,
.cta p {
  color: #fff;
}
.cta .cta-button {
  margin-bottom: 8px;
  background: #fff;
  color: #C72C41;
  box-shadow: 0 2px 15px rgba(34,61,92,0.11);
}
.cta .cta-button:hover {
  color: #fff;
  background: var(--gradient-accent);
}

/* ============================================================
   Contact & Footer
=============================================================== */
.contact-info, .contact-data {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  margin-top: 8px;
}
.contact-info a {
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 10px;
}
.contact-info img, .contact-data img {
  margin-right: 6px;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 10px 0;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  margin-top: 50px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.87;
  transition: color 0.13s, opacity 0.14s;
  padding: 2px 6px;
  border-radius: 4px;
}
.footer-menu a:hover {
  color: #F6B1B1;
  background: #223D5C;
  opacity: 1;
}
.footer-contact p {
  font-size: 1rem;
  opacity: 0.92;
  margin-bottom: 2px;
  text-align: center;
  color: white;
}

@media (max-width: 700px){
  footer .content-wrapper{
    gap:16px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
}

/* ============================================================
   Responsive Layouts
=============================================================== */
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section, .thank-you, .cta {
    padding: 28px 8px;
    border-radius: 12px;
  }
  footer {
    padding: 18px 0 6px 0;
    margin-top: 30px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
  }
}

@media (max-width: 600px){
  .hero h1 { font-size: 1.35rem; }
}

/* ============================================================
   Animations & Micro-Interactions
=============================================================== */
.cta-button, .main-nav a, .card, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, color 0.14s, transform 0.13s;
}

@media (hover: none) {
  .cta-button:hover, .cta-button:focus, .main-nav a:hover, .main-nav a:focus {
    filter: brightness(1.05);
  }
}

/* ============================================================
   Cookie Consent Banner and Modal
=============================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #223D5C;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 16px 20px 16px;
  gap: 28px;
  z-index: 900;
  box-shadow: 0 2px 18px 0 rgba(34,61,92,0.16);
  animation: slideUpCookie 0.4s cubic-bezier(0.65,0,0.35,1);
}
@keyframes slideUpCookie { from { transform: translateY(75px); opacity:0;} to { transform: translateY(0); opacity:1;}}

.cookie-banner p {
  font-size: 1rem;
  color: #fff;
  margin-right: 10px;
  max-width: 430px;
}
.cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 9px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(199,44,65,0.17);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #A01227 0%, #C72C41 100%);
}
.cookie-btn.reject {
  background: #fff;
  color: #A01227;
  font-weight: 600;
  border: 1px solid #C72C41;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F5EDF0;
  color: #A01227;
}
.cookie-btn.settings {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A01227;
  border-color: #A01227;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction:column;
    align-items:flex-start;
    gap: 15px;
    font-size: 0.98rem;
    padding: 16px 8px 16px 8px;
  }
  .cookie-banner p {
    margin-bottom:4px;
    margin-right: 0;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(34,61,92,0.27);
  z-index: 1200;
  animation: backdropFade 0.24s;
}
@keyframes backdropFade { from{opacity:0;} to{opacity:1;} }

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #223D5C;
  z-index: 1300;
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(34,61,92,0.19);
  padding: 36px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalFadeIn 0.33s cubic-bezier(0.77,0,0.18,1);
}
@keyframes modalFadeIn { from{transform:translate(-50%,30%); opacity:0;} to{transform:translate(-50%,-50%); opacity:1;} }
.cookie-modal h2 {
  color: #223D5C;
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  font-size: 1rem;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #C72C41;
  width: 19px;
  height: 19px;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  width: 120px;
  justify-content: center;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 20px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  color: #A01227;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: #C72C41; }
@media (max-width:450px) {
  .cookie-modal { width:96vw; min-width:0; padding:15px 6px 18px 8px;}
  .cookie-modal h2 { font-size:1.1rem; }
}

/* ============================================================
   Misc Styles & Utilities
=============================================================== */
::-webkit-scrollbar {
  width:8px;
  background:#EAF0F8;
}
::-webkit-scrollbar-thumb {
  background:#C1C9D6;
  border-radius:8px;
}

::-webkit-input-placeholder { color:#BBC4D7; }
::-moz-placeholder { color:#BBC4D7; }
:-ms-input-placeholder {color:#BBC4D7; }
::placeholder {color:#BBC4D7;}

/* Hide visually but keep accessible */
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Utility: Overlap fix for potential card stacking */
.card, .feature, .benefit, .testimonial-card { z-index: 1; }

/* End of style.css */
