/* ------------------------
   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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7FAFC;
  color: #2E3650;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  color: inherit;
  padding: 0;
}

/* Font faces - Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');

:root {
  --color-primary: #1A355A;
  --color-secondary: #B3C43A;
  --color-accent: #F7FAFC;
  --color-warm1: #F4E2D8;
  --color-warm2: #FFD8BE;
  --color-warm3: #FFE5B4;
  --color-warm4: #FCEAB9;
  --color-white: #fff;
  --color-black: #11131C;
  --color-grey: #e9ecef;
  --color-shadow: rgba(200, 120, 60, 0.10);
  --radius-medium: 18px;
  --radius-small: 8px;
  --shadow-card: 0 4px 28px var(--color-shadow), 0 1.5px 5px 0 rgba(0,0,0,0.04);
  --shadow-soft: 0 2px 12px rgba(200, 120, 60, 0.09);
  --shadow-input: 0 0.5px 3px rgba(26,53,90,0.04);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  min-height: 100vh;
  color: #293250;
}

/* ------------------------
   TYPOGRAPHY
-------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: 500;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.3rem;
  }
}

/* Typography links and highlights */
a {
  color: var(--color-secondary);
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #849200;
  text-decoration: underline;
}

/* ------------------------
   LAYOUT CONTAINERS & SECTIONS
-------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 790px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 32px;
    border-radius: var(--radius-small);
  }
  .container {
    padding: 0 5px;
  }
}

/* ------------------------
   HEADER & NAVIGATION
-------------------------*/
header {
  background: #fde7cb;
  box-shadow: 0 2px 8px rgba(245, 170, 60, 0.07);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 28px;
  position: relative;
}
.main-nav .logo-link {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul li a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 7px 12px;
  color: var(--color-primary);
  border-radius: var(--radius-small);
  transition: background 0.16s, color 0.18s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--color-warm3);
  color: #274272;
}
/* CTA Button in header */
.btn.btn-primary {
  padding: 12px 24px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-radius: var(--radius-medium);
  box-shadow: 0 2px 12px rgba(179,196,58,0.11);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.2s, color 0.16s;
  cursor: pointer;
  border: none;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #AABC29;
  color: #fff;
  box-shadow: 0 4px 24px #B3C43A40;
}

/* ------------------------
    MOBILE MENU
-------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: var(--radius-medium);
  padding: 4px 16px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #c1cf60;
  color: #1A355A;
  box-shadow: 0 2px 12px #B3C43A30;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff9ef;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.75,.01,.25,1);
  box-shadow: 0 0 0 9999px rgba(44,24,0,0.09);
  padding: 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-warm2);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: var(--radius-small);
  margin-top: 22px;
  margin-bottom: 16px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ffe1c7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-top: 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 10px 0 10px 4px;
  width: 100%;
  border-radius: var(--radius-small);
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-warm3);
  color: #2E3A4E;
}

@media (max-width: 980px) {
  .main-nav ul,
  .main-nav .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------
   MAIN CONTENT AreAS
-------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 768px) {
  section,
  .section {
    padding: 26px 0;
    margin-bottom: 34px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin: 26px 0 0 0;
}
.feature-grid li {
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 250px;
  background: #fff9ef;
  border-radius: var(--radius-medium);
  text-align: center;
  box-shadow: var(--shadow-card);
  padding: 30px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 14px;
  }
  .feature-grid li {
    min-width: 94vw;
    max-width: 99vw;
    margin: 0 auto 20px auto;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 30px 20px 26px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.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;
    gap: 16px;
    align-items: flex-start;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

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

/* ------------------------
   TESTIMONIALS
-------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff9ef;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border: 1.5px solid #FFE5B4;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.testimonial-card strong {
  color: #c19132;
  font-weight: 700;
}
.star-rating {
  color: #FFC96F;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 18px 8px;
    border-radius: var(--radius-small);
  }
}

/* ------------------------
   PRICING TABLE
-------------------------*/
.pricing-table {
  width: 100%;
  margin: 24px 0 26px 0;
  font-family: var(--font-body);
  background: var(--color-accent);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-medium);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 15px 10px;
  text-align: left;
}
.pricing-table th {
  background: var(--color-warm2);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
}
.pricing-table tr:nth-child(even) {
  background: #fdf4e8;
}
.pricing-table tr:nth-child(odd) {
  background: var(--color-white);
}
@media (max-width: 700px) {
  .pricing-table, .pricing-table th, .pricing-table td {
    font-size: 0.98rem;
    padding: 12px 5px;
  }
  .pricing-table th, .pricing-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .pricing-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    border-radius: var(--radius-small);
  }
}

