/* CSS RESET & FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

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,
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, 
main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif; /* Brand font */
  background: #FAFAFA; /* Brand accent */
  color: #1A2140;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
a {
  color: #39B898;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #e2933c;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1A2140;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1A2140;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1A2140;
}
h4, .h4 { font-weight: 600; }
h5, h6 { font-weight: 500; }

strong, b {
  font-weight: 600;
  color: #1A2140;
}
.text-section p, .text-section ul, .text-section ol, .text-section h2, .text-section h3 {
  margin-bottom: 16px;
}

hr {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 24px 0;
}

/* COLOR PALETTE & THEME */
:root {
  --color-primary: #1A2140;
  --color-secondary: #39B898;
  --color-accent: #FAFAFA;
  --color-warm1: #FEF0E6; /* soft warm */
  --color-warm2: #FFE5CC; /* accent warm */
  --color-warm3: #FFC79A; /* for testimonial backgrounds */
  --color-btn: #e2933c;
  --color-btn-hover: #c66f16;
  --color-shadow: rgba(204,129,54,0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

/* LAYOUT CONTAINERS (MANDATORY SPACING) */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 750px;
  margin: 0 auto;
}

/* Section standard spacing (from requirements) */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 992px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  section, .section {
    padding: 32px 4vw;
  }
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 40px;
    padding: 24px 3vw;
  }
  .text-section { max-width: 100%; }
}

/* FLEX PATTERNS (REQUIRED) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: var(--color-warm1);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 28px 20px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(204,129,54,0.18);
  transform: translateY(-2px) scale(1.015);
}
.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: var(--color-warm3);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px rgba(204,129,54,0.13);
  margin-bottom: 20px;
  color: #1A2140;
  min-width: 0; /* for flex wrap */
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.12rem;
  margin: 0 0 6px 0;
  color: #1A2140;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-user {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8b5d2a;
  white-space: nowrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/****************************
  NAVIGATION — Desktop & Mobile
*****************************/
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 0 12px 0;
  z-index: 50;
  background: #FAFAFA;
  position: relative;
}
.main-nav .logo {
  margin-right: 32px;
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #1A2140;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: background .17s, color .17s;
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.main-nav a.cta {
  background: var(--color-btn);
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 1.04rem;
  font-weight: 700;
  margin-left: 16px;
  box-shadow: 0 2px 12px rgba(204,129,54,0.07);
  transition: background .16s, box-shadow .16s, transform .15s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--color-btn-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 20px 0 rgba(226,147,60,0.18);
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: #FFE5CC;
  color: var(--color-btn);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 24px;
  height: 44px;
  width: 46px;
  background: #FFF;
  color: #1A2140;
  border: none;
  font-size: 2.1rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(204,129,54,0.07);
  z-index: 111;
  transition: background 0.14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFE5CC;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF;
  z-index: 1010;
  transform: translateX(105%);
  opacity: 0;
  transition: transform .37s cubic-bezier(.85,0,.34,1), opacity .32s;
  box-shadow: -8px 0 20px rgba(204,129,54,0.08);
  padding: 24px 18px 40px 18px;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  background: #FFF;
  color: #1A2140;
  border: none;
  font-size: 2rem;
  border-radius: var(--radius-lg);
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background .15s;
  box-shadow: 0 2px 10px rgba(204,129,54,0.12);
  z-index: 1200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE5CC;
  color: var(--color-btn);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.08rem;
  color: #1A2140;
  background: #FFE5CC;
  border-radius: var(--radius-md);
  padding: 13px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  box-shadow: 0px 2px 10px rgba(204,129,54,0.06);
  transition: background .16s, color .17s, transform .11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-btn);
  color: #fff;
  transform: translateX(8px) scale(1.035);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/******************************
  HERO SECTION & CTA
******************************/
.hero {
  background: linear-gradient(130deg, #FFE5CC 60%, #FAFAFA 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 34px rgba(204,129,54,0.10);
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.cta {
  background: var(--color-btn);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 42px;
  border-radius: 28px;
  box-shadow: 0 4px 24px var(--color-shadow);
  font-size: 1.13rem;
  border: none;
  display: inline-block;
  cursor: pointer;
  margin-top: 12px;
  transition: background .17s, box-shadow .16s, transform .14s;
  outline: none;
  letter-spacing: 0.03em;
}
.cta:hover, .cta:focus {
  background: var(--color-btn-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(204,129,54,0.17);
}

/****************************
  CARDS + TABLES
*****************************/
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0 20px 0;
  background: #FFF9F5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 7px rgba(204,129,54,.07);
}
table thead, table tr th {
  background: #FFE5CC;
  color: #1A2140;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 12px 18px;
  font-size: 1.07rem;
}
table td {
  padding: 11px 18px;
  font-size: 1rem;
  color: #1A2140;
}
table tr:nth-child(even) td {
  background: #FEF0E6;
}
table tr {
  border-bottom: 1px solid #EEE1CA;
}

/****************************
  LISTS, ICONS & FEATURES
*****************************/
.features ul, .services ul, .content-wrapper ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.features li, .services li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #FFF6ED;
  border-radius: var(--radius-sm);
  padding: 10px 18px 10px 12px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 5px rgba(204,129,54,0.04);
  color: #1A2140;
}
.features li img, .services li img, .content-wrapper ul li img {
  width: 34px;
  min-width: 32px;
  height: 34px;
  object-fit: contain;
  margin-right: 8px;
}
.features ol, .services ol, .content-wrapper ol {
  padding-left: 22px;
  margin-bottom: 18px;
  font-size: 1.04rem;
}
.features ol li, .services ol li, .content-wrapper ol li {
  margin-bottom: 8px;
}

/******* MAP *******/
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 22px 0 6px 0;
  box-shadow: 0 2px 22px rgba(204,129,54,0.07);
  max-width: 540px;
}

/****************
  FOOTER
*****************/
footer {
  background: #FFF6ED;
  width: 100%;
  border-top: 2px solid #FFE5CC;
  margin-top: 60px;
}
footer section {
  padding-top: 36px;
  padding-bottom: 16px;
  margin-bottom: 0;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer nav {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  margin-bottom: 6px;
}
footer nav a {
  color: #1A2140;
  opacity: 0.82;
  margin-right: 7px;
  margin-left: 7px;
  font-weight: 500;
  text-decoration: none;
  transition: color .17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-btn);
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.94;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
}
.social-links img {
  width: 30px; height: 30px;
  transition: transform .19s;
}
.social-links img:hover, .social-links img:focus {
  transform: scale(1.16) rotate(-4deg);
}
.contact-brief {
  color: #1A2140;
  font-size: 0.95rem;
  opacity: 0.86;
  font-family: 'Roboto', Arial, sans-serif;
}

/***************
  LEGAL & THANK YOU
****************/
.legal, .thank-you {
  background: #FFF9F0;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 22px rgba(204,129,54,0.06);
}

/***************
  RESPONSIVE QUERIES
****************/
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.55rem; }
  h2, .h2 { font-size: 1.23rem; }
  .main-nav { display: none; }
  .hero {
    margin-top: 10px;
    min-height: 120px;
    border-radius: var(--radius-md);
    padding: 16px 0;
  }
  .map { max-width: 100%; }
  .footer-brand img { width: 26px; height: 26px; }
  .social-links img { width: 23px; height: 23px; }
}

