/* =====================================================================
   FRESHWAVE LOOM - CREATIVE_ARTISTIC STYLE
   Modern, creative, artistic, mobile-first CSS (flexbox-based)
   Brand Colors: #205072 (primary), #329D9C (secondary), #F6F5F5 (accent)
   Display Font: Montserrat, Body Font: Roboto
   ===================================================================== */

/* ========== CSS RESET & NORMALIZATION ========== */
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F6F5F5;
  color: #253D4E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #329D9C;
}
ul, ol {
  padding-left: 1.3em;
}
strong {
  font-weight: 700;
}

/* ========== BRAND FONTS ========== */
h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: #205072;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: #329D9C;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: #205072;
  margin-bottom: 10px;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #2E6364;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

/* ========== CREATIVE ARTISTIC TOUCHES ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px 4px 24px 24px;
  box-shadow: 0 4px 32px 0 rgba(50,157,156,0.07),
              0 1.5px 0.5px 0 rgba(32,80,114,0.03);
  position: relative;
}
.section:nth-child(even) {
  background: #F6F5F5;
}

/* --- Decorative line for creative accent --- */
.section > .container > .content-wrapper > h2::after {
  content: '';
  display: block;
  width: 62px;
  height: 5px;
  border-radius: 8px;
  background: #329D9C;
  margin: 12px 0 0 2px;
}

/* ========== LAYOUT WRAPPERS ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px 16px 8px 32px;
  box-shadow: 0 4px 18px 0 rgba(50,157,156,0.17);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.27s, transform 0.27s;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(50,157,156,0.3);
  transform: translateY(-4px) scale(1.01) rotate(-1.2deg);
}

.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 (with good contrast) */
.testimonial-card {
  background: #F6F5F5;
  color: #253D4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 24px 4px 16px 12px;
  box-shadow: 0 2px 8px 0 rgba(32,80,114,0.08);
  margin-bottom: 28px;
  min-width: 220px;
  font-size: 1.05rem;
  font-style: italic;
  position: relative;
  /* Decorative pseudo-element */
}
.testimonial-card p {
  color: #222;
  font-size: 1.15rem;
}
.testimonial-card span {
  display: block;
  color: #329D9C;
  font-style: normal;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.testimonial-card div {
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: #205072;
}
.testimonial-card:before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 2.3rem;
  color: #329D9C;
  opacity: 0.15;
  font-family: 'Montserrat', serif;
  z-index: 0;
}

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

