/* === CSS RESET & NORMALIZE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote, figure, figcaption, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; border: none; background: none; outline: none; }
button { cursor: pointer; }

/* === CSS VARIABLES (with fallback) === */
:root {
  --color-primary: #2E4C2B;
  --color-secondary: #F5F5F3;
  --color-accent: #FFA826;
  --color-bg: #20262a;
  --color-bg-card: #252c33;
  --color-white: #fff;
  --color-text-main: #F5F5F3;
  --color-text-dark: #171717;
  --color-shadow: rgba(34,190,255,0.13);
  --color-border: #344050;
  --color-error: #FC466B;
  --font-display: 'Montserrat', 'Segoe UI', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Open Sans', Arial, sans-serif;
  --radius: 18px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* === GENERAL STYLES & FUTURISTIC BACKGROUND === */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: linear-gradient(135deg, #2E4C2B 0%, #222638 110%);
  color: var(--color-text-main);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p, li, address, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
}
strong { color: var(--color-accent); font-weight: 700; }

/* === SECTIONS & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-secondary);
  color: var(--color-text-dark);
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px var(--color-accent),0 2px 26px 0 var(--color-shadow);
  border: 0.5px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 0 8px 2px var(--color-accent),0 12px 36px -8px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === BUTTONS & INTERACTIVE ELEMENTS === */
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 14px 34px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  border: none;
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.03em;
  margin-top: 12px;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border: 2px solid transparent;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffc44d;
  color: #111;
  box-shadow: 0 0 8px 1px var(--color-accent);
  transform: scale(1.04);
}
.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: var(--color-text-dark);
  transform: scale(1.03);
}

/* === HEADER & NAVIGATION === */
header {
  background: rgba(32,38,42,0.88);
  border-bottom: 2px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 12px -8px var(--color-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  display: inline-block;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: #fff;
}
header nav a::after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0;
  margin: 2px auto 0 auto;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition);
}
header nav a:hover::after, header nav a:focus::after {
  width: 100%;
}
.logo {
  height: 42px;
}

/* === MOBILE MENU STYLES === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 2.1rem;
  color: var(--color-accent);
  background: none;
  z-index: 102;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: background 0.19s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: rgba(255,168,38,0.07);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,44,50,0.97);
  z-index: 101;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.64,.09,.08,1), opacity 0.16s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  padding: 0.7em 1em;
  align-self: flex-end;
  margin: 18px;
  border-radius: 40%;
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,168,38,0.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.36rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-bg-card);
  box-shadow: 0 2px 18px 0 var(--color-shadow);
}

/* HIDE/SHOW NAV DEPENDING ON DEVICE */
@media (max-width: 1000px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle{ display: none !important; }
  header nav { display: flex; }
}

/* === FOOTER STYLES === */
footer {
  margin-top: 48px;
  background: #21282c;
  padding: 32px 0 0 0;
  border-top: 2px solid var(--color-border);
}
footer .container {
  gap: 22px;
  flex-direction: column;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
footer nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  padding: 2px 0;
  transition: color var(--transition);
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
  color: var(--color-text-main);
  font-size: 0.98rem;
}
footer address div {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer address img {
  width: 20px;
  height: 20px;
  opacity: 0.75;
}
footer .footer-note {
  color: #888;
  font-size: 0.88rem;
  padding: 14px 0 10px 0;
  text-align: left;
}

/* === UL/LISTS & ICONS === */
ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
ul > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
}
ul > li img {
  width: 24px; height: 24px;
  flex-shrink: 0;
  margin-top: 0.18em;
  filter: drop-shadow(0 0 3px var(--color-accent));
}

ol {
  margin-left: 24px;
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
ol > li { font-size: 1rem; }

blockquote {
  font-style: italic;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 14px;
  margin: 8px 0 10px 0;
  font-size: 1.12rem;
}

/* === RESPONSIVE AND FLEX ALIGNMENT === */
@media (max-width: 900px) {
  h1 { font-size: 2.18rem; }
  h2 { font-size: 1.6rem; }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .container {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .content-grid { flex-direction: column; }
}
@media (max-width: 600px) {
  section { padding: 28px 0; }
  .footer-note, footer address { font-size: 0.91rem; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 0.85em 1.6em; }
}

/* === TYPO SCALE AND WHITE SPACE === */
h1, h2 { margin-bottom: 16px; }
h3, h4, h5 { margin-bottom: 8px; }
p, li, blockquote { margin-bottom: 0; }
section ul, section ol { margin-top: 0; }

/* === CARD STYLES === */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  padding: 30px 20px;
  color: var(--color-text-main);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1.1px solid var(--color-border);
}
.card:hover,
.card:focus {
  box-shadow: 0 0 8px 1px var(--color-accent);
  transform: translateY(-1px) scale(1.01);
}

/* === CTA & HERO EFFECTS === */
section:first-of-type {
  background: linear-gradient(127deg, #222638 50%, var(--color-primary) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 6px 30px -14px var(--color-shadow);
}

@media (max-width: 600px) {
  section:first-of-type { border-radius: 0; padding: 24px 0 18px 0; }
}

/* === CONTACT INFO BOX === */
.contact-info {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 20px 14px;
  box-shadow: 0 4px 22px -10px var(--color-shadow);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-accent);
}
.location-map {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(49,70,58,0.18);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-top: 12px;
  font-size: 0.96rem;
  color: var(--color-text-main);
}
.location-map img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 3px var(--color-accent));
}

