/* ===== 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #101626;
  color: #e8eaf5;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ====== BRAND FONT IMPORTS ====== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #25476a;
  --color-secondary: #e2b877;
  --color-accent: #f4f8fb;
  --color-bg-dark: #101626;
  --color-bg-gradient-start: #22304e;
  --color-bg-gradient-end: #151b29;
  --color-text: #e8eaf5;
  --color-text-dark: #171c24;
  --color-neutral: #a1accb;
  --color-neon: #35ffff;
  --color-error: #ea5151;

  --font-display: 'Nunito', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-main: 0 4px 28px 0 rgba(37, 71, 106, 0.19);
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
  color: var(--color-text);
  min-height: 100vh;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1124px;
  margin: 0 auto;
  padding: 0 18px;
}

main {
  margin-top: 0;
  margin-bottom: 60px;
}

/***** HEADER & NAVIGATION *****/
header {
  width: 100%;
  background: rgba(16,22,38, 0.97);
  box-shadow: 0 2px 16px rgba(30,42,73,0.07);
  position: sticky;
  top: 0;
  z-index: 800;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
header .container > a img {
  height: 47px;
  filter: drop-shadow(0 0 6px #171f2a22);
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 6px 13px;
  border-radius: 8px;
  color: var(--color-text);
  opacity: 1;
  position: relative;
  transition: color 0.15s, background 0.15s, box-shadow 0.3s;
  letter-spacing: 0.01em;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  color: var(--color-neon);
  background: rgba(53,255,255,0.07);
}
nav .cta.primary {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 2px 14px 0 rgba(226,184,119,0.12);
  border-radius: 29px;
  padding: 9px 24px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  position: relative;
}
nav .cta.primary:hover, nav .cta.primary:focus {
  background: #fdeeb6;
  color: var(--color-primary);
  box-shadow: 0 6px 24px 0 rgba(226,184,119,0.2);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: var(--color-secondary);
  padding: 9px 16px;
  border-radius: 50%;
  border: none;
  transition: background 0.15s, color 0.15s;
  z-index: 1301;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(226,184,119,0.13);
  color: var(--color-neon);
}

/***** MOBILE NAVIGATION OVERLAY *****/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 33, 53, 0.99);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 32px 0 rgba(30,42,73,0.13);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-secondary);
  background: rgba(37,71,106,.05);
  padding: 13px 20px;
  border-radius: 50%;
  margin: 18px 0 0 22px;
  align-self: flex-start;
  z-index: 1701;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(226,184,119,0.18);
  color: var(--color-neon);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 48px 0 0 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-text);
  padding: 10px 0;
  letter-spacing: 0.01em;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  background: rgba(37,71,106,0.08);
}

