/* =========================================
   Electra Dynamo – Sophisticated Monochrome CSS
   ========================================= */
/* CSS RESET AND NORMALIZATION */
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;
}
section, article, aside, footer, header, nav, main {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #191C20;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
  background-color: #F2F3F5;
}
ul,ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
strong { font-weight: 600; }

/* =========================================
   BRAND PALETTE & MONOCHROME FOUNDATION
   ========================================= */
:root {
  --primary: #0A3769;
  --secondary: #F2F3F5;
  --accent: #FF8200;
  --white: #fff;
  --black: #191C20;
  --gray60: #32373E;
  --gray30: #A6A6A6;
  --gray10: #E8E8EA;
}

/* =========================================
   TYPOGRAPHY (Elegant, Hierarchical)
   ========================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray60);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  color: var(--gray60);
}
p, ul li, ol li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 14px;
}
.text-section em { font-size: 1.125rem; color: var(--primary); }
.tagline-highlight {
  color: var(--gray60);
  font-style: italic;
  background: var(--gray10);
  padding: 12px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  margin: 28px 0 0 0;
}

.price-highlight, .pricing-info {
  color: var(--primary);
  font-weight: 600;
  margin: 16px 0 22px 0;
  font-size: 1.04rem;
}

/* =========================================
   LAYOUT: CONTAINER & SECTION STYLES
   ========================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  /* Add contrast with light subtle shadow */
}
section:last-child { margin-bottom: 0; }
.text-section { max-width: 760px; margin: 0 auto; }

/* =========================================
   HEADER
   ========================================= */
header {
  background: var(--white);
  border-bottom: 1.5px solid var(--gray10);
  position: sticky; top: 0; left: 0; right: 0; z-index: 101;
  box-shadow: 0 0.5px 4px rgba(25,28,32,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px 20px;
}
header img {
  height: 42px; width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--gray60);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color .3s;
  padding: 7px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--primary);
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 28px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(10,55,105,0.08);
  transition: background .3s, color .15s, box-shadow .3s, transform .15s;
  border: 1.5px solid var(--primary);
  outline: none;
  cursor: pointer;
  margin-left: 28px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gray60);
  color: var(--accent);
  box-shadow: 0 4px 18px rgba(25,28,32,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: var(--secondary);
  border-radius: 0 0 20px 20px;
  margin-bottom: 42px;
  box-shadow: 0 3px 16px 0 rgba(10,55,105,0.035);
}
.hero .container {
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: var(--primary);
}
.hero p { color: var(--gray60); }

/* =========================================
   FEATURES SECTION
   ========================================= */
.features {
  background: var(--white);
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--gray10);
  border-radius: 14px;
  padding: 24px 22px 20px 22px;
  min-width: 200px; /* for consistent flex grow */
  min-height: 220px;
  box-shadow: 0 2px 12px rgba(25,28,32,0.04);
  transition: box-shadow .25s, transform .23s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(1) contrast(1.08);
}
.feature-item h3 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 1.14rem;
}
.feature-item p {
  color: var(--gray60);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 30px 0 rgba(25,28,32,0.10);
  transform: translateY(-2px) scale(1.03);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-list {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services-list li {
  background: var(--gray10);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 4px;
  box-shadow: 0 2px 10px rgba(25,28,32,0.04);
}
.services-list strong { color: var(--primary); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  font-size: 1rem;
}
.price-table tr {
  border-bottom: 1px solid var(--gray10);
}
.price-table th, .price-table td {
  padding: 12px 8px;
  text-align: left;
}
.price-table th {
  background: var(--gray10);
  color: var(--gray60);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
.price-table td {
  background: var(--white);
  color: var(--black);
  font-family: 'Roboto', Arial, sans-serif;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  background: var(--white);
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--gray10);
  color: var(--black);
  padding: 20px 28px;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(25,28,32,0.08);
  min-width: 280px;
  min-height: 110px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .24s, transform .13s;
}
.testimonial-card p {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.6;
}
.testimonial-card h4 {
  color: var(--primary);
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(10,55,105,0.15);
  transform: scale(1.02);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--white);
  border-top: 1.5px solid var(--gray10);
  padding: 40px 0 25px 0;
  margin-top: 35px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gray30);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .23s;
  padding: 5px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
}
footer p {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--gray30);
  font-size: 1.02rem;
  margin-top: 2px;
}

/* =========================================
   CARDS (Generic)
   ========================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25,28,32,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  transition: box-shadow .27s, transform .14s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px 0 rgba(25,28,32,0.10);
  transform: translateY(-2px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================================
   CONTENT GRID LAYOUTS (Flexbox Only)
   ========================================= */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* =========================================
   Accessibility contrasts (lists/links/buttons)
   ========================================= */
