/* 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F2F2EF;
  color: #0E223A;
  -webkit-font-smoothing: antialiased;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

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

/* VARIABLES */
:root {
  --primary: #0E223A;
  --secondary: #E64A19;
  --accent: #F2F2EF;
  --font-display: 'Oswald', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 2px 16px 0 rgba(14,34,58,0.10);
  --shadow-hover: 0 4px 24px 0 rgba(230,74,25,0.15);
  --transition: all 0.27s cubic-bezier(0.4,0,0.2,1);
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .content-wrapper { padding: 28px 8px; }
  .container { padding-left: 5px; padding-right: 5px; }
}

/* SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  width: 100%;
  max-width: 340px;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.012);
}

.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: #F9F9F9;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 220px;
  color: #1d2735;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 22px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}

/* GRADIENT MODERN BACKGROUNDS */
body {
  /* subtle diagonal gradient */
  background: linear-gradient(135deg, #F2F2EF 0%, #FFF9F7 60%, #FFF5EE 100%);
}
.hero-section {
  background: linear-gradient(105deg, #fff 60%, #FFD7C0 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.features-section {
  background: linear-gradient(90deg, #F2F2EF 75%, #FFD7C0 100%);
  border-radius: var(--radius-lg);
}
.services-section {
  background: #fff;
  border-radius: var(--radius-lg);
}
.about-section, .contact-section {
  background: #fff;
  border-radius: var(--radius-md);
}
.legal-section {
  background: #fff;
  border-radius: var(--radius-md);
}

/* FORMATTING & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
p, li, ul, span, a, strong {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: #233;
  font-weight: 400;
}
p + p { margin-top: 12px; }
strong { font-weight: 700; }

@media (max-width: 768px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #E64A19 0%, #FF7D42 100%);
  color: #fff;
  padding: 13px 32px;
  border-radius: var(--radius-md);
  font-size: 1.10rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  margin-top: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FF7D42 0%, #E64A19 100%);
  color: #fff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(14,34,58,0.08);
  border-bottom: 1px solid #e2e7ee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0 12px 0;
  font-family: var(--font-body);
}
.main-nav > a {
  font-size: 1.04rem;
  color: var(--primary);
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #F8E9E1;
  color: var(--secondary);
  outline: none;
}
.main-nav > .cta-btn {
  margin-left: 16px;
  margin-top: 0;
  padding: 8px 20px;
}
.main-nav > a img {
  height: 38px;
  margin-right: 14px;
}

/* Hide mobile burger on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: #fff;
    color: var(--secondary);
    border-radius: 8px;
    font-size: 2.1rem;
    padding: 6px 14px 3px 14px;
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 150;
    transition: background 0.18s, color 0.13s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #FFEEE3;
    color: #E64A19;
    outline: none;
  }
}

/* MOBILE MENU */
.mobile-menu {
  z-index: 9999;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, #fff 75%, #FFFAFD 100%);
  box-shadow: 0 12px 40px rgba(14,34,58,0.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.55,.14,.5,1), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--secondary);
  background: none;
  margin-left: auto;
  margin-top: 18px;
  margin-right: 18px;
  border-radius: 8px;
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFEEE3;
  color: #E64A19;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  margin-top: 18px;
  padding-left: 28px;
}
.mobile-nav a {
  display: block;
  font-size: 1.15rem;
  color: var(--primary);
  padding: 14px 4px 7px 0px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD9C7;
  color: var(--secondary);
  outline: none;
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu.open { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* MAIN BUTTONS & FORMS */
button, .btn {
  font-family: var(--font-display);
  transition: var(--transition);
}

/* HOMEPAGE HERO ETC */
.hero-section h1 {
  color: var(--secondary);
  font-size: 2.75rem;
  letter-spacing: -.8px;
  margin-bottom: 2px;
}
.hero-section p {
  color: #39382e;
  font-size: 1.18rem;
}
@media (max-width: 768px){
  .hero-section h1 { font-size: 2.15rem; }
}

/* FEATURES & SERVICES */
.features-section ul, .services-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 6px;
  padding-left: 0;
}
.features-section li, .services-section li {
  font-size: 1.08rem;
  color: #222b2b;
  line-height: 1.6;
  background: none;
}
.services-section strong { color: var(--secondary); }
.features-section li::before {
  content: '•';
  color: var(--secondary);
  margin-right: 9px;
  font-size: 1.12rem;
}

.about-section strong { color: var(--secondary); }

/* TESTIMONIALS */
.testimonials-section {
  padding-top: 8px;
}
.testimonial-card {
  background: #fff;
  border-left: 5px solid var(--secondary);
  color: #202224;
  font-size: 1.08rem;
  box-shadow: 0 3px 12px rgba(14,34,58,0.07);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.testimonial-card p {
  margin: 0;
  font-style: italic;
  color: #15171a;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-top: 5px;
}

/* REVIEW HIGHLIGHTS / COMPARISON */
.review-highlight, .comparison-sample {
  background: #FFEEE3;
  border-left: 4px solid var(--secondary);
  padding: 18px 18px 10px 20px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  margin-bottom: 18px;
}
.review-highlight h3, .comparison-sample h3 {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.review-highlight ul, .comparison-sample ul {
  gap: 8px;
}

@media (max-width:768px) {
  .review-highlight, .comparison-sample {
    padding: 14px 6px 6px 12px;
  }
}

/* CONTACT SECTION & MAP PLACEHOLDER */
.contact-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: 10px;
}
.contact-section li {
  font-size: 1.10rem;
  color: #1e2730;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-section li img {
  width: 22px;
  filter: grayscale(30%) contrast(1.2);
}
.map-placeholder {
  margin-top: 16px;
  font-size: 1rem;
  background: #F9F9F2;
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  color: #40414a;
  border-left: 4px solid #D2AC93;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #e2e7ee;
  padding-top: 30px;
  padding-bottom: 14px;
  color: #29384d;
  font-size: 0.98em;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}
.footer-content nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-content nav a {
  color: #404040;
  font-size: 1rem;
  margin: 2px 0;
  transition: color 0.15s;
}
.footer-content nav a:hover { color: var(--secondary); }
.footer-content > a {
  margin-bottom: 14px;
}
.footer-content > a img {
  height: 45px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social img {
  height: 28px;
  width: 28px;
  background: transparent;
  border-radius: 8px;
  transition: background 0.18s;
}
.footer-social img:hover {
  background: #FFEEE3;
}
.footer-legal {
  flex-basis: 100%;
  margin-top: 24px;
}
.footer-legal p {
  font-size: 0.95em;
  color: #959596;
}
@media (max-width: 1200px) {
  .footer-content { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* LEGAL PAGES */
.legal-section ul {
  margin: 12px 0 16px 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section li {
  color: #232d3b;
  font-size: 1.02em;
  line-height: 1.5;
}

/* MISC */
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.13s;
}
a:hover, a:focus {
  color: #AE340A;
  outline: none;
  text-decoration: underline;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -2px 36px rgba(14,34,58,0.13);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.33s cubic-bezier(.55,.14,.5,1), opacity 0.18s;
  opacity: 0;
  transform: translateY(120%);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 1rem;
  color: #1d2735;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  padding: 9px 19px;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14,34,58,0.07);
  border: none;
  transition: var(--transition);
}
.cookie-btn.settings {
  background: #222;
  color: #fff;
}
.cookie-btn.reject {
  background: #c2c2c2;
  color: #272727;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.12);
  box-shadow: 0 .5px 12px rgba(230,74,25,0.15);
  outline: none;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(14,34,58,0.15);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.21s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 340px;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 6px 40px rgba(14,34,58,0.17);
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.31s cubic-bezier(.36,.71,.5,1) both;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(45px) scale(.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #232d3b;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-category.essential {
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal-actions {
  display: flex; gap: 14px; justify-content: flex-end;
}

/* UTILITIES: SPACING & GAPS */
.mb-20{margin-bottom:20px !important;}
.mb-32{margin-bottom:32px !important;}
.mt-20{margin-top:20px !important;}
.mt-32{margin-top:32px !important;}
.gap-8{gap:8px !important;}
.gap-20{gap:20px !important;}
.gap-32{gap:32px !important;}

/* MEDIA RESPONSIVENESS */
@media (max-width: 560px) {
  html { font-size: 93%; }
  .content-wrapper { padding: 17px 5px; }
  .section { padding: 14px 6px; }
  .footer-content { flex-direction: column; gap: 16px; }
}

/* ANIMATIONS & EFFECTS */
.cta-btn, .cookie-btn {
  transition: var(--transition);
}

.card, .testimonial-card, .cookie-modal {
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
}

/* Hide visually, but accessible to screenreaders */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* SPACING BETWEEN ALL FLEX CHILDREN */
.content-wrapper > *,
.section > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child,
.section > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 13vw 3vw 7vw 3vw;
  }
}

/* Special: prevent content overlap in flex layouts */
.card, .testimonial-card, .content-wrapper, .cookie-modal {
  min-width: 0;
  min-height: 0;
}

/* END */