.guarantee-message {
  color: #866626;
  background: #FCF4D7;
  border-radius: var(--radius-small);
  padding: 12px 16px;
  margin: 18px 0 0 0;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.feature-comparison {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-comparison li {
  color: var(--color-primary);
  padding-left: 8px;
  font-size: 1.07rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 0 0;
}
.faq-list li strong {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ------------------------
   CONTACT DETAILS & MAP
-------------------------*/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 14px 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #905700;
  font-size: 1rem;
  font-family: var(--font-body);
}
.contact-details img {
  width: 21px;
  height: 21px;
}
.map-placeholder {
  background: #ffe4b1;
  color: #4e2c04;
  border-radius: var(--radius-small);
  padding: 14px 10px;
  margin-top: 12px;
  font-size: 1rem;
  font-style: italic;
  box-shadow: var(--shadow-soft);
}

/* ------------------------
   QUICK TIPS/BLOCKS
-------------------------*/
.quick-tips {
  background: #fff8e2;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
  padding: 12px 18px;
  margin-top: 20px;
  font-size: 1rem;
}

/* ------------------------
   TABLES & LISTS
-------------------------*/
table {
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
th, td {
  padding: 14px 12px;
  text-align: left;
}
th {
  background: var(--color-warm2);
}
tr:nth-child(even) {
  background: #FCEAB9;
}
tr:nth-child(odd) {
  background: var(--color-white);
}

ul, ol {
  margin-left: 16px;
  margin-bottom: 19px;
}
ul li, ol li {
  margin-bottom: 9px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* ------------------------
   BUTTONS & LINKS
-------------------------*/
.btn {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-medium);
  border: none;
  outline: none;
  font-size: 1rem;
  transition: background 0.19s, color 0.16s, box-shadow 0.23s, transform 0.14s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #163151;
}
/* General link styles within btn */
.btn a {
  color: inherit;
}
.btn[disabled], .btn-disabled {
  background: var(--color-grey);
  color: #999;
  box-shadow: none;
  cursor: not-allowed;
}

/* ------------------------
   FOOTER
-------------------------*/
footer {
  background: #1A355A;
  padding: 45px 0 15px 0;
  color: #fff;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.main-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  font-size: 1rem;
  font-family: var(--font-body);
}
.main-footer-links a {
  color: #F7FAFC;
  opacity: 0.93;
  transition: color 0.19s, opacity 0.18s;
  padding: 5px 0;
}
.main-footer-links a:hover,
.main-footer-links a:focus {
  color: #B3C43A;
  opacity: 1.0;
}
.legal-info {
  text-align: center;
  font-size: 0.97rem;
  color: #d0e4ff;
  margin-top: 6px;
  font-family: var(--font-body);
}
.brand-logo img {
  margin-top: 16px;
  max-width: 132px;
  height: auto;
  border-radius: var(--radius-small);
  background: #fff;
  padding: 7px 18px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 800px) {
  footer .container {
    gap: 14px;
  }
  .main-footer-links {
    gap: 16px;
    font-size: 0.97rem;
  }
}

/* ------------------------
   COOKIE CONSENT BANNER
-------------------------*/
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  background: #fff9ef;
  color: #1A355A;
  border-radius: var(--radius-medium);
  box-shadow: 0 4px 28px var(--color-shadow), 0 1.5px 5px 0 rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 27px 18px 27px;
  gap: 12px;
  z-index: 99999;
  font-size: 1.04rem;
  animation: fadeInBottom 0.5s;
}
@media (max-width: 650px) {
  .cookie-banner {
    left: 4px;
    right: 4px;
    padding: 16px 8px 8px 12px;
    font-size: 0.97rem;
    border-radius: var(--radius-small);
  }
}
.cookie-banner .cookies-btn-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
}
.cookie-banner .btn {
  min-width: 120px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-banner .btn-cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-medium);
  font-weight: bold;
  box-shadow: 0 2px 10px #b3c43a28;
}
.cookie-banner .btn-cookie-accept:hover,
.cookie-banner .btn-cookie-accept:focus {
  background: #acbc30;
  color: #fff;
}
.cookie-banner .btn-cookie-reject {
  background: #FFE5B4;
  color: #99500d;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}
.cookie-banner .btn-cookie-reject:hover,
.cookie-banner .btn-cookie-reject:focus {
  background: #ffe2a1;
  color: #803d00;
}
.cookie-banner .btn-cookie-settings {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-medium);
}
.cookie-banner .btn-cookie-settings:hover,
.cookie-banner .btn-cookie-settings:focus {
  background: #13284a;
  color: #FFF;
}

