/* ==================================================
   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;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F4ED;
  color: #2C3E50;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  font-size: 16px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border-radius: 8px;
}
*:focus {
  outline: 2px solid #E67E22;
  outline-offset: 2px;
}

/* ================================================
   VARS & THEME
   ================================================ */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #E67E22;
  --color-accent: #F7F4ED;
  --color-bg: #F7F4ED;
  --color-text: #2C3E50;
  --color-card-bg: #fffbea;
  --color-muted: #d5ba96;
  --color-shadow: rgba(230, 126, 34, 0.10);
  --radius: 20px;
  --radius-btn: 32px;
  --shadow: 0 4px 20px var(--color-shadow);
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.15;
  color: var(--color-primary);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-secondary);
}
h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}
p, li, span, td, th {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 16px;
  margin-bottom: 12px;
}
p:last-child, li:last-child, ul:last-child {
  margin-bottom: 0;
}
strong, b {
  font-weight: bold;
  color: var(--color-secondary);
}
.text-section {
  margin-bottom: 24px;
}

/* =============================================
   LAYOUT CONTAINERS & FLEXBOX PATTERNS
   ============================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.12),0 4px 20px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
}
.content-grid, .feature-grid, .services-list, .blog-list {
  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, .content-grid, .feature-grid, .services-list, .blog-list {
    flex-direction: column !important;
    gap: 20px;
  }
  .container {
    padding: 0 8px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(230,126,34,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
header {
  padding: 0;
  background: #fff;
  box-shadow: 0 2px 14px var(--color-shadow);
  position: relative;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 24px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-size: 1.04rem;
  box-shadow: 0 2px 14px var(--color-shadow);
  transition: background 0.17s, transform 0.12s;
  border: none;
  margin-left: 10px;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ca6c10;
  transform: translateY(-2px) scale(1.03);
}

/* ================================
   HERO AREA
   ================================ */
.hero {
  background: linear-gradient(90deg, #fffbea 60%, #FFF7E0 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 60px;
  box-shadow: 0 8px 32px #d4ba8a30;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.hero .container {
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-secondary);
}
.hero p {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===========================
   SECTION & CARD STYLES
   =========================== */
section {
  margin-bottom: 60px;
  padding: 0;
}
.feature-grid > div, .services-list > div, .blog-list > div {
  flex: 1 1 270px;
  min-width: 230px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 32px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  transition: box-shadow 0.19s, transform 0.12s;
  position: relative;
}
.feature-grid > div:hover, .services-list > div:hover, .blog-list > div:hover {
  box-shadow: 0 8px 32px #e67e2230;
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img, .services-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.service-price {
  background: #fff3d8;
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.15rem;
  padding: 7px 20px;
  border-radius: var(--radius-btn);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ============================
   TABLES & LEGAL SECTIONS
   ============================ */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fffbea;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}
th, td {
  padding: 16px 12px;
  text-align: left;
}
th {
  background: #ffe4c2;
  color: var(--color-primary);
  font-weight: bold;
}
tbody tr {
  border-bottom: 1px solid #f2dac0;
  transition: background 0.15s;
}
tbody tr:hover {
  background: #fff1e0;
}

.legal-section {
  background: var(--color-card-bg);
  box-shadow: var(--shadow);
  padding: 40px 20px;
  border-radius: var(--radius);
  margin-bottom: 60px;
}

/* ============================
   BLOG & NEWSLETTER
   ============================ */
.newsletter-section {
  background: #FFF3E0;
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: var(--radius);
  padding: 32px 0 48px 0;
  margin-bottom: 60px;
}

/* ==============================
   FOOTER
   ============================== */
footer {
  background: #fff;
  box-shadow: 0 -4px 24px var(--color-shadow);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0;
  margin-top: 40px;
  font-size: 15px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 16px 20px 16px;
  gap: 24px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 1.11rem;
  color: var(--color-primary);
  font-weight: 600;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #B5803C;
  background: #FFF3E0;
  padding: 5px 13px;
  border-radius: 8px;
  transition: background 0.14s;
  font-size: 15px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.footer-legal {
  text-align: center;
  color: #998E73;
  font-size: 14px;
}

/* =====================================
   MOBILE NAVIGATION HAMBURGER MENU
   ===================================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  padding: 7px 15px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-btn);
  border: none;
  margin-right: 8px;
  margin-left: auto;
  z-index: 101;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus {
  background: #ca6c10;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(47, 57, 69, 0.97);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.62,.21,.55,1.15);
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  margin: 10px 14px 12px 0;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #3e4753;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 18px 28px 12px 32px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.22rem;
  background: #FBF5E8;
  color: var(--color-primary);
  border-radius: var(--radius-btn);
  padding: 16px 12px;
  margin: 0 0 2px 0;
  transition: background 0.18s, color 0.17s, transform 0.12s;
  min-width: 60vw;
  min-height: 48px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateX(3px) scale(1.03);
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================================
   RESPONSIVE MEDIA QUERIES
   ================================ */
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.31rem; }
  h3 { font-size: 1.07rem; }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section, .legal-section, .hero {
    padding: 22px 3vw;
    margin-bottom: 32px;
  }
  .feature-grid > div, .services-list > div, .blog-list > div { padding: 26px 10px; }
  .footer-branding {
    flex-direction: column;
    gap: 6px;
  }
  footer .container {
    gap: 14px;
    padding: 18px 2vw 16px 2vw;
  }
}

/* ================================
   MICRO-INTERACTIONS & HOVER FX
   ================================ */
a, button, .btn-primary, .main-nav a, .mobile-nav a {
  transition: color 0.16s, background 0.18s, box-shadow 0.17s, transform 0.13s;
}
a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
}

