/* -----------------------------------------------------------
 CSS RESET & NORMALIZE
----------------------------------------------------------- */
/* Box sizing */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #4B3A51;
  background-color: #fff;
  line-height: 1.65;
  font-weight: 400;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
ul, ol {
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', Times, serif;
  color: #4B3A51;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.13rem; }
h5 { font-size: 1rem; }
h6 { font-size: .93rem; }
p {
  margin-top: 0;
  margin-bottom: 18px;
}
strong { font-weight: 600; color: #382c3c; }
blockquote {
  font-style: italic;
  border-left: 3px solid #9ACFC7;
  margin: 0;
  padding: 8px 0 8px 18px;
  color: #4B3A51;
}

/* -----------------------------------------------------------
 BRAND & LAYOUT VARIABLES
----------------------------------------------------------- */
:root {
  --primary: #4B3A51;
  --secondary: #E6DCCB;
  --accent: #9ACFC7;
  --neutral: #FFFFFF;
  --grey-light: #F9F8F6;
  --grey-dark: #76707B;
  --shadow: 0 2px 10px 0 rgba(75, 58, 81, .04), 0 0.5px 2px 0 rgba(75,58,81,0.04);
  --radius: 12px;
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --transition: background .2s, color .2s, box-shadow .2s, border-color .2s, transform .2s;
}

/* -----------------------------------------------------------
 GENERAL STRUCTURE
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: var(--radius);
}
.hero {
  padding-top: 60px;
  padding-bottom: 60px;
  background: var(--grey-light);
  min-height: 300px;
  box-shadow: var(--shadow);
}

/* -----------------------------------------------------------
 HEADER & NAVIGATION
----------------------------------------------------------- */
header {
  width: 100%;
  background: var(--neutral);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1050;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #4B3A51;
  padding: 8px 10px;
  transition: color .16s;
  border-radius: 8px;
}
header nav a:hover,
header nav a:focus {
  color: var(--accent);
  background: var(--grey-light);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.06rem;
  color: var(--primary);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 0.5px 2px rgba(75,58,81,.04);
  transition: var(--transition), box-shadow .2s;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b0ded5;
  color: var(--primary);
  box-shadow: 0 2px 8px 0 rgba(154, 207, 199, .11);
  transform: translateY(-2px) scale(1.025);
}

/* -----------------------------------------------------------
 MOBILE MENU
----------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2010;
  background: var(--neutral);
  border: 1px solid var(--secondary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: var(--shadow);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(230,220,203,.93);
  z-index: 2020;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .36s cubic-bezier(.4,0,.2,1), opacity .19s;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--neutral);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2022;
  transition: var(--transition);
}
.mobile-nav {
  padding-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  padding: 16px 32px;
  font-size: 1.12rem;
  font-family: 'Playfair Display', serif;
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  background: transparent;
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 60px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------------------------------
 MAIN STRUCTURE & SECTIONS
----------------------------------------------------------- */
main {
  width: 100%;
  padding-top: 32px;
  padding-bottom: 32px;
}
.section + .section {
  margin-top: 16px;
}

.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* -----------------------------------------------------------
 CARD & FLEX LAYOUTS
----------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  flex: 1 1 280px;
  margin-bottom: 20px;
  position: relative;
  min-width: 245px;
  background: var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 20px 0 rgba(154,207,199,.13);
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ----------------------------------------------------------
 FEATURE & LIST STYLES
---------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 208px;
  margin-bottom: 20px;
  transition: var(--transition), box-shadow .18s;
}
.feature-grid li:focus-within,
.feature-grid li:hover {
  box-shadow: 0 3px 15px rgba(154,207,199,.09);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.service-list li {
  padding: 22px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--grey-light);
  font-size: 1rem;
  margin-bottom: 8px;
}
.service-list strong {
  color: var(--primary);
  font-size: 1.13rem;
}
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 12px;
  padding-left: 0;
  list-style: disc inside;
}
.benefit-list li {
  background: var(--secondary);
  color: #403844;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 1rem;
}

/* ----------------------------------------------------------
 TESTIMONIALS
---------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--neutral);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: box-shadow .17s, transform .17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 24px rgba(154,207,199,.13);
  transform: translateY(-1.5px) scale(1.012);
}
.testimonial-card blockquote {
  color: var(--primary);
  font-size: 1.12rem;
  line-height: 1.4;
  margin-right: 0;
  flex: 1 1 65%;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #382c3c;
}
.user-rating {
  margin-left: 8px;
  color: #E6B600;
  font-size: 1.12em;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
 PROFILE/GALLERIA
---------------------------------------------------------- */
.stylist-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  gap: 8px;
  min-width: 240px;
  transition: var(--transition), box-shadow .18s;
}
.stylist-profile:hover, .stylist-profile:focus-within {
  box-shadow: 0 3px 12px rgba(154,207,199,.09);
}
.expertise {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.04rem;
}
.mini-bio {
  color: var(--grey-dark);
  font-size: .97rem;
}