/* === CALENDAR WIDGET PLACEHOLDER === */
.calendar-widget-placeholder {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 1.08rem;
  text-align: center;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  margin: 18px 0 18px 0;
  border: 1px solid var(--color-border);
}

/* === MICRO-ANIMATIONS === */
.btn-primary, .btn-secondary, .mobile-nav a, .mobile-menu-close, .mobile-menu-toggle {
  transition: color 0.22s, box-shadow 0.22s, background 0.22s, transform 0.2s;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--color-bg-card);
  color: var(--color-text-main);
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  border-radius: var(--radius);
  padding: 22px 18px;
  z-index: 8000;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
  transition: opacity 0.23s, transform 0.25s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  font-family: var(--font-display);
  border: none;
  outline: none;
  background: var(--color-accent);
  color: var(--color-text-dark);
  padding: 10px 23px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.18s, box-shadow 0.16s, color 0.16s;
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: #ffc44d;
  color: #111;
}
.cookie-banner .btn-cookie.secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  margin-right: 0;
}
.cookie-banner .btn-cookie.secondary:hover,
.cookie-banner .btn-cookie.secondary:focus {
  background: var(--color-accent);
  color: var(--color-text-dark);
}
.cookie-settings-link {
  font-size: 0.97em;
  color: var(--color-accent);
  margin-left: 10px;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.cookie-settings-link:hover { color: #ffc44d; }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(12,14,21,0.67);
  z-index: 9001;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  border-radius: var(--radius);
  box-shadow: 0 6px 28px 0 var(--color-shadow);
  max-width: 400px;
  width: 94vw;
  padding: 28px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 9010;
  position: relative;
  animation: cookie-modal-in 0.33s cubic-bezier(.53,.01,.2,1.01);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(75px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  margin-top: 7px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .btn-cookie {
  min-width: 100px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 13px;
  font-size: 1.55rem;
  background: none;
  border: none;
  color: var(--color-accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.19s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: rgba(255,168,38,0.18);
}

/* === MISC === */
a { cursor: pointer; }
.text-section {
  margin-bottom: 20px;
}
/* Add style for calendar widget reference panel (appearance only) */
.calendar-widget-placeholder {
  margin-top: 22px;
  margin-bottom: 18px;
}

/* === HOVER/FOCUS ACCESSIBILITY === */
:focus-visible {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* === ACCESSIBILITY CONTRAST FOR TESTIMONIALS === */
.testimonial-card {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.testimonial-card p, .testimonial-card blockquote {
  color: var(--color-text-dark);
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 500;
}

/* === THANK YOU PAGE STYLE === */
.text-section a.btn-primary, .text-section .btn-primary {
  margin-top: 18px;
  display: inline-block;
}

/* === BRAND ACCENT NEON GLOW === */
.btn-primary, .btn-secondary, .mobile-nav a, .btn-cookie {
  box-shadow: 0 0 3px 1px var(--color-accent), 0 2px 16px 0 var(--color-shadow);
}
.btn-primary:focus, .btn-secondary:focus, .btn-cookie:focus {
  box-shadow: 0 0 5px 2px #ffc44d, 0 2px 16px 0 var(--color-shadow);
}

/* === FUTURISTIC FOCUS/SELECTION === */
::selection {
  background: var(--color-accent);
  color: var(--color-text-dark);
}

@media (max-width: 600px) {
  .testimonial-card { padding: 12px; }
  .card { padding: 18px 9px; }
  .contact-info, .location-map, .calendar-widget-placeholder { padding: 10px 6px; font-size: 0.97em; }
}

/* Ensure no overlapping elements: min margins for .card/.testimonial-card */
.card, .testimonial-card { margin-bottom: 20px; }

/* === END === */
