/* ========================
   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,
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 {
  font-size: 16px;
  /* Prevent font scaling in landscape */
  -webkit-text-size-adjust: 100%;
}
body {
  background: #F7F7F9;
  color: #272825;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* fallback for friendly backgrounds */
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
a {
  color: #1292EE;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0c5faa;
}
ul, ol {
  list-style-position: inside;
  padding-left: 0;
}
strong { font-weight: 700; }
em { font-style: italic; }
p + p, p + ul, ul + p, ul + ul, ol + ol { margin-top: 1rem; }

/* ========================
   BRAND VARIABLES
========================= */
:root {
  --color-primary: #273643;
  --color-secondary: #1292EE;
  --color-accent: #F7F7F9;
  --color-warm-1: #FFB366;
  --color-warm-2: #FFD3A3;
  --color-warm-3: #FFF5E5;
  --color-text: #272825;        /* for main body text */
  --color-card: #fff;
  --color-shadow: 0 4px 24px rgba(39, 54, 67, 0.10);
  --color-shadow-2: 0 2px 8px rgba(255, 179, 102, 0.06);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --gap-big: 32px;
  --gap-med: 24px;
  --gap: 20px;
  --gap-small: 12px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 1.75rem; margin-bottom: 20px; line-height: 1.18; }
h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.24; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
.subtitle {
  font-size: 1.25rem;
  color: #735719;
  font-family: var(--font-body);
  margin-bottom: 28px;
  font-weight: 400;
}
p {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  margin: 16px 0 16px 0;
  padding: 0 0 0 1.2em;
  color: var(--color-primary);
  font-size: 1rem;
}
.text-section li {
  margin: 6px 0;
}
.text-section {
  font-size: 1rem;
}

@media (max-width:768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3, .subtitle { font-size: 1.05rem; }
}

/* ========================
   LAYOUT
========================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
header, footer {
  background: var(--color-card);
  box-shadow: var(--color-shadow-2);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  margin-bottom: 36px;
}
header {
  padding: 0;
  position: relative;
  z-index: 100;
}
footer {
  padding: 36px 0 18px 0;
  box-shadow: 0 -2px 8px rgba(39,54,67, .05);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  flex-direction: column;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: var(--gap-big);
    align-items: stretch;
    justify-content: flex-start;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  padding: 24px 20px;
  box-shadow: var(--color-shadow);
  position: relative; /* required by spec */
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(255,179,102,0.19);
  transform: translateY(-2px) scale(1.02);
}

.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: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-warm-3);
  border-left: 5px solid var(--color-warm-1);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--color-shadow-2);
  max-width: 480px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(39,54,67,0.10);
  border-left-color: #FF8000;
}
.testimonial-card p {
  color: #272825;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #785b27;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

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

.quick-links {
  display: flex;
  flex-direction: column;
  gap: var(--gap-med);
  align-items: flex-start;
}
@media (min-width: 600px) {
  .quick-links {
    flex-direction: row;
    align-items: center;
  }
}

/* ===============
   HEADER / NAV
================*/
.logo img {
  height: 44px;
  width: auto;
  border-radius: 0;
  margin-right: 20px;
}
.container > .logo {
  margin-right: 24px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: auto;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-warm-2);
  color: #E87722;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  background: linear-gradient(90deg, #FFA03D 60%, #FFD3A3 100%);
  color: #272825;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 32px;
  margin-left: 28px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255,179,102,0.14);
  transition: background 0.18s, box-shadow 0.18s, color 0.15s, transform 0.13s;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFB366;
  color: #1f2937;
  box-shadow: 0 4px 18px rgba(255,179,102,0.23);
  transform: translateY(-1px) scale(1.04);
}

.btn-secondary {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  margin-right: 10px;
  box-shadow: 0 1.5px 7px rgba(18,146,238,0.13);
  transition: background 0.15s, color 0.12s, box-shadow 0.20s, transform 0.12s;
  text-align: center;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #0c5faa;
  color: #fff2ee;
  box-shadow: 0 4px 18px rgba(39, 54, 67, 0.13);
  transform: translateY(-1px) scale(1.03);
}

header .container {
  padding: 14px 16px 10px 16px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap);
}

@media (max-width:900px) {
  .main-nav {
    display: none;
  }
}

/* ===============
   MOBILE MENU
================*/
.mobile-menu-toggle {
  display: inline-flex;
  height: 40px;
  width: 44px;
  align-items: center;
  justify-content: center;
  background: #FFD3A3;
  color: #273643;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  margin-left: 24px;
  cursor: pointer;
  box-shadow: 0 1.5px 7px rgba(255,179,102,0.14);
  transition: background 0.18s, color 0.18s, transform 0.12s;
  z-index: 300;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFB366;
  color: #1f2937;
  transform: scale(1.04);
}
@media (min-width:900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  left: 0; top: 0; height: 100vh;
  width: 86vw; max-width: 340px;
  z-index: 1000;
  background: var(--color-card);
  box-shadow: 6px 3px 32px rgba(39, 54, 67, 0.23);
  border-radius: 0 32px 32px 0;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.22,1,.36,1);
  will-change: transform;
  padding: 18px 0 28px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 15px; right: 15px;
  background: var(--color-warm-3);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  cursor: pointer;
  z-index: 1201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD3A3;
  color: #E87722;
  transform: rotate(12deg) scale(1.05);
}
.mobile-nav {
  width: 100%;
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.09rem;
  font-weight: 600;
  padding: 13px 12px;
  border-radius: var(--radius-sm);
  background: none;
  transition: background 0.13s, color 0.18s;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD3A3;
  color: #E87722;
}
@media (min-width:900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================
   HERO & SECTIONS
========================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: var(--color-accent);
  border-radius: var(--radius-md);
}
section > .container {
  gap: 0;
  padding: 0 12px;
}
h1 + .subtitle {
  margin-top: -12px;
}

