/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fbfaf8;
  font-family: 'Roboto', Arial, sans-serif;
  color: #342f2a;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
ol, ul {
  list-style: none;
}
a {
  color: #1565C0;
  background: none;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #b75c33;
  text-decoration: underline;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
}

/* BRAND COLORS & VARIABLES */
:root {
  --primary: #1565C0;
  --primary-dark: #0c4684;
  --secondary: #1B9AAA;
  --accent: #F1FAFF;
  --brand-orange: #FFB152;
  --brand-yellow: #FFEE9E;
  --brand-brown: #A3683C;
  --neutral-100: #fbfaf8;
  --neutral-200: #f4f1ed;
  --neutral-300: #e4e1dc;
  --neutral-800: #342f2a;
  --shadow-soft: 0 2px 16px 0 rgba(65,47,20,0.08), 0 1.5px 6px 0 rgba(21,101,192,0.06);
  --radius-md: 16px;
  --radius-lg: 28px;
  --input-bg: #fff;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.18;
  color: #1B9AAA;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #A3683C;
  margin-bottom: 10px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1B9AAA;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7; 
  color: #342f2a;
  margin-bottom: 16px;
}
strong, b {
  color: #A3683C;
  font-weight: 600;
}
small, .small {
  font-size: 0.97rem;
  color: #73553a;
}
.text-section {
  max-width: 780px;
}
.input, input[type="text"], textarea {
  background: var(--input-bg);
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid #e4e1dc;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  width: 100%;
}
input[type="text"]:focus, textarea:focus {
  border-color: var(--primary);
}

/* CONTAINERS, SECTION & FLEX UTILS */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 28px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .content-wrapper { gap: 16px; }
  .section { padding: 26px 8px; }
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px 18px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
  }
}

/* HERO */
.hero {
  background: linear-gradient(112deg, #FFB152 0%, #F1FAFF 100%);
  padding: 56px 0 48px 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 4px 28px 0 rgba(79,49,0,0.05);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  gap: 20px;
}
@media (max-width: 600px) {
  .hero { padding: 38px 0 26px 0; }
}

/* CTA BUTTONS & LINKS */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  background: var(--primary);
  color: #fff;
  border-radius: 28px;
  padding: 13px 38px;
  box-shadow: 0 2px 13px 0 rgba(21, 101, 192, 0.13);
  transition: background 0.18s, box-shadow 0.16s, color 0.18s, transform 0.15s;
  margin-top: 6px;
  cursor: pointer;
  outline: none;
  border: none;
  letter-spacing: 0.03em;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 19px 0 rgba(21,101,192,0.16);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}
.cta-link {
  color: #b75c33;
  background: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 0 2px;
  font-size: 1.06rem;
  text-decoration: underline;
  transition: color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  color: #1565C0;
  text-decoration: underline wavy;
}

/* MAIN NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0 16px 0;
  background: #fff;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  color: #342f2a;
  font-weight: 500;
  border-radius: 20px;
  padding: 8px 16px;
  transition: background 0.16s, color 0.13s;
}
.main-nav a.cta-primary {
  margin-left: 14px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f9e2d3;
  color: #A3683C;
}
.main-nav a.active {
  background: #FFB152;
  color: #1565C0;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 14px;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 100px;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  margin-left: auto;
  cursor: pointer;
  position: relative;
  z-index: 1021;
  transition: background 0.13s, color 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A3683C;
  color: #fffbe4;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(251, 250, 248, 0.92);
  box-shadow: -2px 0 30px 0 rgba(45,41,23,0.21);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,1,.7,1);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 25px 0 23px 0;
  align-self: flex-end;
  margin-right: 20px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1022;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff4e8;
  color: #A3683C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.17rem;
  color: #342f2a;
  font-weight: 500;
  padding: 11px 27px;
  border-radius: 22px;
  width: 92vw;
  text-align: center;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a.cta-primary {
  background: var(--primary);
  color: #fff;
  margin-top: 14px;
  font-weight: 700;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB152;
  color: #1565C0;
}
@media (min-width:991px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* SECTION & CARD SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
@media (max-width: 900px) {
  section { padding: 26px 0; }
}
.content-wrapper {
  width: 100%;
  padding: 0;
}
.card { margin-bottom: 20px; }

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  border-left: 7px solid #FFB152;
  max-width: 620px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #1A231E;
  margin-bottom: 6px;
  text-align: center;
}
.testimonial-card .rating {
  display: flex;
  gap: 3px;
}
.testimonial-card .rating img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0px 1.5px 2px rgba(255,177,82,0.08));
}
.testimonial-card span {
  font-size: 1.05rem;
  color: #73553a;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 8px;
    max-width: 100%;
  }
}

/* CONTACT METHODS */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 8px;
  margin-bottom: 18px;
}
.contact-methods li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  color: #1B9AAA;
}
.contact-methods img {
  width: 22px;
  height: 22px;
  margin-right: 3px;
}

