/* 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
:focus {
  outline: 2px solid #F25C05;
  outline-offset: 2px;
}

/* BRAND VARIABLES & FALLBACKS */
:root {
  --primary: #002147;
  --secondary: #F25C05;
  --accent: #FFFFFF;
  --border-radius: 12px;
  --shadow: 0 2px 16px rgba(34,34,34,.06);
  --shadow-card: 0 2px 10px rgba(0,33,71,0.08);
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap: 20px;
  --gap-lg: 32px;
  --transition: 0.2s cubic-bezier(.77,0,.175,1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
}
.content-grid, .model-grid, .feature-grid, .team-list, .testimonial-list {
  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: #f8f9fb;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  color: #222;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 18px 18px 18px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 210px;
}

/* HERO SECTION */
.hero, .thank-you-hero, .premieres-hero {
  padding: 72px 0 56px 0;
  background: var(--accent);
  text-align: left;
}
.hero h1, .thank-you-hero h1, .premieres-hero h1 {
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p, .thank-you-hero p, .premieres-hero p {
  font-size: 1.18rem;
  margin-bottom: 32px;
  color: #333;
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--secondary);
  border-radius: 34px;
  border: none;
  box-shadow: 0 2px 10px rgba(242,92,5,0.08);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #d14e04;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(242,92,5,0.14);
}

/* HEADER */
header {
  background: var(--accent);
  border-bottom: 1px solid #e9e9ef;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 1rem;
  transition: color var(--transition), background var(--transition);
}
header nav a.active, header nav a:focus, header nav a:hover {
  background: #f3f7fa;
  color: var(--secondary);
}
header img {
  height: 38px;
  width: auto;
  margin-right: 20px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--accent);
  border: none;
  font-size: 2em;
  padding: 7px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  margin-left: 12px;
  display: none;
  z-index: 40;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #d14e04;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,33,71,0.96);
  color: var(--accent);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: var(--accent);
  font-size: 2em;
  border: none;
  margin: 24px 0 0 24px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1100;
  transition: color var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 36px 0 0 32px;
  width: 100%;
  gap: 12px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.25rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  padding: 13px 0 13px 0;
  border-radius: 6px;
  width: 100%;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(242,92,5,0.05);
}

/* MAIN CONTENT STRUCTURE */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

/* FEATURES & CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item img {
  height: 42px;
  width: auto;
  margin-bottom: 8px;
}

.model-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.model-item {
  flex: 1 1 230px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin-bottom: 20px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-list, .article-list, .team-list, .review-list > ul, .tips-list ul, .privacy-policy ul, .terms-section ul, .stats ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-list li, .article-list li, .review-list ul li, .tips-list ul li, .team-list li {
  background: #f8f9fb;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 18px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-list li:hover, .article-list li:hover, .review-list ul li:hover, .tips-list ul li:hover {
  box-shadow: 0 7px 28px rgba(0,33,71,0.10);
  transform: translateY(-3px) scale(1.01);
}

.news-list a, .article-list a, .review-list ul a, .tips-list ul a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  transition: color var(--transition);
}
.news-list a:hover, .article-list a:hover, .review-list ul a:hover, .tips-list ul a:hover {
  color: #c64801;
}

.team-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.team-list li {
  flex: 1 1 240px;
}

/* FILTERS & SORTING */
.filters, .sorting, .category-filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filters ul, .sorting ul, .category-filters ul {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.filters a, .sorting a, .category-filters a {
  padding: 7px 14px;
  border-radius: 8px;
  background: #f4f6f9;
  color: var(--primary);
  font-size: 0.97rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.filters a:hover, .sorting a:hover, .category-filters a:hover, .filters a.active, .sorting a.active, .category-filters a.active {
  background: var(--secondary);
  color: var(--accent);
}

/* TESTIMONIALS */
.testimonials .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #f8f9fb;
  color: #2b313a;
  box-shadow: 0 2px 12px rgba(0,21,71,.08);
  font-size: 1.13rem;
  min-width: 210px;
  border-left: 4px solid var(--secondary);
  margin-bottom: 0;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(0,33,71,0.13);
  border-color: #c64801;
}
.testimonial-card strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-top: 12px;
}

/* FOOTER */
footer {
  background: #fafbfc;
  border-top: 1px solid #e9e9ef;
  padding: 32px 0 24px 0;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  gap: var(--gap-lg);
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--primary);
  padding: 4px 2px;
  border-radius: 4px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover {
  color: var(--secondary);
  background: #f3f7fa;
}
.footer-contact {
  color: #444;
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.10rem;
  color: #222;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin: 0;
}
.contact-map-placeholder {
  background: #f4f6fb;
  padding: 16px;
  border-radius: var(--border-radius);
  color: #48526b;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 28px;
}