/* ================================
   ICON LISTS & CONTACT TEXT
   ================================ */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 6px;
  background: #FFF3E0;
  box-shadow: 0 1px 6px #e67e2222;
}
.contact-section, .contact-details, .cta-section, .thank-you-section {
  background: var(--color-card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbea;
  color: var(--color-primary);
  box-shadow: 0 -2px 24px #e67e221d;
  z-index: 3700;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 18px 18px;
  gap: 22px;
  font-size: 1.06rem;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: cookieBannerIn 0.55s cubic-bezier(.52,.31,.67,1.42);
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-left: 22px;
}
.cookie-banner .btn-cookie {
  border: none;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 10px 28px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.btn-cookie.accept {
  background: var(--color-secondary);
  color: #fff;
}
.btn-cookie.accept:hover {
  background: #b8650f;
}
.btn-cookie.reject {
  background: #e3cbab;
  color: var(--color-primary);
}
.btn-cookie.reject:hover {
  background: #d5ba96;
}
.btn-cookie.settings {
  background: #fff;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.btn-cookie.settings:hover {
  background: #FFF3E0;
  color: #c16815;
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 80, 0.50);
  z-index: 4800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn {
  0% { opacity: 0; } 
  100% { opacity: 1; } 
}
.cookie-modal {
  background: #fffbea;
  color: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 6px 48px #e67e2240;
  max-width: 400px;
  width: 95vw;
  padding: 36px 26px 28px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modalIn 0.42s cubic-bezier(.52,.28,.64,1.4);
  position: relative;
}
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.97);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}
.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #e2c196;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  outline: none;
  border: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 3px;
  background: #fff;
  width: 16px;
  height: 15px;
  border-radius: 50%;
  transition: left 0.18s, background 0.13s;
  box-shadow: 0 2px 10px #e67e222a;
}
.cookie-toggle:checked::before {
  left: 16px;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  font-size: 1.75rem;
  border: none;
  color: #E67E22;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.14s;
  padding: 4px 8px;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff3e0;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 18px 7px 10px 9px;
    gap: 10px;
  }
  .cookie-banner-buttons {
    margin-left: 0;
    justify-content: flex-start;
  }
  .cookie-modal {
    padding: 21px 6vw 19px 6vw;
    max-width: 97vw;
  }
}

/* ===========================
   ACCESSIBILITY [skip link]
   =========================== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  z-index: 3400;
  color: #fff;
  background: #E67E22;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
}
.skip-link:focus {
  position: absolute;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  font-size: 1rem;
  outline: 2px dashed #fff;
  box-shadow: 0 4px 14px #e67e22cc;
}
/* END CSS */
