/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #232C39;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
}
button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* FONT SETTINGS */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  src: local('Oswald'), url('https://fonts.googleapis.com/css?family=Oswald:400,600,700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
}

:root {
  --primary: #232C39;
  --secondary: #F4D35E;
  --accent: #FA552F;
  --accent-dark: #D03A13;
  --white: #fff;
  --gray: #EFEFEF;
  --hover-primary: #141b25;
  --shadow: 0 4px 20px rgba(35,44,57,0.11);
  --radius: 18px;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  background: var(--white);
  color: var(--primary);
}

h1, h2, h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--primary);
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 26px;
  color: var(--primary);
}
p {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 400;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER */
header {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(35,44,57,0.12);
}
header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 18px;
}
header a img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  transition: color .18s;
  position: relative;
}
header nav a::after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0%;
  background: var(--accent);
  margin-top: 2px;
  transition: width 0.26s cubic-bezier(.6,.2,.45,1.13);
}
header nav a:hover,
header nav a:focus {
  color: var(--accent);
}
header nav a:hover::after,
header nav a:focus::after {
  width: 100%;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: var(--radius);
  padding: 14px 34px;
  margin-left: 30px;
  box-shadow: var(--shadow);
  transition: background .18s, box-shadow .18s, transform .18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  box-shadow: 0 7px 24px rgba(250,85,47,.19);
  transform: translateY(-2px) scale(1.03);
}

/*--- MOBILE NAVIGATION ---*/
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 32px;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  margin-left: 18px;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--accent);
  cursor: pointer;
  z-index: 120;
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--secondary);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.7,.16,.45,1.1);
  box-shadow: 0 0 18px 3px rgba(35,44,57,0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
  gap: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background .2s;
  z-index: 2200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.4rem;
  padding: 18px 0;
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid rgba(244,211,94,0.17);
  transition: color .16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}
@media (max-width:1024px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width:1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* GEOMETRIC DECORATIVE ELEMENTS */
.section {
  position: relative;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -60px;
  top: -30px;
  width: 80px;
  height: 80px;
  border-radius: 22px 30px 16px 36px;
  background: var(--secondary);
  opacity: 0.15;
  z-index: 0;
}
.section:nth-of-type(even)::after {
  content: '';
  display: block;
  position: absolute;
  right: -60px;
  bottom: -30px;
  width: 60px;
  height: 60px;
  border-radius: 30px 27px 44px 21px;
  background: var(--accent);
  opacity: 0.08;
  z-index: 0;
}

/* FEATURES GRID, FLEXBOX ONLY */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  flex: 1 1 240px;
  background: var(--gray);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(35,44,57,0.07);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  transition: box-shadow .18s, transform .18s;
  position: relative;
  z-index: 1;
}
.features-grid > div:hover {
  box-shadow: 0 6px 24px rgba(35,44,57,0.14);
  transform: translateY(-5px) scale(1.02);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

/* SERVICES LIST */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services-list li {
  background: var(--white);
  border: 2.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px 20px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.services-list li h3 {
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.services-list li span {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  border-radius: 8px;
  padding: 3.5px 16px;
  font-weight: 700;
  align-self: flex-end;
}
/* Testimonial Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(35,44,57,0.12);
  padding: 20px 32px 22px 24px;
  margin-bottom: 22px;
  max-width: 680px;
}
.testimonial-card p {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: var(--accent-dark);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
}
.testimonial-card span {
  font-size: 18px;
  color: #ffb81c;
  letter-spacing: 2px;
  margin-left: 4px;
}
.testimonial-card > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
/* Ensure testimonial contrast and readability on all backgrounds */
/* Always dark text on light bg */

/* CONTACT-DETAILS, SOCIAL LINKS, FAQ */
.contact-details, .faq-list, .feature-icons, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px 0;
}
.contact-details li, .footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  color: var(--primary);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 10px 0;
}
.social-links img, .footer-social img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: filter 0.18s, transform 0.14s;
  filter: grayscale(30%) brightness(.97);
}
.social-links img:hover, .footer-social img:hover {
  filter: none;
  transform: scale(1.07);
}

