/* ==== CSS RESET & BASE ==== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dl,
dt,
dd,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
menu,
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,
main,
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #102432;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img,
picture,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul,
ol {
  list-style: none;
}
strong {
  font-weight: 700;
}

/* ==== VARIABLES (with fallbacks) ==== */
:root {
  --cc-primary: #98191D;
  --cc-primary-rgb: 152,25,29;
  --cc-secondary: #102432;
  --cc-accent: #E6E7EB;
  --cc-white: #fff;
  --cc-black: #181818;
  --cc-shadow: 0 4px 16px rgba(16,36,50,0.06);
  --cc-radius: 10px;
  --cc-radius-card: 14px;
  --cc-radius-lg: 18px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  color: var(--cc-secondary);
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
}
.btn-primary, .btn-secondary {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  outline: none;
  letter-spacing: 0.04em;
  border-radius: var(--cc-radius);
  box-shadow: 0 2px 10px rgba(152,25,29,0.08);
  text-align: center;
}
.btn-primary {
  background: var(--cc-primary);
  color: var(--cc-white);
  border: 2px solid var(--cc-primary);
  padding: 10px 28px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--cc-secondary);
  border-color: var(--cc-secondary);
  color: var(--cc-accent);
  box-shadow: 0 4px 16px rgba(16,36,50,0.08);
}
.btn-secondary {
  background: var(--cc-accent);
  color: var(--cc-secondary);
  border: 2px solid var(--cc-primary);
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 10px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--cc-primary);
  color: var(--cc-white);
  border-color: var(--cc-primary);
}

/* ==== STRUCTURE & CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}
.section,
.hero,
.features,
.services,
.services-detail,
.about,
.about-details,
.testimonials,
.cta,
.cookie-policy,
.privacy-policy,
.gdpr-section,
.terms-service,
.thank-you,
.contact-details {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section,
  .hero,
  .features,
  .services,
  .services-detail,
  .about,
  .about-details,
  .testimonials,
  .cta,
  .cookie-policy,
  .privacy-policy,
  .gdpr-section,
  .terms-service,
  .thank-you,
  .contact-details {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
}

/* ==== HEADER & NAV ==== */
header {
  width: 100%;
  background: var(--cc-white);
  box-shadow: var(--cc-shadow);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 22px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cc-secondary);
  border-bottom: 2px solid transparent;
  padding: 4px 3px;
  transition: color 0.18s, border-color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--cc-primary);
  border-bottom: 2px solid var(--cc-primary);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--cc-primary);
  cursor: pointer;
  margin-left: 14px;
}
@media (max-width: 890px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--cc-white);
  box-shadow: 0 0 0 100vw rgba(16,36,50,0.22);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 38px 28px 32px 28px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,.2,.44,1);
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--cc-primary);
  position: absolute;
  top: 24px;
  right: 26px;
  cursor: pointer;
  z-index: 2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--cc-secondary);
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--cc-accent);
  color: var(--cc-primary);
}
@media (min-width: 891px) {
  .mobile-menu {
    display: none;
  }
}

/* ==== HERO ==== */
.hero {
  background: var(--cc-accent);
  border-radius: var(--cc-radius-lg);
  box-shadow: 0 8px 32px rgba(152,25,29,0.06);
  margin-top: 26px;
}
.hero h1 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cc-primary);
}
.hero p {
  font-size: 1.14rem;
  color: var(--cc-secondary);
}
.hero .btn-primary {
  margin-top: 12px;
}

