/* --- RESET & BASE STYLES --- */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #ffffff;
  color: #1b2d36;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
input, textarea, button, select {
  font: inherit;
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol { list-style: none; }

/* FONTS (Creative Artistic) */
h1, h2, h3, .cta-btn, .cta-link, nav a, .feature h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
h1 { font-size: 2.4rem; line-height: 1.18; letter-spacing: -1px; font-weight: 800; }
h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 18px; color: #20546f; letter-spacing: -0.5px; }
h3 { font-size: 1.2rem; font-weight: 600; color: #15394c; margin-bottom: 10px; }
p, li, label {
  font-size: 1rem;
  color: #2b444c;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* --- COLOR PALETTE (Creative Artistic interpretation of guidelines) --- */
:root {
  --primary: #20546f;
  --primary-dark: #102738;
  --secondary: #e2f1f8;
  --secondary-light: #f5fcff;
  --accent: #8bc340;
  --accent-dark: #6a9e2e;
  --white: #ffffff;
  --gray-light: #f4f8fa;
  --gray: #e2e8ef;
  --shadow: rgba(32, 84, 111, 0.12);
  --creative-pink: #ef60b6;
  --creative-gold: #ffe684;
  --creative-blue: #80d6f8;
  --footer-dark: #18374a;
  --danger: #cf3047;
}

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: var(--secondary);
  border-bottom: 3px solid var(--creative-gold);
  box-shadow: 0 3px 18px -4px var(--shadow);
  position: relative;
  z-index: 14;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 18px;
}
nav.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav.main-nav a {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 8px 6px;
  border-radius: 3px;
  position: relative;
  transition: background .2s, color .2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--creative-pink);
  color: var(--white);
  outline: none;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 11px 32px;
  border: none;
  border-radius: 40px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 3px 18px -6px var(--shadow);
  transition: background .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 22px -5px var(--shadow);
}
.cta-link {
  color: var(--creative-pink);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: underline;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .2s, background .2s;
  border-radius: 4px;
  padding: 6px 14px;
  background: var(--white);
}
.cta-link:hover, .cta-link:focus {
  background: var(--creative-blue);
  color: var(--primary-dark);
}
.mobile-menu-toggle {
  display: none;
  background: var(--creative-blue);
  color: var(--primary);
  font-size: 2.2rem;
  border: none;
  padding: 8px 14px;
  border-radius: 34px;
  cursor: pointer;
  margin-left: 18px;
  transition: background .2s, color .2s, box-shadow .2s;
  z-index: 25;
}
@media (max-width: 1024px) {
  nav.main-nav {
    gap: 14px;
  }
  .cta-btn {
    padding: 11px 20px;
  }
}
@media (max-width: 820px) {
  header .container {
    min-height: 66px;
    padding: 0 10px;
  }
  nav.main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  box-shadow: 0 8px 44px -10px rgba(0,42,64,0.26);
  z-index: 90;
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.52,.08,.15,1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--creative-pink);
  color: var(--white);
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 22px;
  padding: 6px 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 101;
  transition: background .21s, color .21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--creative-gold);
  color: var(--primary-dark);
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 68px;
  align-items: flex-start;
  gap: 16px;
  padding-left: 28px;
}
nav.mobile-nav a {
  color: var(--primary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  padding: 13px 0;
  margin-bottom: 2px;
  width: 100%;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
nav.mobile-nav a:active, nav.mobile-nav a:focus, nav.mobile-nav a:hover {
  background: var(--creative-blue);
  color: var(--white);
}
@media (min-width: 821px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: 
    linear-gradient(120deg, var(--creative-blue) 0%, var(--secondary) 90%),
    url('../assets/texture-art.svg') repeat top left;
  background-blend-mode: lighten;
  padding: 52px 0 48px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 2px 22px -5px var(--shadow);
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 230px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.hero p {
  color: var(--primary-dark);
  font-size: 1.18rem;
  margin-bottom: 14px;
}
.hero .cta-btn {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .hero {
    min-height: unset;
    border-radius: 0 0 20px 20px;
    padding: 30px 0 24px 0;
  }
  .hero .container {
    min-height: unset;
    padding: 0 10px;
  }
  .hero h1 {
    font-size: 1.45rem;
    letter-spacing: -1px;
    margin-bottom: 13px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 13px;
  }
}

/* --- FLEXBOX LAYOUTS --- */
.feature-grid, .features, .card-container, .content-grid, .footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: flex-start;
  margin-top: 25px;
}
.feature {
  flex: 1 1 210px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 3px 13px -4px var(--shadow);
  padding: 26px 20px;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  transition: transform .21s, box-shadow .19s, background .2s;
  border: 2px solid var(--secondary);
  /* Artistic border doodle (SVG as background example) */
  background-image: url('../assets/deco-doodle.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 60px, 60px;
}
.feature:hover, .feature:focus-within {
  background: var(--creative-gold);
  box-shadow: 0 7px 29px -7px var(--shadow);
  transform: translateY(-4px) scale(1.035) rotate(-1.8deg);
  border-color: var(--creative-pink);
}
.feature img {
  height: 48px;
  margin-bottom: 13px;
}
.feature h3 {
  color: var(--creative-pink);
  font-size: 1.13rem;
  margin-bottom: 7px;
  font-weight: 700;
}
.feature p {
  font-size: 1rem;
  color: var(--primary-dark);
}

/* --- ABOUT & VALUE SECTION --- */
.about-values ul,
.cosmetic-guide ul,
.skin-tips ul,
.hair-tips ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.about-values li, .cosmetic-guide li, .skin-tips li, .hair-tips li {
  position: relative;
  padding-left: 30px;
  color: var(--primary-dark);
}
.about-values li::before,
.cosmetic-guide li::before,
.skin-tips li::before, .hair-tips li::before {
  content: '◉';
  color: var(--creative-blue);
  position: absolute;
  left: 0;
  font-size: 1em;
}
.text-section, .accordion, .faq, .checklist, .location-info {
  background: var(--secondary-light);
  border-radius: 15px;
  padding: 16px 18px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px -6px var(--shadow);
}

/* --- CARDS & SECTIONS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 18px -6px var(--shadow);
  padding: 25px 24px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--creative-blue);
  border-radius: 18px;
  box-shadow: 0 4px 24px -8px var(--shadow);
  color: #182833 !important;
  margin-bottom: 20px;
  position: relative;
  border-left: 8px solid var(--creative-pink);
  transition: background .18s, box-shadow .2s;
}
.testimonial-card blockquote {
  color: var(--primary-dark);
  font-size: 1.07rem;
  font-style: italic;
  line-height: 1.6;
  background: none;
}
.testimonial-card blockquote span, .testimonial-card b {
  display: block;
  color: var(--accent-dark);
  font-size: .99em;
  font-style: normal;
  margin-top: 7px;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: var(--creative-gold);
  border-left-color: var(--creative-pink);
  box-shadow: 0 12px 28px -7px var(--shadow);
}

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

/* --- SERVICE LIST --- */
.services-list .service {
  background: var(--gray-light);
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px -7px var(--shadow);
  border-left: 7px solid var(--creative-blue);
  transition: box-shadow .22s;
}
.services-list .service:hover {
  box-shadow: 0 6px 32px -5px var(--shadow);
  background: var(--creative-gold);
}
.services-list .service h3 {
  color: var(--accent-dark);
}

/* --- FORMS --- */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 1px 13px -4px var(--shadow);
  padding: 30px 22px;
  margin-bottom: 20px;
}
.contact-form label {
  font-size: 1rem;
  color: var(--primary-dark);
}
.contact-form input, 
.contact-form textarea {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1.5px solid var(--gray);
  border-radius: 8px;
  background: var(--secondary-light);
  transition: border .2s;
  resize: vertical;
}
.contact-form input:focus, 
.contact-form textarea:focus {
  border-color: var(--creative-pink);
  background: var(--creative-blue);
}
.contact-form button[type="submit"] {
  margin-top: 8px;
  align-self: flex-end;
  width: fit-content;
}

/* --- FOOTER --- */
footer {
  background: var(--footer-dark);
  color: var(--white);
  border-top: 6px solid var(--creative-gold);
  padding: 48px 0 30px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 46px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a, .footer-legal a {
  color: var(--white);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  opacity: 0.91;
  transition: color .19s, opacity .17s;
}
.footer-nav a:hover, .footer-nav a:focus,
.footer-legal a:hover, .footer-legal a:focus {
  color: var(--creative-blue);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-contact p {
  font-size: .97rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- LEGAL & TEXT SECTIONS --- */
.legal .content-wrapper {
  background: var(--secondary-light);
  border-radius: 20px;
  padding: 44px 28px;
  margin-bottom: 60px;
  box-shadow: 0 1px 24px -8px var(--shadow);
  color: var(--primary-dark);
}
.legal h1, .legal h2 {
  color: var(--primary);
}
.legal .text-section,
.legal ol, .legal ul {
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.legal ol {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 11px;
  color: var(--primary-dark);
}
.legal a {
  color: var(--creative-pink);
  text-decoration: underline;
  transition: color .18s;
}
.legal a:hover, .legal a:focus {
  color: var(--primary-dark);
}

/* --- CONTENT GRID --- */
.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;
}

/* --- MAP & LOCATION --- */
.map .content-wrapper {
  background: var(--creative-blue);
  border-radius: 20px;
  box-shadow: 0 3px 13px -4px var(--shadow);
  padding: 28px;
  color: var(--primary-dark);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
  .content-wrapper {
    gap: 18px;
  }
  footer .container {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid { flex-direction: column; }
  .feature { min-width: unset; }
  .card-container { flex-direction: column; }
  .content-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 768px) {
  .section { padding: 30px 7px; }
  .container { padding: 0 7px; }
  .feature-grid, .features, .card-container, .content-grid,
  .footer-nav, .footer-legal {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .hero .container, .content-wrapper { gap: 13px; }
  .testimonial-card { flex-direction: column; gap: 13px; }
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}

@media (max-width: 450px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1.09rem; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--footer-dark);
  color: var(--white);
  box-shadow: 0 -4px 32px -7px var(--shadow);
  padding: 20px 8px 16px 8px;
  z-index: 100;
  animation: fadeInUp .45s ease;
}
.cookie-banner p {
  font-size: 1.02rem;
  color: var(--white);
  max-width: 700px;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 4px;
}
.cookie-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .17s, color .17s;
  background: var(--creative-blue);
  color: var(--primary-dark);
  box-shadow: 0 2px 10px -5px var(--shadow);
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--creative-pink);
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.06);
  box-shadow: 0 2px 14px -6px var(--shadow);
  transform: translateY(-1px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,40,55, 0.69);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeInUp .35s;
}
.cookie-modal {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 32px -8px var(--shadow);
  width: 98vw;
  max-width: 500px;
  padding: 38px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: fadeInUp .35s .08s both;
}
.cookie-modal h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--secondary-light);
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 10px 14px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: var(--primary-dark);
}
.cookie-category input[type='checkbox'] {
  cursor: pointer;
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  border: 2px solid var(--creative-pink);
  border-radius: 7px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .cookie-btn-group {
  justify-content: flex-end;
  gap: 13px;
}
@media (max-width: 620px) {
  .cookie-modal {
    padding: 18px 6px 16px 6px;
  }
}

/* --- CONFIRMATION PAGE --- */
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
}
.confirmation h1 {
  color: var(--accent-dark);
  font-size: 2.1rem;
  margin-bottom: 16px;
}
.confirmation p {
  color: var(--primary-dark);
}
.confirmation .cta-btn {
  margin-top: 24px;
}

/* --- UTILS (special artistic touches & microinteractions) --- */
.section, .feature, .testimonial-card, .card, .service, .cookie-banner, .cookie-modal, .footer-contact, .about-snippet .content-wrapper {
  transition: box-shadow .25s, background .18s, transform .17s, border-color .17s;
}
::-webkit-scrollbar { width: 8px; background: var(--secondary-light); }
::-webkit-scrollbar-thumb { background: var(--creative-blue); border-radius: 7px; }
::selection { background: var(--creative-pink); color: var(--white); }

/* Artistic brushes as pseudo-elements for creative flair */
h2::after, h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 8px;
  background: var(--creative-pink);
  border-radius: 7px;
  margin: 5px 0 2px 0;
  opacity: 0.24;
}

@media (max-width: 580px) {
  .feature {
    padding: 18px 10px;
  }
  .testimonial-card, .card, .service {
    padding: 13px 10px;
  }
}

/* --- FOCUS States --- */
:focus-visible {
  outline: 2px dashed var(--creative-pink);
  outline-offset: 2px;
}

/* --- SPECIAL: Hide sections visually, but keep accessible (SR & cookies modal etc.) --- */
.sr-only {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}
