/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #18191f;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* === BRAND MONOCHROME SOPHISTICATED VARIABLES === */
:root {
  --stageease-primary: #23407F;
  --stageease-secondary: #fff;
  --stageease-accent: #CC8600;
  --stageease-gray-100: #F8F9FB;
  --stageease-gray-200: #EBEBF0;
  --stageease-gray-300: #D7D7DE;
  --stageease-gray-400: #A0A0B2;
  --stageease-gray-600: #41424F;
  --stageease-black: #18191f;
  --stageease-shadow: rgba(24, 25, 31, 0.08);
  --stageease-radius: 12px;
  --transition: 0.22s cubic-bezier(.61,.37,.17,1.42);

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* === TYPOGRAPHY (MONOCHROME SOPHISTICATED) === */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--stageease-black);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--stageease-primary);
  margin-bottom: 12px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--stageease-black);
}
p, li, ul, ol, blockquote, span, address {
  font-family: var(--font-body);
  color: var(--stageease-black);
  font-size: 1rem;
  margin-bottom: 14px;
}
strong, b {
  font-weight: 700;
  color: var(--stageease-black);
}
blockquote {
  border-left: 4px solid var(--stageease-primary);
  background: var(--stageease-gray-100);
  padding: 20px 24px;
  font-style: italic;
  margin-bottom: 24px;
  border-radius: var(--stageease-radius);
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--stageease-secondary);
  border-radius: var(--stageease-radius);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
}

/* === HEADER + NAVIGATION === */
header {
  background: var(--stageease-secondary);
  border-bottom: 1px solid var(--stageease-gray-200);
  box-shadow: 0 2px 12px var(--stageease-shadow);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
header a img {
  height: 44px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--stageease-black);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}