/* For typical lists with icons in features */
.content-wrapper ul, .content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.content-wrapper ul li, .content-wrapper ol li {
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(255,179,102,0.04);
  align-items: center;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 16px 20px;
  transition: box-shadow 0.18s, background 0.16s;
}
.content-wrapper ul li:hover {
  background: #FFF5E5;
  box-shadow: 0 4px 18px rgba(255,179,102,0.09);
}
.content-wrapper ul li img {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: #FFD3A3;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 1px 5px #FFD3A3aa;
}
.content-wrapper ul li strong {
  margin-right: 7px;
  font-weight: 700;
}
.content-wrapper ul li em {
  font-style: italic;
  font-size: 0.99em;
  color: #d08732;
  margin-left: 10px;
}

@media (min-width: 900px) {
  section > .container {
    padding: 0 34px;
  }
}

/* ========================
   FOOTER
========================= */
footer {
  background: var(--color-accent);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  font-size: 1rem;
  box-shadow: 0 -2px 14px rgba(255,179,102,0.08);
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background .12s, color .11s;
}
.footer-nav a:hover {
  background: #FFD3A3;
  color: #E87722;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  font-size: .9rem;
  color: #A66313;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFD3A3;
  padding: 6px; }

/* ========================
   SPACING & FLEX GAPS
========================= */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .container {
    padding: 0 6px;
    max-width: 98vw;
  }
  .footer-nav {
    gap: 12px; font-size: 0.95rem;
  }
  footer {
    padding: 24px 0 14px 0;
  }
  section, .section {
    padding: 26px 4px;
    margin-bottom: 40px;
  }
  .card {
    padding: 16px 10px;
  }
}

/* ========================
   ANIMATION & MICRO-INTERACTIONS
========================= */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a {
  transition: background 0.14s cubic-bezier(.23,1.01,.7,1), color 0.15s, box-shadow 0.20s, transform 0.11s;
}
.card, .testimonial-card, .content-wrapper ul li {
  transition: box-shadow 0.18s cubic-bezier(.23,1.01,.7,1), background 0.19s, border-color 0.17s;
}

/* ========================
   COOKIES CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: #FFF5E5;
  color: var(--color-primary);
  padding: 24px 14px 19px 14px;
  box-shadow: 0 -2px 24px rgba(255,179,102,0.19);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--gap-big);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.28s cubic-bezier(.7,1.6,.92,1.2);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  max-width: 700px;
  font-size: 1.01rem;
  color: #483823;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner .cc-btn {
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  outline: none;
  margin: 0;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(255,179,102,0.09);
}
.cookie-banner .cc-accept {
  background: #FFB366;
  color: #272825;
}
.cookie-banner .cc-accept:hover, .cookie-banner .cc-accept:focus {
  background: #FFA03D;
  color: #111;
}
.cookie-banner .cc-reject {
  background: #FFD3A3;
  color: #A66313;
}
.cookie-banner .cc-reject:hover, .cookie-banner .cc-reject:focus {
  background: #FF8000;
  color: #fff;
}
.cookie-banner .cc-settings {
  background: var(--color-secondary);
  color: #ffffff;
}
.cookie-banner .cc-settings:hover, .cookie-banner .cc-settings:focus {
  background: #0c5faa;
}
@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 13px 6px 13px 6px;
  }
  .cookie-banner .cookie-message {
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(39, 54, 67, 0.30);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .24s cubic-bezier(.81,1.56,.96,1.3);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 36px 28px 32px 28px;
  border-radius: 20px;
  min-width: 330px;
  max-width: 500px;
  box-shadow: var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.cookie-modal .cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-primary);
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-setting-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-modal .cookie-category-toggle {
  width: 36px; height: 20px;
  border-radius: 12px;
  background: #FFD3A3;
  cursor: pointer;
  margin-right: 6px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  border: none;
}
.cookie-modal .cookie-category-toggle.enabled {
  background: #FFB366;
}
.cookie-modal .cookie-category-toggle::before {
  content: '';
  display: block;
  width: 19px; height: 19px;
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #ce9029ad;
  transition: left 0.18s;
}
.cookie-modal .cookie-category-toggle.enabled::before {
  left: 17px;
}
.cookie-modal .cookie-category-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal .cc-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-modal .cc-btn {
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 19px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.16s, transform 0.13s;
  box-shadow: 0 1px 4px #FFD3A3bb;
}
.cookie-modal .accept-all {
  background: #FFB366;
  color: #272825;
}
.cookie-modal .accept-all:hover, .cookie-modal .accept-all:focus {
  background: #FFA03D;
}
.cookie-modal .reject-all {
  background: #FFD3A3;
  color: #A66313;
}
.cookie-modal .reject-all:hover, .cookie-modal .reject-all:focus {
  background: #FF8000;
  color: #fff;
}
.cookie-modal .close-modal {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal .close-modal:hover {
  background: #0c5faa;
}
.cookie-modal .cookie-essential-label {
  color: #626262;
  font-size: .98rem;
  margin-left: 12px;
}

/* ========================
   FORMS (if in future)
========================= */
input, textarea, select, button {
  font-family: var(--font-body);
}
input[type="text"], input[type="email"], textarea {
  border-radius: var(--radius-sm);
  border: 1.5px solid #FFD3A3;
  background: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 1px 4px #FFD3A3bb;
  transition: border 0.16s, box-shadow 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #FFB366;
  box-shadow: 0 0 0 2px #FFB36633;
}

/* ========================
   PRINT MINIMAL RESET
========================= */
@media print {
  *, *:before, *:after { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}

/* === END OF CSS === */
