/* =========================================================================
   0. CSS RESET (normalize, box sizing, remove outlines, etc.)
   ========================================================================= */
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, 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;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #14191F;
  color: #F9FAFB;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
a {
  color: #80bd76;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #4CB17C;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F9FAFB;
  letter-spacing: 0.02em;
}
::-webkit-scrollbar {
  width: 10px;
  background: #232D36;
}
::-webkit-scrollbar-thumb {
  background: #1B3145;
  border-radius: 16px;
}

/* =========================================================================
   1. ROOT VARIABLES (color and font scale)
   ========================================================================= */
:root {
  --color-primary: #1B3145; /* Blue dark */
  --color-secondary: #2E8B57; /* Urban green */
  --color-accent: #F9FAFB; /* Near-white */
  --color-bg: #14191F; /* Dark background */
  --color-card: #232D36; /* Card & panel background */
  --color-metallic: #8B939B; /* Steel accent */
  --color-boxshadow: rgba(36,46,55,0.16);
  --color-link: #80bd76;
  --radius-main: 14px;
  --radius-card: 12px;
  --shadow-main: 0 2px 16px rgba(27,49,69,0.18);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.12);
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.75rem;
}

/* =========================================================================
   2. CORE LAYOUT & CONTAINER CLASSES
   ========================================================================= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9FAFB;
  color: #1B3145;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(44,51,60,0.10);
  font-size: var(--font-size-md);
  transition: transform 0.17s, box-shadow 0.18s;
}
.testimonial-card strong {
  font-weight: 700;
  color: #2E8B57;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 6px 18px rgba(44,51,60,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* =========================================================================
   3. TYPOGRAPHY
   ========================================================================= */

h1 {
  font-family: var(--font-display);
  font-size: var(--font-size-xxl);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-accent);
}
h2 {
  font-size: var(--font-size-xl);
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--color-metallic);
}
h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  color: var(--color-accent);
}
h4, h5, h6 {
  font-size: var(--font-size-md);
  color: var(--color-metallic);
}
p {
  font-size: var(--font-size-md);
  margin-bottom: 14px;
  color: var(--color-accent);
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}
.text-section ul, .content-wrapper ul {
  margin: 0 0 24px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section li, .content-wrapper li {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-section li img, .content-wrapper li img {
  width: 22px;
  height: 22px;
}
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================================================================
   4. HEADER, MAIN NAVIGATION & CTA BUTTONS
   ========================================================================= */
header {
  width: 100%;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(32, 42, 51, 0.09);
  position: relative;
  z-index: 30;
}
nav {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 18px;
}
nav > ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav > ul li {
  list-style: none;
}
nav > ul li a {
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.17s, color 0.14s;
}
nav > ul li a:hover, nav > ul li a:focus {
  background: var(--color-secondary);
  color: #FFF;
  text-decoration: none;
}
nav img {
  height: 38px;
  width: auto;
  filter: grayscale(0%) brightness(110%) contrast(110%);
}
.cta-btn {
  background: linear-gradient(92deg, #2E8B57 75%, #3F5E67 100%);
  color: #F9FAFB;
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px 0 rgba(46,139,87,0.11);
  letter-spacing: 0.04em;
  border: none;
  transition: background 0.21s, transform 0.13s, box-shadow 0.19s;
  margin-left: 24px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(95deg, #206b41 80%, #45545D 100%);
  transform: translateY(-2px) scale(1.036);
  box-shadow: 0 7px 32px rgba(46,139,87,.21);
  color: #FFF;
  text-decoration: none;
}


/* =========================================================================
   5. RESPONSIVE MOBILE MENU (burger, overlay, transitions)
   ========================================================================= */
.mobile-menu-toggle {
  display: none;
  position: relative;
  font-size: 2.4rem;
  z-index: 100;
  color: #F9FAFB;
  background: none;
  border: none;
  margin-left: 14px;
}
@media (max-width: 1020px) {
  nav > ul, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #1B3145;
  z-index: 110;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.62,.01,.33,1), opacity 0.32s cubic-bezier(.7,.1,.34,.9);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #F9FAFB;
  font-size: 2.4rem;
  z-index: 200;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2E8B57;
}
.mobile-nav {
  width: 100%;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #F9FAFB;
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 16px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.12s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2E8B57;
  color: #F9FAFB;
  text-decoration: none;
  padding-left: 14px;
}

/* =========================================================================
   6. MAIN LAYOUT (Hero, Sections, Cards)
   ========================================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}
.service-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform .13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 5px solid var(--color-secondary);
  position: relative;
}
.service-card h3 {
  color: var(--color-accent);
  font-size: var(--font-size-lg);
  margin-bottom: 6px;
}
.service-card .price {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: var(--font-size-sm);
  margin-top: 4px;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(46,139,87,0.13), 0 2px 8px rgba(0,0,0,.12);
  transform: translateY(-4px) scale(1.01);
}

/* Card grid for any card lists */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  transition: box-shadow 0.16s, transform 0.14s;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(46,139,87,0.11), 0 2px 8px rgba(0,0,0,0.13);
  transform: translateY(-3px) scale(1.01);
}

/* =========================================================================
   7. FOOTER
   ========================================================================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  width: 100%;
  font-size: var(--font-size-sm);
}
footer section {
  padding: 32px 0 12px 0;
  margin-bottom: 0;
}
.footer-menu {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-menu a {
  color: #abb8c3;
  font-size: 1rem;
  padding: 2px 7px;
  transition: color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #2E8B57;
}
.contact-snippet {
  font-size: var(--font-size-xs);
  margin-bottom: 8px;
  color: #C5CED6;
  text-align: center;
}
.contact-snippet a {
  color: var(--color-link);
  word-break: break-word;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #232D36;
  box-shadow: 0 1px 4px rgba(27,49,69,0.13);
  transition: background 0.15s, transform 0.10s;
  justify-content: center;
}
.social-links a:hover, .social-links a:focus {
  background: #2E8B57;
  transform: scale(1.11);
}
.social-links img {
  width: 18px; height: 18px;
}


/* =========================================================================
   8. COOKIE CONSENT BANNER (fixed bottom)
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232D36;
  color: #F9FAFB;
  width: 100vw;
  z-index: 9999;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 -6px 30px rgba(32, 42, 51, 0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  animation: cookie-enter 0.5s cubic-bezier(.62,.01,.33,1) 1;
}
@keyframes cookie-enter {
  from {
    opacity: 0; transform: translateY(60px);
  }
  to {
    opacity: 1; transform: translateY(0);
  }
}
.cookie-banner p {
  margin: 0;
  color: #F9FAFB;
  font-size: var(--font-size-sm);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  background: #2E8B57;
  color: #FFF;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 22px;
  font-size: 1rem;
  margin: 0;
  transition: background 0.19s, box-shadow 0.14s, color 0.14s;
  box-shadow: 0 2px 7px 0 rgba(46,139,87,0.13);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #206b41;
}
.cookie-banner .cookie-settings-btn {
  background: #3F5E67;
  color: #f9fafb;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #2E8B57;
  color: #fff;
}

/* COOKIE MODAL WRAPPER */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,49,69,0.81);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s cubic-bezier(.7,.1,.54,.96);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #232D36;
  color: #F9FAFB;
  border-radius: 18px;
  box-shadow: 0 0 62px rgba(27,49,69, 0.22);
  padding: 40px 24px 24px 24px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.26s cubic-bezier(.62,.01,.83,1) 1;
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #F9FAFB;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-category.essential label {
  color: #8B939B;
  font-weight: 700;
}
.cookie-modal .cookie-category.essential input[type="checkbox"] {
  accent-color: #8B939B;
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  background: #2E8B57;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 22px;
  font-size: 1rem;
  transition: background 0.15s;
  box-shadow: 0 2px 6px 0 rgba(46,139,87,0.13);
}
.cookie-modal .modal-actions button.secondary {
  background: #3F5E67;
  color: #f9fafb;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #206b41;
}