nav a:after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--stageease-primary);
  transition: width 0.22s;
  border-radius: 2px;
  margin-top: 2px;
}
nav a:hover,
nav a:focus {
  color: var(--stageease-primary);
}
nav a:hover:after, nav a:focus:after {
  width: 100%;
}
nav .cta.primary {
  background: var(--stageease-primary);
  color: #fff;
  padding: 9px 28px;
  border-radius: 24px;
  margin-left: 16px;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--stageease-shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
nav .cta.primary:hover,
nav .cta.primary:focus {
  background: #000;
  color: var(--stageease-accent);
  box-shadow: 0 4px 16px var(--stageease-shadow);
}

/* HAMBURGER (MOBILE) MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--stageease-primary);
  background: transparent;
  border: none;
  padding: 6px 12px;
  margin-left: 16px;
  border-radius: 50%;
  transition: background var(--transition);
  z-index: 41;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--stageease-gray-200);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,22,26,0.97);
  color: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.61,.37,.17,1.42);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 0 14px 20px;
  font-size: 2.3rem;
  color: var(--stageease-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  align-self: flex-start;
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--stageease-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 44px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  border-radius: 8px;
  padding: 12px 12px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--stageease-accent);
  color: var(--stageease-primary);
}

@media (max-width: 1024px) {
  header .container { gap: 10px; }
  nav { gap: 16px; }
  nav .cta.primary { margin-left: 4px; }
}
@media (max-width: 830px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* === HERO / CTA SECTIONS === */
.hero {
  background: linear-gradient(120deg, #fff 85%, var(--stageease-gray-100) 100%);
  padding: 56px 0 32px 0;
  border-bottom: 1px solid var(--stageease-gray-200);
}
.hero .container {
  min-height: 310px;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 540px;
  gap: 20px;
}
.hero .cta.primary {
  margin-top: 14px;
}
@media (max-width: 960px) {
  .hero .container { min-height: 220px; }
}
@media (max-width: 600px) {
  .hero { padding: 28px 0 16px 0; }
}

.cta-section {
  background: var(--stageease-primary);
  color: #fff;
  border-radius: var(--stageease-radius);
  box-shadow: 0 4px 32px rgba(40,41,48,0.11);
  margin-bottom: 60px;
  padding: 40px 20px !important;
}
.cta-section .content-wrapper > h2,
.cta-section .content-wrapper > p {
  color: #fff;
}
.cta-section .cta.primary {
  background: var(--stageease-accent);
  color: #18191f;
}
.cta-section .cta.primary:hover,
.cta-section .cta.primary:focus {
  background: #fff;
  color: var(--stageease-primary);
}

/* === FLEXBOX SPACING CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  background: var(--stageease-gray-100);
  box-shadow: 0 2px 12px var(--stageease-shadow);
  border-radius: var(--stageease-radius);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px var(--stageease-shadow);
  transform: translateY(-2px) 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;
}
@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;
  padding: 20px;
  background: #fff;
  border-radius: var(--stageease-radius);
  box-shadow: 0 2px 16px var(--stageease-shadow);
  margin-bottom: 24px;
  border: 1px solid var(--stageease-gray-200);
  min-width: 220px;
  max-width: 420px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: #131313;
  font-size: 1.06rem;
  margin-bottom: 0;
}
.testimonial-card span, .testimonial-card strong {
  color: var(--stageease-primary);
  font-weight: 600;
  font-size: 0.98rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px var(--stageease-shadow);
  transform: translateY(-1px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURE GRIDS === */
.feature-grid, .stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-grid > div, .stat-grid > div {
  background: var(--stageease-gray-100);
  border-radius: var(--stageease-radius);
  box-shadow: 0 2px 12px var(--stageease-shadow);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .stat-grid > div:hover {
  box-shadow: 0 6px 24px var(--stageease-shadow);
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img, .stat-grid img { height: 40px; margin-bottom: 10px; }

@media (max-width: 800px) {
  .feature-grid, .stat-grid {
    gap: 18px;
  }
  .feature-grid > div, .stat-grid > div {
    min-width: unset;
    flex: 1 1 100%;
  }
}

/* === BLOG ARTICLES === */
.blog-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 38px;
}
@media (max-width: 800px) {
  .blog-articles {
    flex-direction: column;
    gap: 18px;
  }
}
.blog-articles article {
  flex: 1 1 280px;
  background: var(--stageease-gray-100);
  border-radius: var(--stageease-radius);
  box-shadow: 0 2px 12px var(--stageease-shadow);
  padding: 24px 16px 20px 16px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-articles article:hover, .blog-articles article:focus-within {
  box-shadow: 0 5px 24px var(--stageease-shadow);
  transform: translateY(-3px) scale(1.012);
}
.blog-articles h2 {
  font-size: 1.25rem;
  color: var(--stageease-primary);
  margin-bottom: 6px;
}
.blog-articles a {
  color: var(--stageease-accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.blog-articles a:hover, .blog-articles a:focus {
  color: var(--stageease-primary);
}

.categories {
  margin-top: 10px;
}
.categories h3 {
  font-size: 1.12rem;
  color: var(--stageease-primary);
  margin-bottom: 4px;
}
.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.categories li {
  font-size: 0.96rem;
  color: var(--stageease-black);
  background: var(--stageease-gray-200);
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}

/* === STORY LIST FOR SUCCESS STORIES === */
.story-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 30px;
}
.story-list .testimonial-card {
  max-width: 350px;
}

/* === FOOTER === */
footer {
  background: #fff;
  padding: 36px 0 28px 0;
  border-top: 1px solid var(--stageease-gray-200);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--stageease-gray-600);
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color var(--transition);
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--stageease-primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.96rem;
  color: var(--stageease-gray-600);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 4px;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
    gap: 6px;
  }
  .footer-nav {
    gap: 10px;
  }
}

/* === BUTTONS & CTA === */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  border-radius: 36px;
  background: var(--stageease-accent);
  color: #fff;
  padding: 11px 36px;
  text-align: center;
  margin-top: 6px;
  box-shadow: 0 2px 8px var(--stageease-shadow);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cta.primary {
  background: var(--stageease-primary);
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--stageease-accent);
  color: var(--stageease-black);
  box-shadow: 0 5px 20px var(--stageease-shadow);
}
.cta.secondary {
  background: var(--stageease-accent);
  color: var(--stageease-black);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #222;
  color: #fff;
}

/* === CONTACT INFO === */
.contact-info ul,
.map-address {
  margin-bottom: 10px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--stageease-black);
  margin-bottom: 8px;
}

/* === FORM ELEMENTS STUB (for future extension) === */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 9px 10px;
  border: 1px solid var(--stageease-gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--stageease-black);
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--stageease-primary);
}

