/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A252F;
  background: #FAFBFC;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: #1F4E79; text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: #153755; text-decoration: underline; outline: none; }
strong { font-weight: 600; }
ul, ol { list-style-position: inside; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  resize: none;
}
button, [type="button"], [type="submit"] {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* --- COLOR PALETTE --- */
:root {
  --primary: #1F4E79;
  --secondary: #F4B942;
  --accent: #FFFFFF;
  --text: #1A252F;
  --muted: #677586;
  --bg: #FAFBFC;
  --card-bg: #FFFFFF;
  --shadow: 0 3px 24px 0 rgba(50,64,71,0.04);
  --radius: 14px;
  --border: #E2E5EA;
  --focus: #F4B942;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1F4E79;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.18;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
}
@media (max-width: 576px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
}

p, li, th, td {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 13px;
}
p:last-child, li:last-child { margin-bottom: 0; }

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
  align-items: flex-start;
}
@media (max-width: 992px) {
  .container { max-width: 98vw; }
  .content-wrapper { gap: 20px; }
}
@media (max-width: 768px) {
  .content-wrapper { flex-direction: column; gap: 18px; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 11px 0 rgba(31, 78, 121, 0.02);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 111;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 32px;
}
header img {
  height: 48px; width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.18s;
}
header nav a:hover,
header nav a:focus { color: var(--primary); background: #F3F8FA; }
header nav .btn-primary { margin-left: 17px; }

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  padding: 7px 15px;
  line-height: 1;
  border: none;
  outline: none;
  margin-left: 15px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #16395a;
}

/* --- MOBILE NAVIGATION MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(245, 247, 250, .99);
  box-shadow: 0 4px 28px 0 rgba(31, 78, 121, 0.11);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.7,.3,0,1);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  padding: 15px 25px;
  align-self: flex-end;
  cursor: pointer;
  margin-top: 14px;
  margin-right: 10px;
  z-index: 99999;
  border-radius: 6px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4B94222;
}
.mobile-nav {
  width: 100%; max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 12px 30px 30px 34px;
  background: #fff;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  box-shadow: -2px 0 14px 0 rgba(31,78,121,0.09);
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 10px 0;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4B94215;
  color: #1A252F;
}

@media (max-width: 992px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (max-width: 600px) {
  .mobile-nav { max-width: 100vw; padding-left: 20px; }
}

@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-close { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  margin: 15px 0 0 0;
  transition: background 0.18s, box-shadow 0.18s, color 0.17s;
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(31,78,121,0.06);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 18px -5px #1F4E7911;
}
.btn-primary:hover,.btn-primary:focus {
  background: #16395a;
  box-shadow: 0 7px 24px -5px #1F4E7922;
  color: #fff;
}
.btn-secondary {
  background: var(--secondary);
  color: #222;
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 18px -5px #F4B94215;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #e0a427;
  color: #fff;
}

/* --- HERO / INTRO --- */
.hero {
  background: linear-gradient(90deg, #f8fafc 50%, #ffffff 100%);
  padding: 44px 0 24px 0;
  margin-bottom: 5px;
}
.hero h1 { margin-bottom: 18px; }
.hero p { max-width: 650px; margin-bottom: 0; }
.hero .btn-primary { margin-top: 26px; }
@media (max-width: 768px) {
  .hero { padding: 38px 0 18px 0; }
}

/* --- COMMON FLEX/SWITCHERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px 28px 24px 28px;
  margin-bottom: 20px;  
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  border: 1px solid var(--border);
  transition: box-shadow 0.16s, border 0.16s;
}
.card:hover,.card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(31,78,121,0.10);
  border-color: #dee5ef;
}
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 0; }

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 16px; }
}

.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: 18px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  background: #fffbe7;
  border-radius: var(--radius);
  box-shadow: 0 3px 16px 0 rgba(50, 64, 71, 0.10);
  margin-bottom: 20px;
  border: 1.5px solid #f2e7c4;
  max-width: 440px;
  min-width: 230px;
  font-size: 1.09rem;
  color: #302410;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card span { 
  color: #B7882A; font-size: 0.96rem; opacity: 0.9; font-weight: 600; display: block; margin-top: 7px; 
}
.testimonial-card:focus-within, .testimonial-card:hover {
  border-color: #F4B942;
  box-shadow: 0 6px 28px 0 #F4B94222;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 16px;
  margin-top: 0;
}
@media (max-width: 992px) {
  .features ul, .services ul { gap: 20px; }
}
@media (max-width: 768px) {
  .features ul, .services ul { flex-direction: column; gap: 14px; }
}
.features ul li, .services ul li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px 18px 22px;
  flex: 1 1 220px;
  min-width: 200px;
  border: 1px solid var(--border);
}
.features ul li img, .services ul li img { height: 30px; width: auto; margin-bottom: 6px; }
.features ul li h3, .services ul li h3 {
  margin-top: 5px;
  font-size: 1.08rem;
  color: var(--primary);
}
.features ul li p, .services ul li p { margin-bottom: 4px; color: var(--muted); font-size: 0.98rem; }

/* --- SECTION VARIANTS --- */
.trust {
  background: #F8FAFB;
  border-top: 1px solid #eaeef3;
}
.trust .experience_box, .fast_delivery_promise, .integration-options, .no_hidden_fees {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 #e6edf823;
  padding: 18px 25px;
  color: #274360;
  margin-top: 18px;
  font-size: 1.06rem;
  border-left: 5px solid var(--secondary);
  font-weight: 500;
  margin-bottom: 12px;
}
.certifications { display: flex; gap: 16px; align-items: center; margin-top: 0; margin-bottom: 14px; }
.certifications img { height: 34px; width: auto; }
.certifications span { color: var(--primary); font-size: 1.05rem; font-weight: 600; }

.fast_delivery_promise { border-left: 5px solid var(--primary); color: #1F4E79; background: #F7FAFF; }
.integration-options { border-left: 5px solid #54b7c6; background: #EDF7FA; }
.no_hidden_fees { border-left: 5px solid #BDE88A; background: #fafff3; color: #3f5e11; }

.case-studies {
  background: #f3f9ff;
  border-radius: 10px;
  padding: 13px 22px;
  color: #26456f;
  font-weight: 500;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px #e2eefe44;
}
.service-tiers, .optional-addons {
  background: #f8fafb;
  border-radius: 9px;
  padding: 16px 22px;
  margin-top: 18px;
  font-size: 1.04rem;
  color: #274360;
  box-shadow: 0 1px 8px #e8eaea53;
}

/* --- CTA --- */
.cta, .confirmation {
  background: #FFFDEE;
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta h2, .confirmation h1 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 13px;
}
.cta p, .confirmation p { font-size: 1.1rem; color: #6E5D38; }
.cta .btn-primary, .confirmation .btn-primary { margin-top: 25px; }

/* --- FAQ & LISTS --- */
.faq-list {
  background: #f6fafc;
  border-radius: 10px;
  padding: 17px 24px 13px 24px;
  box-shadow: 0 1px 8px #e2eefa22;
  margin-bottom: 20px;
  color: #254c7a;
}
.faq-list ul, .faq-list ol {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 0;
}
.faq-list li { margin-bottom: 5px; font-size: 0.98rem; }
.process ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
  margin-bottom: 16px;
}

/* --- TABLES (PRICING) --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 1px 10px #e2eefa11;
  border-radius: 8px;
  overflow: hidden;
}
table thead tr { background-color: #f1f4f9; }
table th, table td {
  font-size: 0.99rem;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #ecf0f4;
}
table th { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.03rem; color: var(--primary); font-weight: 600; }
table tr:last-child td { border-bottom: none; }
table tbody tr:hover td {
  background: #F6F9FC;
  transition: background 0.15s;
}

/* --- ABOUT / POLICY --- */
.text-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px 0 #e2eefa13;
  flex: 1 1 340px;
  min-width: 210px;
}
.policy .content-wrapper { gap: 18px; }
.policy .text-section h2 { color: #17425C; font-size: 1.14rem; margin-top: 0; }

/* --- CONTACT PAGE --- */
.contact .contact-details, .contact .company-hours, .contact .map-location {
  background: #f7fafc;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 19px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 230px;
  flex: 1 1 250px;
  font-size: 1.05rem;
}
.contact .contact-details img,
.contact .company-hours img, .map-location img {
  height: 25px; margin-right: 10px; flex-shrink: 0;
}

/* --- FOOTER --- */
footer {
  background: #ECEFF3;
  padding: 0 0 20px 0;
  border-top: 1px solid #e2e5ea;
}
footer .container { padding-top: 34px; }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}
footer nav a { color: #294366; font-weight: 500; font-size: 1rem; margin-bottom: 2px; transition: color 0.14s; }
footer nav a:hover,footer nav a:focus { color: #F4B942; }
footer .contact-details {
  background: none;
  box-shadow: none;
  border: none;
  padding: 3px 2px 3px 0;
  color: #2A3B4B;
  font-size: 1rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 210px;
}
footer .contact-details img { height: 17px; width: auto; margin-right: 7px; vertical-align: middle; }
footer .social-links {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 10px;
}
footer .social-links a { display: inline-block; height: 32px; border-radius: 50%; transition: background 0.17s; }
footer .social-links img { height: 32px; width: 32px; }
footer .social-links a:hover,footer .social-links a:focus { background: #ece3c6; }
@media (max-width: 992px) {
  footer .content-wrapper { gap: 20px; }
}
@media (max-width: 768px) {
  footer .content-wrapper { flex-direction: column; gap: 18px; }
}

/* --- FORMS (if any future forms) --- */
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e5ea;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border .12s, box-shadow .14s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #c1dcf7;
  outline: 0;
}
label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 1rem; }

/* --- RESPONSIVE (MOBILE-FIRST) --- */
@media (max-width: 600px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1.01rem; }
  .container { padding: 0 7px; }
  .section, .cta, .confirmation { padding: 24px 7px; }
  .features ul li, .services ul li, .policy .text-section { padding: 14px 9px; }
  .testimonial-card { padding: 14px 9px; }
  .content-wrapper, .features ul, .services ul { gap: 10px; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.btn-primary, .btn-secondary, .mobile-menu, .mobile-menu-close, table tbody tr, .card, .testimonial-card {
  transition: all 0.16s cubic-bezier(.48,.09,.04,1.04);
}
.card:hover, .card:focus-within,
.features ul li:hover, .features ul li:focus-within,
.services ul li:hover, .services ul li:focus-within {
  box-shadow: 0 6px 24px 0 rgba(31,78,121,0.14);
  background: #f8fbfe;
}

/* Highlight focus for accessibility */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 1.5px; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #ffffff;
  border-top: 2.5px solid #F4B942;
  box-shadow: 0 -4px 32px #1F4E7912;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 23px 6vw 18px 6vw;
  z-index: 99999;
  transition: transform 0.35s cubic-bezier(0.6,0,.15,1), opacity 0.16s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  margin: 0;
  padding: 7px 18px;
  font-size: 1rem;
  border-radius: 22px;
}
.cookie-banner .btn-secondary {
  background: #EEF3F9;
  border: 1.5px solid #ddd;
  color: #1F4E79;
}
.cookie-banner .btn-secondary:hover { background: #f4b94217; color: #1A252F; }
.cookie-banner .btn-preferences {
  background: #F4B942;
  color: #222;
  border: 1.5px solid #F4B942;
  border-radius: 22px;
  padding: 7px 18px;
  margin-right: 5px;
  transition: background 0.12s, color 0.12s;
}
.cookie-banner .btn-preferences:hover, .cookie-banner .btn-preferences:focus { background: #FDE4A2; color: #1F4E79; }

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,56,72,0.23);
  z-index: 999999;
  display: flex;
  align-items: center; justify-content: center;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.active {
  visibility: visible;
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 6px 48px #1F4E7926;
  padding: 30px 32px 24px 32px;
  max-width: 92vw;
  min-width: 320px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 100002;
  animation: modalFadeIn 0.28s cubic-bezier(.8,.17,.08,.94);
}
@keyframes modalFadeIn {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal .category label {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
  color: #263c54;
}
.cookie-modal .toggle {
  width: 38px; height: 22px;
  position: relative;
  display: inline-block;
  background: #e4e9ef;
  border-radius: 20px;
  transition: background 0.18s;
}
.cookie-modal .toggle input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0002;
  transition: .18s;
}
.cookie-modal .toggle input:checked + .slider {
  transform: translateX(16px);
  background: var(--secondary);
  box-shadow: 0 1px 3px #f4b94288;
}
.cookie-modal .toggle input:checked ~ .toggle {
  background: var(--secondary);
}
.cookie-modal .category.essential label { color: #b5a61a; }
.cookie-modal .category.essential .toggle { opacity: 0.55; pointer-events: none; }
.cookie-modal .cookie-actions { display: flex; gap: 12px; margin-top: 16px; }

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 9px; background: #f8fafb;
}
::-webkit-scrollbar-thumb {
  background: #E2E5EA;
  border-radius: 7px;
}

/* --- PRINT MEDIA --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* --- ACCESSIBLE HIDE UTIL --- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
