/* =====================
   RESET & NORMALIZE
========================*/
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background: #F3F4F6;
  color: #2E3544;
  min-width: 320px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2E3544;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; font-family: 'Montserrat', Arial, sans-serif; }
h2 { font-size: 2rem; margin-bottom: 20px; font-family: 'Montserrat', Arial, sans-serif; }
h3 { font-size: 1.35rem; margin-bottom: 16px; font-family: 'Montserrat', Arial, sans-serif; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }
p { font-size: 1rem; margin-bottom: 16px; }
strong { font-weight: 700; }

ul, ol {
  list-style-position: outside;
  margin-bottom: 16px;
  margin-left: 1.25em;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
a {
  color: #2E3544;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E0C168;
}

/* =====================
   BRAND COLORS & TYPO
========================*/
:root {
  --primary: #2E3544;
  --secondary: #E0C168;
  --accent: #F3F4F6;
  --white: #fff;
  --shadow: 0 4px 16px rgba(46,53,68,0.05), 0 2px 4px rgba(224,193,104, 0.10);
  --radius: 14px;
}

body {
  background: var(--accent);
  color: var(--primary);
}

/* =====================
   SECTIONS, CONTAINERS
========================*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.content-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 22px 6px;
  }
  .container {
    padding: 0 7px;
  }
}

/* =====================
   GEOMETRIC, STRUCTURED
========================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div {
  background: var(--accent);
  border: 2.5px solid var(--primary);
  border-radius: 18px 4px 18px 4px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 315px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, border-color .15s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(46,53,68,0.10), 0 4px 12px rgba(224,193,104, 0.12);
  border-color: var(--secondary);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  min-width: 220px;
  max-width: 350px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, border-color .15s;
}
.card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 32px rgba(46,53,68,0.10), 0 4px 12px rgba(224,193,104, 0.12);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-section {
  margin-top: 14px;
  margin-bottom: 18px;
}

/* =========
  FLEXBOX
===========*/
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px 4px 18px 4px;
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow);
  min-width: 220px;
  max-width: 590px;
  color: #23262f;
  font-size: 1.08rem;
  transition: box-shadow .17s;
}
.testimonial-card strong {
  color: #2E3544;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.2px;
}
.testimonial-card img {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 3px;
}
.testimonial-card p {
  margin-bottom: 0;
}

.festival-logo-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 16px 0 24px 0;
  flex-wrap: wrap;
}

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

/* ============
  NAVIGATION
==============*/
header {
  background: var(--white);
  border-bottom: 2px solid var(--accent);
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  position: relative;
  flex-wrap: wrap;
}
.main-nav > a img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: 24px;
}
.main-nav ul li {
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 9px;
  text-decoration: none;
  border-radius: 5px;
  transition: background .13s, color .2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #222;
  background: var(--secondary);
  border: none;
  border-radius: 6px;
  padding: 11px 26px;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 14px rgba(224,193,104, .11);
  margin-left: 18px;
  transition: background .17s, color .15s, box-shadow .18s;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 24px rgba(46,53,68,0.11);
}
.cta-link {
  color: var(--primary);
  padding: 4px 0;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  border: none;
  font-size: 1rem;
  transition: color .16s;
  cursor: pointer;
}
.cta-link:hover, .cta-link:focus {
  color: var(--secondary);
}

/* =========
  HAMBURGER
===========*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 22px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  box-shadow: 0 1px 8px rgba(46,53,68,0.08);
  z-index: 22;
  cursor: pointer;
  transition: background .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--secondary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 76vw;
  max-width: 375px;
  height: 100vh;
  background: #222;
  box-shadow: 4px 0 34px rgba(46,53,68,.12);
  transform: translateX(-102%);
  transition: transform .33s cubic-bezier(.7,0,.2,1);
  z-index: 119;
  padding: 24px 26px 36px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 22px;
  cursor: pointer;
  padding: 0 6px;
  border-radius: 8px;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: #222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 6px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  background: none;
  transition: background .14s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 1000px) {
  .main-nav ul { gap: 12px; margin-left: 4px; }
  .cta-btn { margin-left: 6px; padding: 11px 13px; }
}
@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* =============
 HERO SECTION
================*/
main section:first-child {
  background: linear-gradient(110deg, var(--accent) 86%, var(--secondary) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 50px;
}
main section:first-child .content-wrapper {
  background: none;
  box-shadow: none;
  padding-top: 38px; padding-bottom: 38px;
  align-items: flex-start;
}
main section:first-child h1 {
  font-size: 2.5rem;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--primary);
}
main section:first-child p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

/* ==================
   FOOTER STRUCTURE
===================*/
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 12px 0;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto 22px auto;
  padding: 0 16px;
  gap: 28px;
}
.footer-nav img {
  height: 40px;
}
.footer-nav ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav ul li {
  list-style: none;
}
.footer-nav ul li a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 4.5px;
  transition: background .1s, color .16s;
}
.footer-nav ul li a:hover, .footer-nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.contact-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 32px;
}
.contact-footer .text-section {
  color: var(--accent);
}
.contact-footer a {
  color: var(--secondary);
  text-decoration: underline;
}
.contact-footer a:hover {
  color: var(--primary);
  background: var(--secondary);
  border-radius: 2.5px;
}
@media (max-width: 920px) {
  .footer-nav, .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 0 8px;
  }
  .footer-nav ul { gap: 11px; }
}