/* ==== FEATURES & SERVICES ==== */
.features, .services, .services-detail, .about, .about-details, .cta, .cookie-policy, .privacy-policy, .gdpr-section, .terms-service, .thank-you, .contact-details {
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  box-shadow: 0 2px 8px rgba(16,36,50,0.04);
}
.features h2, .services h2 {
  color: var(--cc-primary);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.features ul,
.services ul,
.about ul,
.about-details ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 0;
}
.features ul li,
.services-detail ul li,
.services ul li {
  font-size: 1.13rem;
  padding: 16px 20px;
  background: var(--cc-accent);
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(16,36,50,0.03);
  display: flex;
  align-items: center;
  gap: 15px;
}
.features ul li img {
  width: 28px; height: 28px; display: inline-block;
}
.services-detail ul li h3 span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cc-primary);
  margin-left: 8px;
}
.cta {
  background: var(--cc-primary);
  color: var(--cc-white);
  text-align: center;
  border-radius: var(--cc-radius-lg);
  box-shadow: 0 8px 28px rgba(152,25,29,0.07);
}
.cta h2 {
  color: var(--cc-white);
}
.cta .btn-primary {
  background: var(--cc-white);
  color: var(--cc-primary);
  border: 2px solid var(--cc-white);
}
.cta .btn-primary:hover {
  background: var(--cc-secondary);
  color: var(--cc-white);
  border-color: var(--cc-secondary);
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: var(--cc-accent);
  border-radius: var(--cc-radius-lg);
  box-shadow: 0 2px 10px rgba(16,36,50,0.06);
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--cc-white);
  color: #181818;
  border: 2px solid var(--cc-primary);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(16,36,50,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 230px;
  flex: 1 1 235px;
  margin-bottom: 20px;
}
.testimonial-card span {
  color: var(--cc-primary);
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 0;
}
.testimonial-card div {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #FAAF1A;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==== CARDS & FLEXBOX STRUCTURES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--cc-accent);
  border: 1.5px solid var(--cc-primary);
  border-radius: var(--cc-radius-card);
  box-shadow: 0 2px 8px rgba(16,36,50,0.04);
  display: flex;
  flex-direction: column;
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CONTACT DETAILS ==== */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
  color: var(--cc-secondary);
}
.contact-details .map-placeholder {
  background: var(--cc-accent);
  border: 2px dashed var(--cc-secondary);
  border-radius: 12px;
  padding: 22px;
  margin-top: 12px;
  margin-bottom: 14px;
  text-align: center;
  color: var(--cc-secondary);
}

/* ==== FOOTER ==== */
footer {
  background: var(--cc-accent);
  box-shadow: 0 -2px 8px rgba(16,36,50,0.03);
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 26px 15px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  font-size: 0.98rem;
  color: var(--cc-secondary);
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
  padding: 2px 1px;
}
.footer-nav a:hover {
  color: var(--cc-primary);
  border-bottom: 2px solid var(--cc-primary);
}
footer p {
  font-size: 0.95rem;
  color: var(--cc-secondary);
  text-align: center;
}
@media (max-width: 500px) {
 footer .container {
   padding: 22px 4px;
 }
 .footer-nav {
   flex-direction: column;
   gap: 8px;
 }
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10300;
  background: var(--cc-white);
  border-top: 2px solid var(--cc-primary);
  box-shadow: 0 -2px 14px rgba(152,25,29,0.07);
  width: 100vw;
  padding: 18px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.85,.18,.58,1);
  transform: translateY(0);
}
#cookie-banner.hide, .cookie-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  max-width: 1000px;
  flex: 1;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--cc-radius);
  border: 2px solid var(--cc-primary);
  padding: 7px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn-accept {
  background: var(--cc-primary);
  color: var(--cc-white);
}
.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: var(--cc-secondary);
  border-color: var(--cc-secondary);
}
.cookie-btn-reject {
  background: var(--cc-white);
  color: var(--cc-primary);
}
.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  background: var(--cc-secondary);
  color: var(--cc-white);
}
.cookie-btn-settings {
  background: var(--cc-accent);
  color: var(--cc-secondary);
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: var(--cc-primary);
  color: var(--cc-white);
}
@media (max-width: 680px) {
  #cookie-banner, .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 4px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }
}