a, .main-nav a, .footer-nav a { outline: none; }
a:focus, .main-nav a:focus, .footer-nav a:focus, .btn-primary:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================
   MOBILE MENU / BURGER NAVIGATION
   ========================================= */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 2.3rem;
  padding: 2px 19px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, color .1s;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--black);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,28,32,0.98);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(0.65,0,0.35,1);
  z-index: 2001;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 30px 8px 0;
  background: none;
  color: var(--white);
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  z-index: 2100;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 12px 50px;
  border-radius: 10px;
  transition: background .18s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 1100px) {
  .main-nav { gap: 15px; }
  .btn-primary { margin-left: 16px; }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  .main-nav { gap: 8px; }
  .btn-primary { padding: 11px 22px; font-size: 1rem; }
  section { padding: 28px 5px; }
}
@media (max-width: 768px) {
  header .container { padding: 7px 4px; min-height: 54px; }
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; position: absolute; top: 15px; right: 18px; }
  .hero .container { padding-top: 20px; padding-bottom: 20px; }
  .feature-grid, .testimonial-slider { flex-direction: column; gap: 16px; }
  .feature-item, .card, .testimonial-card { min-width: unset; width: 100%; }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
  .footer-nav { gap: 8px; }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px;
  }
}

/* =========================================
   COOKIE CONSENT BANNER/POPUP
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--white);
  z-index: 3200;
  box-shadow: 0 -2px 16px 0 rgba(25,28,32,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  gap: 32px;
  min-height: 60px;
  transition: transform .32s;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.cookie-banner.hide {
  transform: translateY(115%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 1 1 0;
  color: var(--white);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary);
  transition: background .23s, color .23s, border .16s;
  cursor: pointer;
  font-weight: 600;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}
.cookie-btn.reject {
  background: var(--gray30);
  color: var(--black);
  border-color: var(--gray30);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--gray10);
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-btn.settings {
  background: var(--white);
  color: var(--primary);
  border-color: var(--gray30);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 7px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions { gap: 10px; }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed; top:0;left:0;right:0;bottom:0;
  background: rgba(25,28,32,0.68);
  z-index: 3300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .27s;
}
.cookie-modal {
  background: var(--white);
  color: var(--black);
  border-radius: 16px;
  box-shadow: 0 6px 40px 0 rgba(10,55,105,0.18);
  max-width: 400px; width: 94vw;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  z-index: 3400;
  animation: cookie-fade-in .36s cubic-bezier(0.72,0,0.24,1);
}
@keyframes cookie-fade-in {
  0% { transform: scale(.91) translateY(80px); opacity: 0; }
  92% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 23px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  transition: color .2s;
  z-index: 3500;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-category {
  background: var(--gray10);
  border-radius: 9px;
  padding: 13px 16px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 40px; height: 24px;
  border-radius: 12px;
  background: var(--gray30);
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background .19s;
}
.cookie-toggle[data-on="true"] {
  background: var(--primary);
}
.cookie-toggle-knob {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  position: absolute;
  left: 3px; top: 3px;
  transition: left .22s;
}
.cookie-toggle[data-on="true"] .cookie-toggle-knob {
  left: 19px;
}
.cookie-category .cookie-toggle[disabled], 
.cookie-category .cookie-toggle[data-locked="true"] {
  opacity: 0.72;
  pointer-events: none;
}
@media (max-width: 600px) {
  .cookie-modal { padding: 20px 10px 15px 10px; }
}

/* =========================================
   MISCELLANEOUS & UTILITY
   ========================================= */
::-webkit-scrollbar {
  width: 10px; background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--gray10);
  border-radius: 10px;
}

/* Visually distinctive strong, b, em for monochrome drama */
strong, b {
  color: var(--primary);
}
em { color: var(--gray60); font-style: italic; }

/* Tables and lists in text sections */
.text-section ul, .text-section ol {
  padding-left: 22px;
  margin-bottom: 13px;
}
.text-section li { margin-bottom: 7px; color: var(--gray60); }
.text-section a { color: var(--primary); text-decoration: underline; }
.text-section a:hover, .text-section a:focus { color: var(--accent); }

/* Responsive Typography Steps */
@media (max-width: 600px) {
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.06rem; }
  .footer-nav a, .main-nav a, .btn-primary, .cookie-btn { font-size: 0.98rem; }
}

/* =========================================
   FORMATTING OVERLAYS & TRANSITIONS
   ========================================= */
.fade-in {
  animation: fadein-main 0.44s cubic-bezier(0.53,0,0.23,1);
}
@keyframes fadein-main {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

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