/***** HERO SECTION *****/
.hero {
  margin-bottom: 60px;
  padding: 40px 0 44px 0;
  background: linear-gradient(135deg, #293f5a 0%, #375386 100%);
  border-bottom: 1.5px solid #213450;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #f4f8fb;
  text-shadow: 0 3px 24px #25476a33, 0 1px 0 #15243b80;
}
.hero .subheadline {
  font-size: 1.21rem;
  font-family: var(--font-body);
  color: var(--color-accent);
  margin-bottom: 8px;
}

/***** MAIN SECTIONS & LAYOUT PATTERNS *****/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/**** FLEX CONTAINER PATTERNS ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 360px;
  background: #18243a;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.13s;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 42px 0 #25476a44;
  transform: translateY(-5px) scale(1.025);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1e2f4d;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 20px;
}

/***** LIST & GRID FEATURES *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin: 32px 0 0 0;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #18243a;
  color: #e8eaf5;
  border-radius: var(--radius-md);
  padding: 34px 24px 26px 24px;
  box-shadow: 0 2px 16px 0 #25476a13;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1.04rem;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, background 0.13s, transform 0.12s;
}
.feature-grid li img {
  width: 52px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 7px var(--color-neon));
}
.feature-grid li strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-secondary);
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 7px 34px #35ffff3a;
  background: #233458;
  transform: translateY(-3px) scale(1.03);
}

.article-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.article-grid li {
  flex: 1 1 210px;
  background: #1e2f4d;
  color: #f4f8fb;
  font-size: 1.01rem;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 1px 11px #25476a0d;
  margin-bottom: 20px;
  transition: background 0.13s, transform 0.13s;
}
.article-grid li strong {
  color: var(--color-secondary);
}
.article-grid li:hover, .article-grid li:focus {
  background: #253962;
  transform: translateY(-2px) scale(1.03);
}

/***** CARDS, TIPS, VALUES, PREVIEWS *****/
.about-preview, .contact-cta, .service-highlights {
  background: linear-gradient(110deg, #203050 0%, #274c81 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 28px #25476a29;
}
.about-preview h2, .contact-cta h2 {
  color: var(--color-secondary);
}
.contact-info-preview p,
.contact-details p,
.address-block p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-accent);
}
.contact-info-preview img, .contact-details img, .address-block img {
  width: 22px; filter: drop-shadow(0 0 6px #35ffff66);
}

/***** FAQ SECTION *****/
.faq {
  background: #19223a;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 40px 20px;
}
.faq-block h3 {
  font-size: 1.21rem;
  font-family: var(--font-display);
  color: var(--color-neon);
  margin: 18px 0 4px 0;
  font-weight: 700;
}
.faq-block p {
  font-size: 1.02rem;
  color: var(--color-neutral);
  margin-bottom: 12px;
}

/***** TESTIMONIAL CARD *****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px 0 #e2b8770b;
  margin: 32px 0 0 0;
  max-width: 680px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.12rem;
  margin: 0;
  font-weight: 700;
}
.testimonial-card cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.99rem;
  color: #6e5932;
  margin-left: 16px;
  align-self: flex-end;
}

/**** LEGAL SECTION ****/
.legal {
  background: #101626;
  color: #e8eaf5;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 38px 18px;
}
.legal h1, .legal h2 {
  color: var(--color-secondary);
}

/**** THANK YOU PAGE ****/
.thank-you {
  background: linear-gradient(120deg, #24385a 5%, #253962 93%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px #25476a25;
  color: #f4f8fb;
}
.thank-you h1 { color: var(--color-secondary); }
.thank-you .cta.primary { margin-top: 12px; }

/***** BUTTONS, LINKS, CTA *****/
.cta, .cta.primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  background: var(--color-secondary);
  padding: 11px 32px;
  border-radius: 26px;
  border: none;
  outline: none;
  box-shadow: 0 2px 14px #e2b87732;
  cursor: pointer;
  transition: background 0.22s, color 0.16s, box-shadow 0.19s, transform 0.11s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fdeeb6;
  color: var(--color-primary);
  box-shadow: 0 6px 24px #e2b87740;
  transform: translateY(-1px) scale(1.03);
}

/***** TYPOGRAPHY SCALE *****/
h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.52rem;
  color: var(--color-neon);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.009em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.19rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: var(--color-secondary);
  font-weight: 600;
}
p, li, ul, .content-wrapper, .container {
  color: var(--color-text);
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}

