/* RESET & BASE TYPOGRAPHY */
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #29334D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}
:root {
  --primary: #1A3C6D;
  --secondary: #F5F7FA;
  --accent: #E49722;
  --text: #29334D;
  --shadow: 0 4px 16px rgba(226, 151, 34, 0.11);
  --border-radius: 18px;
  --card-bg: #fff;
  --danger: #dc3545;
  --success: #459E4B;
  --warning: #E49722;
}


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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }
p, ul, ol, li {
  font-size: 1rem;
  color: var(--text);
}
ul, ol { margin-left: 20px; margin-bottom: 16px; }
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D98516;
  text-decoration: underline;
}
strong {
  color: var(--primary);
  font-weight: 600;
}


/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTIONS & CARDS SPACING */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-cards .card {
  flex: 1 1 260px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.card:hover, .service-cards .card:hover {
  box-shadow: 0 8px 24px rgba(226, 151, 34, 0.16);
  transform: translateY(-4px) scale(1.03);
}
.card img {
  margin-bottom: 18px;
  width: 42px;
  height: 42px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card h3 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.card p {
  font-size: 1rem;
  color: var(--text);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

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

.section:last-child {
  margin-bottom: 0;
}


/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #FFF7EA 0%, #FFE7C7 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 24px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 300px;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  color: #4D3A17;
  margin-bottom: 24px;
}


/* NAVIGATION */
header {
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header a.primary-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(226, 151, 34, 0.09);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
header a.primary-cta:hover {
  background: #D98516;
  color: #fff;
  box-shadow: 0 6px 24px rgba(226, 151, 34, 0.19);
}
header nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  transition: background 0.18s, color 0.2s;
}
header nav a:hover {
  background: #FFF7EA;
  color: var(--accent);
}
header img {
  height: 44px;
  width: auto;
  border-radius: 12px;
  transition: box-shadow 0.18s;
}
header img:hover {
  box-shadow: 0 2px 8px rgba(226, 151, 34, 0.18);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  display: none;
  margin-left: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(228, 151, 34, 0.09);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,250,0.93);
  z-index: 10000;
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.79,.13,0,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin: 32px 26px 12px 0;
  align-self: flex-end;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(26, 60, 109, 0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
  margin-right: 36px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  border-radius: var(--border-radius);
  background: #fff;
  padding: 16px 34px;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1024px) {
  header .container nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  .mobile-menu-toggle { font-size: 2rem; }
}

/* HERO CTA BUTTONS */
.cta-button, .newsletter-signup .cta-button {
  display: inline-block;
  padding: 14px 38px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(226, 151, 34, 0.07);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: #D98516;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px rgba(226,151,34,0.19);
  color: #fff;
}


/* OFFER/FEATURES SECTION */
ul li, ol li {
  margin-bottom: 12px;
  list-style-position: inside;
}
ul li img {
  vertical-align: middle;
  margin-right: 12px;
  width: 28px;
  height: 28px;
}

.service-cards .card {
  min-width: 240px;
  max-width: 340px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff6eb;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(226, 151, 34, 0.09);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 520px;
  font-style: italic;
  border-left: 8px solid var(--accent);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  color: #403105;
  font-size: 1.08rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  font-size: 1rem;
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
  margin-left: 10px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(226,151,34,0.13);
  border-color: #FDB047;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(90deg, #FFE7C7 0%, #FFF7EA 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px 20px;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
}

/* FOOTER */
footer {
  padding: 0;
  margin: 0;
  background: var(--primary);
  color: #fff;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
footer .container {
  padding: 32px 20px 24px 20px;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}
.footer-links a, .footer-legal a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
  padding: 7px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.14s;
}
.footer-links a:hover, .footer-legal a:hover {
  background: #FFD9A5;
  color: var(--primary);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social img {
  width: 27px;
  height: 27px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(26, 60, 109, 0.06);
  padding: 3px;
  transition: box-shadow 0.17s;
}
.footer-social img:hover {
  box-shadow: 0 2px 12px #E497228f;
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff6eb;
  color: var(--primary);
  border-radius: var(--border-radius);
  padding: 18px 24px;
  align-items: flex-start;
  box-shadow: 0 1px 5px rgba(228,151,34,0.08);
}
.newsletter-signup p {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 500;
}
.newsletter-signup .cta-button {
  margin-top: 4px;
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF8F0;
  box-shadow: 0 -2px 24px rgba(226,151,34,0.14);
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 30000;
  gap: 24px;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  font-size: 1rem;
}
.cookie-banner p {
  color: var(--primary);
  flex: 2 1 220px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, color 0.14s,
    box-shadow 0.13s;
}
.cookie-banner .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #D98516;
  color: #fff;
}
.cookie-banner .reject {
  background: #FADDDA;
  color: var(--danger);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E6B6B1;
  color: var(--danger);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #A5A7AA;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #FFEBD7;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41,51,77,0.32);
  z-index: 40000;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 38px 28px 28px 32px;
  min-width: 300px;
  max-width: 420px;
  box-shadow: 0 10px 44px rgba(41,51,77,0.23);
  animation: cookie-popup 0.32s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
@keyframes cookie-popup {
  from { opacity: 0; transform: translateY(60px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-content h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.cookie-modal-content ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
}
.cookie-modal-content li {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap: 18px;
}
.cookie-switch {
  width: 44px;
  height: 22px;
  background: #E6E6E6;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.22s;
}
.cookie-switch[data-enabled="true"] {
  background: var(--accent);
}
.cookie-switch-slider {
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(26,60,109,0.10);
  position: absolute;
  top: 1px;
  left: 2px;
  transition: left 0.17s;
}
.cookie-switch[data-enabled="true"] .cookie-switch-slider {
  left: 22px;
}
.cookie-modal-content .cookie-category-label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-content .always-on {
  color: var(--success);
  font-weight: 600;
  background: #F2FAE8;
  border-radius: 6px;
  padding: 2px 11px;
  margin-left: 12px;
  font-size: 0.93rem;
}
.cookie-modal-content .modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 18px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.14s, background 0.13s;
}
.cookie-modal-content .close-modal:hover {
  color: var(--accent);
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #DAE0EA;
  border-radius: 9px;
  padding: 11px 14px;
  background: #fff;
  color: var(--text);
  margin-bottom: 12px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(228,151,34,0.09);
}
button {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}


/* MEDIA QUERIES RESPONSIVE */
@media (max-width: 1024px) {
  .service-cards, .card-container, .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .service-cards .card {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .footer-links, .footer-legal, .footer-social, .newsletter-signup {
    margin-bottom: 18px;
  }
}
@media (max-width: 900px) {
  .content-wrapper { gap: 18px; }
  footer .content-wrapper { gap: 24px; }
  .hero {min-height: 200px;}
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  .hero { padding: 28px 10px; border-radius: 14px; }
  section, .section, .cta { padding: 28px 10px; border-radius: 14px; }
  .footer-links, .footer-legal { gap: 11px 14px; }
  .newsletter-signup { padding: 13px 10px; }
  .testimonial-card { font-size: 0.98rem; padding: 17px 10px; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.2rem; margin-bottom: 10px; }
  .hero p { font-size: 1rem; }
  .footer-social { gap: 9px; }
  .newsletter-signup p { font-size: 0.96rem; }
}
@media (max-width: 768px) {
  .content-grid, .service-cards, .card-container, .footer-links, .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 13px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {gap: 10px;}
  .cookie-modal-content {
    padding: 21px 9px 14px 13px;
    min-width: 180px;
    max-width: 98vw;
  }
}

/* ANIMATIONS/MICRO-INTERACTIONS */
section, .card, .testimonial-card, .hero, .cta, .newsletter-signup, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.17s, border-color 0.17s, transform 0.17s, background 0.17s;
}


/* SCROLLBAR STYLING */
::-webkit-scrollbar { background: var(--secondary); width: 10px; }
::-webkit-scrollbar-thumb { background: #FFE8C7; border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: #FFD9A5; }

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

/* Z-INDEX LAYERS */
header, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal.open { z-index: 30000; position: relative; }