/* ----------------------------------------------------------
 FOOTER
---------------------------------------------------------- */
footer {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 -2px 12px rgba(75,58,81,.03);
  padding: 32px 0 16px 0;
  font-size: 0.98rem;
  color: #52404e;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.97rem;
}
footer nav a {
  color: #4B3A51;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background .18s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-contact {
  color: #726d78;
  font-size: 0.96rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
footer img {
  height: 34px;
  width: auto;
}

/* ----------------------------------------------------------
 COOKIE CONSENT BANNER & MODAL
---------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--neutral);
  box-shadow: 0 -2px 16px rgba(75,58,81,.09);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 10px 22px 10px;
  gap: 28px;
  font-size: 1rem;
  transition: transform .4s, opacity .25s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-message {
  color: var(--primary);
  font-size: 1.04rem;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-consent-btn {
  padding: 8px 22px;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.cookie-consent-btn.accept {
  background: var(--accent);
}
.cookie-consent-btn.reject {
  background: #eee;
  color: #402d42;
}
.cookie-consent-btn.settings {
  background: var(--secondary);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #b0ded5;
  color: var(--primary);
}

.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(75,58,81, 0.32);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--neutral);
  border-radius: var(--radius);
  box-shadow: 0 4px 32px #4b3a5127;
  max-width: 380px;
  min-width: 280px;
  width: 90vw;
  padding: 36px 28px 24px 28px;
  position: relative;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInModal .37s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(.96) translateY(24px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-title {
  font-size: 1.35rem;
  font-family: 'Playfair Display',serif;
  font-weight: 700;
  margin-bottom: 2px;
}
.cookie-modal-group {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 22px;
  background: var(--secondary);
  cursor: pointer;
  position: relative;
  transition: background .15s;
  border: 1px solid #dacdbc;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left .21s cubic-bezier(.6,0,.2,1), background .14s;
}
.cookie-toggle input:checked + .slider {
  left: 20px;
  background: var(--primary);
}
.cookie-category-desc {
  color: #757070;
  font-size: .95rem;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 11px;
  right: 17px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* Essential cookie always enabled */
.cookie-modal-group.essential .cookie-toggle { opacity: .4; pointer-events: none; }
.cookie-modal-group.essential .cookie-category-label:after {
  content: ' (necessario)';
  color: #857c86;
  font-size: .97em;
  font-weight: 400;
}

/* ----------------------------------------------------------
 RESPONSIVE DESIGN
---------------------------------------------------------- */
@media (max-width: 980px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section { padding: 28px 4px; }
  .card, .feature-grid li, .stylist-profile, .testimonial-card {
    padding: 21px 14px;
  }
  .hero { padding-top: 38px; padding-bottom: 38px; }
  main { padding-top: 12px; padding-bottom: 12px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .feature-grid, .card-container, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .section { padding: 20px 2px; }
  .card, .feature-grid li, .stylist-profile, .testimonial-card {
    padding: 17px 9px;
    min-width: 0;
  }
  .hero { padding-top: 27px; padding-bottom: 27px; }
  main { padding-top: 8px; padding-bottom: 8px; }
  .footer-contact { flex-direction: column; gap: 4px 0; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.13rem; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 7px;
    font-size: .98rem;
  }
  .cookie-modal {
    min-width: 0;
    padding: 18px 10px 14px 14px;
  }
}

/* ----------------------------------------------------------
 FORM & INPUTS (for eventual forms)
---------------------------------------------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #dacdbc;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fbfaf8;
  color: #3f2e44;
  outline: none;
  transition: border-color .19s, box-shadow .15s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 3px var(--accent);
}
label {
  display: block;
  font-size: 1rem;
  color: #392c41;
  margin-bottom: 5px;
}

/* ----------------------------------------------------------
 UTILITY CLASSES & MICROINTERACTIONS
---------------------------------------------------------- */
.hide { display: none !important; }
.fade-in {
  animation: fadeInUp .3s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------
 SPECIAL CLASSES & TYPOGRAPHY HIERARCHY
---------------------------------------------------------- */
.thank-you-message {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 21px;
}
.follow-up {
  color: #726d78;
  font-size: .97rem;
  margin-bottom: 18px;
}

/* ----------------------------------------------------------
 OVERRIDE UNWANTED PROPERTIES (GRID, ABSOLUTES, ETC.)
---------------------------------------------------------- */
[class*="grid"], [class*="col"] {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px;
}

/* ABSOLUTE positioning allowed only for decorative elements. Below override for content. */
.card, .testimonial-card, .feature-grid li, .stylist-profile, .section, .content-wrapper {
  position: relative !important;
}

/* ---------------------------------------------------------
 SCROLLBARS
--------------------------------------------------------- */
::-webkit-scrollbar {
  width: 7px;
  background: #ecebea;
}
::-webkit-scrollbar-thumb {
  background: #d0ccc4;
  border-radius: 12px;
}

/* ----------------------------------------------------------
 CUSTOM FONTS (IMPORT EXAMPLES)
---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Playfair+Display:wght@700&display=swap');
