/* ======================= CSS RESET & NORMALIZE ======================= */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; outline: none; }
html, body { height: 100%; }
body { min-height: 100vh; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; height: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 8px; text-align: left; }
input, button, select, textarea { font: inherit; }

/* ======================= BRAND VARIABLES (No CSS Custom Props for max compatibility) ======================= */
/* Colors: */
/*   Primary: #14364B (Deep blue/navy)   Secondary: #6B9FA2 (Cool blue/green)   Accent: #F1F7FA (Very light blue/off white)   Black: #181A1B   Neon: #41F1C2   Danger: #EE3366   Border: #253348 */

/* ======================= TYPOGRAPHY ======================= */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #0F222C;
  color: #F1F7FA;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F1F7FA;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; color: #41F1C2; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p, ul, ol, table, .text-section, .content-wrapper {
  font-size: 1rem;
  color: #E2EDF4;
}
strong, b { font-weight: 700; color: #FFF; }
a { color: #41F1C2; text-decoration: none; }
a:hover, a:focus { color: #6B9FA2; text-decoration: underline; }

/* ======================= LAYOUT CONTAINERS ======================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ======================= TECH FUTURISTIC STYLES ======================= */
.hero {
  background: linear-gradient(135deg, #14364B 65%, #286980 100%);
  border-bottom: 3px solid #41F1C2;
  box-shadow: 0 8px 32px 0 rgba(20,54,75,0.24);
  padding: 54px 0 44px 0;
  position: relative;
}
.hero h1 { color: #41F1C2; text-shadow: 0 2px 12px rgba(65,241,194,0.13), 0 1px 1px #132e39; }
.hero p { color: #fff; }
.hero .button { margin-top: 14px; }

.features {
  background: #14364B;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(36, 69, 101, 0.09);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature {
  background: #202F3B;
  border-radius: 12px;
  padding: 24px 18px;
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 330px;
  box-shadow: 0 2px 12px rgba(65,241,194,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #1AB1A3;
  margin-bottom: 20px;
  transition: border-color 0.25s, box-shadow 0.2s;
}
.feature:hover, .feature:focus-within {
  border-color: #41F1C2;
  box-shadow: 0 4px 20px 0 #41f1c24d,0 2px 10px #0e596b2a;
  z-index: 1;
}
.feature img {
  height: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px #41F1C2c0);
}
.feature h3 {
  font-size: 1.13rem;
  color: #41F1C2;
  margin-bottom: 6px;
}

.about-preview {
  padding: 40px 20px;
  background: #14425D;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #28698033;
  margin-bottom: 60px;
}

.text-section ul li,
ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 11px;
  color: #D0F7EE;
}
.text-section ul li:before, ul li:before {
  content: '';
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 8px;
  background: #41F1C2;
  box-shadow: 0 0 8px #41F1C2cc;
  border-radius: 50%;
}

.testimonials {
  background: #14364B;
  border-radius: 18px;
  box-shadow: 0 2px 12px #41F1C215;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #9da4a7;
  color: #181A1B;
  border-radius: 14px;
  box-shadow: 0 3px 14px #41F1C22a;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1.5px solid #41F1C2;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 28px #6B9FA244,0 3px 18px #41f1c224;
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #14364B;
  font-weight: 600;
}
.testimonial-footer span:last-child {
  color: #41F1C2;
  font-weight: 700;
  font-size: 1.13em;
  letter-spacing: 0.01em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #202F3B;
  border: 1.5px solid #253348;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px #13e0ed15;
  padding: 24px;
  position: relative;
  transition: border-color 0.2s;
}
.card:hover, .card:focus-within { border-color: #41F1C2; }

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======================= BUTTONS & INTERACTIVE ======================= */
.button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 13px 36px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-weight: 600;
  line-height: 1.1;
  display: inline-block;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 1.5px 10px 0 #2ce6c344;
  background: #14364B;
  color: #F1F7FA;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.15s;
}
.button.primary {
  background: #41F1C2;
  color: #14364B;
  text-shadow: 0 0 12px #fff4;
  box-shadow: 0 2px 16px #41F1C243, 0 1px 6px #14e0ea19;
}
.button.primary:hover,
.button.primary:focus {
  background: #6B9FA2;
  color: #F1F7FA;
  box-shadow: 0 3px 22px #41f1c273, 0 2px 8px #6b9fa21a;
  transform: translateY(-2px) scale(1.025);
}
.button.secondary {
  background: #14425D;
  color: #41F1C2;
  border: 1.5px solid #41F1C2;
}
.button.secondary:hover,
.button.secondary:focus {
  background: #41F1C2;
  color: #14364B;
  box-shadow: 0 2px 14px #41f1c284;
  transform: scale(1.025);
}
.button.danger {
  background: #EE3366;
  color: #fff;
  border: none;
}
.button.danger:hover,
.button.danger:focus {
  background: #c41443;
  color: #fff;
}

/* Focus outline */
.button:focus, a:focus-visible {
  outline: 2px solid #41F1C2;
  outline-offset: 2px;
}

/* ======================= NAVIGATION ======================= */
header {
  background: #0F222C;
  border-bottom: 2.5px solid #14364B;
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 10px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F1F7FA;
  font-size: 1.05em;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 6px;
  transition: color 0.15s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #41F1C2;
  background: #13334F;
}
.main-nav img {
  height: 42px;
  margin-right: 11px;
}

/* Hide mobile toggle by default */
.mobile-menu-toggle {
  display: none;
  background: #14364B;
  color: #41F1C2;
  font-size: 2rem;
  padding: 8px 22px;
  border: none;
  border-radius: 8px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
  position: relative;
  z-index: 101;
}
.mobile-menu-toggle:focus {
  background: #286980;
  color: #fff;
}

/* ======================= MOBILE NAV & ANIMATION ======================= */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; height: 100vh;
  width: 100vw; /* Full-viewport */
  background: rgba(18, 34, 48, 0.95);
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.73,-0.07,.37,1.12);
  z-index: 120;
  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: transparent;
  border: none;
  font-size: 2.2rem;
  color: #41F1C2;
  align-self: flex-end;
  margin: 22px 26px 12px 0;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 125;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F1F7FA;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 38px 40px 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: #F1F7FA;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 17px 11px 17px 0px;
  border-radius: 7px;
  font-weight: 600;
  letter-spacing: 0.035em;
  transition: color 0.14s, background 0.12s;
  border-bottom: 1.3px solid #13334f35;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #132e39;
  color: #41F1C2;
}
/* Hide on desktop */
@media (min-width: 990px) {
  .mobile-menu, .mobile-menu-toggle { display: none; }
}

/* ======================= FOOTER ======================= */
footer {
  background: #0F222C;
  border-top: 2.5px solid #14364B;
  padding: 34px 0 20px 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-main img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #41F1C2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6B9FA2;
}
.footer-contact {
  font-size: .975em;
  color: #7CD1CA;
  margin-top: 7px;
}
.footer-contact a { color: #6B9FA2; }
.footer-contact a:hover { color: #41F1C2; }

/* ======================= FORMS & INPUTS ======================= */
input[type="text"], input[type="email"], textarea {
  background: #202F3B;
  color: #F1F7FA;
  border: 1.5px solid #41F1C2;
  border-radius: 7px;
  padding: 11px 17px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #6B9FA2;
}
.faq-search input[type="text"] {
  background: #14364B;
  color: #fff;
  border: 1.5px solid #41F1C2;
  border-radius: 30px;
}

/* ======================= TABLES ======================= */
table th {
  background: #14425D;
  color: #41F1C2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  font-weight: 600;
}
table td {
  background: #202F3B;
  color: #F1F7FA;
}
table tr {
  border-bottom: 1.2px solid #13334f38;
}
table tr:last-child { border-bottom: none; }
table {
  margin-bottom: 26px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 12px #41f1c227;
  min-width: 320px;
}

.price {
  font-size: 1.08em;
  color: #41F1C2;
  font-weight: 700;
  margin-left: 8px;
}

/* ======================= CTA & PROMO ======================= */
.contact-cta, .cta-contact, .cta-faq, .cta-pricing, .thanks {
  background: linear-gradient(120deg, #14425D  68%, #1AB1A3 120%);
  border-radius: 18px;
  box-shadow: 0 2px 32px #41f1c219;
  margin-bottom: 60px;
  color: #fff;
}

/* ======================= FAQ ACCORDION ======================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #14425D;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #41f1c216;
  padding: 18px 20px;
  margin-bottom: 10px;
  transition: box-shadow 0.18s, background 0.18s;
}
.faq-item h3 {
  color: #41F1C2;
  margin: 0 0 8px 0;
  font-size: 1.13rem;
}
.faq-answer {
  color: #E2EDF4;
  font-size: 0.99em;
  margin-top: 8px;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

/* ======================= POLICY & LEGAL PAGES ======================= */
.policy {
  background: #202F3B;
  border-radius: 18px;
  box-shadow: 0 2px 16px #4fdbeb13;
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* ======================= CONTACT, ADDRESS, MAP ======================= */
.contact-details .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.contact-info-block,
.address-map,
.opening-hours {
  background: #14425D;
  border-radius: 9px;
  box-shadow: 0 2px 10px #41f1c215;
  padding: 21px 27px;
  flex: 1 1 240px;
  min-width: 200px;
  color: #F1F7FA;
  font-size: 1.02em;
  margin-bottom: 20px;
}
.address-map img {
  width: 38px;
  margin-right: 13px;
  float: left;
  filter: drop-shadow(0 0 8px #41F1C2a0);
}
.opening-hours strong { color: #41F1C2; }

.service-item {
  background: #202F3B;
  border-radius: 13px;
  border: 1.5px solid #41F1C2;
  box-shadow: 0 2px 10px #41f1c210;
  margin-bottom: 23px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.17s, border-color 0.16s;
}
.service-item:hover {
  border-color: #6B9FA2;
  box-shadow: 0 5px 22px #41f1c278, 0 2px 8px #6b9fa20a;
}

.benefits ul li img {
  width: 25px;
  margin-right: 12px;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px #41F1C299);
}

.faq-teaser {
  background: #13334F;
  color: #41F1C2;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px #14e0ea2f;
  padding: 22px 17px;
  margin-top: 18px;
}
.faq-teaser ul li {
  color: #B8F9EF;
}
.faq-teaser a.button.secondary {
  margin-top: 12px;
}

/* ======================= RESPONSIVE BREAKPOINTS ======================= */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 990px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-main { flex-direction: column; gap: 28px; }
}
@media (max-width: 850px) {
  .feature-grid, .content-grid, .testimonials .content-wrapper, .card-container, .contact-details .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .testimonial-card, .contact-info-block, .address-map, .opening-hours {
    min-width: unset;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section, .about-preview, .hero, .policy, .contact-cta, .cta-contact, .cta-faq, .cta-pricing, .thanks {
    padding: 28px 8px;
    border-radius: 11px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid, .testimonials .content-wrapper, .about-preview .content-wrapper, .contact-details .content-wrapper {
    flex-direction: column;
    gap: 17px;
  }
  .content-wrapper, .text-section {
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-main {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .hero { padding: 44px 0 28px 0; }
}

@media (max-width: 570px) {
  .container { padding: 0 7px; }
  .hero { padding: 29px 0 20px 0; }
  .section, .policy, .about-preview, .contact-cta, .contact-details, .cta-contact { padding: 17px 4px; }
  .testimonial-card, .card, .service-item { padding: 13px 10px; }
}

/* ======================= COOKIE CONSENT BANNER ======================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2002;
  width: 100vw;
  background: #14364B;
  color: #F1F7FA;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 42px;
  padding: 18px 24px;
  box-shadow: 0 -3px 16px #14e0ea33;
  font-size: 1rem;
  animation: banner-fadein 0.41s cubic-bezier(.71,-0.16,.51,1.14);
}
@keyframes banner-fadein {
  0% { opacity: 0; transform: translateY(66px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0 18px 0 0;
  color: #F1F7FA;
  font-size: 1em;
  max-width: 420px;
}
.cookie-banner .button {
  margin-right: 8px;
  min-width: 138px;
}
.cookie-banner .button:last-child { margin-right: 0; }
.cookie-banner .button.settings {
  background: #202F3B;
  border: 1.5px solid #6B9FA2;
  color: #41F1C2;
}
.cookie-banner .button.settings:hover { background: #6B9FA2; color: #fff; }

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 7px;
  }
  .cookie-banner p { margin: 0 0 8px 0; }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2040;
  background: rgba(14, 34, 44, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: modal-fadein 0.23s cubic-bezier(.7,-0.17,.46,1.11);
}
@keyframes modal-fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #202F3B;
  color: #F1F7FA;
  border-radius: 13px;
  box-shadow: 0 4px 44px #41f1c253, 0 1px 14px #1ab1a330;
  padding: 34px 24px 21px 24px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-contentin 0.41s cubic-bezier(.69,-0.09,.44,1.12);
}
@keyframes modal-contentin {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1;}
}
.cookie-modal-content h3 {
  color: #41F1C2;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-modal-content .cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-modal-content .cookie-cat input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #41F1C2;
  margin-right: 6px;
}
.cookie-modal-content .cookie-cat .always-on {
  color: #41F1C2;
  padding-left: 8px;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 17px;
  margin-top: 14px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #41F1C2;
  font-size: 1.7rem;
  position: absolute;
  right: 33px; top: 24px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
}

@media (max-width: 470px) {
  .cookie-modal-content {
    padding: 16px 4px 10px 8px;
    max-width: 99vw;
  }
}

/* ======================= ANIMATIONS & MICROINTERACTIONS ======================= */
.button, .feature, .card, .testimonial-card, .service-item, .faq-item, .main-nav a, .mobile-nav a {
  transition: background 0.17s, color 0.17s, border-color 0.17s, box-shadow 0.18s, transform 0.15s;
}

/* Hover accents for cards */
.card:hover, .testimonial-card:hover, .service-item:hover {
  box-shadow: 0 6px 28px #41f1c236, 0 2px 10px #6B9FA226;
  border-color: #41F1C2;
  transform: scale(1.016);
}

/* ======================= UTILITY SPACING ======================= */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }

/* ======================= HIDE FOR JS DISABLED (ex for cookie modal) ======================= */
.js-hidden { display: none !important; }

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