.faq-list li {
  background: var(--gray);
  border-radius: 8px;
  padding: 14px 20px;
  font-weight: 500;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(35,44,57,0.06);
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.feature-icons li {
  display: flex;
  align-items: center;
  font-weight: 600;
  background: var(--gray);
  border-radius: 10px;
  padding: 11px 22px 11px 13px;
  gap: 13px;
  min-width: 212px;
  box-shadow: 0 2px 8px rgba(244,211,94,.07);
}
.feature-icons img {
  width: 32px;
  height: 32px;
}

.map-placeholder {
  background: var(--gray);
  border-radius: 12px;
  padding: 18px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(35,44,57,0.07);
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-placeholder img {
  width: 40px;
  height: 40px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 50px 0 15px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 10px;
}
.footer-logo {
  display: flex;
  align-items: center;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  gap: 12px;
  color: var(--secondary);
}
.footer-logo img {
  width: 38px;
  height: 38px;
}
.footer-contact {
  min-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact h3 {
  color: var(--secondary);
  font-size: 1.08rem;
}
.footer-contact ul {
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--secondary);
  font-size: 1rem;
  transition: color .14s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent);
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 170px;
  margin-top: 8px;
}
.footer-social span {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--secondary);
}
footer a {
  color: var(--secondary);
  text-decoration: none;
}
footer a:hover, footer a:focus {
  color: var(--accent);
}
.copyright {
  color: rgba(244,211,94,.73);
  font-size: 0.92rem;
  margin-top: 24px;
  letter-spacing: 0.5px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--secondary);
  width: 100%;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -4px 24px rgba(35,44,57,0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity .33s cubic-bezier(.7,.1,.48,1.22), transform .33s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-message {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 8px;
  font-family: 'Oswald', Arial, sans-serif;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  padding: 9px 32px;
  box-shadow: var(--shadow);
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  margin-top: 4px;
  margin-bottom: 4px;
  transition: background .17s, transform .12s;
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent-dark);
  color: var(--white);
  transform: scale(1.04);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ddce7d;
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,44,57,0.56);
  z-index: 4000;
  display: none;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.cookie-modal-backdrop.active {
  display: flex;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  z-index: 4100;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(35,44,57,0.20);
  padding: 36px 28px 28px 28px;
  width: 96vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  animation: cookie-modal-in .33s cubic-bezier(.77,.1,.23,1.2);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: scale(.88) translateY(40px); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.27rem;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: 'Oswald';
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  background: var(--gray);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 9px;
}
.cookie-modal-category label {
  flex: 1;
  font-weight: 600;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
}
.cookie-modal-category .always-on {
  color: #bbb;
  font-size: .99em;
  margin-left: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  margin-top: 16px;
}

/* --- SPACING & FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow .16s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,44,57,0.15);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Default margins between cards & sections */
.section, .card, .testimonial-card {
  margin-bottom: 24px;
}
.section:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.18rem;
  }
  .features-grid > div,
  .feature-icons li {
    min-width: 180px;
    font-size: 1rem;
    padding: 16px;
  }
  .footer-contact,
  .footer-links,
  .footer-social {
    min-width: unset;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .section {
    padding: 30px 8px 36px 8px;
  }
  .features-grid, .feature-icons, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 16px 14px;
    font-size: .99rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-logo {
    margin-bottom: 8px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.45rem;
  }
  .cta-btn, .cookie-btn {
    padding: 12px 22px;
    font-size: 16px;
  }
  .footer-logo img, .footer-social img, .map-placeholder img {
    width: 28px;
    height: 28px;
  }
  .feature-icons li {
    padding: 8px 9px 8px 8px;
  }
  .cookie-modal {
    padding: 19px 6px 16px 11px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* FORM ELEMENTS [prepare for future contact forms] */
input, textarea, select {
  background: var(--gray);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent-dark);
}

button, .button, .cookie-btn {
  cursor: pointer;
  outline: none;
  transition: transform 0.13s, background 0.13s, color 0.13s;
}
/* Accessibility/Focusable */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* Utility */
.text-center {
  text-align: center;
}
.hr {
  width: 100%;
  height: 1px;
  background: #dedede;
  margin: 18px 0;
}

/* PAGE SPECIAL - THANK YOU */
.thank-you-section .cta-btn {
  margin-top: 20px;
}