@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 32, 40, 0.15);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
.cookie-modal {
  background: #fff9ef;
  padding: 36px 27px 26px 27px;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-modal h3 {
  font-size: 1.21rem;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ffdabc;
  border: none;
  color: #8d5f1d;
  border-radius: var(--radius-small);
  font-size: 1.5rem;
  padding: 2px 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-close-modal:hover,
.cookie-modal .cookie-close-modal:focus {
  background: #ffedc2;
  color: #2c1c04;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
}
.cookie-category input[type="checkbox"]:disabled {
  opacity: 0.5;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ------------------------
   MICRO-INTERACTIONS
-------------------------*/
.card, .testimonial-card, .feature-grid li,
.pricing-table, .map-placeholder, .quick-tips,
.btn, .main-footer-links a {
  transition: box-shadow 0.18s, background 0.18s, color 0.14s, transform 0.13s;
}
.card:hover,
.feature-grid li:hover,
.testimonial-card:hover {
  box-shadow: 0 7px 28px #ffe6ca60, 0 2.5px 7px #ffd69c0a;
  transform: translateY(-2.5px) scale(1.01);
}

.btn:active {
  transform: scale(0.97);
}
/* Remove button outlines on click, keep on keyboard nav */
.btn:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}

/* ------------------------
   MISCELLANEOUS
-------------------------*/
::-webkit-scrollbar {
  width: 11px;
  background: #F7FAFC;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #FFD8BE;
  border-radius: 7px;
}

/* Focus outline for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1.5px;
}

/* Hide visually but keep accessible (for cookie banner close, etc) */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------
   RESPONSIVE ADJUSTMENTS
-------------------------*/
@media (max-width: 840px) {
  .main-nav {
    padding: 10px 0;
    gap: 5px;
  }
  .content-wrapper {
    max-width: 98vw;
  }
  .main-footer-links {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .footer .container, .content-wrapper {
    padding: 0 2px;
    max-width: 99vw;
  }
  .card, .testimonial-card {
    padding: 9px 4px;
    border-radius: var(--radius-small);
  }
  .main-footer-links, .legal-info {
    font-size: 0.93rem;
  }
}

/* Allow sufficient white space between sections */
section + section,
.section + .section {
  margin-top: 20px;
}

/* Prevent any overlaps due to flex wrapping */
.card-container,
.feature-grid,
.content-grid {
  gap: 24px;
}
.card, .testimonial-card, .feature-grid li {
  margin-bottom: 20px;
}

/* Make sure last element does not have extra margin */
.content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* ------------------------
   COLOR CONTRAST [TESTIMONIALS]
-------------------------*/
.testimonial-card,
.testimonial-card p,
.testimonial-card strong {
  color: #1A355A;
}

/* ------------------------
   PRINT STYLES
-------------------------*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container, .content-wrapper {
    background: #fff !important;
    color: #000 !important;
  }
}
