/* === CSS RESET & NORMALIZE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #264653;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* === BRAND COLORS & FONTS === */
:root {
  --primary: #264653;
  --secondary: #F4A261;
  --accent: #E9C46A;
  --white: #fff;
  --dark: #23272c;
  --gray: #f6f6f6;
  --shadow: 0 4px 24px 0 rgba(38, 70, 83, 0.11);
  --radius: 16px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 0.5px;
  font-weight: 800;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  line-height: 1.08;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
  line-height: 1.18;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--secondary);
  margin-bottom: 20px;
  letter-spacing: 0.6px;
  font-style: italic;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}
strong {
  color: var(--secondary);
}

/* === CONTAINER & SECTION SPACING === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 16px rgba(38,70,83,.06);
  position: relative;
  z-index: 100;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  justify-content: flex-start;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--white);
  font-size: 1rem;
  border-radius: 24px;
  padding: 7px 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
header nav a:not(.cta):hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 8px 0 rgba(244, 162, 97, 0.11);
}
header nav a.cta {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(233,196,106,.15);
  padding: 8px 26px;
  letter-spacing: 1px;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 22px 0 rgba(244,162,97,.22);
}
header nav img {
  height: 36px;
  margin-right: 8px;
}

button.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 12px;
  font-size: 2rem;
  padding: 6px 18px 4px 18px;
  position: absolute;
  right: 18px;
  top: 13px;
  z-index: 220;
  transition: background 0.18s, color 0.18s;
}
button.mobile-menu-toggle:hover,
button.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 70, 83, 0.98);
  z-index: 250;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.56,0.13,0.21,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin: 20px 28px 0 0;
  background: var(--accent);
  color: var(--primary);
  border-radius: 10px;
  padding: 3px 22px 8px 22px;
  z-index: 270;
  box-shadow: 0 2px 8px rgba(38,70,83,0.08);
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.mobile-menu-close:hover {
  color: var(--accent);
  background: var(--primary);
  box-shadow: 0 6px 22px 0 rgba(244,162,97,0.25);
}
.mobile-nav {
  margin: 48px 0 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.28rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
  padding: 9px 26px 9px 9px;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* === HERO BANNER === */
.hero {
  background: linear-gradient(87deg, var(--secondary) 0%, var(--accent) 93%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 36px 0;
}
.hero h1 {
  font-size: 2.3rem;
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(244,162,97,.08);
  margin-bottom: 0;
  font-family: var(--font-display);
  line-height: 1.15;
}
.hero .subheadline {
  color: var(--primary);
  font-size: 1.12rem;
}

/* === FEATURE/CARD GRID (MANDATORY FLEXBOX) === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 18px;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: var(--gray);
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 350px;
  box-shadow: 0 3px 16px 0 rgba(38,70,83,0.06);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 22px 18px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.11s, box-shadow 0.17s, background 0.22s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  transform: translateY(-7px) scale(1.025);
  background: #fffbe4;
  box-shadow: 0 7px 30px 0 rgba(244,162,97,0.18);
  z-index: 4;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
  filter: drop-shadow(0 2px 8px rgba(233,196,106,0.15));
}

/* MANDATORY FLEX LAYOUT CLASSES */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  background: var(--gray);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.11s, box-shadow 0.18s, background 0.19s;
}
.card:hover,
.card:focus-within {
  background: #fffbe4;
  transform: scale(1.02);
  box-shadow: 0 7px 26px 0 rgba(38,70,83,0.14);
  z-index: 5;
}
.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;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-left: 7px solid var(--secondary);
  box-shadow: 0 3px 18px 0 rgba(38,70,83,0.08);
  border-radius: var(--radius);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.testimonial-card p {
  flex: 2 1 auto;
  color: var(--primary);
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  flex: 1 1 170px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--dark);
  font-size: 1rem;
  margin-left: 8px;
  margin-top: 0;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(97deg, var(--accent) 0%, var(--secondary) 80%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.cta-banner h2,
.cta-banner p {
  color: var(--primary);
  text-align: center;
}

/* === BUTTONS / CTA === */
.cta, .cta.primary, .cta.secondary {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--secondary);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.7px;
  border-radius: 26px;
  padding: 13px 36px;
  font-size: 1.13rem;
  transition: background 0.16s, color 0.16s, transform 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 6px rgba(244, 162, 97, 0.09);
  margin-top: 6px;
  cursor: pointer;
  border: none;
}
.cta.primary {
  background: var(--accent);
  color: var(--primary);
}
.cta.secondary {
  background: var(--primary);
  color: var(--white);
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 7px 24px 0 rgba(38,70,83,.20);
  transform: translateY(-1px) scale(1.02);
}