/* FAQ */
.map-faq ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.map-faq li {
  padding: 12px 17px;
  background: #f9fafb;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  color: #222;
}
.map-faq strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}
.map-faq span {
  color: #383838;
}

/* POLICY & LEGAL SECTIONS */
.privacy-policy, .rodo-section, .cookies-policy, .terms-section {
  padding: 40px 0;
}
.privacy-policy h1, .rodo-section h1, .terms-section h1, .cookies-policy h1 {
  margin-bottom: 20px;
}
.privacy-policy ul, .terms-section ul, .rodo-section ul, .cookies-policy ul {
  gap: 16px;
  margin-bottom: 16px;
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0,33,71,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 20px 16px;
  font-size: 1rem;
  border-top: 1px solid #e7eaf0;
  justify-content: center;
  transition: transform var(--transition), opacity var(--transition);
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 300px;
  color: #212838;
  max-width: 700px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 24px;
  cursor: pointer;
  background: var(--secondary);
  color: var(--accent);
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-btn.settings {
  background: #e5ecf2;
  color: var(--primary);
  border: 1px solid #dbdfe9;
}
.cookie-banner .cookie-btn.reject {
  background: #e5ecf2;
  color: #a91f00;
  border: 1px solid #dbdfe9;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #d14e04;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #fcf8f4;
  color: var(--secondary);
}
.cookie-banner .cookie-btn.reject:hover {
  background: #faeaea;
  color: #d02a00;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,33,71,0.23);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  transition: opacity .22s cubic-bezier(.32,0,.67,1);
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 40px rgba(0,33,71,0.14);
  padding: 36px 30px 28px 30px;
  min-width: 330px;
  max-width: 97vw;
  color: #212838;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.37rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: #f6f7fb;
  padding: 13px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #213252;
}
.cookie-category label {
  font-weight: 500;
  margin-left: 8px;
}
.cookie-toggle {
  margin-left: auto;
  appearance: none;
  width: 42px; height: 24px;
  border-radius: 14px;
  background: #dfdfdf;
  position: relative;
  outline: none;
  transition: background .18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px; left: 3px;
  transition: left .18s;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.cookie-toggle:checked::before {
  left: 21px;
}
.cookie-toggle[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 8px 22px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--secondary);
  color: #fff;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .cookie-btn.cancel {
  background: #e5ecf2;
  color: #002147;
  border: 1px solid #dbdfe9;
}
.cookie-modal .cookie-btn.cancel:hover {
  background: #fcf7f4;
  color: var(--secondary);
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #d14e04;
  color: #fff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 920px) {
  header .container, footer .container {
    flex-direction: column;
    gap: var(--gap);
    align-items: flex-start;
  }
  .team-list, .model-grid, .feature-grid, .testimonial-list {
    flex-direction: column;
  }
  .model-item, .feature-item, .testimonial-card {
    min-width: 190px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  h3 {
    font-size: 1.03rem;
  }
  .hero, .thank-you-hero, .premieres-hero {
    padding: 36px 0 24px 0;
  }
  main > section, .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 6px;
  }
  .feature-grid, .model-grid, .testimonial-list, .team-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .model-item, .testimonial-card {
    width: 100%;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header nav, footer nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 550px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 3px;
    gap: 12px;
  }
  .cookie-banner .cookie-banner-content {
    max-width: 98vw;
    font-size: 0.97rem;
  }
}

/* MICRO-INTERACTIONS/ANIMATIONS */
.cta-btn, .news-list li, .article-list li, .review-list ul li, .feature-item, .card, .testimonial-card, .model-item {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
}

/* HIDE SCROLL ON BODY WHEN MOBILE MENU/COOKIE MODAL IS OPEN (to be toggled via JS) */
body.mobile-menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* ACCESSIBILITY: HIGH CONTRAST FOR TESTIMONIALS/REVIEWS */
.testimonial-card, .review-list ul li, .testimonial-card p, .review-list ul li p {
  background: #f8f9fb;
  color: #24282e;
}

/* UTILITY GAPS */
.gap-xs { gap: var(--gap-xs) !important; }
.gap-sm { gap: var(--gap-sm) !important; }
.gap { gap: var(--gap) !important; }
.gap-lg { gap: var(--gap-lg) !important; }

/* Decorative only: prevent cards overlapping (supersafe) */
.card, .feature-item, .model-item, .testimonial-card {
  z-index: 1;
}

/* Hide visually but keep for screen readers */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
