/* === 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #20252a;
  color: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #89B3D3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F5F7FA;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #F5F7FA;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.18);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, span, .price {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #CED7E0;
  font-size: 1rem;
}
strong {
  color: #F5F7FA;
  font-weight: 700;
}

/* === CONTAINER STYLES === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* === NAVBAR / HEADER === */
header {
  background: #1a232c;
  border-bottom: 2px solid #222e39;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}
.logo img {
  height: 45px;
  filter: grayscale(10%) contrast(1.2) drop-shadow(1px 1px 0 #20262e);
}
nav.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #F5F7FA;
  letter-spacing: 0.03em;
  font-size: 1rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.18s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #89B3D3;
  border-bottom: 2px solid #89B3D3;
}
.cta-btn {
  background: linear-gradient(90deg, #163959 80%, #89B3D3 120%);
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border-radius: 5px;
  border: none;
  padding: 13px 32px;
  margin-left: 20px;
  box-shadow: 0 2px 14px 0 rgba(32,45,61,0.16);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.13s;
  outline: none;
  border: 1px solid #314559;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #89B3D3;
  color: #163959;
  box-shadow: 0 2px 20px 0 #16395936;
  transform: translateY(-1px) scale(1.022);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #F5F7FA;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.15s;
  z-index: 1101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #89B3D3;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #1C2530ee;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.54, .23, .36, 1), box-shadow 0.2s;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 35px;
  box-shadow: -3px 0 12px rgba(10,14,18,0.1);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -3px 0 32px #16395955;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: #F5F7FA;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 2020;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #89B3D3;
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 56px 38px 18px 38px;
}
nav.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #F5F7FA;
  font-weight: 600;
  letter-spacing: 0.014em;
  padding: 8px 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.17s, background 0.16s;
  border-radius: 3px;
}
nav.mobile-nav a:focus, nav.mobile-nav a:hover {
  color: #89B3D3;
  background: #233142;
  border-bottom: 2px solid #89B3D3;
}

/* === MAIN === */
main {
  margin-top: 0;
  width: 100%;
  overflow-x: hidden;
  background: #20252a;
}

/* === HERO === */
.hero,
.confirmation {
  background: linear-gradient(88deg, #1a232c 70%, #253245 100%);
  border-bottom: 3px solid #314559;
  color: #F5F7FA;
  padding: 52px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container, .confirmation .container {
  align-items: center;
  justify-content: center;
}
.hero h1, .confirmation h1 {
  font-size: 2.7rem;
  color: #F5F7FA;
}
.hero p, .confirmation p {
  color: #CED7E0;
  font-size: 1.08rem;
}
.hero .cta-btn, .confirmation .cta-btn {
  margin-top: 16px;
}

/* === SECTION WRAPPER SPACING (CRITICAL) === */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* === CARD AND FLEX LAYOUTS === */
.card-container, .service-list, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.card, .service-card, .feature-item, .testimonial-card {
  position: relative;
  margin-bottom: 20px;
}
.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: #F5F7FA;
  color: #163959;
  border-radius: 10px;
  box-shadow: 0 2px 16px #16395923;
  margin-bottom: 20px;
  flex: 1 1 290px;
  border-left: 5px solid #89B3D3;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #163959;
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.44;
}
.testimonial-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #455B75;
  margin-left: 16px;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232b35;
  border-radius: 8px;
  box-shadow: 0 1px 12px #1117220c;
  padding: 22px;
  flex: 1 1 220px;
  border-left: 4px solid #314559;
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: grayscale(25%) brightness(1.14) contrast(1.1);
}

/* === CARD === */
.service-card {
  background: #232b35;
  border-radius: 8px;
  box-shadow: 0 2px 16px 0 #16395921;
  border-left: 5px solid #89B3D3;
  padding: 25px 26px 22px 26px;
  transition: transform 0.19s, box-shadow 0.14s;
  flex: 1 1 285px;
  min-width: 250px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.service-card h3 {
  color: #F5F7FA;
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.service-card .price {
  color: #89B3D3;
  font-weight: 700;
  font-size: 1.04rem;
  background: #1a232c;
  border-radius: 3px;
  padding: 3px 10px 3px 8px;
  margin-top: 6px;
  box-shadow: 0 1px 4px 0 #16395913;
}
.service-card:hover, .service-card:focus {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 4px 24px 0 #16395944;
}

/* === FEATURES UL LIST === */
.features ul, .about-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.features ul li, .about-section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 260px;
  background: #232b35;
  border-radius: 8px;
  padding: 19px 18px;
  font-size: 1rem;
  color: #CED7E0;
  box-shadow: 0 1px 8px #31455913;
  margin-bottom: 0 !important;
  border-left: 4px solid #314559;
  letter-spacing: 0.01em;
}
.features ul li img, .about-section ul li img {
  width: 30px;
  height: 30px;
  filter: grayscale(23%) brightness(1.16) contrast(1.13);
}


/* === ABOUT SECTION === */
.about-section {
  background: #232b35;
  border-radius: 14px;
  box-shadow: 0 2px 16px #16395917;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #CED7E0;
}
.text-section ul {
  gap: 16px;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 0;
}

/* === TABLE (PRICING TABLE) === */
table {
  width: 100%;
  max-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 auto 30px auto;
  background: #232b35;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 #16395913;
  overflow: hidden;
  font-size: 1rem;
}
thead tr {
  background: #163959;
  color: #F5F7FA;
}
tbody tr {
  background: #232b35;
  color: #CED7E0;
}
td, th {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid #2D4157;
}
tr:last-child td {
  border-bottom: none;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
}
table tbody tr:hover, table tbody tr:focus {
  background: #314559;
  color: #F5F7FA;
  transition: background 0.18s;
}

/* === CTA SECTIONS === */
.cta {
  background: linear-gradient(85deg, #163959 85%, #414c59 120%);
  border-radius: 14px;
  box-shadow: 0 2px 24px #16395922;
  margin-bottom: 60px;
  padding: 40px 20px;
  color: #F5F7FA;
  text-align: center;
}
.cta h2 {
  color: #F5F7FA;
}
.cta p {
  color: #CED7E0;
}
.cta .cta-btn {
  margin: 0 auto;
  margin-top: 15px;
}

/* === LEGAL SECTIONS (Privacy, GDPR, Cookie, Terms) === */
.legal-section {
  background: #232b35;
  border-radius: 14px;
  box-shadow: 0 2px 16px #1639591a;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal-section h1 {
  color: #F5F7FA;
  font-size: 2.1rem;
  margin-bottom: 22px;
}
.legal-section h2 {
  color: #89B3D3;
  margin-top: 16px;
  font-size: 1.15rem;
}

/* === CONTACTS DATA SECTION === */
.contacts-data ul {
  margin-bottom: 20px;
}
.contacts-data li {
  margin-bottom: 6px;
}

/* === FOOTER === */
footer {
  background: #1a232c;
  color: #CED7E0;
  padding: 32px 0 18px 0;
  border-top: 2px solid #2D4157;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #89B3D3;
  font-weight: 600;
  margin: 0 5px;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5F7FA;
}
.footer-info {
  text-align: center;
  font-size: 1rem;
  color: #afc7de;
  margin-top: 4px;
  line-height: 1.6;
}
.footer-info a {
  color: #89B3D3;
  text-decoration: underline;
  transition: color 0.13s;
}
.footer-info a:hover {
  color: #F5F7FA;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232B35ee;
  color: #CED7E0;
  border-top: 2px solid #314559;
  box-shadow: 0 -4px 16px #11172222;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 20px 12px 24px 12px;
  z-index: 9999;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s, transform 0.24s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #CED7E0;
  margin-right: 12px;
  max-width: 440px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 4px;
  border: none;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #16395911;
  transition: background 0.17s, color 0.14s, box-shadow 0.18s, transform 0.11s;
  outline: none;
  margin-right: 0;
}
.cookie-accept {
  background: #163959;
  color: #F5F7FA;
  border: 1px solid #314559;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #89B3D3;
  color: #163959;
}
.cookie-reject {
  background: #313b48;
  color: #F5F7FA;
  border: 1px solid #314559;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #232b35;
  color: #CED7E0;
}
.cookie-settings {
  background: #232b35;
  color: #CED7E0;
  border: 1px solid #314559;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #414c59;
  color: #89B3D3;
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 425px;
  padding: 34px 22px 26px 22px;
  background: #232b35;
  border-radius: 16px;
  box-shadow: 0 12px 48px 0 #111728c0;
  z-index: 21000;
  transform: translate(-50%, 80%) scale(0.98);
  opacity: 0;
  transition: opacity 0.23s, transform 0.23s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: #F5F7FA;
  font-size: 1.32rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  background: #1a232c;
  border-radius: 7px;
  padding: 13px 14px;
}
.cookie-modal .cookie-category span {
  font-size: 1rem;
  color: #CED7E0;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #222e39;
  border-radius: 12px;
  position: relative;
  outline: none;
  border: 1px solid #314559;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle:checked {
  background: #89B3D3;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F5F7FA;
  transition: left 0.16s, background 0.18s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 23px;
  background: #163959;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-save {
  background: #163959;
  color: #F5F7FA;
  border: 1px solid #314559;
}
.cookie-modal .cookie-cancel {
  background: #313b48;
  color: #F5F7FA;
  border: 1px solid #314559;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  background: #232b35;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #89B3D3;
  color: #163959;
}
.cookie-modal .cookie-essentials {
  color: #89B3D3;
  font-size: 0.97rem;
  font-weight: 500;
}

/* ======== ANIMATION CLASSES ======== */
.fade-in {
  animation: fadeIn 0.55s cubic-bezier(0.6,.18,.48,1) 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-in-right {
  animation: slideInRight 0.32s cubic-bezier(.54, .23, .36, 1);
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.slide-in-up {
  animation: slideInUp .32s cubic-bezier(.8,.1,.22,.97) 1;
}
@keyframes slideInUp {
  from { opacity: .5; transform: translateY(45px); }
  to   { opacity: 1; transform: translateY(0) }
}

/* ===== MEDIA QUERIES - Responsive ===== */
@media (max-width: 1140px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .service-card {
    min-width: 46vw;
    max-width: 97vw;
  }
  .feature-item {
    min-width: 44vw;
    max-width: 95vw;
  }
  .features ul li, .about-section ul li {
    min-width: 44vw;
  }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    gap: 8px;
    padding: 10px 9px;
  }
  nav.main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 8px;
    padding: 11px 18px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero, .confirmation {
    padding: 36px 0 34px 0;
    text-align: left;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.42rem;
  }
  main .container, .container {
    padding: 0 8px;
  }
  section, .section, .about-section, .cta, .legal-section {
    padding: 30px 6px 28px 6px;
    margin-bottom: 38px;
    border-radius: 8px;
  }
  .card-container, .service-list, .feature-grid, .features ul, .about-section ul {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.97rem;
  }
  .feature-item, .service-card {
    min-width: 92vw !important;
    max-width: 96vw !important;
    width: 100%;
    padding: 17px 10px 15px 12px;
  }
  .features ul li, .about-section ul li {
    min-width: 89vw;
    max-width: 99vw;
    width: 100%;
    padding: 15px 10px;
  }
  table {
    font-size: 0.99rem;
    max-width: 98vw;
  }
  nav.mobile-nav {
    padding: 48px 16px 8px 18px;
  }
}
@media (max-width: 520px) {
  .hero h1, .confirmation h1 {
    font-size: 1.2rem;
  }
  .service-card, .feature-item, .testimonial-card {
    padding: 10px 6px 10px 6px;
    font-size: .98rem;
  }
  .section, section {
    padding: 18px 2px !important;
  }
  .cta-btn {
    padding: 8px 12px;
    font-size: .92rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 14px 8px 16px 8px;
    text-align: left;
  }
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.mt-3 {
  margin-top: 24px;
}
.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.hide { display: none !important; }
.fade-hide { opacity: 0 !important; pointer-events: none; }
.show { display: block !important; opacity: 1 !important; }

/* === Custom Scrollbar for Style Consistency === */
::-webkit-scrollbar {
  width: 10px;
  background: #20252a;
}
::-webkit-scrollbar-thumb {
  background: #314559;
  border-radius: 6px;
}

/* === Selection color === */
::selection {
  background: #89B3D3;
  color: #163959;
}

/* === END === */