/* === ANIMATIONS & TRANSITIONS === */
@media (prefers-reduced-motion: no-preference) {
  a, .cta, .card, .feature-grid > div, .stat-grid > div {
    transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
  }
}

/* === RESPONSIVE ALIGNMENTS === */
@media (max-width: 900px) {
  .container { padding: 0 12px; }
  .content-wrapper { gap: 12px; }
}
@media (max-width: 560px) {
  h1, .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #18191f;
  color: #fff;
  z-index: 1050;
  padding: 22px 5vw 20px 5vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.98rem;
  box-shadow: 0 -2px 12px var(--stageease-shadow);
  transition: transform 0.24s, opacity 0.22s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 22px;
  border: none;
  margin: 0;
  background: var(--stageease-primary);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-weight: 600;
}
.cookie-banner button.cookie-settings {
  background: var(--stageease-accent);
  color: var(--stageease-black);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--stageease-accent);
  color: var(--stageease-black);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #fff;
  color: var(--stageease-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 10px 12px 10px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-buttons { width: 100%; gap: 10px; justify-content: flex-start; }
}

/* === COOKIE PREFERENCE MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.74);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: var(--stageease-black);
  padding: 36px 26px 26px 26px;
  border-radius: var(--stageease-radius);
  min-width: 320px;
  max-width: 98vw;
  min-height: 240px;
  box-shadow: 0 4px 44px rgba(18, 20, 22, 0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1052;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 14px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: var(--stageease-primary);
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background var(--transition);
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--stageease-gray-100);
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.cookie-modal-content ul {
  margin-top: 8px;
  margin-bottom: 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.01rem;
}
.cookie-modal-category input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--stageease-primary);
  margin-right: 6px;
}
.cookie-modal-category label {
  margin-bottom: 0;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 20px;
  border-radius: 22px;
  border: none;
  background: var(--stageease-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-actions button.secondary {
  background: var(--stageease-gray-200);
  color: var(--stageease-black);
}
.cookie-modal-actions button.secondary:hover, .cookie-modal-actions button.secondary:focus {
  background: var(--stageease-primary);
  color: #fff;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--stageease-accent);
  color: var(--stageease-black);
}

/* === GENERAL SPACING & UTILITIES === */
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }
.mb-20 { margin-bottom: 20px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/* === VISUAL HIERARCHY CLARITY === */
.section h1, .section h2 { margin-top: 0; }
.section h2:not(:first-child) { margin-top: 24px; }
.section ul, .section ol {
  margin-left: 18px;
  margin-bottom: 18px;
}
.section ul li, .section ol li {
  margin-bottom: 5px;
}
.section ul li::before {
  content: '\2022';
  color: var(--stageease-accent);
  margin-right: 8px;
  font-size: 1.18em;
}
.section ol li {
  list-style: decimal inside;
}
.text-section h2, .text-section h3 {
  margin-top: 18px;
}

/* === MICRO-INTERACTIONS === */
.card, .feature-grid > div, .stat-grid > div, .testimonial-card {
  will-change: box-shadow, transform;
}
.cta, nav a, .cookie-banner button {
  will-change: background, color, transform;
}

/* === MISC/OVERLAYS Z-INDEX SAFETY === */
.cookie-modal, .mobile-menu { z-index: 1050; }
.mobile-menu.active { z-index: 1200; }

/* === ACCESSIBILITY === */
:focus {
  outline: 2px solid var(--stageease-accent);
  outline-offset: 2px;
}

/* === END === */