/* Cookie preferences modal */
#cookie-modal, .cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10400;
  justify-content: center;
  align-items: center;
  background: rgba(16, 36, 50, 0.52);
  animation: fadeIn 0.45s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--cc-white);
  border-radius: var(--cc-radius-lg);
  padding: 40px 22px;
  box-shadow: 0 10px 40px rgba(16,36,50,0.2);
  width: 100%;
  max-width: 425px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: var(--cc-primary);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal h2, .cookie-modal h3 {
  font-family: 'Orbitron', 'Roboto', Arial;
  color: var(--cc-primary);
  margin-bottom: 3px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}
.cookie-modal-category label {
  font-size: 1.03rem;
  color: var(--cc-secondary);
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 44px; height: 20px;
  background: var(--cc-accent);
  border-radius: 10px;
  outline: none; cursor: pointer;
  position: relative;
  transition: background 0.15s;
  border: 1.5px solid var(--cc-primary);
}
.cookie-toggle:checked {
  background: var(--cc-primary);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: var(--cc-white);
  border-radius: 50%;
  position: absolute;
  top: 1.2px;
  left: 2px;
  transition: left 0.18s, background 0.2s;
}
.cookie-toggle:checked::before {
  left: 24px;
  background: var(--cc-accent);
}
.cookie-modal-footer {
  margin-top: 13px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1100px) {
  html { font-size: 15px; }
  .container { max-width: 97vw; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.08rem; }
  .main-nav, .footer-nav { gap: 12px; }
  .hero, .features, .services, .services-detail, .about, .about-details, .testimonials, .cta, .cookie-policy, .privacy-policy, .gdpr-section, .terms-service, .thank-you, .contact-details {
    margin-bottom: 32px;
    padding: 20px 4px;
  }
}
@media (max-width: 430px) {
  html { font-size: 14px; }
  .btn-primary, .btn-secondary {
    font-size: 0.96rem;
    padding: 8px 10px;
  }
  .hero h1, h1 {
    font-size: 1.3rem;
  }
}

/* ==== GEOMETRIC STRUCTURED VISUALS ==== */
.section,
.hero,
.features,
.services,
.services-detail,
.about,
.about-details,
.testimonials,
.cta,
.cookie-policy,
.privacy-policy,
.gdpr-section,
.terms-service,
.thank-you,
.contact-details {
  /* Angular effect with geometric pattern in background (SVG or gradients would be used ideally, but fallback to solid color for compatibility) */
  background: var(--cc-accent);
  border-radius: var(--cc-radius-lg);
  border: 2px solid rgba(16,36,50,0.07);
}

hr {
  border: none;
  height: 2px;
  background: var(--cc-primary);
  margin: 24px 0;
  border-radius: 4px;
}

/* Accent geometric shapes (decorative, absolute, only use for decor, not content) */
.geometric-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background: var(--cc-primary);
  border-radius: 8px;
}

/* ==== ANIMATION & MICROINTERACTIONS ==== */
a, button, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  transition: background 0.17s, color 0.16s, border 0.16s, transform 0.16s, box-shadow 0.16s;
}
.btn-primary:hover, .btn-secondary:hover, .cookie-btn-accept:hover, .cookie-btn-reject:hover {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 3px 12px rgba(16,36,50,0.13);
}
a:focus, button:focus {
  outline: 2px dashed var(--cc-primary);
  outline-offset: 3px;
}

/* ==== GEOMETRIC ANGULAR FONT (Orbitron) Fallback ==== */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: local('Orbitron Regular'), local('Orbitron-Regular'),
       url('https://fonts.gstatic.com/s/orbitron/v30/yMJRMIlzdpvBhQQL_Qq7dys.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

/* ==== UTILITY ==== */
.hide { display: none !important; }
.visible { display: block !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.jc-center { justify-content: center; }

/* ==== ACCESSIBILITY ==== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ==== END OF STYLE.CSS ==== */