/***************
  BUTTONS & FORMS
****************/
button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
}
button:focus, .cta:focus {
  outline: 2px solid var(--color-btn);
  outline-offset: 2px;
}

/***************
  TRANSITIONS, HOVERS & MICRO-INTERACTIONS
****************/
a, .cta, button, .main-nav a, .mobile-nav a {
  transition: background .16s, color .16s, box-shadow .19s, transform .14s;
}

/* Card hover already defined above */

/****************************
  COOKIE CONSENT BANNER & MODAL
*****************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #FFE5CC;
  color: #1A2140;
  width: 100vw;
  z-index: 9999;
  box-shadow: 0 -2px 18px rgba(204,129,54,0.11);
  display: flex;
  align-items: center;
  padding: 28px 20px 22px 20px;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: cookie-banner-in 0.62s cubic-bezier(.22,1,.36,1);
}
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--color-btn);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 11px 28px;
  cursor: pointer;
  transition: background .16s, box-shadow .17s, transform .12s;
  margin-right: 0;
  box-shadow: 0 1px 7px rgba(204,129,54,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-btn-hover);
  color: #fff;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--color-btn);
  border: 1.5px solid var(--color-btn);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  color: #fff;
  background: var(--color-btn-hover);
  border-color: var(--color-btn-hover);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-btn);
  border: 1.6px solid var(--color-btn);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-btn-hover);
  color: #fff;
  border-color: var(--color-btn-hover);
}

/**** COOKIE MODAL ****/
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,33,64,0.24);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .36s cubic-bezier(.22,1,.36,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  padding: 42px 28px 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 34px rgba(204,129,54,0.17);
  min-width: 300px;
  max-width: 98vw;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #1A2140;
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  border: none;
  background: transparent;
  color: #1A2140;
  font-size: 1.67rem;
  cursor: pointer;
  z-index: 20010;
  border-radius: var(--radius-md);
  padding: 4px 10px;
  transition: background .11s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #FFE5CC;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  padding: 8px 0;
  font-size: 1.04rem;
}
.cookie-category label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle {
  width: 46px;
  height: 26px;
  border-radius: 14px;
  background: #EEE1CA;
  position: relative;
  cursor: pointer;
  transition: background .15s;
  margin-right: 6px;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-toggle span {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #FFF;
  border-radius: 50%;
  transition: transform .20s cubic-bezier(0.42,0,0.58,1);
  box-shadow: 0 1px 4px rgba(204,129,54,0.09);
}
.cookie-toggle input:checked + span {
  transform: translateX(18px);
  background: var(--color-btn);
}
.cookie-toggle input:checked ~ .cookie-toggle {
  background: var(--color-btn);
}
.cookie-toggle input:disabled + span {
  background: #FAC389;
  opacity: 0.8;
  cursor: not-allowed;
}
.cookie-category .desc {
  color: #666;
  font-size: 0.98rem;
  margin-left: 10px;
}

/*******************
  ACCENT STYLES & DETAILS
********************/
::-webkit-selection { background: #FFE5CC; color: #1A2140; }
::selection { background: #FFE5CC; color: #1A2140; }

/* Misc helper classes */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/*******************
  END OF MAIN CSS
********************/