/* ===========
  TYPOGRAPHY
=============*/
.text-section h2, .text-section h3, .text-section h4, .text-section h5 {
  margin-top: 18px;
  margin-bottom: 6px;
}
.text-section a {
  color: var(--primary);
  text-decoration: underline;
  transition: color .19s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--secondary);
}

/* ============== 
  DL, OL DETAILS
=================*/
dl dt {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14em;
  margin-top: 14px;
  margin-bottom: 4px;
}
dl dd {
  margin-left: 18px;
  margin-bottom: 8px;
  color: #444a5a;
}

ol {
  list-style-type: decimal;
  margin-left: 1.4em;
}

/* =================
   BUTTON STYLES
==================*/
button,
input[type=button],
input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .17s, color .16s, box-shadow .16s;
}
button:hover, button:focus, input[type=button]:hover, input[type=button]:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 3px 12px rgba(224,193,104, .14);
}

/* ============================
  COOKIE BANNER & PREFERENCES
=============================*/
.cookie-banner {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 12px;
  z-index: 1500;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  color: #23262f;
  border: 2.5px solid var(--primary);
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 4px 22px rgba(46,53,68,.12);
  padding: 22px 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  animation: cbslidein .55s cubic-bezier(.6,.1,.4,1);
}
@keyframes cbslidein {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-right: 9px;
  margin-top: 7px;
  font-size: 1rem;
  min-width: 120px;
}
.cookie-banner .settings-btn {
  background: var(--primary);
  color: var(--secondary);
  margin-top: 0;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1550;
  background: rgba(46,53,68,.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeinbg .2s;
}
@keyframes fadeinbg { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-content {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 4px 22px rgba(46,53,68,.14);
  max-width: 440px;
  width: 96vw;
  padding: 38px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  animation: cbpop .33s cubic-bezier(.4,.14,.7,.88);
}
@keyframes cbpop {
  from { transform: scale(.95); opacity: .4; } to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12em;
  margin-bottom: 8px;
  font-weight: 500;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  margin-right: 4px;
}
.cookie-modal-content .close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 9px;
  cursor: pointer;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  color: var(--secondary);
}
.cookie-categories {
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
}
.cookie-categories .desc {
  font-size: 0.97rem;
  margin-left: 28px;
  color: #373b43;
}
.cookie-modal-content .cookie-btn-row {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

/* =====================
  RESPONSIVE DESIGN
======================*/
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.42rem; }
  main section:first-child .content-wrapper {
    padding-top: 24px; padding-bottom: 24px;
  }
  .footer-nav img { height: 36px; }
  .testimonial-card, .feature-grid > div, .card {
    max-width: 99vw;
    padding: 16px 8px;
  }
  .section { padding: 26px 7px !important; margin-bottom: 35px !important; }
  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 0 4px;
  }
  .festival-logo-list { gap: 13px; }
}
@media (max-width: 480px) {
  .container { padding: 0 3vw; }
  .footer-nav { flex-direction: column; gap: 2px; }
  .feature-grid,
  .card-container,
  .card-grid {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-banner { padding: 13px 2px 8px 2px; }
}

/* ================================
  SPACING & STRUCTURED WHITE SPACE
==================================*/
.section:not(:last-child) { margin-bottom: 60px; }
.content-wrapper:not(:last-child) { margin-bottom: 20px; }
.card-container, .card-grid, .feature-grid { gap: 24px; }
.card, .feature-grid > div, .testimonial-card { margin-bottom: 20px; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px; }

/* ===================
  SMALL MICRO EFFECTS
====================*/
.cta-btn, .main-nav ul li a, .footer-nav ul li a, .cta-link, .card, .feature-grid > div, .testimonial-card {
  transition: all .18s cubic-bezier(.35,.95,.65,1.33);
}
input, textarea, select {
  outline: none;
  border: 2px solid #e3e5ea;
  border-radius: 6px;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 9px 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 1px 5px rgba(224,193,104,.10);
}

/* =====================
  CUSTOM GEOMETRIC ICONS
=======================*/
.text-section img {
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 5px;
  vertical-align: middle;
}

/* ===============
  UTILITY CLASSES
=================*/
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.flex-column { flex-direction: column !important; }

/* ===============
  VISUAL HIERARCHY, CONTRAST
=================*/
.section h2 {
  border-left: 8px solid var(--secondary);
  padding-left: 14px;
  margin-bottom: 18px;
}
.feature-grid > div, .card, .testimonial-card {
  border-radius: 18px 4px 18px 4px;
  border-width: 2.5px;
}

/* ===============
  CLEAN UP FORM ELEMENTS
=================*/
input, textarea {
  background: #f9f9fa;
  color: #222;
  width: 100%;
}

/* ===============
  REMOVE OUTLINES
=================*/
button:focus, a:focus, .cta-btn:focus, .cta-link:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/*===================
  HIDE/SHOW UTILITY
====================*/
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 900px) {
  .main-nav ul, .main-nav .cta-btn { display: none !important; }
}

/* ===============
  Z-INDEX HIERARCHY
=================*/
.mobile-menu, .mobile-menu-toggle { z-index: 119; }
.cookie-banner { z-index: 1500; }
.cookie-modal { z-index: 1550; }

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