/* === LINKS & INTERACTIVE === */
a,
button,
.cta {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
a:focus-visible, .cta:focus-visible {
  outline: 3px dashed var(--accent);
  outline-offset: 3px;
  z-index: 10;
}

/* === TEXT SECTION === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
}
.text-section ul,
.text-section ol {
  padding-left: 28px;
  margin-bottom: 14px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 9px;
  font-size: 1.02rem;
  color: var(--primary);
  position: relative;
  padding-left: 12px;
}
.text-section ul li:before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.67rem;
  top: 5px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 32px 0;
  margin-top: 48px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
footer nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.17s;
}
footer nav a:hover {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.99rem;
}
.footer-contact img {
  margin-right: 5px;
  width: 22px;
  vertical-align: middle;
  position: relative;
  top: 4px;
  display: inline-block;
}
footer small {
  color: var(--accent);
  display: block;
  text-align: center;
  margin-top: 9px;
  font-size: 0.91rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 900;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 24px 27px 28px;
  box-shadow: 0 -2px 15px 0 rgba(38,70,83,0.22);
  animation: cookieBannerFadeIn 0.55s;
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2 1 240px;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 18px;
  padding: 9px 20px;
  margin: 0 3px;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(244, 162, 97, 0.07);
  transition: background 0.13s, color 0.13s, transform 0.11s, box-shadow 0.23s;
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept:hover {
  background: var(--secondary);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--accent);
}
.cookie-banner .reject:hover {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .settings {
  background: var(--primary);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cookie-banner .settings:hover {
  background: var(--accent);
  color: var(--primary);
}

/* === COOKIE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 990;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,70,83,0.48);
  justify-content: center;
  align-items: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .modal-content {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  max-width: 420px;
  width: 93vw;
  padding: 38px 28px 30px 28px;
  box-shadow: 0 7px 50px 0 rgba(38,70,83,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.36s;
}
@keyframes cookieModalIn {
  from { transform: scale(0.84); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px;
}
.cookie-modal .cookie-category .cookie-toggle {
  width: 41px;
  height: 22px;
  background: var(--gray);
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-category .cookie-toggle[aria-checked="true"] {
  background: var(--accent);
}
.cookie-modal .cookie-category .cookie-toggle[aria-disabled="true"] {
  background: #eee;
  opacity: .63;
  cursor: not-allowed;
}
.cookie-modal .cookie-category .cookie-toggle .dot {
  position: absolute;
  left: 4px;
  top: 4.5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary);
  transition: left 0.16s, background 0.16s;
}
.cookie-modal .cookie-category .cookie-toggle[aria-checked="true"] .dot {
  left: 23px;
  background: var(--primary);
}
.cookie-modal .cookie-category .cookie-toggle[aria-disabled="true"] .dot {
  background: #aaa;
}
.cookie-modal .cookie-close {
  background: var(--primary);
  color: var(--accent);
  border-radius: 18px;
  padding: 11px 20px;
  align-self: flex-end;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-close:hover {
  background: var(--accent);
  color: var(--primary);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .feature-grid > div {
    flex: 1 1 245px;
    min-width: 225px;
  }
}
@media (max-width: 900px) {
  .footer-contact {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 96%;
  }
  header nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 11px;
  }
  .hero .content-wrapper {
    padding: 19px 0;
    min-height: 177px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .feature-grid > div {
    max-width: unset;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .cta-banner {
    padding: 24px 8px;
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 28px 10px 20px 10px;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: 1.18rem;
  }
  .hero .content-wrapper {
    min-height: 70px;
    padding: 12px 0;
  }
  .feature-grid > div {
    padding: 14px 9px 11px 12px;
  }
  .cta, .cta.primary, .cta.secondary {
    padding: 9px 18px;
    font-size: 1.01rem;
  }
  h1, .hero h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  h3 {
    font-size: 1rem;
  }
  footer {
    padding: 26px 0 20px 0;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}

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

/* === ARTISTIC DECORATIVE ELEMENTS (EXAMPLES) === */
body {
  position: relative;
}
body::before {
  content: '';
  display: block;
  position: fixed;
  z-index: 0;
  top: -10vh;
  left: -8vw;
  width: 300px;
  height: 300px;
  background: var(--accent);
  opacity: 0.09;
  border-radius: 50%;
  pointer-events: none;
}
body::after {
  content: '';
  display: block;
  position: fixed;
  z-index: 0;
  bottom: -12vh;
  right: -10vw;
  width: 280px;
  height: 280px;
  background: var(--secondary);
  opacity: 0.08;
  border-radius: 55% 80% 60% 40%/40% 60% 80% 55%;
  pointer-events: none;
}

/* === SELECTION & SCROLLBAR COLORS === */
::selection {
  background: var(--secondary);
  color: var(--primary);
}
::-webkit-scrollbar {
  width: 9px;
  background: var(--gray);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 13px;
}

/* === ACCORDION, FORM, GALLERY (IF APPLICABLE) === */
/* (If future features are added) */

/* === PRINT STYLES === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}

/* === End of Comprehensive Artistic CSS === */