/***** FOOTER *****/
footer {
  background: #151b29;
  padding: 42px 0 18px 0;
  border-top: 2px solid #20305038;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand img {
  width: 68px;
  filter: drop-shadow(0 0 6px #1e3a72a0);
}
.contact-details p {
  font-size: 1rem;
  color: #f4f8fb;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #cce7fb;
  font-family: var(--font-body);
  font-size: 0.99rem;
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(37,71,106,0.07);
  transition: color 0.13s, background 0.2s;
}
.footer-nav a:hover {
  color: var(--color-neon);
  background: rgba(226,184,119,.09);
}

/***** COOKIE CONSENT BANNER (BOTTOM) *****/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #16213a;
  color: #f4f8fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 30px;
  box-shadow: 0 -6px 29px #20305043;
  z-index: 3300;
  animation: slideUp 0.95s cubic-bezier(.13,0,.49,1);
  font-size: 1rem;
}
@keyframes slideUp {
  from {transform: translateY(100%) scale(0.95); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-banner__message {
  flex: 1 1 410px;
  color: #f4f8fb;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-display);
  padding: 8px 19px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.14s;
  margin-left: 0px;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  font-weight: 700;
  box-shadow: 0 2px 14px #e2b87721;
}
.cookie-btn.accept:hover { background: #fdeeb6; color: var(--color-primary); }
.cookie-btn.reject {
  background: #343d56;
  color: #fafcfc;
  font-weight: 500;
  border: 1.2px solid #e2b87777;
}
.cookie-btn.reject:hover { background: #25476a; color: #fdeeb6; }
.cookie-btn.settings {
  background: none;
  color: var(--color-neon);
  font-weight: 700;
  border: 1.2px solid #35ffff;
}
.cookie-btn.settings:hover { background: #1e3a7254; }

/***** COOKIE CONSENT MODAL *****/
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  top: 0; left: 0; width:100vw; height:100vh;
  background: rgba(16,22,38,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.45s cubic-bezier(.12, .8, .4, 1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  min-width: 320px;
  max-width: 94vw;
  width: 420px;
  background: linear-gradient(128deg, #16213a 0%, #25476a 100%);
  color: var(--color-accent);
  border-radius: 23px;
  box-shadow: 0 12px 44px #25476a3e;
  padding: 33px 29px 26px 29px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPop 0.42s cubic-bezier(.11, .63, .8, 1.3);
  position: relative;
}
@keyframes modalPop {
  from {transform: scale(0.85) translateY(35px); opacity: 0;}
  to   {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  color: var(--color-neon);
  text-align: center;
  font-size: 1.3rem;
  font-family: var(--font-display);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #22304e;
  border-radius: 13px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 1.01rem;
}
.cookie-modal .category[aria-disabled="true"] {
  background: #22304e66;
  opacity: 0.75;
}
.cookie-modal .category strong {
  color: var(--color-secondary);
  font-size: 1.08rem;
}
.cookie-modal .toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-modal .toggle input[type="checkbox"] {
  width: 34px; height: 18px;
  accent-color: var(--color-secondary);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  font-size: 1.5rem;
  color: var(--color-accent);
  background: none;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
  width: 100%;
}

/***** RESPONSIVE DESIGN: MOBILE FIRST *****/
@media (max-width: 1200px) {
  .container { max-width: 970px; }
  .card-container, .content-grid, .feature-grid, .article-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 715px; }
  .card, .feature-grid li, .article-grid li {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  header .container { flex-direction: row; justify-content: space-between; }
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .faq, section, .service-highlights, .about-preview, .thank-you, .legal {
    padding: 29px 7vw;
    margin-bottom: 40px;
  }
  .content-wrapper { gap: 18px; }
  .feature-grid, .article-grid, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .feature-grid li, .article-grid li, .card {
    min-width: 0;
    margin-bottom: 18px;
    padding: 25px 13px 19px 13px;
  }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .footer-brand { flex-direction: column; gap: 10px; }
  .cookie-banner { flex-direction: column; gap: 16px; padding: 18px 10px; font-size: 0.99rem; align-items: flex-start; }
}
@media (max-width: 600px) {
  header .container { height: 63px; }
  header .container > a img { height: 34px; }
  .hero { padding: 24px 0 30px 0; }
  .hero .container { min-height: 130px; }
  .content-wrapper { gap: 13px; }
  .footer-brand img { width: 54px; }
  .testimonial-card { padding: 13px; }
  .cookie-modal { width: 94vw; min-width: unset; padding: 19px 7vw 18px 7vw; }
}

/* Hide cookie modal by default */
.cookie-banner, .cookie-modal-overlay { display: none; }
.cookie-banner.show { display: flex; }
.cookie-modal-overlay.show { display: flex; }

/***** TRANSITIONS ANIMATIONS *****/
.cta, .cta.primary, .footer-nav a, nav a, .feature-grid li, .article-grid li, .card {
  transition: all 0.15s;
}

/***** MISC UTILITIES *****/
.muted { color: var(--color-neutral); }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }

/***** END CSS *****/