/* =========================================================================
   9. UTILITIES & EFFECTS (shadows, responsive)
   ========================================================================= */
.shadow-main {
  box-shadow: 0 3px 32px var(--color-boxshadow);
}
.bg-metallic {
  background: linear-gradient(91deg, #232D36 87%, #8B939B 100%);
}
.rounded-main {
  border-radius: var(--radius-main);
}

/* =========================================================================
   10. RESPONSIVE DESIGN (mobile-first)
   ========================================================================= */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section, .section {
    padding: 32px 0 35px 0;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .content-wrapper > *:not(:last-child) {
    margin-bottom: 13px;
  }
  .card-container, .content-grid, .card {
    flex-direction: column !important;
    min-width: 0 !important;
  }
  .card, .service-card {
    width: 100%;
    min-width: unset;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    padding: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    flex-direction: row;
    gap: 4px;
    padding: 12px 8px;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  .cta-btn { font-size: 1rem; padding: 10px 6px; }
  section, .section { padding: 20px 0 20px 0; }
  .testimonial-card { font-size: 0.98rem; padding: 10px; }
  .service-card { padding: 15px 10px 13px 11px; }
}

/* =========================================================================
   11. VISUAL HIERARCHY
   ========================================================================= */
.section > .container > .content-wrapper > h2,
.section > .container > .content-wrapper > h1 {
  margin-bottom: 0.7em;
}

/* =========================================================================
   12. MICRO-INTERACTIONS (transitions)
   ========================================================================= */
a, button, .card, .service-card, .testimonial-card, .cta-btn, .social-links a, .cookie-banner button, .mobile-menu-close, .mobile-menu-toggle {
  transition: 
    color .13s linear,
    background .14s,
    transform .16s cubic-bezier(.67,.28,.6,.97),
    box-shadow .15s cubic-bezier(.48,.17,.48,.91);
}

/* =========================================================================
   13. FORMS & WIDGETS (future-proofing)
   ========================================================================= */
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #232D36;
  border: 1.5px solid #8B939B;
  color: #F9FAFB;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border .16s;
}
input:focus, textarea:focus {
  border-color: #2E8B57;
  outline: none;
  background: #20272f;
}

/* =========================================================================
   14. Z-INDEX LAYERING
   ========================================================================= */
header { z-index: 30; }
.mobile-menu, .mobile-menu.open { z-index: 110; }
.cookie-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10000; }

/* =========================================================================
   15. ACCESSIBILITY (focus states, readable contrast)
   ========================================================================= */
a:focus, .cta-btn:focus, .cookie-banner button:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* 
   END OF INDUSTRIAL MODERN, FLEXBOX-ONLY CSS STYLESHEET FOR FINTRAVO
*/
