/* ========================
   Arc Étincelant - Tech Futuristic Style
   By Professional CSS/UI Designer
   ======================== */

/* --- RESET & NORMALIZE --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
html, body { height: 100%; background: #181C2C; color: #F0F2F8; font-family: 'Open Sans', Arial, Helvetica, sans-serif; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; outline: none; transition: background .2s, color .2s, box-shadow .2s; }
input, textarea { font-family: inherit; font-size: inherit; border-radius: 6px; border: 1px solid #243368; background: #212849; color: #E6B12C; padding: 10px 14px; margin-bottom: 16px; transition: border .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: #E6B12C; box-shadow: 0 0 0 2px rgba(230,177,44,0.16); }
select { font-family: inherit; font-size: inherit; }

/* --- BRAND VARIABLES (CSS only, no CSS vars) --- */
:root {
  /* Fallbacks for modern browsers */
}

/* --- TYPOGRAPHY --- */
h1 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; font-size: 2.5rem; letter-spacing: .5px; line-height: 1.15; color: #E6B12C; margin-bottom: 20px; }
h2 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 600; font-size: 2rem; letter-spacing: .5px; line-height: 1.18; color: #E6B12C; margin-bottom: 16px; }
h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 500; font-size: 1.25rem; color: #AAD8FF; margin-bottom: 12px; }
h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: #AAD8FF; font-size: 1rem; font-weight: 500; margin-bottom: 8px; }
p, li, address, label, span, blockquote { font-size: 1rem; color: #f0f2f8; }
strong { color: #E6B12C; }
blockquote { font-size: 1.125rem; font-style: italic; border-left: 4px solid #E6B12C; background: #222848; color: #FFF; padding: 18px 28px; margin: 0 0 16px 0; border-radius: 8px; }

/* --- CONTAINER/SECTION LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #212849;
  box-shadow: 0 6px 40px rgba(24,40,120,0.16);
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #212849;
  border-radius: 18px;
  box-shadow: 0 2px 16px #21284960, 0 0px 1px #E6B12C44 inset;
  transition: box-shadow .25s, transform .22s;
}
.card:hover { box-shadow: 0 4px 32px #E6B12C66, 0 0px 2px #E6B12C66 inset; transform: translateY(-2px) scale(1.02); }
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #212849;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(33,50,114,0.12);
  transition: box-shadow .22s, transform .16s;
  min-width: 280px;
  max-width: 400px;
  margin-bottom: 20px;
}
.testimonial-card blockquote { color: #282c44; background: none; border-left: 4px solid #E6B12C; }
.testimonial-card p { color: #212849; margin-top: 12px; }
.testimonial-card:hover { box-shadow: 0 8px 24px #21327230, 0 0 0 #0000; transform: translateY(-2px) scale(1.01); }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, #171E37 0%, #213272 100%);
  border-radius: 0 0 56px 56px;
  box-shadow: 0 12px 60px 10px #2132720F;
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
}
.hero h1 { color: #E6B12C; text-shadow: 0 0 16px #E6B12C52, 0 4px 28px #21327244; font-size: 2.7rem; }
.hero p { color: #AAD8FF; font-size: 1.15rem; margin-bottom: 22px; }
.hero .button-primary { margin-top: 10px; }

/* --- FEATURES/WHY CHOOSE --- */
.features { background: #232B4D; border-radius: 24px; margin-bottom: 60px; padding: 40px 20px; }
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features li {
  background: #161A2D;
  border-radius: 16px;
  box-shadow: 0 3px 16px #21327230;
  padding: 22px 28px 18px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFF;
  font-size: 1.05rem;
  min-width: 220px;
  transition: box-shadow .18s;
}
.features li img { width: 38px; height: 38px; filter: drop-shadow(0 0 4px #E6B12C66); margin-right: 8px; }
.features li:hover { box-shadow: 0 8px 28px #E6B12C28; }

/* --- SERVICES, CARDS & GRIDS --- */
.services .service-cards, .tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-card, .tip-card {
  background: #232B4D;
  color: #E6B12C;
  border-radius: 16px;
  box-shadow: 0 2px 18px #21327228;
  padding: 30px 26px;
  min-width: 230px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .18s;
}
.service-card:hover, .tip-card:hover {
  box-shadow: 0 8px 26px #E6B12C72, 0 -2px 8px #21327222;
  transform: translateY(-2px) scale(1.01);
}
.service-card h3, .tip-card h3 {
  color: #AAD8FF;
  font-size: 1.18rem;
}
.service-card p, .tip-card p {
  color: #F0F2F8;
}

/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(100deg, #213272 50%, #E6B12C 120%);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 54px 0 40px 0;
  text-align: center;
  box-shadow: 0 4px 28px #E6B12C18;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta h2 { color: #fff; text-shadow: 0 1px 4px #21327258; font-size: 2.1rem; }
.cta .button-primary { margin-top: 14px; }

/* --- GUIDES, ARTICLES, FILTERS --- */
.guides ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.guides .highlighted-guide {
  background: #243368;
  border-left: 5px solid #E6B12C;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 2px 12px #21327222;
  margin-bottom: 16px;
}
.filter-options {
  margin: 10px 0 0 0;
}
.filter-options button {
  background: #213272;
  color: #E6B12C;
  border: none;
  border-radius: 6px;
  margin-right: 8px;
  margin-bottom: 4px;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 12px #21327244;
  transition: background .22s, color .22s, box-shadow .17s;
}
.filter-options button:hover, .filter-options button:focus {
  background: #E6B12C;
  color: #213272;
}

/* --- EXPERT QUOTES --- */
.expert-quotes blockquote {
  background: #19408C;
  color: #FFF;
  border-left: 4px solid #E6B12C;
  font-size: 1.13rem;
  margin: 12px 0 0 0;
}

/* --- FOOTER --- */
footer {
  background: #171E37;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 40px 0 #21327218;
  margin-top: 60px;
  padding: 40px 0 14px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #E6B12C;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color .14s;
}
footer nav a:hover {
  color: #AAD8FF;
}
.footer-contact p {
  font-size: 1rem;
  color: #AAD8FF;
  margin-top: 10px;
  line-height: 1.5;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #191F37;
  box-shadow: 0 4px 32px 2px #21327216;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 75px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E6B12C;
  font-weight: 500;
  font-size: 1rem;
  opacity: .88;
  transition: color .18s, opacity .16s;
}
header nav a:hover, header nav a.active {
  color: #AAD8FF;
  opacity: 1;
}
header img { height: 52px; }

/* --- PRIMARY BUTTONS --- */
.button-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #171E37;
  background: linear-gradient(90deg,#E6B12C 60%,#FFD642 100%);
  box-shadow: 0 2px 16px #E6B12C78;
  border-radius: 8px;
  padding: 13px 38px;
  margin-left: 22px;
  border: none;
  text-shadow: 0 1px 8px #FFD64218;
  letter-spacing: .8px;
  transition: background .18s, color .2s, box-shadow .19s, transform .13s;
  margin-bottom: 0;
}
.button-primary:hover, .button-primary:focus {
  color: #213272;
  background: linear-gradient(90deg,#FFD642 20%, #E6B12C 90%);
  box-shadow: 0 8px 32px #FFD64244;
  transform: translateY(-1px) scale(1.03);
}

/* --- SECONDARY/OUTLINE BUTTONS --- */
.button-secondary, .filter-options button, .category-filter button {
  color: #AAD8FF;
  background: #213272;
  border: 1.5px solid #E6B12C;
  border-radius: 7px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 15px;
  margin-top: 10px;
  box-shadow: 0 2px 8px #21327255;
  transition: background .22s, color .22s, box-shadow .15s, border-color .16s;
}
.button-secondary:hover, .category-filter button:hover, .category-filter button.active {
  background: #E6B12C;
  color: #213272;
}

.category-filter { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.category-filter button { min-width: 90px; }

/* --- POLICY/TEXT PAGE STYLES --- */
.policy, .thanks {
  background: #1D223B;
  margin-bottom: 60px;
  padding: 50px 20px 40px 20px;
  border-radius: 22px;
  box-shadow: 0 4px 32px #21327222;
}
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol { margin-left: 22px; }
.text-section li { margin-bottom: 8px; }

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #212849;
  border-radius: 14px;
  padding: 24px 22px;
  margin: 16px 0 0 0;
  box-shadow: 0 2px 10px #21327218;
}
.faq-list dt {
  color: #E6B12C;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 8px;
  font-size: 1rem;
}
.faq-list dd {
  color: #AAD8FF;
  margin-left: 12px;
  margin-bottom: 8px;
  font-size: .98rem;
}
#faq-search {
  margin: 10px 0 12px 0;
  font-size: 1em;
  width: 100%;
  background: #212849;
  color: #E6B12C;
  border-radius: 8px;
  border: 1.5px solid #213272;
}

/* --- FORMS --- */
.contact-form, .inputs-overview {
  background: #232B4D;
  border-radius: 16px;
  box-shadow: 0 2px 12px #21327222;
  padding: 28px 18px 14px 18px;
  margin-bottom: 32px;
}
.contact-form h2, .contact-form h3 { color: #AAD8FF; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: #1D223B;
  color: #AAD8FF;
  border: 1.5px solid #213272;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #E6B12C; }

/* --- TEAM/TRUST/ABOUT SECTIONS --- */
.team, .about, .trust-signals {
  background: #232B4D;
  border-radius: 16px;
  box-shadow: 0 2px 12px #21327222;
  margin-bottom: 60px;
  padding: 36px 20px;
}
.team .content-wrapper, .about .content-wrapper, .trust-signals .content-wrapper {
  gap: 12px;
}
.trust-signals ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-signals li {
  background: #171E37;
  color: #E6B12C;
  border-radius: 13px;
  box-shadow: 0 2px 12px #E6B12C24;
  padding: 18px 18px 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  transition: box-shadow .13s;
  margin-bottom: 14px;
}
.trust-signals li img { width: 32px; height: 32px; margin-right: 8px; filter: drop-shadow(0 0 3px #E6B12C99); }

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #E6B12C;
  color: #171E37;
  border-radius: 7px;
  font-size: 2.2rem;
  padding: 3px 22px 6px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 10px #E6B12C41;
  z-index: 120;
  transition: background .17s, color .18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFD642;
  color: #213272;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,28,44,0.98);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.63,1.4,.39,1.01), transform .23s;
  transform: translateX(100%);
  box-shadow: -8px 0 36px #21327236;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E6B12C;
  color: #171E37;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 18px 24px 8px 0;
  border-radius: 7px;
  box-shadow: 0 2px 10px #FFD64222;
  padding: 4px 18px;
  transition: background .15s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #FFD642; color: #213272; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 34px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #E6B12C;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  transition: color .23s, background .13s, opacity .15s;
}
.mobile-nav a:hover { color: #AAD8FF; background: none; }

@media (max-width:1100px) {
  .container { max-width: 96vw; }
  .footer-contact p { font-size: .93rem; }
}
@media (max-width:900px) {
  .container { max-width: 100vw; }
  header nav, header .button-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width:768px) {
  .section, .features, .services, .cta, .team, .about, .trust-signals, .policy, .thanks { padding: 20px 8px 18px 8px; }
  header .container { flex-direction: row; gap: 12px; min-height: 52px; }
  .card-container, .services .service-cards, .tip-cards, .trust-signals ul, .features ul { flex-direction: column; gap: 16px; }
  .content-grid, .testimonial-carousel { flex-direction: column; gap: 16px; }
  .testimonial-card, .service-card, .tip-card { min-width: unset; max-width: 100%; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .hero, .cta { padding: 28px 0 22px 0; }
  .policy, .thanks { padding: 14px 4px; }
  footer { padding: 20px 0 7px 0; }
  footer .container { flex-direction: column; gap: 18px; }
  .content-wrapper { gap: 12px; }
}
@media (max-width:500px) {
  .hero h1, .cta h2 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 8px; }
  .footer-contact p { font-size: .89rem; }
}

/*--- TESTIMONIAL CAROUSEL (Flex wrap) ---*/
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 22px;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #212849;
  color: #E6B12C;
  padding: 22px 12px 16px 12px;
  z-index: 500;
  box-shadow: 0 -2px 26px #21327255;
  transition: transform .23s, opacity .19s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(100%); }
.cookie-banner p { font-size: .98rem; margin-right: 20px; color: #E6B12C; }
.cookie-banner .cookie-btn { margin: 0 7px; font-family: 'Montserrat',sans-serif; font-weight: 600; font-size: 1rem; border-radius: 7px; padding: 10px 26px; background: #E6B12C; color: #171E37; box-shadow: 0 1px 6px #E6B12C33; border: none; transition: background .18s, color .18s; }
.cookie-banner .cookie-btn:hover { background: #FFD642; color: #213272; }
.cookie-banner .cookie-settings { background: none; color: #E6B12C; text-decoration: underline; border: none; padding: 11px 10px; margin-left: 8px; font-size: .99rem; }
.cookie-banner .cookie-settings:hover { color: #AAD8FF; text-decoration: underline; }

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 600;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,28,44,0.80);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #212849;
  color: #E6B12C;
  border-radius: 16px;
  box-shadow: 0 4px 38px #21327266;
  max-width: 420px;
  width: 95vw;
  padding: 36px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalFadeIn .33s;  
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(.92) translateY(60px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 { color: #AAD8FF; font-size: 1.18rem; margin-bottom: 6px; }
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal label { color: #E6B12C; font-weight: 500; }
.cookie-modal input[type='checkbox'] {
  accent-color: #E6B12C;
  width: 18px;
  height: 18px;
}
.cookie-modal .essential {
  color: #6c7ab1;
  font-size: .95rem;
  margin-left: 8px;
}
.cookie-modal .cookie-btn { margin: 8px 4px 0 0; }
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  color: #E6B12C;
  font-size: 1.75rem;
  border: none;
  border-radius: 5px;
  transition: background .12s, color .15s;
  padding: 2px 10px;
}
.cookie-modal .close-modal:hover { color: #AAD8FF; background: #21327233; }

@media (max-width:600px) {
  .cookie-modal { max-width: 98vw; padding: 18px 8px 16px 8px; }
  .cookie-modal .close-modal { top: 7px; right: 10px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* --- UTILITIES --- */
.mt-3 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.ml-2 { margin-left: 16px !important; }
.w-100 { width: 100%; }
.hide { display: none !important; }
.show { display: block !important; }

/* --- Z-INDEXes --- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 500; }

/* --- ANIMATIONS --- */
.button-primary, .cookie-btn, .service-card, .tip-card, .testimonial-card, .features li, .trust-signals li, .category-filter button, .filter-options button {
  transition: box-shadow .22s, background .22s, color .18s, transform .17s, opacity .13s;
}

/* --- ACCESSIBILITY FOCUS --- */
a:focus,
button:focus {
  outline: 2.5px dashed #E6B12C;
  outline-offset: 2px;
}

/* --- END OF STYLE --- */