/* SERVICES HIGHLIGHT */
.services-highlight {
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 58px;
  padding: 32px 0;
}
.services-highlight ul {
  margin: 16px 0 21px 18px;
}
.services-highlight li {
  font-size: 1.1rem;
}
.services-highlight .cta-primary {
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: linear-gradient(84deg, #F1FAFF 80%, #FFB152 100%);
  padding: 36px 0 0 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -3px 21px 0 rgba(45, 88, 120, 0.10);
  font-size: 1.02rem;
  margin-top: 50px;
}
footer .container {
  padding-bottom: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #8b6312;
  font-weight: 500;
  font-size: 1.03rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #1565C0;
  text-decoration: underline;
}
.contact-info {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
  color: #1565C0;
}
.contact-info img {
  width: 19px;
  height: 19px;
  margin-right: 3px;
}
.branding {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.99rem;
  color: #342f2a;
}
.branding img {
  width: 32px;
  height: 32px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  footer {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    padding: 22px 0 0 0;
  }
  .footer-nav { gap: 12px; }
}

/* BLOG ARTICLES */
article {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 19px 22px 15px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
article:hover,
article:focus-within {
  box-shadow: 0 4px 22px 0 rgba(21,101,192,0.09), 0 2.5px 11px 0 rgba(43, 133, 213, 0.10);
  transform: scale(1.015);
}
article h3 {
  margin-bottom: 7px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1B9AAA;
  font-size: 1.2rem;
}
article p {
  font-size: 1.02rem;
  color: #342f2a;
  margin-bottom: 8px;
}
article a {
  color: #b75c33;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.01rem;
  transition: color 0.14s;
}
article a:hover, article a:focus {
  color: #1565C0;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe4;
  color: #342f2a;
  box-shadow: 0 -3px 24px 0 rgba(133,73,0,0.09);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 14px 12px;
  gap: 13px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  transition: transform 0.37s cubic-bezier(0.22, 0.59, 0.44, 1);
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #FFB152;
  color: #342f2a;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.12s, box-shadow 0.13s;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #B35C12;
  border: 1px solid #FFD084;
}
.cookie-btn.settings {
  background: #FFEE9E;
  color: #1565C0;
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(43,49,58,0.23);
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 8px 36px 0 rgba(45,41,23,0.13);
  border-radius: 26px;
  max-width: 420px;
  width: 92vw;
  padding: 34px 22px 23px 22px;
  z-index: 10031;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: #1565C0;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal .toggle {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 22px;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFEE9E;
  border-radius: 18px;
  transition: background .23s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 15px;
  width: 15px;
  left: 4px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .23s;
  box-shadow: 0 1px 3px 0 rgba(90,60,3,0.13);
}
.cookie-modal .toggle input:checked + .slider {
  background: var(--primary);
}
.cookie-modal .toggle input:checked + .slider:before {
  transform: translateX(13px);
}
.cookie-modal .cookie-category.essential .slider {
  background: #e4e1dc;
}
.cookie-modal .cookie-category.essential label {
  color: #bbb;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 20px;
  top: 17px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #b75c33;
  cursor: pointer;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #1565C0;
}

/* ANIMATION CLASSES */
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes slideOutRight {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .hero, .card, .testimonial-card, .feature-grid>div, .services-highlight, article {
  animation: fadeInUp 0.9s cubic-bezier(.01,0,0,1) both;
}

/* UTILITIES */
.rounded {
  border-radius: var(--radius-md) !important;
}
.shadow {
  box-shadow: var(--shadow-soft) !important;
}
.mt-0 { margin-top: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-48 { margin-bottom: 48px !important; }
.text-center { text-align: center !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }

/* SELECTION COLORS */
::selection {
  background: #FFB152;
  color: #1565C0;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 11px;
  background: #f1f5fb;
}
::-webkit-scrollbar-thumb {
  background: #FFD084;
  border-radius: 8px;
  border: 2px solid #f1f5fb;
}

/* FOCUS STATES */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #F9B46D;
  outline-offset: 1px;
}

/* ACCORDION/MORE (future ready) */
[aria-expanded="true"] .accordion-chevron {
  transform: rotate(90deg);
}

/* ALERTS AND WARNINGS (future use) */
.alert {
  background: #FFEE9E;
  color: #A3683C;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 1.04rem;
  box-shadow: var(--shadow-soft);
}

/* Hide visually only (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