/* ========== NAVIGATION STYLES ========== */
header {
  background: #205072;
  padding: 0;
  box-shadow: 0 2px 14px 0 rgba(32,80,114,0.14);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 44px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F6F5F5;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #329D9C;
  color: #fff;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 28px 8px 22px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  margin-left: 16px;
  transition: background 0.23s, color 0.18s, box-shadow 0.19s;
  box-shadow: 0 2px 12px 0 rgba(50,157,156,0.07);
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.btn-primary {
  background: #329D9C;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #205072;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(50,157,156,0.27);
}
.btn-secondary {
  background: transparent;
  color: #329D9C;
  border: 2px solid #329D9C;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #329D9C;
  color: #fff;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(110deg, #329D9C 0%, #205072 80%);
  color: #fff;
  border-radius: 0 0 48px 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero h1,
.hero .subtitle {
  color: #fff;
}
.hero .btn-primary {
  margin-top: 20px;
}
/* Decorative creative shape at hero left */
.hero::before {
  content: '';
  position: absolute;
  top: -36px;
  left: -45px;
  width: 170px;
  height: 120px;
  background: #F6F5F5;
  border-radius: 0 70px 90px 70px;
  transform: rotate(-12deg);
  opacity: 0.19;
  z-index: 0;
}
.hero .content-wrapper {
  position: relative;
  z-index: 1;
}

/* ========== FOOTER ========== */
footer {
  background: #205072;
  color: #fff;
  padding: 48px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.footer-nav nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav nav a {
  color: #F6F5F5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.19s;
  margin-bottom: 8px;
}
.footer-nav nav a:hover,
.footer-nav nav a:focus {
  color: #329D9C;
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}
.footer-info img {
  height: 36px;
}
.footer-info p {
  color: #F6F5F5;
  font-size: 0.97rem;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin-left: 12px;
  cursor: pointer;
  z-index: 200;
  transition: color .19s, background .19s;
  border-radius: 8px;
  padding: 6px 14px 4px 10px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #329D9C;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #205072;
  color: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77, 0.02, 0.59, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 21px;
  right: 27px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10100;
  padding: 0 7px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  padding: 112px 24px 0 32px;
  width: 100%;
}
.mobile-nav a {
  color: #F6F5F5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 14px 8px;
  border-radius: 7px 24px 17px 9px;
  text-align: left;
  transition: background 0.19s, color 0.17s;
  min-width: 120px;
  box-shadow: 0 1px 0 0 rgba(50,157,156,0.03);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #329D9C;
  color: #fff;
}

/* ========== COOKIE BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #205072;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 7000;
  padding: 18px 20px;
  box-shadow: 0 0 32px 0 rgba(32,80,114,0.17);
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 18px;
  animation: bannerIn .54s cubic-bezier(0.83,0.08,0.65,0.98) both;
}
@keyframes bannerIn {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  padding: 10px 20px;
  border: none;
  border-radius: 16px 7px 19px 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 12px;
  transition: background .21s, color .16s;
}
.cookie-banner .cookie-accept {
  background: #329D9C;
  color: #fff;
}
.cookie-banner .cookie-accept:hover { background: #256f74; }
.cookie-banner .cookie-reject {
  background: #fff;
  color: #205072;
  border: 1px solid #329D9C;
}
.cookie-banner .cookie-reject:hover { background: #329D9C; color: #fff; }
.cookie-banner .cookie-settings {
  background: #F6F5F5;
  color: #205072;
}
.cookie-banner .cookie-settings:hover { background: #205072; color: #fff; }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,80,114,.62);
  z-index: 8000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .23s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  color: #205072;
  border-radius: 18px 6px 24px 11px;
  box-shadow: 0 6px 40px 0 rgba(32,80,114,0.18);
  padding: 36px 28px 32px 28px;
  max-width: 440px;
  width: 92vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  color: #329D9C;
}
.cookie-modal .cookie-category {
  margin: 8px 0 4px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #329D9C;
}
.cookie-modal .cookie-essential {
  font-weight: bold;
  color: #205072;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 17px 7px 19px 8px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #329D9C;
  color: #fff;
  transition: background 0.19s, color 0.18s;
}
.cookie-modal .modal-actions button:last-child {
  background: #205072;
}
.cookie-modal .modal-actions button:hover {
  background: #256f74;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 19px;
  top: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #329D9C;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: #205072; }

/* ========== OTHERS: LISTS, QUOTES, ETC ========== */
ul, ol {
  margin-bottom: 18px;
}
ul > li, ol > li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.7;
}
dt {
  font-weight: bold;
}
blockquote {
  background: #eff6f5;
  border-left: 5px solid #329D9C;
  font-style: italic;
  padding: 14px 16px;
  margin: 24px 0;
}

/* ========== RESPONSIVE DESIGN - MOBILE-FIRST ========== */
@media (max-width: 1050px) {
  .container { max-width: 98vw; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .footer-info {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 6px; }
  .main-nav {gap: 10px;}
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
    border-radius: 21px 4px 16px 15px;
  }
  .hero { min-height: 250px; border-radius: 0 0 24px 8px; }
  .footer-nav { flex-direction: column; gap: 4px; }
  .footer-nav nav { flex-direction: row; flex-wrap: wrap; gap: 9px; }
  .content-wrapper { gap: 18px; }
  .testimonial-card { padding: 15px; border-radius: 16px; font-size: 1rem; }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-top: 11px;
    margin-left: 0;
  }
  .container { padding: 0 8px; }
  .card { padding: 21px 12px; min-width: 180px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .mobile-menu-toggle { 
    display: inline-block;
    font-size: 1.9rem;
    padding: 4px 6px 2px 5px;
  }
  .main-nav { display: none; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.11rem; }
  .footer-info img { height: 32px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 14px 7px; gap: 10px; }
  .cookie-modal { padding: 22px 7px 21px 12px; max-width: 97vw; }
  .btn-primary, .btn-secondary { width: 100%; }
}

/* ========== INTERACTIVE STATES ========== */
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}
.mobile-menu:focus-within, .mobile-menu.open { outline: none; }
@media (min-width: 769px){
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* ========== HELPER CLASSES & SPACING ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* ========== SPACING/ALIGNMENT PATTERNS (MANDATED) ========== */
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== END ========== */
